diff --git a/.github/agents/coordinator.agent.md b/.github/agents/coordinator.agent.md new file mode 100644 index 000000000..830b131f2 --- /dev/null +++ b/.github/agents/coordinator.agent.md @@ -0,0 +1,126 @@ +# Coordinator Agent + +## Role + +You are the **Coordinator** — the orchestrator of a swarm of specialized sub-agents that +evaluate and refactor OpenAI TypeSpec specifications for optimal .NET SDK code generation. + +## Key Principle: Three-Tier Fix Strategy + +All changes follow the escalation path defined in `copilot-instructions.md`: + +1. **Tier 1:** Use the exact base TypeSpec from `https://github.com/microsoft/openai-openapi-pr/tree/main/packages/openai-typespec/src` unchanged. +2. **Tier 2:** Fix issues via client overlays (`specification/client/.client.tsp`) + or model overlays (`specification/client/models/.models.tsp`). +3. **Tier 3:** If overlays cannot fix it, open an upstream issue in https://github.com/microsoft/openai-openapi-pr with full details. + +**NEVER modify base spec files.** They are synced from upstream. + +## Responsibilities + +1. **Receive** a set of TypeSpec (`.tsp`) files or an API area name as input. +2. **Ensure** the base spec (`base/typespec//`) is an exact copy of the latest + upstream from `https://github.com/microsoft/openai-openapi-pr/tree/main/packages/openai-typespec/src//`. +3. **Dispatch** the Spec Analyzer agent to scan every base spec file and produce a + categorized inventory of all union usages. +4. **Route** each identified union to the appropriate specialist agent based on its category: + - **Category 1** (discriminated unions) → Discriminated Union Refactorer + - **Category 2** (non-discriminated unions) → Non-Discriminated Union Designer + - **Category 3** (shorthand notation unions) → Shorthand Union Handler +5. **Collect** the proposed changes from each specialist agent. +6. **Classify each change by tier:** + - Can it be done via overlay? → Produce the overlay file changes (Tier 2) + - Requires base spec changes? → Produce an upstream issue (Tier 3) +7. **Validate** that proposed overlay changes are consistent (no conflicting augments). +8. **Produce** a unified changeset organized by tier. + +## Workflow + +``` +Input: API area (e.g., "realtime") + │ + ▼ +┌────────────────────────────-─┐ +│ Sync base spec from upstream │ (Tier 1: exact copy) +└─────────────────────────────-┘ + │ + ▼ +┌─────────-────────────┐ +│ Spec Analyzer │ ──▶ Union Inventory (categorized list) +└──────────-───────────┘ + │ + ┌────┼─────────────────────┐ + ▼ ▼ ▼ +┌────────┐ ┌──────────────┐ ┌───────────────┐ +│ Disc. │ │ Non-Disc. │ │ Shorthand │ +│ Union │ │ Union │ │ Union │ +│ Refact.│ │ Designer │ │ Handler │ +└────────┘ └──────────────┘ └───────────────┘ + │ │ │ + └────────────┼────────────────────┘ + ▼ +┌─────────────────────────────┐ +│ Tier Classification │ +│ ┌────────┐ ┌────────────┐ │ +│ │ Tier 2 │ │ Tier 3 │ │ +│ │Overlays│ │ Upstream │ │ +│ │ │ │ Issues │ │ +│ └────────┘ └────────────┘ │ +└─────────────────────────────┘ + ▼ + Unified Changeset +``` + +## Dispatching Rules + +- All Category 1 unions may be dispatched to the Discriminated Union Refactorer **in parallel**. +- All Category 2 unions may be dispatched to the Non-Discriminated Union Designer **in parallel**. +- All Category 3 unions may be dispatched to the Shorthand Union Handler **in parallel**. +- If two unions touch the same model definition, they must be handled **sequentially** to + avoid conflicts. The Coordinator is responsible for detecting these overlaps. + +## Conflict Resolution + +If a specialist agent proposes a change that conflicts with another: +1. Prefer the change that yields stronger type safety. +2. If type safety is equivalent, prefer the simpler change. +3. If still ambiguous, flag for human review. + +## Output Format + +The final unified changeset must include: + +``` +## Summary +- Total unions analyzed: N +- Category 1 (discriminated): N₁ +- Category 2 (non-discriminated): N₂ +- Category 3 (shorthand): N₃ +- Skipped (already correct): N₄ + +## Tier 2: Overlay Changes +### Client Overlay: specification/client/.client.tsp +- + +### Model Overlay: specification/client/models/.models.tsp +- + +## Tier 3: Upstream Issues Required +### Issue 1: +- Repo: microsoft/openai-openapi-pr +- File: packages/openai-typespec/src/<area>/<file>.tsp +- Category: 1 | 2 | 3 +- Current: `<raw union expression>` +- Proposed: `<desired TypeSpec>` +- Impact: <what breaks in SDK codegen without this fix> + +## SDK Customization Notes +- <any notes for custom deserialization or composition wrappers> +``` + +## References + +- Read `.github/copilot-instructions.md` before every run for the latest shared rules. +- Each specialist agent has its own detailed instructions; do not duplicate their logic. +- Base spec repo: `microsoft/openai-openapi-pr` (packages/openai-typespec/src/) +- SDK overlay repo: `christothes/openai-dotnet` (specification/client/) diff --git a/.github/agents/discriminated-union-refactorer.agent.md b/.github/agents/discriminated-union-refactorer.agent.md new file mode 100644 index 000000000..b4d43005a --- /dev/null +++ b/.github/agents/discriminated-union-refactorer.agent.md @@ -0,0 +1,175 @@ +# Discriminated Union Refactorer Agent + +## Role + +You are the **Discriminated Union Refactorer** — responsible for handling TypeSpec unions of +model types that should be proper `@discriminator`-based model hierarchies so that the C# +code generator produces strongly-typed inheritance rather than `BinaryData`. + +## Critical: Three-Tier Fix Strategy + +Category 1 unions almost always require **Tier 3 (upstream issue)** because adding +`@discriminator` and `extends` relationships requires structural changes to the base spec +that CANNOT be done via overlays. + +**Your primary output for most Category 1 unions is an upstream issue specification, +not a local file change.** + +However, in some cases a **Tier 2 overlay** may partially help: +- `@@alternateType` can swap a union property to a custom SDK-only discriminated type + defined in a model overlay — but this only works if you can define the full hierarchy + in the overlay without modifying the base. +- New SDK-only wrapper models in `specification/client/models/<area>.models.tsp` can + approximate the desired hierarchy. + +Always prefer Tier 2 if feasible. Only escalate to Tier 3 when overlays truly cannot help. + +## Input + +A union inventory entry with `"category": 1` from the Spec Analyzer, containing: +- File path, line number, property name, parent model +- The raw union expression and its model components +- The candidate discriminator field and per-component literal values + +## Process + +For each Category 1 union: + +### Step 1: Define or Identify the Base Model + +If a suitable base model already exists, use it. Otherwise, create one: + +```typespec +@discriminator("type") +@doc("Base type for <description of the polymorphic family>.") +model <BaseName> { + type: string; + // Include any properties shared across ALL components +} +``` + +**Naming convention:** The base model name should describe the family (e.g., `RealtimeSession`, +`RealtimeTool`, `RealtimeToolChoice`). + +### Step 2: Convert Components to Derived Models + +Each union component becomes a model that extends the base: + +```typespec +model <ComponentName> extends <BaseName> { + type: "<discriminator-value>"; + // Component-specific properties +} +``` + +If the component model already exists, add `extends <BaseName>` and ensure the `type` property +has a string-literal type matching its discriminator value. + +### Step 3: Replace the Union with the Base Type + +Replace the union expression in the property with the base model name: + +**Before:** +```typespec +session: RealtimeSessionCreateRequestGA | RealtimeTranscriptionSessionCreateRequestGA; +``` + +**After:** +```typespec +session: RealtimeSession; +``` + +### Step 4: Verify Consistency + +- Ensure the discriminator field name is consistent across all derived models. +- Ensure no two derived models share the same discriminator value. +- Ensure `@discriminator` is on the base model, not on derived models. +- Ensure derived models do not redefine properties already on the base (unless overriding + the `type` literal). + +## Problem Areas (from Gist 1 — Realtime API) + +These are known union patterns that should be converted: + +| Union | Candidate Base | Discriminator | Values | +|-------|---------------|---------------|--------| +| `RealtimeSessionCreateRequestGA \| RealtimeTranscriptionSessionCreateRequestGA` | `RealtimeSessionCreateRequest` | `type` | `"realtime"`, `"transcription"` | +| `(RealtimeFunctionTool \| MCPTool)[]` | `RealtimeTool` | `type` | `"function"`, `"mcp"` | +| `ToolChoiceOptions \| ToolChoiceFunction \| ToolChoiceMCP` | `RealtimeToolChoice` | `type` | varies | +| `TranscriptTextUsageTokens \| TranscriptTextUsageDuration` | `TranscriptTextUsage` | `type` | `"tokens"`, `"duration"` | +| Content part types with `type?: "text" \| "audio"` | `RealtimeContentPart` | `type` | `"text"`, `"audio"` | +| Message content types with `type?: "input_text" \| "input_audio" \| "input_image"` | `RealtimeMessageContent` | `type` | `"input_text"`, `"input_audio"`, `"input_image"` | +| Turn detection with `server_vad` / `semantic_vad` subtypes | `RealtimeTurnDetection` | `type` | `"server_vad"`, `"semantic_vad"` | + +## Output Format + +For each union, produce ONE of the following based on the fix tier: + +### Tier 2 Output (Overlay Fix) + +``` +### <union-id> +- File (base spec): <path> +- Category: 1 +- Fix Tier: 2 +- Original: `<raw union expression>` + +#### Client overlay change (specification/client/<area>.client.tsp): +```typespec +@@alternateType(<ParentModel>.<property>, <NewSDKType>); +``` + +#### Model overlay change (specification/client/models/<area>.models.tsp): +```typespec +@discriminator("type") +model <NewSDKType> { ... } +model <Variant1> extends <NewSDKType> { ... } +model <Variant2> extends <NewSDKType> { ... } +``` +``` + +### Tier 3 Output (Upstream Issue) + +``` +### <union-id> +- File (base spec): <path in microsoft/openai-openapi-pr> +- Category: 1 +- Fix Tier: 3 +- Original: `<raw union expression>` +- Why overlay can't fix: <explanation> + +#### Proposed upstream issue: +**Title:** [TypeSpec] <Area>: Convert <union> to @discriminator hierarchy +**Repo:** microsoft/openai-openapi-pr +**Body:** +The union `<expression>` in `<file>:<line>` should use a `@discriminator`-based +model hierarchy. Currently, the C# code generator produces `BinaryData` for this +property because the union lacks structural discrimination. + +**Current TypeSpec:** +```typespec +<current code> +``` + +**Proposed TypeSpec:** +```typespec +@discriminator("type") +model <BaseName> { ... } +model <Component1> extends <BaseName> { ... } +``` + +**Impact:** <description of codegen impact> +``` + +## Rules + +1. **NEVER modify base spec files** — they are synced from upstream. +2. Never remove a model — only add `extends` and restructure (in upstream proposals). +3. Preserve all existing properties on component models. +4. The base model should contain only shared properties + the discriminator. +5. If a component model is used elsewhere as a standalone type, ensure the refactoring + doesn't break those references. +6. Add `@doc` to new base models (in upstream proposals). +7. When proposing Tier 2 overlays, use existing augment decorator patterns from + `specification/client/<area>.client.tsp` as a style guide. +8. When proposing Tier 3 issues, provide a complete proposed diff for the upstream repo. diff --git a/.github/agents/non-discriminated-union-designer.agent.md b/.github/agents/non-discriminated-union-designer.agent.md new file mode 100644 index 000000000..acdaf0a0f --- /dev/null +++ b/.github/agents/non-discriminated-union-designer.agent.md @@ -0,0 +1,216 @@ +# Non-Discriminated Union Designer Agent + +## Role + +You are the **Non-Discriminated Union Designer** — responsible for designing composition-based +wrapper types in the .NET SDK for TypeSpec unions that cannot use a `@discriminator` because +their components are heterogeneous (e.g., a model + an enum). + +## Critical: Three-Tier Fix Strategy + +Category 2 unions are typically handled at **Tier 2 (overlays)** because the fix lives +entirely in the SDK layer — the base TypeSpec union is left as-is, and the SDK provides +a composition wrapper class. + +**Your primary output is overlay file changes:** +- **Model overlay** (`specification/client/models/<area>.models.tsp`): Define new SDK-only + types (composition wrapper models, extensible enums). +- **Client overlay** (`specification/client/<area>.client.tsp`): Use `@@alternateType` to + swap the base union property to the new SDK wrapper type. Use `@@dynamicModel` to enable + JsonPatch support on new types. + +**NEVER modify the base spec files.** The union stays as-is in the base TypeSpec. + +## Input + +A union inventory entry with `"category": 2` from the Spec Analyzer, containing: +- File path, line number, property name, parent model +- The raw union expression and its components (with kinds: model, string-literal, enum, etc.) +- Whether `null` is a component (→ nullable property) +- Whether the property is input-only, output-only, or both + +## Background: The Composition Pattern + +When a union mixes a model type with an enum (or other incompatible types), we cannot use +`@discriminator` in TypeSpec. Instead, the TypeSpec union is LEFT AS-IS and the SDK layer +provides a **composition wrapper class**. This design (from the .NET SDK guidelines) ensures +the property works as both input and output. + +### Pattern Structure + +Given a union like `ModelType | "value1" | "value2" | null`: + +1. **Identify components:** + - `ModelType` → an object component (the "custom" variant) + - `"value1" | "value2"` → string literals → an enum component (the "global" variant) + - `null` → the property is nullable (not a union member) + +2. **Design the enum:** + +```csharp +public readonly partial struct <EnumName> : IEquatable<<EnumName>> { + public <EnumName>(string value); + + public static <EnumName> Value1 { get; } + public static <EnumName> Value2 { get; } + + public readonly bool Equals(<EnumName> other); + public static bool operator ==(<EnumName> left, <EnumName> right); + public static implicit operator <EnumName>(string value); + public static implicit operator <EnumName>?(string value); + public static bool operator !=(<EnumName> left, <EnumName> right); + public override readonly string ToString(); +} +``` + +3. **Design the wrapper class:** + +```csharp +public class <WrapperName> : IJsonModel<<WrapperName>>, IPersistableModel<<WrapperName>> { + // One constructor per component + public <WrapperName>(<ModelType> customValue); + public <WrapperName>(<EnumName> enumValue); + + // One nullable property per component + public <ModelType> CustomValue { get; } + public <EnumName>? EnumValue { get; } + + // Implicit conversions + public static implicit operator <WrapperName>(<ModelType> customValue); + public static implicit operator <WrapperName>(<EnumName> enumValue); +} +``` + +## Key Design Rules (from Gist 2) + +1. **One nullable property per component.** Only the property matching the active variant + is non-null. Consumers check for `null` to discover the type. + +2. **One constructor per component.** Each constructor takes exactly its component as a + parameter and asserts non-null. + +3. **No setters on component properties.** An instance cannot be mutated to a different + variant after construction. + +4. **Implicit conversion operators.** From each component type to the wrapper, enabling: + ```csharp + McpToolCallApprovalPolicy policy = GlobalMcpToolCallApprovalPolicy.AlwaysRequireApproval; + ``` + +5. **Collections in wrappers are nullable.** Unlike normal SDK convention where collections + are never null, collection properties inside a union wrapper MUST be nullable. + +6. **Null component = nullable property, not a variant.** If the union includes `null`, + the parent property is nullable. Do not create a "null variant". + +7. **String-literal groups = extensible enum.** Multiple string literals in a union form a + single `readonly partial struct` enum, not individual variants. + +## Naming Conventions + +| Concept | Pattern | Example | +|---------|---------|---------| +| Wrapper class | `<Context><Concept>` | `McpToolCallApprovalPolicy` | +| Model component property | `Custom<Concept>` or descriptive name | `CustomPolicy` | +| Enum component property | `Global<Concept>` or descriptive name | `GlobalPolicy` | +| Enum struct | `<Qualifier><Concept>` | `GlobalMcpToolCallApprovalPolicy` | + +Choose names that clearly communicate when to use each variant. + +## Process + +For each Category 2 union: + +### Step 1: Identify Components + +- Separate model types, string-literal enums, and null. +- Group string literals into a single enum. + +### Step 2: Design the Enum (if applicable) + +Produce the `readonly partial struct` with appropriate members. + +### Step 3: Design the Wrapper Class + +Produce the class following the pattern above. + +### Step 4: Note the TypeSpec Relationship + +The base `.tsp` file is NOT changed for Category 2 unions. Instead, produce overlay changes: + +**Client overlay** (`specification/client/<area>.client.tsp`): +```typespec +@@alternateType(<ParentModel>.<property>, <WrapperName>); +@@dynamicModel(<WrapperName>); +@@dynamicModel(<EnumName>); +@@dynamicModel(<ModelComponent>); +``` + +**Model overlay** (`specification/client/models/<area>.models.tsp`): +```typespec +// Define the wrapper and enum types as SDK-only models +model <WrapperName> { ... } +union <EnumName> { string, ... } +``` + +### Step 5: Document Serialization Behavior + +Describe how the wrapper serializes/deserializes: +- On serialization: write the active component's value directly. +- On deserialization: inspect the JSON token type to determine which component to populate. + +## Output Format + +``` +### <union-id> +- File (base spec): <path> +- Category: 2 +- Fix Tier: 2 +- Original: `<raw union expression>` + +#### Client overlay (specification/client/<area>.client.tsp): +```typespec +@@alternateType(<ParentModel>.<property>, <WrapperName>); +@@dynamicModel(<WrapperName>); +``` + +#### Model overlay (specification/client/models/<area>.models.tsp): +```typespec +<new SDK-only types> +``` + +#### C# design (for SDK implementation reference): + +Enum design: +```csharp +public readonly partial struct <EnumName> : IEquatable<<EnumName>> { ... } +``` + +Wrapper class design: +```csharp +public class <WrapperName> : IJsonModel<<WrapperName>>, IPersistableModel<<WrapperName>> { ... } +``` + +Usage examples: +```csharp +// Setting via enum +property.ApprovalPolicy = GlobalMcpToolCallApprovalPolicy.AlwaysRequireApproval; + +// Setting via model +property.ApprovalPolicy = new CustomMcpToolCallApprovalPolicy { ... }; + +// Reading +if (response.ApprovalPolicy.CustomPolicy is not null) { ... } +else if (response.ApprovalPolicy.GlobalPolicy.HasValue) { ... } +``` +``` + +## Rules + +1. **NEVER modify base `.tsp` files** — they are synced from upstream. +2. All type changes go in overlay files following existing patterns. +3. Always design for input + output compatibility. +4. Every constructor must null-check its argument. +5. The wrapper must implement `IJsonModel<T>` and `IPersistableModel<T>`. +6. Use `@@alternateType` in the client overlay to swap the base union to the wrapper. +7. Use `@@dynamicModel` on all new types to enable JsonPatch support. diff --git a/.github/agents/shorthand-union-handler.agent.md b/.github/agents/shorthand-union-handler.agent.md new file mode 100644 index 000000000..65071f221 --- /dev/null +++ b/.github/agents/shorthand-union-handler.agent.md @@ -0,0 +1,177 @@ +# Shorthand Union Handler Agent + +## Role + +You are the **Shorthand Union Handler** — responsible for handling TypeSpec unions where one +component is a convenience shorthand for another (e.g., `string[]` is shorthand for a model's +`tool_names` property). + +## Critical: Three-Tier Fix Strategy + +Category 3 unions are handled at **Tier 2 (overlays)** because the fix lives entirely in +the SDK layer — the base TypeSpec union is left as-is, and the SDK surfaces only the +longhand type with custom deserialization to tolerate shorthand input. + +**Your primary output is overlay file changes:** +- **Client overlay** (`specification/client/<area>.client.tsp`): Use `@@alternateType` to + swap the base union property to the longhand type only. +- **Model overlay** (`specification/client/models/<area>.models.tsp`): Define any + SDK-only types if needed for the longhand representation. + +**NEVER modify the base spec files.** The union stays as-is in the base TypeSpec. + +## Input + +A union inventory entry with `"category": 3` from the Spec Analyzer, containing: +- File path, line number, property name, parent model +- The raw union expression +- Which component is the shorthand and which is the longhand +- Which property of the longhand model the shorthand maps to +- Whether the property is input-only, output-only, or both + +## Background: The Shorthand Problem (from Gist 3) + +Some OpenAI REST API properties accept both a full model and a scalar/array shorthand: + +```typespec +allowed_tools?: string[] | MCPToolFilter | null; +``` + +Here, `string[]` is shorthand for `MCPToolFilter.tool_names`. This exists for convenience +in input, but the server may echo it back in shorthand form. + +### Why Not Use the Standard Composition Pattern? + +Applying the non-discriminated union composition wrapper here would be counterproductive: +- It adds complexity to what was designed as a convenience. +- Two properties (`AllowedToolNames` vs `AllowedTools`) represent the same concept, causing confusion. +- No functional benefit over just using the longhand type. + +### The Solution: Longhand-Only with Tolerant Deserialization + +1. **Surface only the longhand type** in the SDK property. +2. **Customize deserialization** to accept both shorthand and longhand JSON. +3. When shorthand is received, **normalize to longhand** during deserialization. + +## Process + +For each Category 3 union: + +### Step 1: Confirm Shorthand Relationship + +Verify that the shorthand component maps cleanly to a single property of the longhand model: + +- `string[]` → `MCPToolFilter.tool_names` ✓ +- `string` → `SomeModel.name` ✓ +- `int[]` → `SomeModel.ids` ✓ + +If the mapping is ambiguous or involves multiple properties, reclassify as Category 2. + +### Step 2: Define the SDK Property + +The SDK property uses ONLY the longhand type: + +```csharp +public class McpTool { + public McpToolFilter AllowedTools { get; set; } +} +``` + +The `string[] | null` shorthand and null components are handled as: +- `null` → the property is nullable +- `string[]` → handled via custom deserialization + +### Step 3: Design Custom Deserialization + +Produce deserialization logic that handles both forms: + +```csharp +// Pseudocode for deserialization of "allowed_tools" +if (jsonElement.ValueKind == JsonValueKind.Array + && jsonElement.EnumerateArray().All(e => e.ValueKind == JsonValueKind.String)) +{ + // Shorthand: string[] → normalize to MCPToolFilter + var toolNames = jsonElement.EnumerateArray() + .Select(e => e.GetString()) + .ToList(); + result.AllowedTools = new McpToolFilter { ToolNames = toolNames }; +} +else if (jsonElement.ValueKind == JsonValueKind.Object) +{ + // Longhand: deserialize normally + result.AllowedTools = McpToolFilter.DeserializeMcpToolFilter(jsonElement); +} +``` + +### Step 4: Document Known Limitations + +For every shorthand union handled, document these known limitations: + +1. **Round-trip normalization:** If the server sends shorthand and the client round-trips it, + the client will send longhand. The server must accept longhand for this to work. +2. **Explicit shorthand sending:** If a user needs to send shorthand specifically, they must + use `JsonPatch` or raw `BinaryData` — the typed SDK does not expose it. + +### Step 5: Produce Overlay Changes + +The base `.tsp` file is NOT changed for Category 3 unions. Instead, produce overlay changes: + +**Client overlay** (`specification/client/<area>.client.tsp`): +```typespec +@@alternateType(<ParentModel>.<property>, <LonghandType>); +``` + +This tells the code generator to use only the longhand type for this property. +Custom deserialization logic is then added in the SDK C# code to handle shorthand JSON. + +## Shorthand Detection Heuristics + +When the Spec Analyzer flags a potential Category 3, validate using these heuristics: + +| Shorthand | Longhand Model | Mapped Property | Confidence | +|-----------|---------------|-----------------|------------| +| `string[]` | Model with `string[]` property | High match if only one `string[]` property | High | +| `string` | Model with `string` property + other props | Check if shorthand is the "primary" field | Medium | +| `int` / `float` | Model with numeric property | Rare; verify intent | Low | + +If confidence is Low, flag for human review rather than auto-handling. + +## Output Format + +``` +### <union-id> +- File (base spec): <path> +- Category: 3 +- Fix Tier: 2 +- Original: `<raw union expression>` +- Shorthand: `<shorthand type>` → maps to `<LonghandModel>.<property>` + +#### Client overlay (specification/client/<area>.client.tsp): +```typespec +@@alternateType(<ParentModel>.<property>, <LonghandType>); +``` + +#### SDK property design: +```csharp +public <LonghandType>? <PropertyName> { get; set; } +``` + +#### Custom deserialization: +```csharp +// Handle shorthand: <shorthand type> → normalize to <LonghandType> +<deserialization code> +``` + +#### Known limitations: +1. Round-trip: shorthand → longhand normalization +2. Explicit shorthand requires JsonPatch +``` + +## Rules + +1. **NEVER modify base `.tsp` files** — they are synced from upstream. +2. All type swaps go in overlay files using `@@alternateType`. +3. Always normalize shorthand → longhand; never the reverse. +4. If the shorthand→longhand mapping is ambiguous, escalate to human review. +5. Custom deserialization must handle `null` gracefully (nullable property). +6. Document all limitations explicitly — no silent behavior changes. diff --git a/.github/agents/spec-analyzer.agent.md b/.github/agents/spec-analyzer.agent.md new file mode 100644 index 000000000..e30cff581 --- /dev/null +++ b/.github/agents/spec-analyzer.agent.md @@ -0,0 +1,146 @@ +# Spec Analyzer Agent + +## Role + +You are the **Spec Analyzer** — responsible for scanning TypeSpec (`.tsp`) files and producing +a categorized inventory of every union usage that needs attention. + +## Important: Base Spec Only + +You analyze ONLY the **base TypeSpec files** from the upstream repo +(`microsoft/openai-openapi-pr/packages/openai-typespec/src/<area>/`), which are synced +locally to `base/typespec/<area>/`. Do NOT analyze overlay files — those are fixes, not +the source of truth for union discovery. + +Also scan existing overlays (`specification/client/<area>.client.tsp` and +`specification/client/models/<area>.models.tsp`) to note which unions are **already addressed** +by existing overlays so the specialist agents don't duplicate work. + +## Input + +A list of `.tsp` file paths or a directory containing `.tsp` files. + +## Process + +For each `.tsp` file: + +1. **Parse** all union expressions. A union is any occurrence of `A | B` in a property type, + parameter type, or named `union` declaration. + +2. **Classify** each union into one of three categories (see `guidelines.md`): + + - **Category 1: Discriminated Union** — All components are models that share (or should + share) a discriminator field. + - **Category 2: Non-Discriminated Union** — Heterogeneous components (model + enum, model + + scalar) with no feasible discriminator. + - **Category 3: Shorthand Notation Union** — One component is a scalar/array shorthand for + a property of the other model component. + - **Already Correct** — The union already uses `@discriminator` properly, or is a simple + string-literal enum that needs no refactoring. + +3. **Extract** metadata for each union: + - File path and line number (in the base spec) + - The property or declaration name + - The raw union expression + - Each component type and whether it is a model, enum, scalar, or array + - Whether the property is input-only, output-only, or both + - Whether `null` is a component (→ nullable property, not a union member) + - If Category 1: the candidate discriminator field name and its literal values per component + - If Category 3: which component is shorthand and which property it maps to + - **Whether an existing overlay already addresses this union** (check client/model overlays) + - **Fixability assessment**: Can this be fixed via overlay (Tier 2) or does it require + an upstream change (Tier 3)? + +## Output Format + +Produce a JSON inventory: + +```json +{ + "files_scanned": 12, + "unions_found": 23, + "inventory": [ + { + "id": "realtime-session-config", + "file": "realtime.tsp", + "line": 42, + "property": "session", + "parent_model": "RealtimeSessionCreatedEvent", + "raw_union": "RealtimeSessionCreateRequestGA | RealtimeTranscriptionSessionCreateRequestGA", + "components": [ + { "type": "RealtimeSessionCreateRequestGA", "kind": "model" }, + { "type": "RealtimeTranscriptionSessionCreateRequestGA", "kind": "model" } + ], + "nullable": false, + "input_output": "both", + "category": 1, + "discriminator_field": "type", + "discriminator_values": { + "RealtimeSessionCreateRequestGA": "realtime", + "RealtimeTranscriptionSessionCreateRequestGA": "transcription" + }, + "existing_overlay": null, + "fix_tier": 3, + "fix_tier_reason": "Requires @discriminator on base model — cannot be done via overlay" + }, + { + "id": "mcp-require-approval", + "file": "responses.tsp", + "line": 78, + "property": "require_approval", + "parent_model": "MCPTool", + "raw_union": "MCPToolRequireApproval | \"always\" | \"never\" | null", + "components": [ + { "type": "MCPToolRequireApproval", "kind": "model" }, + { "type": "\"always\"", "kind": "string-literal" }, + { "type": "\"never\"", "kind": "string-literal" }, + { "type": "null", "kind": "null" } + ], + "nullable": true, + "input_output": "both", + "category": 2, + "notes": "String literals form an enum; model + enum = non-discriminated union", + "existing_overlay": null, + "fix_tier": 2, + "fix_tier_reason": "Can define composition wrapper in model overlay + @@alternateType in client overlay" + }, + { + "id": "mcp-allowed-tools", + "file": "responses.tsp", + "line": 85, + "property": "allowed_tools", + "parent_model": "MCPTool", + "raw_union": "string[] | MCPToolFilter | null", + "components": [ + { "type": "string[]", "kind": "array" }, + { "type": "MCPToolFilter", "kind": "model" }, + { "type": "null", "kind": "null" } + ], + "nullable": true, + "input_output": "both", + "category": 3, + "shorthand_component": "string[]", + "longhand_component": "MCPToolFilter", + "mapped_property": "tool_names", + "existing_overlay": null, + "fix_tier": 2, + "fix_tier_reason": "Can use @@alternateType to longhand type + custom deserialization in SDK" + } + ] +} +``` + +## Edge Cases + +- **Union of a single model + null**: Not a union — just a nullable property. Skip. +- **Named `union` declarations**: Analyze the same way; note the union name. +- **Nested unions**: Flatten and classify the outermost union expression. +- **Unions already decorated with `@discriminator`**: Mark as "Already Correct". +- **Union of only string literals**: This is an enum, not a union. Mark as "Already Correct". + +## Important + +- Do NOT propose changes. Your job is analysis only. +- Be exhaustive — missing a union means it will ship as `BinaryData` in the SDK. +- Include enough context (parent model, property name, line number) for the specialist agents + to make targeted changes without re-scanning. diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 7de6c7ea2..694edc35c 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -10,5 +10,185 @@ When making changes to TypeSpec files (`.tsp` files), you must regenerate the co This ensures that any modifications to the TypeSpec definitions are properly reflected in the generated code. +When making changes to TypeSpec files (`.tsp` files), do not use type unions and instead use discriminators to ensure that we don't use binary data types when the generation occurs. -When making Changes to TypeSpec files (`.tsp` files), Do not use type unions and instead use discriminators to ensure that we don't use binary data types when the generation occurs. +# Shared Guidelines for TypeSpec Union Refactoring Agents + +## Objective + +These guidelines govern all sub-agents that evaluate and refactor OpenAI TypeSpec specifications +to ensure the generated .NET SDK provides strongly-typed, idiomatic C# models rather than +loosely-typed `BinaryData` properties. + +## Union Classification + +Every union encountered in a TypeSpec file MUST be classified into exactly one of three categories: + +### Category 1: Discriminated Union (should use `@discriminator`) + +A union where all components are **model types** that share (or should share) a common string +property whose value uniquely identifies the variant. + +**Indicators:** +- All components are `model` types (not scalars, not enums). +- A `type` (or similar) property exists on each component with distinct literal values. +- The union represents mutually-exclusive, structurally-distinct alternatives. + +**Action:** Convert to a `@discriminator`-based model hierarchy. + +### Category 2: Non-Discriminated Union (composition wrapper) + +A union where components are **heterogeneous** — typically mixing a model with an enum, +or mixing structurally-incompatible models where no shared discriminator field exists. + +**Indicators:** +- Components include a mix of model types and string-literal enums. +- No common discriminator field is feasible. +- The property is used as both input AND output (echoed back by the server). + +**Action:** Create a composition wrapper class with: +- One nullable property per component. +- One constructor per component (assert non-null). +- Implicit conversion operators from each component to the wrapper. +- Only one property is non-null at a time; consumers check for `null` to discover the active type. + +### Category 3: Shorthand Notation Union (normalize to longhand) + +A union where one component is a **convenience shorthand** for another +(e.g., `string[]` is shorthand for a model's `tool_names` property). + +**Indicators:** +- One component is a scalar or scalar-array that maps directly to a single property of + the other component. +- The shorthand exists purely for input convenience. +- The longhand component is a strict superset of the shorthand. + +**Action:** +- Surface only the longhand type in the SDK. +- Customize deserialization to accept shorthand and normalize it to longhand. +- Accept the minor limitations: round-tripping may convert shorthand→longhand, and + sending shorthand explicitly requires `JsonPatch`. + +## General Rules + +1. **Preserve existing discriminators.** If a type already uses `@discriminator`, do not change it. +2. **Prefer compile-time safety over runtime flexibility.** Strongly-typed hierarchies are always + preferable to `BinaryData` or `object`. +3. **Nullable semantics.** When a union includes `null`, treat it as the *property* being nullable, + not as a union component. +4. **String-literal sets are enums.** A union of string literals (e.g., `"always" | "never"`) + should be represented as an extensible enum (`readonly partial struct` in C#). +5. **Collection properties in union wrappers must be nullable** — unlike normal collection + properties which are never null in the library. +6. **Implicit conversions.** Union wrapper classes MUST have implicit conversion operators to + reduce ceremony for callers. +7. **Immutability of variant.** Once a union wrapper is constructed with a given component, + it cannot be mutated to a different component (no setters on component properties). +8. **Output model compatibility.** All designs must work for properties that are both input + and output (echoed back by the server). + +## Three-Tier Fix Strategy (CRITICAL) + +All agents MUST follow this escalation path when addressing union issues. The base TypeSpec +spec is treated as an **immutable upstream dependency** — never modify it directly. + +### Tier 1: Use the Exact Base TypeSpec (No Changes) + +The base TypeSpec lives in the upstream repo (`microsoft/openai-openapi-pr`) under +`packages/openai-typespec/src/<area>/`. This is imported into the SDK repo at +`base/typespec/<area>/main.tsp`. + +**Rule:** Always start with an exact, unmodified copy of the latest base TypeSpec. +Do NOT fork, patch, or hand-edit these files. They are synced from upstream. + +### Tier 2: Fix via Client/Model Overlays + +If the base spec produces incorrect or suboptimal codegen, fix it using the SDK's overlay +files. These use TypeSpec augment decorators (`@@`) to reshape the generated output +without touching the base spec. + +**Overlay locations (in the `openai-dotnet` SDK repo):** + +| Overlay Type | Path | Purpose | +|---|---|---| +| **Client overlay** | `specification/client/<area>.client.tsp` | Operation-level customizations: rename methods (`@@clientName`), move operations (`@@clientLocation`), control access (`@@access`, `@@usage`), suppress convenience methods (`@@convenientAPI`), swap types (`@@alternateType`), enable JsonPatch (`@@dynamicModel`) | +| **Model overlay** | `specification/client/models/<area>.models.tsp` | Model-level customizations: define new SDK-only types, add collection options, define extensible enums (`union { string, ... }`), create alias types for query parameters | + +**What overlays CAN do:** +- Change generated names, access levels, and visibility +- Substitute alternate types for properties (`@@alternateType`) +- Mark models as dynamic for JsonPatch support (`@@dynamicModel`) +- Add new SDK-only models/enums/aliases that don't exist in the base spec +- Define collection options and query parameter shapes + +**What overlays CANNOT do:** +- Add `@discriminator` to an existing base model (requires base spec change) +- Change the structural hierarchy (add `extends` relationships) of base models +- Remove or rename properties defined in the base spec +- Change a union to a non-union in the base spec + +### Tier 3: Open an Upstream Issue + +If the problem **cannot** be fixed through overlays (e.g., a union needs to become a +`@discriminator` hierarchy, which requires structural changes to the base models), then: + +1. **Do NOT modify the base spec locally.** +2. **Open an issue** on the upstream repo (`microsoft/openai-openapi-pr`) with: + - Title: `[TypeSpec] <Area>: <Brief description of the union problem>` + - Body containing: + - The file path and line number in the base spec + - The current union expression + - The expected pattern (e.g., `@discriminator` hierarchy) + - Which union category (1, 2, or 3) this falls under + - The impact on SDK codegen (e.g., "produces `BinaryData` instead of typed model") + - A proposed TypeSpec diff showing the desired base spec change +3. **Document the issue** in the changeset output so it can be tracked. + +### Decision Flowchart + +``` +Found a problematic union + │ + ▼ +Can it be fixed with @@alternateType, +@@clientName, new SDK-only models, or +custom deserialization in overlays? + │ + ┌────┴────┐ + Yes No + │ │ + ▼ ▼ + Tier 2: Does it require structural + Write changes to base models? + overlay (e.g., @discriminator, extends) + files │ + ┌────┴────┐ + Yes No → re-evaluate + │ + ▼ + Tier 3: + Open upstream + issue +``` + +## TypeSpec Refactoring Conventions + +- Use `@discriminator("type")` (or the appropriate field name) on base models — but only + when proposing upstream changes (Tier 3). Never add this to the local base copy. +- Child models should use `extends` to derive from the base — upstream only. +- In overlays, use `@@alternateType` to swap a union property to a custom SDK type. +- Keep union syntax in the base when the union is genuinely non-discriminated and will be + handled by a composition wrapper in the SDK (Tier 2 model overlay). +- Add `@doc` annotations to new base models when proposing upstream changes. + +## File Organization + +- **Base spec files** (`base/typespec/<area>/`): NEVER modify. Synced from upstream. +- **Client overlays** (`specification/client/<area>.client.tsp`): Operation customizations. +- **Model overlays** (`specification/client/models/<area>.models.tsp`): Type customizations. +- Each agent outputs its findings and proposed changes in a structured format. +- Changes must be minimal and surgical. +- Every proposed change must reference: + - Which category (1, 2, or 3) it falls under + - Which tier (1, 2, or 3) the fix uses + - If Tier 3: the upstream issue details diff --git a/api/OpenAI.net10.0.cs b/api/OpenAI.net10.0.cs index 277be3bf4..363e14ca4 100644 --- a/api/OpenAI.net10.0.cs +++ b/api/OpenAI.net10.0.cs @@ -5125,6 +5125,14 @@ public class TurnDetectionOptions : IJsonModel<TurnDetectionOptions>, IPersistab } } namespace OpenAI.Responses { + [Experimental("OPENAI001")] + public class ApplyPatchTool : ResponseTool, IJsonModel<ApplyPatchTool>, IPersistableModel<ApplyPatchTool> { + public ApplyPatchTool(); + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } [Experimental("OPENAI001")] public class AutomaticCodeInterpreterToolContainerConfiguration : CodeInterpreterToolContainerConfiguration, IJsonModel<AutomaticCodeInterpreterToolContainerConfiguration>, IPersistableModel<AutomaticCodeInterpreterToolContainerConfiguration> { public AutomaticCodeInterpreterToolContainerConfiguration(); @@ -5430,6 +5438,46 @@ public class CustomMcpToolCallApprovalPolicy : IJsonModel<CustomMcpToolCallAppro protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] + public class CustomTool : ResponseTool, IJsonModel<CustomTool>, IPersistableModel<CustomTool> { + public CustomTool(string name); + public string Description { get; set; } + public CustomToolFormat Format { get; set; } + public string Name { get; set; } + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] + public abstract class CustomToolFormat : IJsonModel<CustomToolFormat>, IPersistableModel<CustomToolFormat> { + [Serialization.JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + [Experimental("SCME0001")] + public ref JsonPatch Patch { get; } + protected virtual CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected virtual CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] + public class CustomToolGrammarFormat : CustomToolFormat, IJsonModel<CustomToolGrammarFormat>, IPersistableModel<CustomToolGrammarFormat> { + public CustomToolGrammarFormat(GrammarSyntax syntax, string definition); + public string Definition { get; set; } + public GrammarSyntax Syntax { get; set; } + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] + public class CustomToolTextFormat : CustomToolFormat, IJsonModel<CustomToolTextFormat>, IPersistableModel<CustomToolTextFormat> { + public CustomToolTextFormat(); + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] public class FileCitationMessageAnnotation : ResponseMessageAnnotation, IJsonModel<FileCitationMessageAnnotation>, IPersistableModel<FileCitationMessageAnnotation> { public FileCitationMessageAnnotation(string fileId, int index, string filename); public string FileId { get; set; } @@ -5607,6 +5655,22 @@ public class GetResponseOptions : IJsonModel<GetResponseOptions>, IPersistableMo public override readonly string ToString(); } [Experimental("OPENAI001")] + public readonly partial struct GrammarSyntax : IEquatable<GrammarSyntax> { + public GrammarSyntax(string value); + public static GrammarSyntax Lark { get; } + public static GrammarSyntax Regex { get; } + public readonly bool Equals(GrammarSyntax other); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly bool Equals(object obj); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly int GetHashCode(); + public static bool operator ==(GrammarSyntax left, GrammarSyntax right); + public static implicit operator GrammarSyntax(string value); + public static implicit operator GrammarSyntax?(string value); + public static bool operator !=(GrammarSyntax left, GrammarSyntax right); + public override readonly string ToString(); + } + [Experimental("OPENAI001")] public class ImageGenerationCallResponseItem : ResponseItem, IJsonModel<ImageGenerationCallResponseItem>, IPersistableModel<ImageGenerationCallResponseItem> { public ImageGenerationCallResponseItem(BinaryData imageResultBytes); public BinaryData ImageResultBytes { get; set; } @@ -6494,14 +6558,17 @@ public class ResponseTool : IJsonModel<ResponseTool>, IPersistableModel<Response [EditorBrowsable(EditorBrowsableState.Never)] [Experimental("SCME0001")] public ref JsonPatch Patch { get; } + public static ApplyPatchTool CreateApplyPatchTool(); public static CodeInterpreterTool CreateCodeInterpreterTool(CodeInterpreterToolContainer container); [Experimental("OPENAICUA001")] public static ComputerTool CreateComputerTool(ComputerToolEnvironment environment, int displayWidth, int displayHeight); + public static CustomTool CreateCustomTool(string name, string description = null, CustomToolFormat format = null); public static FileSearchTool CreateFileSearchTool(IEnumerable<string> vectorStoreIds, int? maxResultCount = null, FileSearchToolRankingOptions rankingOptions = null, BinaryData filters = null); public static FunctionTool CreateFunctionTool(string functionName, BinaryData functionParameters, bool? strictModeEnabled, string functionDescription = null); public static ImageGenerationTool CreateImageGenerationTool(string model, ImageGenerationToolQuality? quality = null, ImageGenerationToolSize? size = null, ImageGenerationToolOutputFileFormat? outputFileFormat = null, int? outputCompressionFactor = null, ImageGenerationToolModerationLevel? moderationLevel = null, ImageGenerationToolBackground? background = null, ImageGenerationToolInputFidelity? inputFidelity = null, ImageGenerationToolInputImageMask inputImageMask = null, int? partialImageCount = null); public static McpTool CreateMcpTool(string serverLabel, McpToolConnectorId connectorId, string authorizationToken = null, string serverDescription = null, IDictionary<string, string> headers = null, McpToolFilter allowedTools = null, McpToolCallApprovalPolicy toolCallApprovalPolicy = null); public static McpTool CreateMcpTool(string serverLabel, Uri serverUri, string authorizationToken = null, string serverDescription = null, IDictionary<string, string> headers = null, McpToolFilter allowedTools = null, McpToolCallApprovalPolicy toolCallApprovalPolicy = null); + public static ShellTool CreateShellTool(); public static WebSearchPreviewTool CreateWebSearchPreviewTool(WebSearchToolLocation userLocation = null, WebSearchToolContextSize? searchContextSize = null); public static WebSearchTool CreateWebSearchTool(WebSearchToolLocation userLocation = null, WebSearchToolContextSize? searchContextSize = null, WebSearchToolFilters filters = null); protected virtual ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); @@ -6550,6 +6617,14 @@ public enum ResponseToolChoiceKind { public override readonly string ToString(); } [Experimental("OPENAI001")] + public class ShellTool : ResponseTool, IJsonModel<ShellTool>, IPersistableModel<ShellTool> { + public ShellTool(); + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] public class StreamingResponseCodeInterpreterCallCodeDeltaUpdate : StreamingResponseUpdate, IJsonModel<StreamingResponseCodeInterpreterCallCodeDeltaUpdate>, IPersistableModel<StreamingResponseCodeInterpreterCallCodeDeltaUpdate> { public StreamingResponseCodeInterpreterCallCodeDeltaUpdate(); public string Delta { get; set; } diff --git a/api/OpenAI.net8.0.cs b/api/OpenAI.net8.0.cs index 277be3bf4..363e14ca4 100644 --- a/api/OpenAI.net8.0.cs +++ b/api/OpenAI.net8.0.cs @@ -5125,6 +5125,14 @@ public class TurnDetectionOptions : IJsonModel<TurnDetectionOptions>, IPersistab } } namespace OpenAI.Responses { + [Experimental("OPENAI001")] + public class ApplyPatchTool : ResponseTool, IJsonModel<ApplyPatchTool>, IPersistableModel<ApplyPatchTool> { + public ApplyPatchTool(); + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } [Experimental("OPENAI001")] public class AutomaticCodeInterpreterToolContainerConfiguration : CodeInterpreterToolContainerConfiguration, IJsonModel<AutomaticCodeInterpreterToolContainerConfiguration>, IPersistableModel<AutomaticCodeInterpreterToolContainerConfiguration> { public AutomaticCodeInterpreterToolContainerConfiguration(); @@ -5430,6 +5438,46 @@ public class CustomMcpToolCallApprovalPolicy : IJsonModel<CustomMcpToolCallAppro protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } [Experimental("OPENAI001")] + public class CustomTool : ResponseTool, IJsonModel<CustomTool>, IPersistableModel<CustomTool> { + public CustomTool(string name); + public string Description { get; set; } + public CustomToolFormat Format { get; set; } + public string Name { get; set; } + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] + public abstract class CustomToolFormat : IJsonModel<CustomToolFormat>, IPersistableModel<CustomToolFormat> { + [Serialization.JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + [Experimental("SCME0001")] + public ref JsonPatch Patch { get; } + protected virtual CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected virtual CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] + public class CustomToolGrammarFormat : CustomToolFormat, IJsonModel<CustomToolGrammarFormat>, IPersistableModel<CustomToolGrammarFormat> { + public CustomToolGrammarFormat(GrammarSyntax syntax, string definition); + public string Definition { get; set; } + public GrammarSyntax Syntax { get; set; } + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] + public class CustomToolTextFormat : CustomToolFormat, IJsonModel<CustomToolTextFormat>, IPersistableModel<CustomToolTextFormat> { + public CustomToolTextFormat(); + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] public class FileCitationMessageAnnotation : ResponseMessageAnnotation, IJsonModel<FileCitationMessageAnnotation>, IPersistableModel<FileCitationMessageAnnotation> { public FileCitationMessageAnnotation(string fileId, int index, string filename); public string FileId { get; set; } @@ -5607,6 +5655,22 @@ public class GetResponseOptions : IJsonModel<GetResponseOptions>, IPersistableMo public override readonly string ToString(); } [Experimental("OPENAI001")] + public readonly partial struct GrammarSyntax : IEquatable<GrammarSyntax> { + public GrammarSyntax(string value); + public static GrammarSyntax Lark { get; } + public static GrammarSyntax Regex { get; } + public readonly bool Equals(GrammarSyntax other); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly bool Equals(object obj); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly int GetHashCode(); + public static bool operator ==(GrammarSyntax left, GrammarSyntax right); + public static implicit operator GrammarSyntax(string value); + public static implicit operator GrammarSyntax?(string value); + public static bool operator !=(GrammarSyntax left, GrammarSyntax right); + public override readonly string ToString(); + } + [Experimental("OPENAI001")] public class ImageGenerationCallResponseItem : ResponseItem, IJsonModel<ImageGenerationCallResponseItem>, IPersistableModel<ImageGenerationCallResponseItem> { public ImageGenerationCallResponseItem(BinaryData imageResultBytes); public BinaryData ImageResultBytes { get; set; } @@ -6494,14 +6558,17 @@ public class ResponseTool : IJsonModel<ResponseTool>, IPersistableModel<Response [EditorBrowsable(EditorBrowsableState.Never)] [Experimental("SCME0001")] public ref JsonPatch Patch { get; } + public static ApplyPatchTool CreateApplyPatchTool(); public static CodeInterpreterTool CreateCodeInterpreterTool(CodeInterpreterToolContainer container); [Experimental("OPENAICUA001")] public static ComputerTool CreateComputerTool(ComputerToolEnvironment environment, int displayWidth, int displayHeight); + public static CustomTool CreateCustomTool(string name, string description = null, CustomToolFormat format = null); public static FileSearchTool CreateFileSearchTool(IEnumerable<string> vectorStoreIds, int? maxResultCount = null, FileSearchToolRankingOptions rankingOptions = null, BinaryData filters = null); public static FunctionTool CreateFunctionTool(string functionName, BinaryData functionParameters, bool? strictModeEnabled, string functionDescription = null); public static ImageGenerationTool CreateImageGenerationTool(string model, ImageGenerationToolQuality? quality = null, ImageGenerationToolSize? size = null, ImageGenerationToolOutputFileFormat? outputFileFormat = null, int? outputCompressionFactor = null, ImageGenerationToolModerationLevel? moderationLevel = null, ImageGenerationToolBackground? background = null, ImageGenerationToolInputFidelity? inputFidelity = null, ImageGenerationToolInputImageMask inputImageMask = null, int? partialImageCount = null); public static McpTool CreateMcpTool(string serverLabel, McpToolConnectorId connectorId, string authorizationToken = null, string serverDescription = null, IDictionary<string, string> headers = null, McpToolFilter allowedTools = null, McpToolCallApprovalPolicy toolCallApprovalPolicy = null); public static McpTool CreateMcpTool(string serverLabel, Uri serverUri, string authorizationToken = null, string serverDescription = null, IDictionary<string, string> headers = null, McpToolFilter allowedTools = null, McpToolCallApprovalPolicy toolCallApprovalPolicy = null); + public static ShellTool CreateShellTool(); public static WebSearchPreviewTool CreateWebSearchPreviewTool(WebSearchToolLocation userLocation = null, WebSearchToolContextSize? searchContextSize = null); public static WebSearchTool CreateWebSearchTool(WebSearchToolLocation userLocation = null, WebSearchToolContextSize? searchContextSize = null, WebSearchToolFilters filters = null); protected virtual ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); @@ -6550,6 +6617,14 @@ public enum ResponseToolChoiceKind { public override readonly string ToString(); } [Experimental("OPENAI001")] + public class ShellTool : ResponseTool, IJsonModel<ShellTool>, IPersistableModel<ShellTool> { + public ShellTool(); + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] public class StreamingResponseCodeInterpreterCallCodeDeltaUpdate : StreamingResponseUpdate, IJsonModel<StreamingResponseCodeInterpreterCallCodeDeltaUpdate>, IPersistableModel<StreamingResponseCodeInterpreterCallCodeDeltaUpdate> { public StreamingResponseCodeInterpreterCallCodeDeltaUpdate(); public string Delta { get; set; } diff --git a/api/OpenAI.netstandard2.0.cs b/api/OpenAI.netstandard2.0.cs index 8ae6b73a8..eb854eb8a 100644 --- a/api/OpenAI.netstandard2.0.cs +++ b/api/OpenAI.netstandard2.0.cs @@ -4477,6 +4477,13 @@ public class TurnDetectionOptions : IJsonModel<TurnDetectionOptions>, IPersistab } } namespace OpenAI.Responses { + public class ApplyPatchTool : ResponseTool, IJsonModel<ApplyPatchTool>, IPersistableModel<ApplyPatchTool> { + public ApplyPatchTool(); + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } public class AutomaticCodeInterpreterToolContainerConfiguration : CodeInterpreterToolContainerConfiguration, IJsonModel<AutomaticCodeInterpreterToolContainerConfiguration>, IPersistableModel<AutomaticCodeInterpreterToolContainerConfiguration> { public AutomaticCodeInterpreterToolContainerConfiguration(); public IList<string> FileIds { get; } @@ -4750,6 +4757,41 @@ public class CustomMcpToolCallApprovalPolicy : IJsonModel<CustomMcpToolCallAppro protected virtual CustomMcpToolCallApprovalPolicy PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); } + public class CustomTool : ResponseTool, IJsonModel<CustomTool>, IPersistableModel<CustomTool> { + public CustomTool(string name); + public string Description { get; set; } + public CustomToolFormat Format { get; set; } + public string Name { get; set; } + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + public abstract class CustomToolFormat : IJsonModel<CustomToolFormat>, IPersistableModel<CustomToolFormat> { + [Serialization.JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + public ref JsonPatch Patch { get; } + protected virtual CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected virtual CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + public class CustomToolGrammarFormat : CustomToolFormat, IJsonModel<CustomToolGrammarFormat>, IPersistableModel<CustomToolGrammarFormat> { + public CustomToolGrammarFormat(GrammarSyntax syntax, string definition); + public string Definition { get; set; } + public GrammarSyntax Syntax { get; set; } + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + public class CustomToolTextFormat : CustomToolFormat, IJsonModel<CustomToolTextFormat>, IPersistableModel<CustomToolTextFormat> { + public CustomToolTextFormat(); + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } public class FileCitationMessageAnnotation : ResponseMessageAnnotation, IJsonModel<FileCitationMessageAnnotation>, IPersistableModel<FileCitationMessageAnnotation> { public FileCitationMessageAnnotation(string fileId, int index, string filename); public string FileId { get; set; } @@ -4909,6 +4951,21 @@ public class GetResponseOptions : IJsonModel<GetResponseOptions>, IPersistableMo public static bool operator !=(GlobalMcpToolCallApprovalPolicy left, GlobalMcpToolCallApprovalPolicy right); public override readonly string ToString(); } + public readonly partial struct GrammarSyntax : IEquatable<GrammarSyntax> { + public GrammarSyntax(string value); + public static GrammarSyntax Lark { get; } + public static GrammarSyntax Regex { get; } + public readonly bool Equals(GrammarSyntax other); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly bool Equals(object obj); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly int GetHashCode(); + public static bool operator ==(GrammarSyntax left, GrammarSyntax right); + public static implicit operator GrammarSyntax(string value); + public static implicit operator GrammarSyntax?(string value); + public static bool operator !=(GrammarSyntax left, GrammarSyntax right); + public override readonly string ToString(); + } public class ImageGenerationCallResponseItem : ResponseItem, IJsonModel<ImageGenerationCallResponseItem>, IPersistableModel<ImageGenerationCallResponseItem> { public ImageGenerationCallResponseItem(BinaryData imageResultBytes); public BinaryData ImageResultBytes { get; set; } @@ -5715,13 +5772,16 @@ public class ResponseTool : IJsonModel<ResponseTool>, IPersistableModel<Response [Serialization.JsonIgnore] [EditorBrowsable(EditorBrowsableState.Never)] public ref JsonPatch Patch { get; } + public static ApplyPatchTool CreateApplyPatchTool(); public static CodeInterpreterTool CreateCodeInterpreterTool(CodeInterpreterToolContainer container); public static ComputerTool CreateComputerTool(ComputerToolEnvironment environment, int displayWidth, int displayHeight); + public static CustomTool CreateCustomTool(string name, string description = null, CustomToolFormat format = null); public static FileSearchTool CreateFileSearchTool(IEnumerable<string> vectorStoreIds, int? maxResultCount = null, FileSearchToolRankingOptions rankingOptions = null, BinaryData filters = null); public static FunctionTool CreateFunctionTool(string functionName, BinaryData functionParameters, bool? strictModeEnabled, string functionDescription = null); public static ImageGenerationTool CreateImageGenerationTool(string model, ImageGenerationToolQuality? quality = null, ImageGenerationToolSize? size = null, ImageGenerationToolOutputFileFormat? outputFileFormat = null, int? outputCompressionFactor = null, ImageGenerationToolModerationLevel? moderationLevel = null, ImageGenerationToolBackground? background = null, ImageGenerationToolInputFidelity? inputFidelity = null, ImageGenerationToolInputImageMask inputImageMask = null, int? partialImageCount = null); public static McpTool CreateMcpTool(string serverLabel, McpToolConnectorId connectorId, string authorizationToken = null, string serverDescription = null, IDictionary<string, string> headers = null, McpToolFilter allowedTools = null, McpToolCallApprovalPolicy toolCallApprovalPolicy = null); public static McpTool CreateMcpTool(string serverLabel, Uri serverUri, string authorizationToken = null, string serverDescription = null, IDictionary<string, string> headers = null, McpToolFilter allowedTools = null, McpToolCallApprovalPolicy toolCallApprovalPolicy = null); + public static ShellTool CreateShellTool(); public static WebSearchPreviewTool CreateWebSearchPreviewTool(WebSearchToolLocation userLocation = null, WebSearchToolContextSize? searchContextSize = null); public static WebSearchTool CreateWebSearchTool(WebSearchToolLocation userLocation = null, WebSearchToolContextSize? searchContextSize = null, WebSearchToolFilters filters = null); protected virtual ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); @@ -5765,6 +5825,13 @@ public enum ResponseToolChoiceKind { public static bool operator !=(ResponseTruncationMode left, ResponseTruncationMode right); public override readonly string ToString(); } + public class ShellTool : ResponseTool, IJsonModel<ShellTool>, IPersistableModel<ShellTool> { + public ShellTool(); + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } public class StreamingResponseCodeInterpreterCallCodeDeltaUpdate : StreamingResponseUpdate, IJsonModel<StreamingResponseCodeInterpreterCallCodeDeltaUpdate>, IPersistableModel<StreamingResponseCodeInterpreterCallCodeDeltaUpdate> { public StreamingResponseCodeInterpreterCallCodeDeltaUpdate(); public string Delta { get; set; } diff --git a/specification/base/typespec/responses/custom/items.tsp b/specification/base/typespec/responses/custom/items.tsp index ae8862ea0..32b2a10e9 100644 --- a/specification/base/typespec/responses/custom/items.tsp +++ b/specification/base/typespec/responses/custom/items.tsp @@ -25,6 +25,12 @@ union ItemType { mcp_approval_request: "mcp_approval_request", mcp_approval_response: "mcp_approval_response", mcp_call: "mcp_call", + shell_call: "shell_call", + shell_call_output: "shell_call_output", + apply_patch_call: "apply_patch_call", + apply_patch_call_output: "apply_patch_call_output", + custom_tool_call: "custom_tool_call", + custom_tool_call_output: "custom_tool_call_output", } model FileSearchToolCallItemParam extends ItemParam { @@ -237,3 +243,69 @@ model MCPCallItemResource extends ItemResource { type: ItemType.mcp_call; ...MCPCallItemBase; } + +model FunctionShellCallItemParam extends ItemParam { + type: ItemType.shell_call; + ...FunctionShellCallItemBase; +} + +model FunctionShellCallItemResource extends ItemResource { + type: ItemType.shell_call; + status: FunctionShellCallItemStatus; + ...FunctionShellCallItemBase; +} + +model FunctionShellCallOutputItemParam extends ItemParam { + type: ItemType.shell_call_output; + ...FunctionShellCallOutputItemBase; +} + +model FunctionShellCallOutputItemResource extends ItemResource { + type: ItemType.shell_call_output; + status: "in_progress" | "completed" | "incomplete"; + ...FunctionShellCallOutputItemBase; +} + +model ApplyPatchToolCallItemParam extends ItemParam { + type: ItemType.apply_patch_call; + ...ApplyPatchToolCallItemBase; +} + +model ApplyPatchToolCallItemResource extends ItemResource { + type: ItemType.apply_patch_call; + status: ApplyPatchCallStatusParam; + ...ApplyPatchToolCallItemBase; +} + +model ApplyPatchToolCallOutputItemParam extends ItemParam { + type: ItemType.apply_patch_call_output; + ...ApplyPatchToolCallOutputItemBase; +} + +model ApplyPatchToolCallOutputItemResource extends ItemResource { + type: ItemType.apply_patch_call_output; + status: ApplyPatchCallOutputStatusParam; + ...ApplyPatchToolCallOutputItemBase; +} + +model CustomToolCallItemParam extends ItemParam { + type: ItemType.custom_tool_call; + ...CustomToolCallItemBase; +} + +model CustomToolCallItemResource extends ItemResource { + type: ItemType.custom_tool_call; + status: "in_progress" | "completed" | "incomplete"; + ...CustomToolCallItemBase; +} + +model CustomToolCallOutputItemParam extends ItemParam { + type: ItemType.custom_tool_call_output; + ...CustomToolCallOutputItemBase; +} + +model CustomToolCallOutputItemResource extends ItemResource { + type: ItemType.custom_tool_call_output; + status: "in_progress" | "completed" | "incomplete"; + ...CustomToolCallOutputItemBase; +} diff --git a/specification/base/typespec/responses/models.tsp b/specification/base/typespec/responses/models.tsp index 85a165c59..2cb268b6d 100644 --- a/specification/base/typespec/responses/models.tsp +++ b/specification/base/typespec/responses/models.tsp @@ -247,6 +247,12 @@ model ResponseProperties { """) tool_choice?: ToolChoiceOptions | ToolChoiceObject; + /** + * Reference to a prompt template and its variables. + * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts). + */ + prompt?: Prompt; + @doc(""" The truncation strategy to use for the model response. - `auto`: If the context of this response and previous ones exceeds @@ -498,6 +504,9 @@ union ToolType { code_interpreter: "code_interpreter", image_generation: "image_generation", local_shell: "local_shell", + shell: "shell", + apply_patch: "apply_patch", + custom: "custom", } @discriminator("type") model Tool { @@ -534,6 +543,10 @@ union ToolChoiceObjectType { image_generation: "image_generation", code_interpreter: "code_interpreter", mcp: "mcp", + shell: "shell", + apply_patch: "apply_patch", + custom: "custom", + allowed_tools: "allowed_tools", } @discriminator("type") model ToolChoiceObject { @@ -556,6 +569,58 @@ model ToolChoiceObjectCodeInterpreter extends ToolChoiceObject { } model ToolChoiceObjectMCP extends ToolChoiceObject { type: ToolChoiceObjectType.mcp; + + /** The label of the MCP server to use. */ + server_label: string; + + /** Optional name of a specific MCP tool to use. */ + name?: string | null; +} + +/** Use this option to force the model to call the shell tool. */ +model ToolChoiceObjectShell extends ToolChoiceObject { + @doc(""" + For shell tool calling, the type is always `shell`. + """) + type: ToolChoiceObjectType.shell; +} + +/** Use this option to force the model to call the apply_patch tool. */ +model ToolChoiceObjectApplyPatch extends ToolChoiceObject { + @doc(""" + For apply_patch tool calling, the type is always `apply_patch`. + """) + type: ToolChoiceObjectType.apply_patch; +} + +/** Use this option to force the model to call a specific custom tool. */ +@summary("Custom tool") +model ToolChoiceObjectCustom extends ToolChoiceObject { + @doc(""" + For custom tool calling, the type is always `custom`. + """) + type: ToolChoiceObjectType.custom; + + /** The name of the custom tool to call. */ + name: string; +} + +/** Constrains the tools available to the model to a pre-defined set. */ +@summary("Allowed tools") +model ToolChoiceObjectAllowed extends ToolChoiceObject { + @doc(""" + Allowed tool configuration type. Always `allowed_tools`. + """) + type: ToolChoiceObjectType.allowed_tools; + + /**Constrains the tools available to the model to a pre-defined set. + `auto` allows the model to pick from among the allowed tools and generate a + message. + `required` requires the model to call one or more of the allowed tools.*/ + mode: "auto" | "required"; + + /** A list of tool definitions that the model should be allowed to call. */ + tools: Record<unknown>[]; } // Tool customization (apply_discriminator): Apply discriminated type base @@ -956,6 +1021,8 @@ union ResponseTextFormatConfigurationType { text: "text", json_schema: "json_schema", json_object: "json_object", + grammar: "grammar", + python: "python", } @discriminator("type") model ResponseTextFormatConfiguration { @@ -970,6 +1037,27 @@ model ResponseTextFormatConfigurationJsonObject type: ResponseTextFormatConfigurationType.json_object; } +/** Grammar response format. Uses a grammar definition to constrain the model output. */ +model ResponseTextFormatConfigurationGrammar + extends ResponseTextFormatConfiguration { + @doc(""" + The type of response format being defined. Always `grammar`. + """) + type: ResponseTextFormatConfigurationType.grammar; + + /** The grammar definition string. */ + grammar: string; +} + +/** Python response format. Constrains the model output to valid Python code. */ +model ResponseTextFormatConfigurationPython + extends ResponseTextFormatConfiguration { + @doc(""" + The type of response format being defined. Always `python`. + """) + type: ResponseTextFormatConfigurationType.python; +} + // Tool customization (apply_discriminator): Apply base type /** * JSON Schema response format. Used to generate structured JSON responses. @@ -1406,6 +1494,8 @@ union ResponseStreamEventType { response_reasoning_summary_done: "response.reasoning_summary.done", response_reasoning_text_delta: "response.reasoning_text.delta", response_reasoning_text_done: "response.reasoning_text.done", + response_custom_tool_call_input_delta: "response.custom_tool_call_input.delta", + response_custom_tool_call_input_done: "response.custom_tool_call_input.done", } @discriminator("type") model ResponseStreamEvent { @@ -2096,6 +2186,89 @@ model LocalShellTool extends Tool { type: ToolType.local_shell; } +// Tool customization (apply_discriminator): Apply discriminated type base for tools +/** A tool that allows the model to execute shell commands in a sandboxed environment. */ +@summary("Shell tool") +model FunctionShellToolParam extends Tool { + @doc(""" + The type of the shell tool. Always `shell`. + """) + type: ToolType.shell; +} + +// Tool customization (apply_discriminator): Apply discriminated type base for tools +/** A tool that allows the model to apply patches to files. */ +@summary("Apply patch tool") +model ApplyPatchToolParam extends Tool { + @doc(""" + The type of the apply patch tool. Always `apply_patch`. + """) + type: ToolType.apply_patch; +} + +// Tool customization (apply_discriminator): Apply discriminated type base for tools +/** A custom tool that the model can call. */ +@summary("Custom tool") +model CustomToolParam extends Tool { + @doc(""" + The type of the custom tool. Always `custom`. + """) + type: ToolType.custom; + + /** The name of the custom tool. */ + name: string; + + /** A description of the custom tool. */ + description?: string | null; + + /** The format of the custom tool's input schema. */ + format?: CustomToolParamFormat; +} + +/** The type of the custom tool parameter format. */ +union CustomToolParamFormatType { + string, + text: "text", + grammar: "grammar", +} + +/** The format of a custom tool parameter. */ +@discriminator("type") +model CustomToolParamFormat { + type: CustomToolParamFormatType; +} + +/** A text format for a custom tool parameter. */ +model CustomTextFormatParam extends CustomToolParamFormat { + @doc(""" + The type of the format. Always `text`. + """) + type: CustomToolParamFormatType.text; +} + +/** A grammar format for a custom tool parameter. */ +model CustomGrammarFormatParam extends CustomToolParamFormat { + @doc(""" + The type of the format. Always `grammar`. + """) + type: CustomToolParamFormatType.grammar; + + /** The syntax of the grammar. */ + syntax: GrammarSyntax; + + /** The grammar definition string. */ + definition: string; +} + +/** The syntax type used by a grammar definition. */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "Auto-suppressed warnings non-applicable rules during import." +enum GrammarSyntax { + /** Lark grammar syntax. */ + lark, + /** Regex grammar syntax. */ + regex, +} + // Tool customization: Rename to supply base for split input/output models /** A tool call to run a command on the local shell. */ alias LocalShellToolCallItemBase = { @@ -2342,6 +2515,273 @@ alias MCPCallItemBase = { """ ); + +// Tool customization: Rename to supply base for split input/output models +/** A shell tool call initiated by the model. */ +alias FunctionShellCallItemBase = { + /** The unique ID of the shell tool call. */ + call_id: string; + + /** The action performed by the shell tool. */ + action: FunctionShellActionParam; +}; + +@@doc(FunctionShellCallItemResource, + """ + A shell tool call initiated by the model. + + """ +); +@@doc(FunctionShellCallItemParam, + """ + A shell tool call initiated by the model. + + """ +); + +/** The action to perform with the shell tool. */ +model FunctionShellActionParam { + /** The shell commands to execute. */ + commands: string[]; + + /** Optional timeout in milliseconds for the command. */ + timeout_ms?: int32 | null; + + /** Optional working directory to run the command in. */ + working_directory?: string | null; +} + +/** The status of a shell tool call item. */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "Auto-suppressed warnings non-applicable rules during import." +enum FunctionShellCallItemStatus { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + in_progress, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + completed, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + incomplete, +} + +// Tool customization: Rename to supply base for split input/output models +/** The output of a shell tool call. */ +alias FunctionShellCallOutputItemBase = { + /** The unique ID of the shell tool call this output is for. */ + call_id: string; + + /** The output content from the shell command. */ + output: FunctionShellCallOutputContentParam; + + /** Maximum output length requested. */ + max_output_length?: int32 | null; +}; + +@@doc(FunctionShellCallOutputItemResource, + """ + The output of a shell tool call. + + """ +); +@@doc(FunctionShellCallOutputItemParam, + """ + The output of a shell tool call. + + """ +); + +/** The content from a shell tool call output. */ +model FunctionShellCallOutputContentParam { + /** Standard output from the shell command. */ + stdout?: string | null; + + /** Standard error from the shell command. */ + stderr?: string | null; + + /** The outcome of the shell command execution. */ + outcome?: FunctionShellCallOutputOutcomeParam; +} + +/** The outcome of a shell tool call. */ +@discriminator("type") +model FunctionShellCallOutputOutcomeParam { + type: string; +} + +/** A timeout outcome for a shell tool call. */ +model FunctionShellCallOutputOutcomeTimeout extends FunctionShellCallOutputOutcomeParam { + /** The type of the outcome. Always `timeout`. */ + type: "timeout"; +} + +/** An exit outcome for a shell tool call. */ +model FunctionShellCallOutputOutcomeExit extends FunctionShellCallOutputOutcomeParam { + /** The type of the outcome. Always `exit`. */ + type: "exit"; + + /** The exit code of the shell command. */ + exit_code: int32; +} + +// Tool customization: Rename to supply base for split input/output models +/** An apply_patch tool call initiated by the model. */ +alias ApplyPatchToolCallItemBase = { + /** The unique ID of the apply_patch tool call. */ + call_id: string; + + /** The patch operation to apply. */ + operation: ApplyPatchOperationParam; +}; + +@@doc(ApplyPatchToolCallItemResource, + """ + An apply_patch tool call initiated by the model. + + """ +); +@@doc(ApplyPatchToolCallItemParam, + """ + An apply_patch tool call initiated by the model. + + """ +); + +/** The status of an apply_patch tool call. */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "Auto-suppressed warnings non-applicable rules during import." +enum ApplyPatchCallStatusParam { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + in_progress, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + completed, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + incomplete, +} + +/** The type of an apply_patch file operation. */ +union ApplyPatchOperationType { + string, + create_file: "create_file", + delete_file: "delete_file", + update_file: "update_file", +} + +/** A file operation for the apply_patch tool. */ +@discriminator("type") +model ApplyPatchOperationParam { + type: ApplyPatchOperationType; +} + +/** Create a new file with the apply_patch tool. */ +model ApplyPatchCreateFileOperation extends ApplyPatchOperationParam { + /** The type. Always `create_file`. */ + type: ApplyPatchOperationType.create_file; + + /** The path of the file to create. */ + path: string; +} + +/** Delete a file with the apply_patch tool. */ +model ApplyPatchDeleteFileOperation extends ApplyPatchOperationParam { + /** The type. Always `delete_file`. */ + type: ApplyPatchOperationType.delete_file; + + /** The path of the file to delete. */ + path: string; +} + +/** Update an existing file with the apply_patch tool. */ +model ApplyPatchUpdateFileOperation extends ApplyPatchOperationParam { + /** The type. Always `update_file`. */ + type: ApplyPatchOperationType.update_file; + + /** The path of the file to update. */ + path: string; + + /** The unified diff to apply to the file. */ + diff: string; +} + +// Tool customization: Rename to supply base for split input/output models +/** The output of an apply_patch tool call. */ +alias ApplyPatchToolCallOutputItemBase = { + /** The unique ID of the apply_patch tool call this output is for. */ + call_id: string; + + /** A JSON string of the output of the apply_patch tool call. */ + output?: string | null; +}; + +@@doc(ApplyPatchToolCallOutputItemResource, + """ + The output of an apply_patch tool call. + + """ +); +@@doc(ApplyPatchToolCallOutputItemParam, + """ + The output of an apply_patch tool call. + + """ +); + +/** The status of an apply_patch tool call output. */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "Auto-suppressed warnings non-applicable rules during import." +enum ApplyPatchCallOutputStatusParam { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + in_progress, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + completed, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." + incomplete, +} + +// Tool customization: Rename to supply base for split input/output models +/** A custom tool call initiated by the model. */ +alias CustomToolCallItemBase = { + /** The unique ID of the custom tool call. */ + call_id: string; + + /** The name of the custom tool that was called. */ + name: string; + + /** The input provided by the model for the custom tool call. */ + input: string; +}; + +@@doc(CustomToolCallItemResource, + """ + A custom tool call initiated by the model. + + """ +); +@@doc(CustomToolCallItemParam, + """ + A custom tool call initiated by the model. + + """ +); + +// Tool customization: Rename to supply base for split input/output models +/** The output of a custom tool call. */ +alias CustomToolCallOutputItemBase = { + /** The unique ID of the custom tool call this output is for. */ + call_id: string; + + /** The output from the custom tool call. */ + output?: string | null; +}; + +@@doc(CustomToolCallOutputItemResource, + """ + The output of a custom tool call. + + """ +); +@@doc(CustomToolCallOutputItemParam, + """ + The output of a custom tool call. + + """ +); + // Tool customization: Remove shared sequence_number property that was moved to the common parent /** Emitted when an image generation tool call has completed and the final image is available. */ model ResponseImageGenCallCompletedEvent extends ResponseStreamEvent { @@ -2511,6 +2951,38 @@ model ResponseMCPListToolsInProgressEvent extends ResponseStreamEvent { output_index: int32; } +// Tool customization: Remove shared sequence_number property that was moved to the common parent +/** Emitted when there is a delta (partial update) to the input of a custom tool call. */ +model ResponseCustomToolCallInputDeltaEvent extends ResponseStreamEvent { + /** The type of the event. Always 'response.custom_tool_call_input.delta'. */ + type: ResponseStreamEventType.response_custom_tool_call_input_delta; + + /** The index of the output item in the response's output array. */ + output_index: int32; + + /** The unique identifier of the custom tool call item being processed. */ + item_id: string; + + /** The partial update to the input for the custom tool call. */ + delta: string; +} + +// Tool customization: Remove shared sequence_number property that was moved to the common parent +/** Emitted when the input for a custom tool call is finalized. */ +model ResponseCustomToolCallInputDoneEvent extends ResponseStreamEvent { + /** The type of the event. Always 'response.custom_tool_call_input.done'. */ + type: ResponseStreamEventType.response_custom_tool_call_input_done; + + /** The index of the output item in the response's output array. */ + output_index: int32; + + /** The unique identifier of the custom tool call item being processed. */ + item_id: string; + + /** The finalized input for the custom tool call. */ + input: string; +} + // Tool customization: Remove shared sequence_number property that was moved to the common parent /** Emitted when an annotation is added to output text content. */ model ResponseOutputTextAnnotationAddedEvent extends ResponseStreamEvent { @@ -2879,6 +3351,30 @@ enum TruncationEnum { disabled, } +/** + * Reference to a prompt template and its variables. + * [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts). + */ +model Prompt { + /** The unique identifier of the prompt template to use. */ + id: string; + + /** The version of the prompt template to use. */ + version?: string | null; + + /** The variables to substitute into the prompt template. */ + variables?: ResponsePromptVariables; +} + +/** Variables to substitute into a prompt template. */ +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Auto-suppressed warnings non-applicable rules during import." +@extension("x-oaiExpandable", true) +model ResponsePromptVariables { + #suppress "@azure-tools/typespec-azure-core/no-unnamed-union" "Auto-suppressed warnings non-applicable rules during import." + #suppress "@azure-tools/typespec-autorest/union-unsupported" "Auto-suppressed warnings non-applicable rules during import." + ...Record<string | ItemContentInputText | ItemContentInputImage | ItemContentInputFile>; +} + #suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import." @summary("Token counts") model TokenCountsResource { diff --git a/specification/client/responses.client.tsp b/specification/client/responses.client.tsp index dabc4e4e5..e60088870 100644 --- a/specification/client/responses.client.tsp +++ b/specification/client/responses.client.tsp @@ -65,6 +65,18 @@ using TypeSpec.HttpClient.CSharp; @@visibility(ImageGenToolCallItemResource.status, Lifecycle.Read); @@clientName(ImageGenToolCallItemResource.result, "ImageResultBytes"); +@@visibility(FunctionShellCallItemResource.status, Lifecycle.Read); + +@@visibility(FunctionShellCallOutputItemResource.status, Lifecycle.Read); + +@@visibility(ApplyPatchToolCallItemResource.status, Lifecycle.Read); + +@@visibility(ApplyPatchToolCallOutputItemResource.status, Lifecycle.Read); + +@@visibility(CustomToolCallItemResource.status, Lifecycle.Read); + +@@visibility(CustomToolCallOutputItemResource.status, Lifecycle.Read); + // ------------ Tools ------------ @@clientName(FileSearchTool.max_num_results, "MaxResultCount"); @@ -114,6 +126,10 @@ using TypeSpec.HttpClient.CSharp; @@dynamicModel(ToolChoiceObjectImageGen); @@dynamicModel(ToolChoiceObjectCodeInterpreter); @@dynamicModel(ToolChoiceObjectMCP); +@@dynamicModel(ToolChoiceObjectShell); +@@dynamicModel(ToolChoiceObjectApplyPatch); +@@dynamicModel(ToolChoiceObjectCustom); +@@dynamicModel(ToolChoiceObjectAllowed); @@dynamicModel(ToolChoiceObjectFunction); @@dynamicModel(FunctionTool); @@dynamicModel(FileSearchTool); @@ -141,6 +157,8 @@ using TypeSpec.HttpClient.CSharp; @@dynamicModel(ResponseTextFormatConfigurationText); @@dynamicModel(ResponseTextFormatConfigurationJsonObject); @@dynamicModel(ResponseTextFormatConfigurationJsonSchema); +@@dynamicModel(ResponseTextFormatConfigurationGrammar); +@@dynamicModel(ResponseTextFormatConfigurationPython); @@dynamicModel(ItemContent); @@dynamicModel(ItemContentInputAudio); @@dynamicModel(InputMessageContentList); @@ -192,6 +210,21 @@ using TypeSpec.HttpClient.CSharp; @@dynamicModel(ImageGenTool); @@dynamicModel(LocalShellExecAction); @@dynamicModel(LocalShellTool); +@@dynamicModel(FunctionShellToolParam); +@@dynamicModel(ApplyPatchToolParam); +@@dynamicModel(CustomToolParam); +@@dynamicModel(CustomToolParamFormat); +@@dynamicModel(CustomTextFormatParam); +@@dynamicModel(CustomGrammarFormatParam); +@@dynamicModel(FunctionShellActionParam); +@@dynamicModel(FunctionShellCallOutputContentParam); +@@dynamicModel(FunctionShellCallOutputOutcomeParam); +@@dynamicModel(FunctionShellCallOutputOutcomeTimeout); +@@dynamicModel(FunctionShellCallOutputOutcomeExit); +@@dynamicModel(ApplyPatchOperationParam); +@@dynamicModel(ApplyPatchCreateFileOperation); +@@dynamicModel(ApplyPatchDeleteFileOperation); +@@dynamicModel(ApplyPatchUpdateFileOperation); @@dynamicModel(MCPListToolsTool); @@dynamicModel(MCPTool); @@dynamicModel(MCPToolFilter); @@ -207,6 +240,8 @@ using TypeSpec.HttpClient.CSharp; @@dynamicModel(ResponseMCPListToolsCompletedEvent); @@dynamicModel(ResponseMCPListToolsFailedEvent); @@dynamicModel(ResponseMCPListToolsInProgressEvent); +@@dynamicModel(ResponseCustomToolCallInputDeltaEvent); +@@dynamicModel(ResponseCustomToolCallInputDoneEvent); @@dynamicModel(ResponseOutputTextAnnotationAddedEvent); @@dynamicModel(ResponseQueuedEvent); @@dynamicModel(ResponseReasoningDeltaEvent); @@ -227,6 +262,8 @@ using TypeSpec.HttpClient.CSharp; @@dynamicModel(TopLogProb); @@dynamicModel(LogProb); @@dynamicModel(WebSearchToolFilters); +@@dynamicModel(Prompt); +@@dynamicModel(ResponsePromptVariables); // custom.tsp models @@dynamicModel(ResponseErrorResponse); @@dynamicModel(DeleteResponseResponse); @@ -269,6 +306,18 @@ using TypeSpec.HttpClient.CSharp; @@dynamicModel(MCPApprovalResponseItemResource); @@dynamicModel(MCPCallItemParam); @@dynamicModel(MCPCallItemResource); +@@dynamicModel(FunctionShellCallItemParam); +@@dynamicModel(FunctionShellCallItemResource); +@@dynamicModel(FunctionShellCallOutputItemParam); +@@dynamicModel(FunctionShellCallOutputItemResource); +@@dynamicModel(ApplyPatchToolCallItemParam); +@@dynamicModel(ApplyPatchToolCallItemResource); +@@dynamicModel(ApplyPatchToolCallOutputItemParam); +@@dynamicModel(ApplyPatchToolCallOutputItemResource); +@@dynamicModel(CustomToolCallItemParam); +@@dynamicModel(CustomToolCallItemResource); +@@dynamicModel(CustomToolCallOutputItemParam); +@@dynamicModel(CustomToolCallOutputItemResource); // custom/items.messages.tsp models @@dynamicModel(ResponsesMessageItemParam); @@dynamicModel(ResponsesUserMessageItemParam); diff --git a/src/Custom/Responses/CreateResponseOptions.cs b/src/Custom/Responses/CreateResponseOptions.cs index a81bc9be4..3fb9db938 100644 --- a/src/Custom/Responses/CreateResponseOptions.cs +++ b/src/Custom/Responses/CreateResponseOptions.cs @@ -161,6 +161,7 @@ internal CreateResponseOptions Clone() clone.StoredOutputEnabled = StoredOutputEnabled; clone.StreamingEnabled = StreamingEnabled; clone.ConversationOptions = ConversationOptions; + clone.Prompt = Prompt; return clone; } diff --git a/src/Custom/Responses/Internal/GeneratorStubs.cs b/src/Custom/Responses/Internal/GeneratorStubs.cs index 213ddb670..cc0505918 100644 --- a/src/Custom/Responses/Internal/GeneratorStubs.cs +++ b/src/Custom/Responses/Internal/GeneratorStubs.cs @@ -123,4 +123,48 @@ namespace OpenAI.Responses; [CodeGenType("UnknownCodeInterpreterToolOutput")] internal partial class InternalUnknownCodeInterpreterToolOutput {} [CodeGenType("UnknownCodeInterpreterContainerConfiguration")] internal partial class InternalUnknownCodeInterpreterContainerConfiguration {} [CodeGenType("GetInputTokenCountsRequestContentType")] internal readonly partial struct InternalGetInputTokenCountsRequestContentType {} -[CodeGenType("CompactConversationRequestContentType")] internal readonly partial struct InternalCompactConversationRequestContentType {} \ No newline at end of file +[CodeGenType("CompactConversationRequestContentType")] internal readonly partial struct InternalCompactConversationRequestContentType {} +[CodeGenType("ApplyPatchCallOutputStatusParam")] internal readonly partial struct InternalApplyPatchCallOutputStatusParam {} +[CodeGenType("ApplyPatchCallStatusParam")] internal readonly partial struct InternalApplyPatchCallStatusParam {} +[CodeGenType("ApplyPatchCreateFileOperation")] internal partial class InternalApplyPatchCreateFileOperation {} +[CodeGenType("ApplyPatchDeleteFileOperation")] internal partial class InternalApplyPatchDeleteFileOperation {} +[CodeGenType("ApplyPatchOperationParam")] internal partial class InternalApplyPatchOperationParam {} +[CodeGenType("ApplyPatchOperationType")] internal readonly partial struct InternalApplyPatchOperationType {} +[CodeGenType("ApplyPatchToolCallItemParam")] internal partial class InternalApplyPatchToolCallItemParam {} +[CodeGenType("ApplyPatchToolCallItemResource")] internal partial class InternalApplyPatchToolCallItemResource {} +[CodeGenType("ApplyPatchToolCallOutputItemParam")] internal partial class InternalApplyPatchToolCallOutputItemParam {} +[CodeGenType("ApplyPatchToolCallOutputItemResource")] internal partial class InternalApplyPatchToolCallOutputItemResource {} +[CodeGenType("ApplyPatchUpdateFileOperation")] internal partial class InternalApplyPatchUpdateFileOperation {} + +[CodeGenType("CustomToolCallItemParam")] internal partial class InternalCustomToolCallItemParam {} +[CodeGenType("CustomToolCallItemResource")] internal partial class InternalCustomToolCallItemResource {} +[CodeGenType("CustomToolCallItemResourceStatus")] internal readonly partial struct InternalCustomToolCallItemResourceStatus {} +[CodeGenType("CustomToolCallOutputItemParam")] internal partial class InternalCustomToolCallOutputItemParam {} +[CodeGenType("CustomToolCallOutputItemResource")] internal partial class InternalCustomToolCallOutputItemResource {} +[CodeGenType("CustomToolCallOutputItemResourceStatus")] internal readonly partial struct InternalCustomToolCallOutputItemResourceStatus {} +[CodeGenType("CustomToolParamFormatType")] internal readonly partial struct InternalCustomToolParamFormatType {} +[CodeGenType("FunctionShellActionParam")] internal partial class InternalFunctionShellActionParam {} +[CodeGenType("FunctionShellCallItemParam")] internal partial class InternalFunctionShellCallItemParam {} +[CodeGenType("FunctionShellCallItemResource")] internal partial class InternalFunctionShellCallItemResource {} +[CodeGenType("FunctionShellCallItemStatus")] internal readonly partial struct InternalFunctionShellCallItemStatus {} +[CodeGenType("FunctionShellCallOutputContentParam")] internal partial class InternalFunctionShellCallOutputContentParam {} +[CodeGenType("FunctionShellCallOutputItemParam")] internal partial class InternalFunctionShellCallOutputItemParam {} +[CodeGenType("FunctionShellCallOutputItemResource")] internal partial class InternalFunctionShellCallOutputItemResource {} +[CodeGenType("FunctionShellCallOutputItemResourceStatus")] internal readonly partial struct InternalFunctionShellCallOutputItemResourceStatus {} +[CodeGenType("FunctionShellCallOutputOutcomeExit")] internal partial class InternalFunctionShellCallOutputOutcomeExit {} +[CodeGenType("FunctionShellCallOutputOutcomeParam")] internal partial class InternalFunctionShellCallOutputOutcomeParam {} +[CodeGenType("FunctionShellCallOutputOutcomeTimeout")] internal partial class InternalFunctionShellCallOutputOutcomeTimeout {} +[CodeGenType("Prompt")] internal partial class InternalPrompt {} +[CodeGenType("ResponseCustomToolCallInputDeltaEvent")] internal partial class InternalResponseCustomToolCallInputDeltaEvent {} +[CodeGenType("ResponseCustomToolCallInputDoneEvent")] internal partial class InternalResponseCustomToolCallInputDoneEvent {} +[CodeGenType("ResponsePromptVariables")] internal partial class InternalResponsePromptVariables {} +[CodeGenType("ResponseTextFormatConfigurationGrammar")] internal partial class InternalResponseTextFormatConfigurationGrammar {} +[CodeGenType("ResponseTextFormatConfigurationPython")] internal partial class InternalResponseTextFormatConfigurationPython {} +[CodeGenType("ToolChoiceObjectAllowed")] internal partial class InternalToolChoiceObjectAllowed {} +[CodeGenType("ToolChoiceObjectAllowedMode")] internal readonly partial struct InternalToolChoiceObjectAllowedMode {} +[CodeGenType("ToolChoiceObjectApplyPatch")] internal partial class InternalToolChoiceObjectApplyPatch {} +[CodeGenType("ToolChoiceObjectCustom")] internal partial class InternalToolChoiceObjectCustom {} +[CodeGenType("ToolChoiceObjectShell")] internal partial class InternalToolChoiceObjectShell {} +[CodeGenType("UnknownApplyPatchOperationParam")] internal partial class InternalUnknownApplyPatchOperationParam {} +[CodeGenType("UnknownCustomToolParamFormat")] internal partial class InternalUnknownCustomToolParamFormat {} +[CodeGenType("UnknownFunctionShellCallOutputOutcomeParam")] internal partial class InternalUnknownFunctionShellCallOutputOutcomeParam {} \ No newline at end of file diff --git a/src/Custom/Responses/Tools/ApplyPatchTool.cs b/src/Custom/Responses/Tools/ApplyPatchTool.cs new file mode 100644 index 000000000..d8cee73a2 --- /dev/null +++ b/src/Custom/Responses/Tools/ApplyPatchTool.cs @@ -0,0 +1,9 @@ +using Microsoft.TypeSpec.Generator.Customizations; + +namespace OpenAI.Responses; + +// CUSTOM: Renamed. +[CodeGenType("ApplyPatchToolParam")] +public partial class ApplyPatchTool +{ +} diff --git a/src/Custom/Responses/Tools/CustomTool.cs b/src/Custom/Responses/Tools/CustomTool.cs new file mode 100644 index 000000000..69ccd4152 --- /dev/null +++ b/src/Custom/Responses/Tools/CustomTool.cs @@ -0,0 +1,9 @@ +using Microsoft.TypeSpec.Generator.Customizations; + +namespace OpenAI.Responses; + +// CUSTOM: Renamed. +[CodeGenType("CustomToolParam")] +public partial class CustomTool +{ +} diff --git a/src/Custom/Responses/Tools/CustomToolFormat.cs b/src/Custom/Responses/Tools/CustomToolFormat.cs new file mode 100644 index 000000000..ca31cd0eb --- /dev/null +++ b/src/Custom/Responses/Tools/CustomToolFormat.cs @@ -0,0 +1,9 @@ +using Microsoft.TypeSpec.Generator.Customizations; + +namespace OpenAI.Responses; + +// CUSTOM: Renamed. +[CodeGenType("CustomToolParamFormat")] +public abstract partial class CustomToolFormat +{ +} diff --git a/src/Custom/Responses/Tools/CustomToolGrammarFormat.cs b/src/Custom/Responses/Tools/CustomToolGrammarFormat.cs new file mode 100644 index 000000000..35efea865 --- /dev/null +++ b/src/Custom/Responses/Tools/CustomToolGrammarFormat.cs @@ -0,0 +1,9 @@ +using Microsoft.TypeSpec.Generator.Customizations; + +namespace OpenAI.Responses; + +// CUSTOM: Renamed. +[CodeGenType("CustomGrammarFormatParam")] +public partial class CustomToolGrammarFormat +{ +} diff --git a/src/Custom/Responses/Tools/CustomToolTextFormat.cs b/src/Custom/Responses/Tools/CustomToolTextFormat.cs new file mode 100644 index 000000000..982a7358b --- /dev/null +++ b/src/Custom/Responses/Tools/CustomToolTextFormat.cs @@ -0,0 +1,9 @@ +using Microsoft.TypeSpec.Generator.Customizations; + +namespace OpenAI.Responses; + +// CUSTOM: Renamed. +[CodeGenType("CustomTextFormatParam")] +public partial class CustomToolTextFormat +{ +} diff --git a/src/Custom/Responses/Tools/GrammarSyntax.cs b/src/Custom/Responses/Tools/GrammarSyntax.cs new file mode 100644 index 000000000..c2bbc8fd9 --- /dev/null +++ b/src/Custom/Responses/Tools/GrammarSyntax.cs @@ -0,0 +1,9 @@ +using Microsoft.TypeSpec.Generator.Customizations; + +namespace OpenAI.Responses; + +// CUSTOM: Renamed. +[CodeGenType("GrammarSyntax")] +public readonly partial struct GrammarSyntax +{ +} diff --git a/src/Custom/Responses/Tools/ResponseTool.cs b/src/Custom/Responses/Tools/ResponseTool.cs index 4c1ad299c..5cc22b174 100644 --- a/src/Custom/Responses/Tools/ResponseTool.cs +++ b/src/Custom/Responses/Tools/ResponseTool.cs @@ -123,6 +123,50 @@ public static CodeInterpreterTool CreateCodeInterpreterTool(CodeInterpreterToolC container: container); } + // CUSTOM: Added factory method as a convenience. + /// <summary> + /// Creates a new instance of the <see cref="ShellTool"/> class. + /// </summary> + /// <returns>A new instance of the <see cref="ShellTool"/> class.</returns> + public static ShellTool CreateShellTool() + { + return new ShellTool( + kind: InternalToolType.Shell, + patch: default); + } + + // CUSTOM: Added factory method as a convenience. + /// <summary> + /// Creates a new instance of the <see cref="ApplyPatchTool"/> class. + /// </summary> + /// <returns>A new instance of the <see cref="ApplyPatchTool"/> class.</returns> + public static ApplyPatchTool CreateApplyPatchTool() + { + return new ApplyPatchTool( + kind: InternalToolType.ApplyPatch, + patch: default); + } + + // CUSTOM: Added factory method as a convenience. + /// <summary> + /// Creates a new instance of the <see cref="CustomTool"/> class. + /// </summary> + /// <param name="name">The name of the custom tool.</param> + /// <param name="description">An optional description of the custom tool.</param> + /// <param name="format">An optional format for the custom tool output.</param> + /// <returns>A new instance of the <see cref="CustomTool"/> class.</returns> + public static CustomTool CreateCustomTool(string name, string description = null, CustomToolFormat format = null) + { + Argument.AssertNotNull(name, nameof(name)); + + return new CustomTool( + kind: InternalToolType.Custom, + patch: default, + name: name, + description: description, + format: format); + } + // CUSTOM: Added factory method for a convenience. /// <summary> /// Creates a new instance of the <see cref="ImageGenerationTool"/> class. diff --git a/src/Custom/Responses/Tools/ShellTool.cs b/src/Custom/Responses/Tools/ShellTool.cs new file mode 100644 index 000000000..5aac8bcf4 --- /dev/null +++ b/src/Custom/Responses/Tools/ShellTool.cs @@ -0,0 +1,9 @@ +using Microsoft.TypeSpec.Generator.Customizations; + +namespace OpenAI.Responses; + +// CUSTOM: Renamed. +[CodeGenType("FunctionShellToolParam")] +public partial class ShellTool +{ +} diff --git a/src/Generated/Models/OpenAIContext.cs b/src/Generated/Models/OpenAIContext.cs index e4c0012f7..b86ea3877 100644 --- a/src/Generated/Models/OpenAIContext.cs +++ b/src/Generated/Models/OpenAIContext.cs @@ -26,6 +26,7 @@ namespace OpenAI { + [ModelReaderWriterBuildable(typeof(ApplyPatchTool))] [ModelReaderWriterBuildable(typeof(Assistant))] [ModelReaderWriterBuildable(typeof(AssistantChatMessage))] [ModelReaderWriterBuildable(typeof(AssistantCollectionOptions))] @@ -106,6 +107,10 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(CreateContainerFileBody))] [ModelReaderWriterBuildable(typeof(CreateResponseOptions))] [ModelReaderWriterBuildable(typeof(CustomMcpToolCallApprovalPolicy))] + [ModelReaderWriterBuildable(typeof(CustomTool))] + [ModelReaderWriterBuildable(typeof(CustomToolFormat))] + [ModelReaderWriterBuildable(typeof(CustomToolGrammarFormat))] + [ModelReaderWriterBuildable(typeof(CustomToolTextFormat))] [ModelReaderWriterBuildable(typeof(DeleteContainerFileResponse))] [ModelReaderWriterBuildable(typeof(DeleteContainerResponse))] [ModelReaderWriterBuildable(typeof(DeveloperChatMessage))] @@ -170,6 +175,14 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InputNoiseReductionOptions))] [ModelReaderWriterBuildable(typeof(InputTranscriptionOptions))] [ModelReaderWriterBuildable(typeof(InternalAddUploadPartRequest))] + [ModelReaderWriterBuildable(typeof(InternalApplyPatchCreateFileOperation))] + [ModelReaderWriterBuildable(typeof(InternalApplyPatchDeleteFileOperation))] + [ModelReaderWriterBuildable(typeof(InternalApplyPatchOperationParam))] + [ModelReaderWriterBuildable(typeof(InternalApplyPatchToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalApplyPatchToolCallItemResource))] + [ModelReaderWriterBuildable(typeof(InternalApplyPatchToolCallOutputItemParam))] + [ModelReaderWriterBuildable(typeof(InternalApplyPatchToolCallOutputItemResource))] + [ModelReaderWriterBuildable(typeof(InternalApplyPatchUpdateFileOperation))] [ModelReaderWriterBuildable(typeof(InternalAssistantsNamedToolChoiceFunction))] [ModelReaderWriterBuildable(typeof(InternalAssistantToolsFileSearchFileSearch))] [ModelReaderWriterBuildable(typeof(InternalAssistantToolsFileSearchTypeOnly))] @@ -264,6 +277,10 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalCreateUploadRequest))] [ModelReaderWriterBuildable(typeof(InternalCreateVectorStoreFileBatchRequest))] [ModelReaderWriterBuildable(typeof(InternalCreateVectorStoreFileRequest))] + [ModelReaderWriterBuildable(typeof(InternalCustomToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalCustomToolCallItemResource))] + [ModelReaderWriterBuildable(typeof(InternalCustomToolCallOutputItemParam))] + [ModelReaderWriterBuildable(typeof(InternalCustomToolCallOutputItemResource))] [ModelReaderWriterBuildable(typeof(InternalDeleteEvalResponse))] [ModelReaderWriterBuildable(typeof(InternalDeleteEvalRunResponse))] [ModelReaderWriterBuildable(typeof(InternalDeleteFineTuningCheckpointPermissionResponse))] @@ -350,6 +367,15 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalFineTuningJobRequestMethodSupervised))] [ModelReaderWriterBuildable(typeof(InternalFineTuningJobsPageToken))] [ModelReaderWriterBuildable(typeof(InternalFunctionDefinition))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellActionParam))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellCallItemResource))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellCallOutputContentParam))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellCallOutputItemParam))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellCallOutputItemResource))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellCallOutputOutcomeExit))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellCallOutputOutcomeParam))] + [ModelReaderWriterBuildable(typeof(InternalFunctionShellCallOutputOutcomeTimeout))] [ModelReaderWriterBuildable(typeof(InternalFunctionToolCallItemParam))] [ModelReaderWriterBuildable(typeof(InternalFunctionToolCallOutputItemParam))] [ModelReaderWriterBuildable(typeof(InternalImageEditCompletedEvent))] @@ -432,6 +458,7 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalModifyThreadRequestToolResources))] [ModelReaderWriterBuildable(typeof(InternalModifyThreadRequestToolResourcesCodeInterpreter))] [ModelReaderWriterBuildable(typeof(InternalOtherChunkingStrategyResponseParam))] + [ModelReaderWriterBuildable(typeof(InternalPrompt))] [ModelReaderWriterBuildable(typeof(InternalRealtimeAudioFarFieldNoiseReduction))] [ModelReaderWriterBuildable(typeof(InternalRealtimeAudioFormats))] [ModelReaderWriterBuildable(typeof(InternalRealtimeAudioFormatsPcm))] @@ -535,6 +562,8 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionGA))] [ModelReaderWriterBuildable(typeof(InternalReasoningItemParam))] [ModelReaderWriterBuildable(typeof(InternalRequiredFunctionToolCall))] + [ModelReaderWriterBuildable(typeof(InternalResponseCustomToolCallInputDeltaEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseCustomToolCallInputDoneEvent))] [ModelReaderWriterBuildable(typeof(InternalResponseErrorResponse))] [ModelReaderWriterBuildable(typeof(InternalResponseFormat))] [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonObject))] @@ -542,6 +571,7 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonSchemaJsonSchema))] [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonSchemaSchema))] [ModelReaderWriterBuildable(typeof(InternalResponseFormatText))] + [ModelReaderWriterBuildable(typeof(InternalResponsePromptVariables))] [ModelReaderWriterBuildable(typeof(InternalResponseReasoningDeltaEvent))] [ModelReaderWriterBuildable(typeof(InternalResponseReasoningDoneEvent))] [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryDeltaEvent))] @@ -558,6 +588,8 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalResponsesTextFormatText))] [ModelReaderWriterBuildable(typeof(InternalResponsesUserMessage))] [ModelReaderWriterBuildable(typeof(InternalResponsesUserMessageItemParam))] + [ModelReaderWriterBuildable(typeof(InternalResponseTextFormatConfigurationGrammar))] + [ModelReaderWriterBuildable(typeof(InternalResponseTextFormatConfigurationPython))] [ModelReaderWriterBuildable(typeof(InternalRunObjectRequiredActionSubmitToolOutputs))] [ModelReaderWriterBuildable(typeof(InternalRunRequiredAction))] [ModelReaderWriterBuildable(typeof(InternalRunStepCodeInterpreterLogOutput))] @@ -600,12 +632,16 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalThreadObjectToolResourcesFileSearch))] [ModelReaderWriterBuildable(typeof(InternalTodoFineTuneChatRequestInput))] [ModelReaderWriterBuildable(typeof(InternalToolChoiceObject))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectAllowed))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectApplyPatch))] [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectCodeInterpreter))] [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectComputer))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectCustom))] [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectFileSearch))] [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectFunction))] [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectImageGen))] [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectMCP))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectShell))] [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectWebSearch))] [ModelReaderWriterBuildable(typeof(InternalToolResourcesFileSearchIdsOnly))] [ModelReaderWriterBuildable(typeof(InternalTopLogProb))] @@ -616,6 +652,7 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalTranscriptTextUsageTokens))] [ModelReaderWriterBuildable(typeof(InternalTranscriptTextUsageTokensInputTokenDetails))] [ModelReaderWriterBuildable(typeof(InternalUnknownAnnotation))] + [ModelReaderWriterBuildable(typeof(InternalUnknownApplyPatchOperationParam))] [ModelReaderWriterBuildable(typeof(InternalUnknownChatCompletionRequestMessageContentPart))] [ModelReaderWriterBuildable(typeof(InternalUnknownChatMessage))] [ModelReaderWriterBuildable(typeof(InternalUnknownChatOutputPrediction))] @@ -630,6 +667,7 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalUnknownComputerToolCallOutputItemOutput))] [ModelReaderWriterBuildable(typeof(InternalUnknownCreateTranscriptionResponseJsonUsage))] [ModelReaderWriterBuildable(typeof(InternalUnknownCreateTranscriptionResponseStreamEvent))] + [ModelReaderWriterBuildable(typeof(InternalUnknownCustomToolParamFormat))] [ModelReaderWriterBuildable(typeof(InternalUnknownDotNetAssistantResponseFormat))] [ModelReaderWriterBuildable(typeof(InternalUnknownDotNetCombinedChunkingStrategyParam))] [ModelReaderWriterBuildable(typeof(InternalUnknownDotNetCreateSpeechStreamingResponse))] @@ -640,6 +678,7 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalUnknownEvalItemContent))] [ModelReaderWriterBuildable(typeof(InternalUnknownEvalRunDataContentSource))] [ModelReaderWriterBuildable(typeof(InternalUnknownEvalRunDataSourceParams))] + [ModelReaderWriterBuildable(typeof(InternalUnknownFunctionShellCallOutputOutcomeParam))] [ModelReaderWriterBuildable(typeof(InternalUnknownItemContent))] [ModelReaderWriterBuildable(typeof(InternalUnknownItemParam))] [ModelReaderWriterBuildable(typeof(InternalUnknownItemResource))] @@ -770,6 +809,7 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(RunStepUpdateCodeInterpreterOutput))] [ModelReaderWriterBuildable(typeof(RunTokenUsage))] [ModelReaderWriterBuildable(typeof(RunTruncationStrategy))] + [ModelReaderWriterBuildable(typeof(ShellTool))] [ModelReaderWriterBuildable(typeof(SpeechGenerationOptions))] [ModelReaderWriterBuildable(typeof(StaticFileChunkingStrategy))] [ModelReaderWriterBuildable(typeof(StreamingAudioTranscriptionTextDeltaUpdate))] diff --git a/src/Generated/Models/Responses/ApplyPatchTool.Serialization.cs b/src/Generated/Models/Responses/ApplyPatchTool.Serialization.cs new file mode 100644 index 000000000..d05f05785 --- /dev/null +++ b/src/Generated/Models/Responses/ApplyPatchTool.Serialization.cs @@ -0,0 +1,112 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + public partial class ApplyPatchTool : ResponseTool, IJsonModel<ApplyPatchTool> + { + void IJsonModel<ApplyPatchTool>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<ApplyPatchTool>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ApplyPatchTool)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + ApplyPatchTool IJsonModel<ApplyPatchTool>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ApplyPatchTool)JsonModelCreateCore(ref reader, options); + + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<ApplyPatchTool>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ApplyPatchTool)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeApplyPatchTool(document.RootElement, null, options); + } + + internal static ApplyPatchTool DeserializeApplyPatchTool(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalToolType kind = 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<byte>.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("type"u8)) + { + kind = new InternalToolType(prop.Value.GetString()); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new ApplyPatchTool(kind, patch); + } + + BinaryData IPersistableModel<ApplyPatchTool>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<ApplyPatchTool>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(ApplyPatchTool)} does not support writing '{options.Format}' format."); + } + } + + ApplyPatchTool IPersistableModel<ApplyPatchTool>.Create(BinaryData data, ModelReaderWriterOptions options) => (ApplyPatchTool)PersistableModelCreateCore(data, options); + + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<ApplyPatchTool>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeApplyPatchTool(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(ApplyPatchTool)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<ApplyPatchTool>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/ApplyPatchTool.cs b/src/Generated/Models/Responses/ApplyPatchTool.cs new file mode 100644 index 000000000..18cd98fc9 --- /dev/null +++ b/src/Generated/Models/Responses/ApplyPatchTool.cs @@ -0,0 +1,23 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public partial class ApplyPatchTool : ResponseTool + { + public ApplyPatchTool() : this(InternalToolType.ApplyPatch, default) + { + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal ApplyPatchTool(InternalToolType kind, in JsonPatch patch) : base(kind, patch) + { + } +#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/Responses/CreateResponseOptions.Serialization.cs b/src/Generated/Models/Responses/CreateResponseOptions.Serialization.cs index 57b0dabf4..f9e0ac014 100644 --- a/src/Generated/Models/Responses/CreateResponseOptions.Serialization.cs +++ b/src/Generated/Models/Responses/CreateResponseOptions.Serialization.cs @@ -165,6 +165,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("tool_choice"u8); writer.WriteObjectValue(ToolChoice, options); } + if (Optional.IsDefined(Prompt) && !Patch.Contains("$.prompt"u8)) + { + writer.WritePropertyName("prompt"u8); + writer.WriteObjectValue(Prompt, options); + } if (Optional.IsDefined(TruncationMode) && !Patch.Contains("$.truncation"u8)) { writer.WritePropertyName("truncation"u8); @@ -277,6 +282,7 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme ResponseTextOptions textOptions = default; IList<ResponseTool> tools = default; ResponseToolChoice toolChoice = default; + InternalPrompt prompt = default; ResponseTruncationMode? truncationMode = default; IList<ResponseItem> inputItems = default; IList<IncludedResponseProperty> includedProperties = default; @@ -456,6 +462,15 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme toolChoice = ResponseToolChoice.DeserializeResponseToolChoice(prop.Value, options); continue; } + if (prop.NameEquals("prompt"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + prompt = InternalPrompt.DeserializeInternalPrompt(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } if (prop.NameEquals("truncation"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -553,6 +568,7 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme textOptions, tools ?? new ChangeTrackingList<ResponseTool>(), toolChoice, + prompt, truncationMode, inputItems ?? new ChangeTrackingList<ResponseItem>(), includedProperties ?? new ChangeTrackingList<IncludedResponseProperty>(), @@ -619,6 +635,10 @@ private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValu { return TextOptions.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("text"u8.Length)], out value); } + if (local.StartsWith("prompt"u8)) + { + return Prompt.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("prompt"u8.Length)], out value); + } if (local.StartsWith("conversation"u8)) { return ConversationOptions.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("conversation"u8.Length)], out value); @@ -662,6 +682,11 @@ private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue va TextOptions.Patch.Set([.. "$"u8, .. local.Slice("text"u8.Length)], value); return true; } + if (local.StartsWith("prompt"u8)) + { + Prompt.Patch.Set([.. "$"u8, .. local.Slice("prompt"u8.Length)], value); + return true; + } if (local.StartsWith("conversation"u8)) { ConversationOptions.Patch.Set([.. "$"u8, .. local.Slice("conversation"u8.Length)], value); diff --git a/src/Generated/Models/Responses/CreateResponseOptions.cs b/src/Generated/Models/Responses/CreateResponseOptions.cs index 285bb972e..f125d706b 100644 --- a/src/Generated/Models/Responses/CreateResponseOptions.cs +++ b/src/Generated/Models/Responses/CreateResponseOptions.cs @@ -17,12 +17,12 @@ public partial class CreateResponseOptions [Experimental("SCME0001")] private JsonPatch _patch; - public CreateResponseOptions() : this(null, default, default, default, null, null, default, null, null, null, default, default, default, null, null, null, null, default, null, null, default, default, default, null, default) + public CreateResponseOptions() : this(null, default, default, default, null, null, default, null, null, null, default, default, default, null, null, null, null, null, default, null, null, default, default, default, null, default) { } #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - internal CreateResponseOptions(IDictionary<string, string> metadata, float? temperature, int? topLogProbabilityCount, float? topP, string endUserId, string safetyIdentifier, ResponseServiceTier? serviceTier, string previousResponseId, string model, ResponseReasoningOptions reasoningOptions, bool? backgroundModeEnabled, int? maxOutputTokenCount, int? maxToolCallCount, string instructions, ResponseTextOptions textOptions, IList<ResponseTool> tools, ResponseToolChoice toolChoice, ResponseTruncationMode? truncationMode, IList<ResponseItem> inputItems, IList<IncludedResponseProperty> includedProperties, bool? parallelToolCallsEnabled, bool? storedOutputEnabled, bool? streamingEnabled, ResponseConversationOptions conversationOptions, in JsonPatch patch) + internal CreateResponseOptions(IDictionary<string, string> metadata, float? temperature, int? topLogProbabilityCount, float? topP, string endUserId, string safetyIdentifier, ResponseServiceTier? serviceTier, string previousResponseId, string model, ResponseReasoningOptions reasoningOptions, bool? backgroundModeEnabled, int? maxOutputTokenCount, int? maxToolCallCount, string instructions, ResponseTextOptions textOptions, IList<ResponseTool> tools, ResponseToolChoice toolChoice, InternalPrompt prompt, ResponseTruncationMode? truncationMode, IList<ResponseItem> inputItems, IList<IncludedResponseProperty> includedProperties, bool? parallelToolCallsEnabled, bool? storedOutputEnabled, bool? streamingEnabled, ResponseConversationOptions conversationOptions, in JsonPatch patch) { // Plugin customization: ensure initialization of collections Metadata = metadata ?? new ChangeTrackingDictionary<string, string>(); @@ -42,6 +42,7 @@ internal CreateResponseOptions(IDictionary<string, string> metadata, float? temp TextOptions = textOptions; Tools = tools ?? new ChangeTrackingList<ResponseTool>(); ToolChoice = toolChoice; + Prompt = prompt; TruncationMode = truncationMode; InputItems = inputItems ?? new ChangeTrackingList<ResponseItem>(); IncludedProperties = includedProperties ?? new ChangeTrackingList<IncludedResponseProperty>(); @@ -76,5 +77,7 @@ internal CreateResponseOptions(IDictionary<string, string> metadata, float? temp public string Instructions { get; set; } public IList<ResponseTool> Tools { get; } + + internal InternalPrompt Prompt { get; set; } } } diff --git a/src/Generated/Models/Responses/CustomTool.Serialization.cs b/src/Generated/Models/Responses/CustomTool.Serialization.cs new file mode 100644 index 000000000..f677eeb7e --- /dev/null +++ b/src/Generated/Models/Responses/CustomTool.Serialization.cs @@ -0,0 +1,186 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + public partial class CustomTool : ResponseTool, IJsonModel<CustomTool> + { + internal CustomTool() : this(InternalToolType.Custom, default, null, null, null) + { + } + + void IJsonModel<CustomTool>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomTool>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomTool)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.name"u8)) + { + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + } + if (Optional.IsDefined(Description) && !Patch.Contains("$.description"u8)) + { + writer.WritePropertyName("description"u8); + writer.WriteStringValue(Description); + } + if (Optional.IsDefined(Format) && !Patch.Contains("$.format"u8)) + { + writer.WritePropertyName("format"u8); + writer.WriteObjectValue(Format, options); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + CustomTool IJsonModel<CustomTool>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (CustomTool)JsonModelCreateCore(ref reader, options); + + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomTool>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomTool)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeCustomTool(document.RootElement, null, options); + } + + internal static CustomTool DeserializeCustomTool(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalToolType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string name = default; + string description = default; + CustomToolFormat format = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalToolType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("name"u8)) + { + name = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("description"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + description = null; + continue; + } + description = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("format"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + format = CustomToolFormat.DeserializeCustomToolFormat(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new CustomTool(kind, patch, name, description, format); + } + + BinaryData IPersistableModel<CustomTool>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomTool>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(CustomTool)} does not support writing '{options.Format}' format."); + } + } + + CustomTool IPersistableModel<CustomTool>.Create(BinaryData data, ModelReaderWriterOptions options) => (CustomTool)PersistableModelCreateCore(data, options); + + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomTool>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeCustomTool(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(CustomTool)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<CustomTool>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + + if (local.StartsWith("format"u8)) + { + return Format.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("format"u8.Length)], out value); + } + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + + if (local.StartsWith("format"u8)) + { + Format.Patch.Set([.. "$"u8, .. local.Slice("format"u8.Length)], 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/Responses/CustomTool.cs b/src/Generated/Models/Responses/CustomTool.cs new file mode 100644 index 000000000..e5d5ad38c --- /dev/null +++ b/src/Generated/Models/Responses/CustomTool.cs @@ -0,0 +1,37 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; +using OpenAI; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public partial class CustomTool : ResponseTool + { + public CustomTool(string name) : base(InternalToolType.Custom) + { + Argument.AssertNotNull(name, nameof(name)); + + Name = name; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal CustomTool(InternalToolType kind, in JsonPatch patch, string name, string description, CustomToolFormat format) : base(kind, patch) + { + Name = name; + Description = description; + Format = format; + Patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string Name { get; set; } + + public string Description { get; set; } + + public CustomToolFormat Format { get; set; } + } +} diff --git a/src/Generated/Models/Responses/CustomToolFormat.Serialization.cs b/src/Generated/Models/Responses/CustomToolFormat.Serialization.cs new file mode 100644 index 000000000..93b0e2a6e --- /dev/null +++ b/src/Generated/Models/Responses/CustomToolFormat.Serialization.cs @@ -0,0 +1,115 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + [PersistableModelProxy(typeof(InternalUnknownCustomToolParamFormat))] + public abstract partial class CustomToolFormat : IJsonModel<CustomToolFormat> + { + internal CustomToolFormat() + { + } + + void IJsonModel<CustomToolFormat>.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(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolFormat>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomToolFormat)} 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("$.type"u8)) + { + writer.WritePropertyName("type"u8); + writer.WriteStringValue(Kind.ToString()); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + CustomToolFormat IJsonModel<CustomToolFormat>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolFormat>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomToolFormat)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeCustomToolFormat(document.RootElement, null, options); + } + + internal static CustomToolFormat DeserializeCustomToolFormat(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + if (element.TryGetProperty("type"u8, out JsonElement discriminator)) + { + switch (discriminator.GetString()) + { + case "text": + return CustomToolTextFormat.DeserializeCustomToolTextFormat(element, data, options); + case "grammar": + return CustomToolGrammarFormat.DeserializeCustomToolGrammarFormat(element, data, options); + } + } + return InternalUnknownCustomToolParamFormat.DeserializeInternalUnknownCustomToolParamFormat(element, data, options); + } + + BinaryData IPersistableModel<CustomToolFormat>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolFormat>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(CustomToolFormat)} does not support writing '{options.Format}' format."); + } + } + + CustomToolFormat IPersistableModel<CustomToolFormat>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolFormat>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeCustomToolFormat(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(CustomToolFormat)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<CustomToolFormat>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/CustomToolFormat.cs b/src/Generated/Models/Responses/CustomToolFormat.cs new file mode 100644 index 000000000..9c7d63970 --- /dev/null +++ b/src/Generated/Models/Responses/CustomToolFormat.cs @@ -0,0 +1,38 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using System.Text.Json.Serialization; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public abstract partial class CustomToolFormat + { + [Experimental("SCME0001")] + private JsonPatch _patch; + + private protected CustomToolFormat(InternalCustomToolParamFormatType kind) + { + Kind = kind; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal CustomToolFormat(InternalCustomToolParamFormatType kind, in JsonPatch patch) + { + Kind = kind; + _patch = patch; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + [JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + [Experimental("SCME0001")] + public ref JsonPatch Patch => ref _patch; + + internal InternalCustomToolParamFormatType Kind { get; set; } + } +} diff --git a/src/Generated/Models/Responses/CustomToolGrammarFormat.Serialization.cs b/src/Generated/Models/Responses/CustomToolGrammarFormat.Serialization.cs new file mode 100644 index 000000000..cf72b9fca --- /dev/null +++ b/src/Generated/Models/Responses/CustomToolGrammarFormat.Serialization.cs @@ -0,0 +1,138 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + public partial class CustomToolGrammarFormat : CustomToolFormat, IJsonModel<CustomToolGrammarFormat> + { + internal CustomToolGrammarFormat() : this(InternalCustomToolParamFormatType.Grammar, default, default, null) + { + } + + void IJsonModel<CustomToolGrammarFormat>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolGrammarFormat>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomToolGrammarFormat)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.syntax"u8)) + { + writer.WritePropertyName("syntax"u8); + writer.WriteStringValue(Syntax.ToString()); + } + if (!Patch.Contains("$.definition"u8)) + { + writer.WritePropertyName("definition"u8); + writer.WriteStringValue(Definition); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + CustomToolGrammarFormat IJsonModel<CustomToolGrammarFormat>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (CustomToolGrammarFormat)JsonModelCreateCore(ref reader, options); + + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolGrammarFormat>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomToolGrammarFormat)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeCustomToolGrammarFormat(document.RootElement, null, options); + } + + internal static CustomToolGrammarFormat DeserializeCustomToolGrammarFormat(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalCustomToolParamFormatType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + GrammarSyntax syntax = default; + string definition = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalCustomToolParamFormatType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("syntax"u8)) + { + syntax = new GrammarSyntax(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("definition"u8)) + { + definition = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new CustomToolGrammarFormat(kind, patch, syntax, definition); + } + + BinaryData IPersistableModel<CustomToolGrammarFormat>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolGrammarFormat>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(CustomToolGrammarFormat)} does not support writing '{options.Format}' format."); + } + } + + CustomToolGrammarFormat IPersistableModel<CustomToolGrammarFormat>.Create(BinaryData data, ModelReaderWriterOptions options) => (CustomToolGrammarFormat)PersistableModelCreateCore(data, options); + + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolGrammarFormat>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeCustomToolGrammarFormat(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(CustomToolGrammarFormat)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<CustomToolGrammarFormat>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/CustomToolGrammarFormat.cs b/src/Generated/Models/Responses/CustomToolGrammarFormat.cs new file mode 100644 index 000000000..3acd06e1d --- /dev/null +++ b/src/Generated/Models/Responses/CustomToolGrammarFormat.cs @@ -0,0 +1,34 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; +using OpenAI; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public partial class CustomToolGrammarFormat : CustomToolFormat + { + public CustomToolGrammarFormat(GrammarSyntax syntax, string definition) : base(InternalCustomToolParamFormatType.Grammar) + { + Argument.AssertNotNull(definition, nameof(definition)); + + Syntax = syntax; + Definition = definition; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal CustomToolGrammarFormat(InternalCustomToolParamFormatType kind, in JsonPatch patch, GrammarSyntax syntax, string definition) : base(kind, patch) + { + Syntax = syntax; + Definition = definition; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public GrammarSyntax Syntax { get; set; } + + public string Definition { get; set; } + } +} diff --git a/src/Generated/Models/Responses/CustomToolTextFormat.Serialization.cs b/src/Generated/Models/Responses/CustomToolTextFormat.Serialization.cs new file mode 100644 index 000000000..a7f54479c --- /dev/null +++ b/src/Generated/Models/Responses/CustomToolTextFormat.Serialization.cs @@ -0,0 +1,112 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + public partial class CustomToolTextFormat : CustomToolFormat, IJsonModel<CustomToolTextFormat> + { + void IJsonModel<CustomToolTextFormat>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolTextFormat>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomToolTextFormat)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + CustomToolTextFormat IJsonModel<CustomToolTextFormat>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (CustomToolTextFormat)JsonModelCreateCore(ref reader, options); + + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolTextFormat>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomToolTextFormat)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeCustomToolTextFormat(document.RootElement, null, options); + } + + internal static CustomToolTextFormat DeserializeCustomToolTextFormat(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalCustomToolParamFormatType kind = 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<byte>.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("type"u8)) + { + kind = new InternalCustomToolParamFormatType(prop.Value.GetString()); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new CustomToolTextFormat(kind, patch); + } + + BinaryData IPersistableModel<CustomToolTextFormat>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolTextFormat>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(CustomToolTextFormat)} does not support writing '{options.Format}' format."); + } + } + + CustomToolTextFormat IPersistableModel<CustomToolTextFormat>.Create(BinaryData data, ModelReaderWriterOptions options) => (CustomToolTextFormat)PersistableModelCreateCore(data, options); + + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolTextFormat>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeCustomToolTextFormat(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(CustomToolTextFormat)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<CustomToolTextFormat>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/CustomToolTextFormat.cs b/src/Generated/Models/Responses/CustomToolTextFormat.cs new file mode 100644 index 000000000..321d1038d --- /dev/null +++ b/src/Generated/Models/Responses/CustomToolTextFormat.cs @@ -0,0 +1,23 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public partial class CustomToolTextFormat : CustomToolFormat + { + public CustomToolTextFormat() : this(InternalCustomToolParamFormatType.Text, default) + { + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal CustomToolTextFormat(InternalCustomToolParamFormatType kind, in JsonPatch patch) : base(kind, patch) + { + } +#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/Responses/GrammarSyntax.cs b/src/Generated/Models/Responses/GrammarSyntax.cs new file mode 100644 index 000000000..dd4c96636 --- /dev/null +++ b/src/Generated/Models/Responses/GrammarSyntax.cs @@ -0,0 +1,48 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using OpenAI; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public readonly partial struct GrammarSyntax : IEquatable<GrammarSyntax> + { + private readonly string _value; + private const string LarkValue = "lark"; + private const string RegexValue = "regex"; + + public GrammarSyntax(string value) + { + Argument.AssertNotNull(value, nameof(value)); + + _value = value; + } + + public static GrammarSyntax Lark { get; } = new GrammarSyntax(LarkValue); + + public static GrammarSyntax Regex { get; } = new GrammarSyntax(RegexValue); + + public static bool operator ==(GrammarSyntax left, GrammarSyntax right) => left.Equals(right); + + public static bool operator !=(GrammarSyntax left, GrammarSyntax right) => !left.Equals(right); + + public static implicit operator GrammarSyntax(string value) => new GrammarSyntax(value); + + public static implicit operator GrammarSyntax?(string value) => value == null ? null : new GrammarSyntax(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is GrammarSyntax other && Equals(other); + + public bool Equals(GrammarSyntax 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/Responses/InternalApplyPatchCallOutputStatusParam.cs b/src/Generated/Models/Responses/InternalApplyPatchCallOutputStatusParam.cs new file mode 100644 index 000000000..246b81988 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchCallOutputStatusParam.cs @@ -0,0 +1,46 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalApplyPatchCallOutputStatusParam : IEquatable<InternalApplyPatchCallOutputStatusParam> + { + private readonly string _value; + private const string InProgressValue = "in_progress"; + private const string CompletedValue = "completed"; + private const string IncompleteValue = "incomplete"; + + public InternalApplyPatchCallOutputStatusParam(string value) + { + _value = value; + } + + internal static InternalApplyPatchCallOutputStatusParam InProgress { get; } = new InternalApplyPatchCallOutputStatusParam(InProgressValue); + + internal static InternalApplyPatchCallOutputStatusParam Completed { get; } = new InternalApplyPatchCallOutputStatusParam(CompletedValue); + + internal static InternalApplyPatchCallOutputStatusParam Incomplete { get; } = new InternalApplyPatchCallOutputStatusParam(IncompleteValue); + + public static bool operator ==(InternalApplyPatchCallOutputStatusParam left, InternalApplyPatchCallOutputStatusParam right) => left.Equals(right); + + public static bool operator !=(InternalApplyPatchCallOutputStatusParam left, InternalApplyPatchCallOutputStatusParam right) => !left.Equals(right); + + public static implicit operator InternalApplyPatchCallOutputStatusParam(string value) => new InternalApplyPatchCallOutputStatusParam(value); + + public static implicit operator InternalApplyPatchCallOutputStatusParam?(string value) => value == null ? null : new InternalApplyPatchCallOutputStatusParam(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalApplyPatchCallOutputStatusParam other && Equals(other); + + public bool Equals(InternalApplyPatchCallOutputStatusParam 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/Responses/InternalApplyPatchCallStatusParam.cs b/src/Generated/Models/Responses/InternalApplyPatchCallStatusParam.cs new file mode 100644 index 000000000..a479b1410 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchCallStatusParam.cs @@ -0,0 +1,46 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalApplyPatchCallStatusParam : IEquatable<InternalApplyPatchCallStatusParam> + { + private readonly string _value; + private const string InProgressValue = "in_progress"; + private const string CompletedValue = "completed"; + private const string IncompleteValue = "incomplete"; + + public InternalApplyPatchCallStatusParam(string value) + { + _value = value; + } + + internal static InternalApplyPatchCallStatusParam InProgress { get; } = new InternalApplyPatchCallStatusParam(InProgressValue); + + internal static InternalApplyPatchCallStatusParam Completed { get; } = new InternalApplyPatchCallStatusParam(CompletedValue); + + internal static InternalApplyPatchCallStatusParam Incomplete { get; } = new InternalApplyPatchCallStatusParam(IncompleteValue); + + public static bool operator ==(InternalApplyPatchCallStatusParam left, InternalApplyPatchCallStatusParam right) => left.Equals(right); + + public static bool operator !=(InternalApplyPatchCallStatusParam left, InternalApplyPatchCallStatusParam right) => !left.Equals(right); + + public static implicit operator InternalApplyPatchCallStatusParam(string value) => new InternalApplyPatchCallStatusParam(value); + + public static implicit operator InternalApplyPatchCallStatusParam?(string value) => value == null ? null : new InternalApplyPatchCallStatusParam(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalApplyPatchCallStatusParam other && Equals(other); + + public bool Equals(InternalApplyPatchCallStatusParam 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/Responses/InternalApplyPatchCreateFileOperation.Serialization.cs b/src/Generated/Models/Responses/InternalApplyPatchCreateFileOperation.Serialization.cs new file mode 100644 index 000000000..620519de6 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchCreateFileOperation.Serialization.cs @@ -0,0 +1,127 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchCreateFileOperation : InternalApplyPatchOperationParam, IJsonModel<InternalApplyPatchCreateFileOperation> + { + internal InternalApplyPatchCreateFileOperation() : this(InternalApplyPatchOperationType.CreateFile, default, null) + { + } + + void IJsonModel<InternalApplyPatchCreateFileOperation>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchCreateFileOperation>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchCreateFileOperation)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.path"u8)) + { + writer.WritePropertyName("path"u8); + writer.WriteStringValue(Path); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchCreateFileOperation IJsonModel<InternalApplyPatchCreateFileOperation>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalApplyPatchCreateFileOperation)JsonModelCreateCore(ref reader, options); + + protected override InternalApplyPatchOperationParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchCreateFileOperation>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchCreateFileOperation)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchCreateFileOperation(document.RootElement, null, options); + } + + internal static InternalApplyPatchCreateFileOperation DeserializeInternalApplyPatchCreateFileOperation(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalApplyPatchOperationType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string path = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalApplyPatchOperationType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("path"u8)) + { + path = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalApplyPatchCreateFileOperation(kind, patch, path); + } + + BinaryData IPersistableModel<InternalApplyPatchCreateFileOperation>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchCreateFileOperation>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchCreateFileOperation)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchCreateFileOperation IPersistableModel<InternalApplyPatchCreateFileOperation>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalApplyPatchCreateFileOperation)PersistableModelCreateCore(data, options); + + protected override InternalApplyPatchOperationParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchCreateFileOperation>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchCreateFileOperation(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchCreateFileOperation)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchCreateFileOperation>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchCreateFileOperation.cs b/src/Generated/Models/Responses/InternalApplyPatchCreateFileOperation.cs new file mode 100644 index 000000000..d62b2c010 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchCreateFileOperation.cs @@ -0,0 +1,25 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchCreateFileOperation : InternalApplyPatchOperationParam + { + public InternalApplyPatchCreateFileOperation(string path) : base(InternalApplyPatchOperationType.CreateFile) + { + Path = path; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalApplyPatchCreateFileOperation(InternalApplyPatchOperationType kind, in JsonPatch patch, string path) : base(kind, patch) + { + Path = path; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string Path { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchDeleteFileOperation.Serialization.cs b/src/Generated/Models/Responses/InternalApplyPatchDeleteFileOperation.Serialization.cs new file mode 100644 index 000000000..22ee73e4c --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchDeleteFileOperation.Serialization.cs @@ -0,0 +1,127 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchDeleteFileOperation : InternalApplyPatchOperationParam, IJsonModel<InternalApplyPatchDeleteFileOperation> + { + internal InternalApplyPatchDeleteFileOperation() : this(InternalApplyPatchOperationType.DeleteFile, default, null) + { + } + + void IJsonModel<InternalApplyPatchDeleteFileOperation>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchDeleteFileOperation>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchDeleteFileOperation)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.path"u8)) + { + writer.WritePropertyName("path"u8); + writer.WriteStringValue(Path); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchDeleteFileOperation IJsonModel<InternalApplyPatchDeleteFileOperation>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalApplyPatchDeleteFileOperation)JsonModelCreateCore(ref reader, options); + + protected override InternalApplyPatchOperationParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchDeleteFileOperation>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchDeleteFileOperation)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchDeleteFileOperation(document.RootElement, null, options); + } + + internal static InternalApplyPatchDeleteFileOperation DeserializeInternalApplyPatchDeleteFileOperation(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalApplyPatchOperationType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string path = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalApplyPatchOperationType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("path"u8)) + { + path = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalApplyPatchDeleteFileOperation(kind, patch, path); + } + + BinaryData IPersistableModel<InternalApplyPatchDeleteFileOperation>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchDeleteFileOperation>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchDeleteFileOperation)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchDeleteFileOperation IPersistableModel<InternalApplyPatchDeleteFileOperation>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalApplyPatchDeleteFileOperation)PersistableModelCreateCore(data, options); + + protected override InternalApplyPatchOperationParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchDeleteFileOperation>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchDeleteFileOperation(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchDeleteFileOperation)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchDeleteFileOperation>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchDeleteFileOperation.cs b/src/Generated/Models/Responses/InternalApplyPatchDeleteFileOperation.cs new file mode 100644 index 000000000..f9b5de075 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchDeleteFileOperation.cs @@ -0,0 +1,25 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchDeleteFileOperation : InternalApplyPatchOperationParam + { + public InternalApplyPatchDeleteFileOperation(string path) : base(InternalApplyPatchOperationType.DeleteFile) + { + Path = path; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalApplyPatchDeleteFileOperation(InternalApplyPatchOperationType kind, in JsonPatch patch, string path) : base(kind, patch) + { + Path = path; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string Path { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchOperationParam.Serialization.cs b/src/Generated/Models/Responses/InternalApplyPatchOperationParam.Serialization.cs new file mode 100644 index 000000000..875efd848 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchOperationParam.Serialization.cs @@ -0,0 +1,117 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + [PersistableModelProxy(typeof(InternalUnknownApplyPatchOperationParam))] + internal abstract partial class InternalApplyPatchOperationParam : IJsonModel<InternalApplyPatchOperationParam> + { + internal InternalApplyPatchOperationParam() + { + } + + void IJsonModel<InternalApplyPatchOperationParam>.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(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchOperationParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchOperationParam)} 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("$.type"u8)) + { + writer.WritePropertyName("type"u8); + writer.WriteStringValue(Kind.ToString()); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchOperationParam IJsonModel<InternalApplyPatchOperationParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalApplyPatchOperationParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchOperationParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchOperationParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchOperationParam(document.RootElement, null, options); + } + + internal static InternalApplyPatchOperationParam DeserializeInternalApplyPatchOperationParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + if (element.TryGetProperty("type"u8, out JsonElement discriminator)) + { + switch (discriminator.GetString()) + { + case "create_file": + return InternalApplyPatchCreateFileOperation.DeserializeInternalApplyPatchCreateFileOperation(element, data, options); + case "delete_file": + return InternalApplyPatchDeleteFileOperation.DeserializeInternalApplyPatchDeleteFileOperation(element, data, options); + case "update_file": + return InternalApplyPatchUpdateFileOperation.DeserializeInternalApplyPatchUpdateFileOperation(element, data, options); + } + } + return InternalUnknownApplyPatchOperationParam.DeserializeInternalUnknownApplyPatchOperationParam(element, data, options); + } + + BinaryData IPersistableModel<InternalApplyPatchOperationParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchOperationParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchOperationParam)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchOperationParam IPersistableModel<InternalApplyPatchOperationParam>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalApplyPatchOperationParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchOperationParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchOperationParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchOperationParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchOperationParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchOperationParam.cs b/src/Generated/Models/Responses/InternalApplyPatchOperationParam.cs new file mode 100644 index 000000000..7399f4919 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchOperationParam.cs @@ -0,0 +1,37 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using System.Text.Json.Serialization; + +namespace OpenAI.Responses +{ + internal abstract partial class InternalApplyPatchOperationParam + { + [Experimental("SCME0001")] + private JsonPatch _patch; + + private protected InternalApplyPatchOperationParam(InternalApplyPatchOperationType kind) + { + Kind = kind; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalApplyPatchOperationParam(InternalApplyPatchOperationType kind, in JsonPatch patch) + { + Kind = kind; + _patch = patch; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + [JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + [Experimental("SCME0001")] + public ref JsonPatch Patch => ref _patch; + + internal InternalApplyPatchOperationType Kind { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchOperationType.cs b/src/Generated/Models/Responses/InternalApplyPatchOperationType.cs new file mode 100644 index 000000000..f1c89e995 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchOperationType.cs @@ -0,0 +1,46 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalApplyPatchOperationType : IEquatable<InternalApplyPatchOperationType> + { + private readonly string _value; + private const string CreateFileValue = "create_file"; + private const string DeleteFileValue = "delete_file"; + private const string UpdateFileValue = "update_file"; + + public InternalApplyPatchOperationType(string value) + { + _value = value; + } + + internal static InternalApplyPatchOperationType CreateFile { get; } = new InternalApplyPatchOperationType(CreateFileValue); + + internal static InternalApplyPatchOperationType DeleteFile { get; } = new InternalApplyPatchOperationType(DeleteFileValue); + + internal static InternalApplyPatchOperationType UpdateFile { get; } = new InternalApplyPatchOperationType(UpdateFileValue); + + public static bool operator ==(InternalApplyPatchOperationType left, InternalApplyPatchOperationType right) => left.Equals(right); + + public static bool operator !=(InternalApplyPatchOperationType left, InternalApplyPatchOperationType right) => !left.Equals(right); + + public static implicit operator InternalApplyPatchOperationType(string value) => new InternalApplyPatchOperationType(value); + + public static implicit operator InternalApplyPatchOperationType?(string value) => value == null ? null : new InternalApplyPatchOperationType(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalApplyPatchOperationType other && Equals(other); + + public bool Equals(InternalApplyPatchOperationType 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/Responses/InternalApplyPatchToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalApplyPatchToolCallItemParam.Serialization.cs new file mode 100644 index 000000000..4e3724df7 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchToolCallItemParam.Serialization.cs @@ -0,0 +1,166 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchToolCallItemParam : InternalItemParam, IJsonModel<InternalApplyPatchToolCallItemParam> + { + internal InternalApplyPatchToolCallItemParam() : this(InternalItemType.ApplyPatchCall, default, null, null) + { + } + + void IJsonModel<InternalApplyPatchToolCallItemParam>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallItemParam)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (!Patch.Contains("$.operation"u8)) + { + writer.WritePropertyName("operation"u8); + writer.WriteObjectValue(Operation, options); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchToolCallItemParam IJsonModel<InternalApplyPatchToolCallItemParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalApplyPatchToolCallItemParam)JsonModelCreateCore(ref reader, options); + + protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallItemParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchToolCallItemParam(document.RootElement, null, options); + } + + internal static InternalApplyPatchToolCallItemParam DeserializeInternalApplyPatchToolCallItemParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string callId = default; + InternalApplyPatchOperationParam operation = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("operation"u8)) + { + operation = InternalApplyPatchOperationParam.DeserializeInternalApplyPatchOperationParam(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalApplyPatchToolCallItemParam(kind, patch, callId, operation); + } + + BinaryData IPersistableModel<InternalApplyPatchToolCallItemParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallItemParam)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchToolCallItemParam IPersistableModel<InternalApplyPatchToolCallItemParam>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalApplyPatchToolCallItemParam)PersistableModelCreateCore(data, options); + + protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchToolCallItemParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallItemParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchToolCallItemParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + + if (local.StartsWith("operation"u8)) + { + return Operation.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("operation"u8.Length)], out value); + } + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + + if (local.StartsWith("operation"u8)) + { + Operation.Patch.Set([.. "$"u8, .. local.Slice("operation"u8.Length)], 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/Responses/InternalApplyPatchToolCallItemParam.cs b/src/Generated/Models/Responses/InternalApplyPatchToolCallItemParam.cs new file mode 100644 index 000000000..382a162a2 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchToolCallItemParam.cs @@ -0,0 +1,30 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchToolCallItemParam : InternalItemParam + { + internal InternalApplyPatchToolCallItemParam(string callId, InternalApplyPatchOperationParam operation) : base(InternalItemType.ApplyPatchCall) + { + CallId = callId; + Operation = operation; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalApplyPatchToolCallItemParam(InternalItemType kind, in JsonPatch patch, string callId, InternalApplyPatchOperationParam operation) : base(kind, patch) + { + CallId = callId; + Operation = operation; + Patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string CallId { get; } + + internal InternalApplyPatchOperationParam Operation { get; } + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchToolCallItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalApplyPatchToolCallItemResource.Serialization.cs new file mode 100644 index 000000000..c54493223 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchToolCallItemResource.Serialization.cs @@ -0,0 +1,190 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchToolCallItemResource : ResponseItem, IJsonModel<InternalApplyPatchToolCallItemResource> + { + internal InternalApplyPatchToolCallItemResource() : this(InternalItemType.ApplyPatchCall, null, default, default, null, null) + { + } + + void IJsonModel<InternalApplyPatchToolCallItemResource>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallItemResource)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + // Plugin customization: remove options.Format != "W" check + if (!Patch.Contains("$.status"u8)) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + } + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (!Patch.Contains("$.operation"u8)) + { + writer.WritePropertyName("operation"u8); + writer.WriteObjectValue(Operation, options); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchToolCallItemResource IJsonModel<InternalApplyPatchToolCallItemResource>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalApplyPatchToolCallItemResource)JsonModelCreateCore(ref reader, options); + + protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallItemResource)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchToolCallItemResource(document.RootElement, null, options); + } + + internal static InternalApplyPatchToolCallItemResource DeserializeInternalApplyPatchToolCallItemResource(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = default; + string id = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + InternalApplyPatchCallStatusParam status = default; + string callId = default; + InternalApplyPatchOperationParam operation = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("id"u8)) + { + id = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("status"u8)) + { + status = new InternalApplyPatchCallStatusParam(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("operation"u8)) + { + operation = InternalApplyPatchOperationParam.DeserializeInternalApplyPatchOperationParam(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalApplyPatchToolCallItemResource( + kind, + id, + patch, + status, + callId, + operation); + } + + BinaryData IPersistableModel<InternalApplyPatchToolCallItemResource>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallItemResource)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchToolCallItemResource IPersistableModel<InternalApplyPatchToolCallItemResource>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalApplyPatchToolCallItemResource)PersistableModelCreateCore(data, options); + + protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchToolCallItemResource(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallItemResource)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchToolCallItemResource>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + + if (local.StartsWith("operation"u8)) + { + return Operation.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("operation"u8.Length)], out value); + } + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + + if (local.StartsWith("operation"u8)) + { + Operation.Patch.Set([.. "$"u8, .. local.Slice("operation"u8.Length)], 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/Responses/InternalApplyPatchToolCallItemResource.cs b/src/Generated/Models/Responses/InternalApplyPatchToolCallItemResource.cs new file mode 100644 index 000000000..b91771a20 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchToolCallItemResource.cs @@ -0,0 +1,33 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchToolCallItemResource : ResponseItem + { + internal InternalApplyPatchToolCallItemResource(string callId, InternalApplyPatchOperationParam operation) : base(InternalItemType.ApplyPatchCall) + { + CallId = callId; + Operation = operation; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalApplyPatchToolCallItemResource(InternalItemType kind, string id, in JsonPatch patch, InternalApplyPatchCallStatusParam status, string callId, InternalApplyPatchOperationParam operation) : base(kind, id, patch) + { + Status = status; + CallId = callId; + Operation = operation; + Patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + internal InternalApplyPatchCallStatusParam Status { get; } + + public string CallId { get; set; } + + internal InternalApplyPatchOperationParam Operation { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemParam.Serialization.cs new file mode 100644 index 000000000..2142b6705 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemParam.Serialization.cs @@ -0,0 +1,143 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchToolCallOutputItemParam : InternalItemParam, IJsonModel<InternalApplyPatchToolCallOutputItemParam> + { + internal InternalApplyPatchToolCallOutputItemParam() : this(InternalItemType.ApplyPatchCallOutput, default, null, null) + { + } + + void IJsonModel<InternalApplyPatchToolCallOutputItemParam>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallOutputItemParam)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (Optional.IsDefined(Output) && !Patch.Contains("$.output"u8)) + { + writer.WritePropertyName("output"u8); + writer.WriteStringValue(Output); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchToolCallOutputItemParam IJsonModel<InternalApplyPatchToolCallOutputItemParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalApplyPatchToolCallOutputItemParam)JsonModelCreateCore(ref reader, options); + + protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallOutputItemParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchToolCallOutputItemParam(document.RootElement, null, options); + } + + internal static InternalApplyPatchToolCallOutputItemParam DeserializeInternalApplyPatchToolCallOutputItemParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string callId = default; + string output = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("output"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + output = null; + continue; + } + output = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalApplyPatchToolCallOutputItemParam(kind, patch, callId, output); + } + + BinaryData IPersistableModel<InternalApplyPatchToolCallOutputItemParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallOutputItemParam)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchToolCallOutputItemParam IPersistableModel<InternalApplyPatchToolCallOutputItemParam>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalApplyPatchToolCallOutputItemParam)PersistableModelCreateCore(data, options); + + protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchToolCallOutputItemParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallOutputItemParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchToolCallOutputItemParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemParam.cs b/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemParam.cs new file mode 100644 index 000000000..69df7a53d --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemParam.cs @@ -0,0 +1,28 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchToolCallOutputItemParam : InternalItemParam + { + public InternalApplyPatchToolCallOutputItemParam(string callId) : base(InternalItemType.ApplyPatchCallOutput) + { + CallId = callId; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalApplyPatchToolCallOutputItemParam(InternalItemType kind, in JsonPatch patch, string callId, string output) : base(kind, patch) + { + CallId = callId; + Output = output; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string CallId { get; } + + public string Output { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemResource.Serialization.cs new file mode 100644 index 000000000..eadc6017a --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemResource.Serialization.cs @@ -0,0 +1,167 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchToolCallOutputItemResource : ResponseItem, IJsonModel<InternalApplyPatchToolCallOutputItemResource> + { + internal InternalApplyPatchToolCallOutputItemResource() : this(InternalItemType.ApplyPatchCallOutput, null, default, default, null, null) + { + } + + void IJsonModel<InternalApplyPatchToolCallOutputItemResource>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallOutputItemResource)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + // Plugin customization: remove options.Format != "W" check + if (!Patch.Contains("$.status"u8)) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + } + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (Optional.IsDefined(Output) && !Patch.Contains("$.output"u8)) + { + writer.WritePropertyName("output"u8); + writer.WriteStringValue(Output); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchToolCallOutputItemResource IJsonModel<InternalApplyPatchToolCallOutputItemResource>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalApplyPatchToolCallOutputItemResource)JsonModelCreateCore(ref reader, options); + + protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallOutputItemResource)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchToolCallOutputItemResource(document.RootElement, null, options); + } + + internal static InternalApplyPatchToolCallOutputItemResource DeserializeInternalApplyPatchToolCallOutputItemResource(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = default; + string id = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + InternalApplyPatchCallOutputStatusParam status = default; + string callId = default; + string output = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("id"u8)) + { + id = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("status"u8)) + { + status = new InternalApplyPatchCallOutputStatusParam(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("output"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + output = null; + continue; + } + output = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalApplyPatchToolCallOutputItemResource( + kind, + id, + patch, + status, + callId, + output); + } + + BinaryData IPersistableModel<InternalApplyPatchToolCallOutputItemResource>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallOutputItemResource)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchToolCallOutputItemResource IPersistableModel<InternalApplyPatchToolCallOutputItemResource>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalApplyPatchToolCallOutputItemResource)PersistableModelCreateCore(data, options); + + protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchToolCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchToolCallOutputItemResource(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchToolCallOutputItemResource)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchToolCallOutputItemResource>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemResource.cs b/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemResource.cs new file mode 100644 index 000000000..c01f3bca8 --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchToolCallOutputItemResource.cs @@ -0,0 +1,31 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchToolCallOutputItemResource : ResponseItem + { + public InternalApplyPatchToolCallOutputItemResource(string callId) : base(InternalItemType.ApplyPatchCallOutput) + { + CallId = callId; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalApplyPatchToolCallOutputItemResource(InternalItemType kind, string id, in JsonPatch patch, InternalApplyPatchCallOutputStatusParam status, string callId, string output) : base(kind, id, patch) + { + Status = status; + CallId = callId; + Output = output; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + internal InternalApplyPatchCallOutputStatusParam Status { get; } + + public string CallId { get; set; } + + public string Output { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchUpdateFileOperation.Serialization.cs b/src/Generated/Models/Responses/InternalApplyPatchUpdateFileOperation.Serialization.cs new file mode 100644 index 000000000..e36bd409b --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchUpdateFileOperation.Serialization.cs @@ -0,0 +1,138 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchUpdateFileOperation : InternalApplyPatchOperationParam, IJsonModel<InternalApplyPatchUpdateFileOperation> + { + internal InternalApplyPatchUpdateFileOperation() : this(InternalApplyPatchOperationType.UpdateFile, default, null, null) + { + } + + void IJsonModel<InternalApplyPatchUpdateFileOperation>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchUpdateFileOperation>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchUpdateFileOperation)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.path"u8)) + { + writer.WritePropertyName("path"u8); + writer.WriteStringValue(Path); + } + if (!Patch.Contains("$.diff"u8)) + { + writer.WritePropertyName("diff"u8); + writer.WriteStringValue(Diff); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchUpdateFileOperation IJsonModel<InternalApplyPatchUpdateFileOperation>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalApplyPatchUpdateFileOperation)JsonModelCreateCore(ref reader, options); + + protected override InternalApplyPatchOperationParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchUpdateFileOperation>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchUpdateFileOperation)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchUpdateFileOperation(document.RootElement, null, options); + } + + internal static InternalApplyPatchUpdateFileOperation DeserializeInternalApplyPatchUpdateFileOperation(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalApplyPatchOperationType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string path = default; + string diff = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalApplyPatchOperationType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("path"u8)) + { + path = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("diff"u8)) + { + diff = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalApplyPatchUpdateFileOperation(kind, patch, path, diff); + } + + BinaryData IPersistableModel<InternalApplyPatchUpdateFileOperation>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchUpdateFileOperation>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchUpdateFileOperation)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchUpdateFileOperation IPersistableModel<InternalApplyPatchUpdateFileOperation>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalApplyPatchUpdateFileOperation)PersistableModelCreateCore(data, options); + + protected override InternalApplyPatchOperationParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchUpdateFileOperation>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchUpdateFileOperation(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchUpdateFileOperation)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchUpdateFileOperation>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalApplyPatchUpdateFileOperation.cs b/src/Generated/Models/Responses/InternalApplyPatchUpdateFileOperation.cs new file mode 100644 index 000000000..e16b6d10d --- /dev/null +++ b/src/Generated/Models/Responses/InternalApplyPatchUpdateFileOperation.cs @@ -0,0 +1,29 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalApplyPatchUpdateFileOperation : InternalApplyPatchOperationParam + { + public InternalApplyPatchUpdateFileOperation(string path, string diff) : base(InternalApplyPatchOperationType.UpdateFile) + { + Path = path; + Diff = diff; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalApplyPatchUpdateFileOperation(InternalApplyPatchOperationType kind, in JsonPatch patch, string path, string diff) : base(kind, patch) + { + Path = path; + Diff = diff; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string Path { get; set; } + + public string Diff { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalCustomToolCallItemParam.Serialization.cs new file mode 100644 index 000000000..7289a277c --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallItemParam.Serialization.cs @@ -0,0 +1,149 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalCustomToolCallItemParam : InternalItemParam, IJsonModel<InternalCustomToolCallItemParam> + { + internal InternalCustomToolCallItemParam() : this(InternalItemType.CustomToolCall, default, null, null, null) + { + } + + void IJsonModel<InternalCustomToolCallItemParam>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalCustomToolCallItemParam)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (!Patch.Contains("$.name"u8)) + { + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + } + if (!Patch.Contains("$.input"u8)) + { + writer.WritePropertyName("input"u8); + writer.WriteStringValue(Input); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalCustomToolCallItemParam IJsonModel<InternalCustomToolCallItemParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCustomToolCallItemParam)JsonModelCreateCore(ref reader, options); + + protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalCustomToolCallItemParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalCustomToolCallItemParam(document.RootElement, null, options); + } + + internal static InternalCustomToolCallItemParam DeserializeInternalCustomToolCallItemParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string callId = default; + string name = default; + string input = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("name"u8)) + { + name = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("input"u8)) + { + input = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalCustomToolCallItemParam(kind, patch, callId, name, input); + } + + BinaryData IPersistableModel<InternalCustomToolCallItemParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalCustomToolCallItemParam)} does not support writing '{options.Format}' format."); + } + } + + InternalCustomToolCallItemParam IPersistableModel<InternalCustomToolCallItemParam>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCustomToolCallItemParam)PersistableModelCreateCore(data, options); + + protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalCustomToolCallItemParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalCustomToolCallItemParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalCustomToolCallItemParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallItemParam.cs b/src/Generated/Models/Responses/InternalCustomToolCallItemParam.cs new file mode 100644 index 000000000..af2c1849b --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallItemParam.cs @@ -0,0 +1,33 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalCustomToolCallItemParam : InternalItemParam + { + public InternalCustomToolCallItemParam(string callId, string name, string input) : base(InternalItemType.CustomToolCall) + { + CallId = callId; + Name = name; + Input = input; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalCustomToolCallItemParam(InternalItemType kind, in JsonPatch patch, string callId, string name, string input) : base(kind, patch) + { + CallId = callId; + Name = name; + Input = input; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string CallId { get; } + + public string Name { get; } + + public string Input { get; } + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalCustomToolCallItemResource.Serialization.cs new file mode 100644 index 000000000..87efd730b --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallItemResource.Serialization.cs @@ -0,0 +1,174 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalCustomToolCallItemResource : ResponseItem, IJsonModel<InternalCustomToolCallItemResource> + { + internal InternalCustomToolCallItemResource() : this(InternalItemType.CustomToolCall, null, default, default, null, null, null) + { + } + + void IJsonModel<InternalCustomToolCallItemResource>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalCustomToolCallItemResource)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + // Plugin customization: remove options.Format != "W" check + if (!Patch.Contains("$.status"u8)) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + } + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (!Patch.Contains("$.name"u8)) + { + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + } + if (!Patch.Contains("$.input"u8)) + { + writer.WritePropertyName("input"u8); + writer.WriteStringValue(Input); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalCustomToolCallItemResource IJsonModel<InternalCustomToolCallItemResource>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCustomToolCallItemResource)JsonModelCreateCore(ref reader, options); + + protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalCustomToolCallItemResource)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalCustomToolCallItemResource(document.RootElement, null, options); + } + + internal static InternalCustomToolCallItemResource DeserializeInternalCustomToolCallItemResource(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = default; + string id = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + InternalCustomToolCallItemResourceStatus status = default; + string callId = default; + string name = default; + string input = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("id"u8)) + { + id = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("status"u8)) + { + status = new InternalCustomToolCallItemResourceStatus(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("name"u8)) + { + name = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("input"u8)) + { + input = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalCustomToolCallItemResource( + kind, + id, + patch, + status, + callId, + name, + input); + } + + BinaryData IPersistableModel<InternalCustomToolCallItemResource>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalCustomToolCallItemResource)} does not support writing '{options.Format}' format."); + } + } + + InternalCustomToolCallItemResource IPersistableModel<InternalCustomToolCallItemResource>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCustomToolCallItemResource)PersistableModelCreateCore(data, options); + + protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalCustomToolCallItemResource(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalCustomToolCallItemResource)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalCustomToolCallItemResource>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallItemResource.cs b/src/Generated/Models/Responses/InternalCustomToolCallItemResource.cs new file mode 100644 index 000000000..f2921d162 --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallItemResource.cs @@ -0,0 +1,36 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalCustomToolCallItemResource : ResponseItem + { + public InternalCustomToolCallItemResource(string callId, string name, string input) : base(InternalItemType.CustomToolCall) + { + CallId = callId; + Name = name; + Input = input; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalCustomToolCallItemResource(InternalItemType kind, string id, in JsonPatch patch, InternalCustomToolCallItemResourceStatus status, string callId, string name, string input) : base(kind, id, patch) + { + Status = status; + CallId = callId; + Name = name; + Input = input; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + internal InternalCustomToolCallItemResourceStatus Status { get; } + + public string CallId { get; set; } + + public string Name { get; set; } + + public string Input { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallItemResourceStatus.cs b/src/Generated/Models/Responses/InternalCustomToolCallItemResourceStatus.cs new file mode 100644 index 000000000..91dfb8677 --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallItemResourceStatus.cs @@ -0,0 +1,46 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalCustomToolCallItemResourceStatus : IEquatable<InternalCustomToolCallItemResourceStatus> + { + private readonly string _value; + private const string InProgressValue = "in_progress"; + private const string CompletedValue = "completed"; + private const string IncompleteValue = "incomplete"; + + public InternalCustomToolCallItemResourceStatus(string value) + { + _value = value; + } + + internal static InternalCustomToolCallItemResourceStatus InProgress { get; } = new InternalCustomToolCallItemResourceStatus(InProgressValue); + + internal static InternalCustomToolCallItemResourceStatus Completed { get; } = new InternalCustomToolCallItemResourceStatus(CompletedValue); + + internal static InternalCustomToolCallItemResourceStatus Incomplete { get; } = new InternalCustomToolCallItemResourceStatus(IncompleteValue); + + public static bool operator ==(InternalCustomToolCallItemResourceStatus left, InternalCustomToolCallItemResourceStatus right) => left.Equals(right); + + public static bool operator !=(InternalCustomToolCallItemResourceStatus left, InternalCustomToolCallItemResourceStatus right) => !left.Equals(right); + + public static implicit operator InternalCustomToolCallItemResourceStatus(string value) => new InternalCustomToolCallItemResourceStatus(value); + + public static implicit operator InternalCustomToolCallItemResourceStatus?(string value) => value == null ? null : new InternalCustomToolCallItemResourceStatus(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalCustomToolCallItemResourceStatus other && Equals(other); + + public bool Equals(InternalCustomToolCallItemResourceStatus 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/Responses/InternalCustomToolCallOutputItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemParam.Serialization.cs new file mode 100644 index 000000000..ca09280de --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemParam.Serialization.cs @@ -0,0 +1,143 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalCustomToolCallOutputItemParam : InternalItemParam, IJsonModel<InternalCustomToolCallOutputItemParam> + { + internal InternalCustomToolCallOutputItemParam() : this(InternalItemType.CustomToolCallOutput, default, null, null) + { + } + + void IJsonModel<InternalCustomToolCallOutputItemParam>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalCustomToolCallOutputItemParam)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (Optional.IsDefined(Output) && !Patch.Contains("$.output"u8)) + { + writer.WritePropertyName("output"u8); + writer.WriteStringValue(Output); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalCustomToolCallOutputItemParam IJsonModel<InternalCustomToolCallOutputItemParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCustomToolCallOutputItemParam)JsonModelCreateCore(ref reader, options); + + protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalCustomToolCallOutputItemParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalCustomToolCallOutputItemParam(document.RootElement, null, options); + } + + internal static InternalCustomToolCallOutputItemParam DeserializeInternalCustomToolCallOutputItemParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string callId = default; + string output = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("output"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + output = null; + continue; + } + output = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalCustomToolCallOutputItemParam(kind, patch, callId, output); + } + + BinaryData IPersistableModel<InternalCustomToolCallOutputItemParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalCustomToolCallOutputItemParam)} does not support writing '{options.Format}' format."); + } + } + + InternalCustomToolCallOutputItemParam IPersistableModel<InternalCustomToolCallOutputItemParam>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCustomToolCallOutputItemParam)PersistableModelCreateCore(data, options); + + protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalCustomToolCallOutputItemParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalCustomToolCallOutputItemParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalCustomToolCallOutputItemParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallOutputItemParam.cs b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemParam.cs new file mode 100644 index 000000000..161a75cc7 --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemParam.cs @@ -0,0 +1,28 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalCustomToolCallOutputItemParam : InternalItemParam + { + public InternalCustomToolCallOutputItemParam(string callId) : base(InternalItemType.CustomToolCallOutput) + { + CallId = callId; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalCustomToolCallOutputItemParam(InternalItemType kind, in JsonPatch patch, string callId, string output) : base(kind, patch) + { + CallId = callId; + Output = output; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string CallId { get; } + + public string Output { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResource.Serialization.cs new file mode 100644 index 000000000..c9d3503f8 --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResource.Serialization.cs @@ -0,0 +1,167 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalCustomToolCallOutputItemResource : ResponseItem, IJsonModel<InternalCustomToolCallOutputItemResource> + { + internal InternalCustomToolCallOutputItemResource() : this(InternalItemType.CustomToolCallOutput, null, default, default, null, null) + { + } + + void IJsonModel<InternalCustomToolCallOutputItemResource>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalCustomToolCallOutputItemResource)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + // Plugin customization: remove options.Format != "W" check + if (!Patch.Contains("$.status"u8)) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + } + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (Optional.IsDefined(Output) && !Patch.Contains("$.output"u8)) + { + writer.WritePropertyName("output"u8); + writer.WriteStringValue(Output); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalCustomToolCallOutputItemResource IJsonModel<InternalCustomToolCallOutputItemResource>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalCustomToolCallOutputItemResource)JsonModelCreateCore(ref reader, options); + + protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalCustomToolCallOutputItemResource)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalCustomToolCallOutputItemResource(document.RootElement, null, options); + } + + internal static InternalCustomToolCallOutputItemResource DeserializeInternalCustomToolCallOutputItemResource(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = default; + string id = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + InternalCustomToolCallOutputItemResourceStatus status = default; + string callId = default; + string output = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("id"u8)) + { + id = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("status"u8)) + { + status = new InternalCustomToolCallOutputItemResourceStatus(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("output"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + output = null; + continue; + } + output = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalCustomToolCallOutputItemResource( + kind, + id, + patch, + status, + callId, + output); + } + + BinaryData IPersistableModel<InternalCustomToolCallOutputItemResource>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalCustomToolCallOutputItemResource)} does not support writing '{options.Format}' format."); + } + } + + InternalCustomToolCallOutputItemResource IPersistableModel<InternalCustomToolCallOutputItemResource>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalCustomToolCallOutputItemResource)PersistableModelCreateCore(data, options); + + protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalCustomToolCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalCustomToolCallOutputItemResource(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalCustomToolCallOutputItemResource)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalCustomToolCallOutputItemResource>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResource.cs b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResource.cs new file mode 100644 index 000000000..b2245dd66 --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResource.cs @@ -0,0 +1,31 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalCustomToolCallOutputItemResource : ResponseItem + { + public InternalCustomToolCallOutputItemResource(string callId) : base(InternalItemType.CustomToolCallOutput) + { + CallId = callId; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalCustomToolCallOutputItemResource(InternalItemType kind, string id, in JsonPatch patch, InternalCustomToolCallOutputItemResourceStatus status, string callId, string output) : base(kind, id, patch) + { + Status = status; + CallId = callId; + Output = output; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + internal InternalCustomToolCallOutputItemResourceStatus Status { get; } + + public string CallId { get; set; } + + public string Output { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResourceStatus.cs b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResourceStatus.cs new file mode 100644 index 000000000..09c2643bf --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolCallOutputItemResourceStatus.cs @@ -0,0 +1,46 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalCustomToolCallOutputItemResourceStatus : IEquatable<InternalCustomToolCallOutputItemResourceStatus> + { + private readonly string _value; + private const string InProgressValue = "in_progress"; + private const string CompletedValue = "completed"; + private const string IncompleteValue = "incomplete"; + + public InternalCustomToolCallOutputItemResourceStatus(string value) + { + _value = value; + } + + internal static InternalCustomToolCallOutputItemResourceStatus InProgress { get; } = new InternalCustomToolCallOutputItemResourceStatus(InProgressValue); + + internal static InternalCustomToolCallOutputItemResourceStatus Completed { get; } = new InternalCustomToolCallOutputItemResourceStatus(CompletedValue); + + internal static InternalCustomToolCallOutputItemResourceStatus Incomplete { get; } = new InternalCustomToolCallOutputItemResourceStatus(IncompleteValue); + + public static bool operator ==(InternalCustomToolCallOutputItemResourceStatus left, InternalCustomToolCallOutputItemResourceStatus right) => left.Equals(right); + + public static bool operator !=(InternalCustomToolCallOutputItemResourceStatus left, InternalCustomToolCallOutputItemResourceStatus right) => !left.Equals(right); + + public static implicit operator InternalCustomToolCallOutputItemResourceStatus(string value) => new InternalCustomToolCallOutputItemResourceStatus(value); + + public static implicit operator InternalCustomToolCallOutputItemResourceStatus?(string value) => value == null ? null : new InternalCustomToolCallOutputItemResourceStatus(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalCustomToolCallOutputItemResourceStatus other && Equals(other); + + public bool Equals(InternalCustomToolCallOutputItemResourceStatus 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/Responses/InternalCustomToolParamFormatType.cs b/src/Generated/Models/Responses/InternalCustomToolParamFormatType.cs new file mode 100644 index 000000000..6c410e035 --- /dev/null +++ b/src/Generated/Models/Responses/InternalCustomToolParamFormatType.cs @@ -0,0 +1,43 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalCustomToolParamFormatType : IEquatable<InternalCustomToolParamFormatType> + { + private readonly string _value; + private const string TextValue = "text"; + private const string GrammarValue = "grammar"; + + public InternalCustomToolParamFormatType(string value) + { + _value = value; + } + + internal static InternalCustomToolParamFormatType Text { get; } = new InternalCustomToolParamFormatType(TextValue); + + internal static InternalCustomToolParamFormatType Grammar { get; } = new InternalCustomToolParamFormatType(GrammarValue); + + public static bool operator ==(InternalCustomToolParamFormatType left, InternalCustomToolParamFormatType right) => left.Equals(right); + + public static bool operator !=(InternalCustomToolParamFormatType left, InternalCustomToolParamFormatType right) => !left.Equals(right); + + public static implicit operator InternalCustomToolParamFormatType(string value) => new InternalCustomToolParamFormatType(value); + + public static implicit operator InternalCustomToolParamFormatType?(string value) => value == null ? null : new InternalCustomToolParamFormatType(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalCustomToolParamFormatType other && Equals(other); + + public bool Equals(InternalCustomToolParamFormatType 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/Responses/InternalFunctionShellActionParam.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellActionParam.Serialization.cs new file mode 100644 index 000000000..0f41d947a --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellActionParam.Serialization.cs @@ -0,0 +1,188 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellActionParam : IJsonModel<InternalFunctionShellActionParam> + { + internal InternalFunctionShellActionParam() : this(null, default, null, default) + { + } + + void IJsonModel<InternalFunctionShellActionParam>.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(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellActionParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellActionParam)} 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("$.commands"u8)) + { + if (!Patch.IsRemoved("$.commands"u8)) + { + writer.WritePropertyName("commands"u8); + writer.WriteRawValue(Patch.GetJson("$.commands"u8)); + } + } + else + { + writer.WritePropertyName("commands"u8); + writer.WriteStartArray(); + for (int i = 0; i < Commands.Count; i++) + { + if (Patch.IsRemoved(Encoding.UTF8.GetBytes($"$.commands[{i}]"))) + { + continue; + } + if (Commands[i] == null) + { + writer.WriteNullValue(); + continue; + } + writer.WriteStringValue(Commands[i]); + } + Patch.WriteTo(writer, "$.commands"u8); + writer.WriteEndArray(); + } + if (Optional.IsDefined(TimeoutMs) && !Patch.Contains("$.timeout_ms"u8)) + { + writer.WritePropertyName("timeout_ms"u8); + writer.WriteNumberValue(TimeoutMs.Value); + } + if (Optional.IsDefined(WorkingDirectory) && !Patch.Contains("$.working_directory"u8)) + { + writer.WritePropertyName("working_directory"u8); + writer.WriteStringValue(WorkingDirectory); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellActionParam IJsonModel<InternalFunctionShellActionParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalFunctionShellActionParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellActionParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellActionParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellActionParam(document.RootElement, null, options); + } + + internal static InternalFunctionShellActionParam DeserializeInternalFunctionShellActionParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + IList<string> commands = default; + int? timeoutMs = default; + string workingDirectory = 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<byte>.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("commands"u8)) + { + List<string> array = new List<string>(); + foreach (var item in prop.Value.EnumerateArray()) + { + if (item.ValueKind == JsonValueKind.Null) + { + array.Add(null); + } + else + { + array.Add(item.GetString()); + } + } + commands = array; + continue; + } + if (prop.NameEquals("timeout_ms"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + timeoutMs = null; + continue; + } + timeoutMs = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("working_directory"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + workingDirectory = null; + continue; + } + workingDirectory = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalFunctionShellActionParam(commands, timeoutMs, workingDirectory, patch); + } + + BinaryData IPersistableModel<InternalFunctionShellActionParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellActionParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellActionParam)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellActionParam IPersistableModel<InternalFunctionShellActionParam>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalFunctionShellActionParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellActionParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellActionParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellActionParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellActionParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellActionParam.cs b/src/Generated/Models/Responses/InternalFunctionShellActionParam.cs new file mode 100644 index 000000000..43296f7fc --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellActionParam.cs @@ -0,0 +1,47 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using System.Text.Json.Serialization; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellActionParam + { + [Experimental("SCME0001")] + private JsonPatch _patch; + + public InternalFunctionShellActionParam(IEnumerable<string> commands) + { + Commands = commands.ToList(); + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellActionParam(IList<string> commands, int? timeoutMs, string workingDirectory, in JsonPatch patch) + { + // Plugin customization: ensure initialization of collections + Commands = commands ?? new ChangeTrackingList<string>(); + TimeoutMs = timeoutMs; + WorkingDirectory = workingDirectory; + _patch = patch; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + [JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + [Experimental("SCME0001")] + public ref JsonPatch Patch => ref _patch; + + public IList<string> Commands { get; } + + public int? TimeoutMs { get; set; } + + public string WorkingDirectory { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellCallItemParam.Serialization.cs new file mode 100644 index 000000000..7592fc2a7 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallItemParam.Serialization.cs @@ -0,0 +1,166 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallItemParam : InternalItemParam, IJsonModel<InternalFunctionShellCallItemParam> + { + internal InternalFunctionShellCallItemParam() : this(InternalItemType.ShellCall, default, null, null) + { + } + + void IJsonModel<InternalFunctionShellCallItemParam>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallItemParam)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (!Patch.Contains("$.action"u8)) + { + writer.WritePropertyName("action"u8); + writer.WriteObjectValue(Action, options); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallItemParam IJsonModel<InternalFunctionShellCallItemParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionShellCallItemParam)JsonModelCreateCore(ref reader, options); + + protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallItemParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallItemParam(document.RootElement, null, options); + } + + internal static InternalFunctionShellCallItemParam DeserializeInternalFunctionShellCallItemParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string callId = default; + InternalFunctionShellActionParam action = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("action"u8)) + { + action = InternalFunctionShellActionParam.DeserializeInternalFunctionShellActionParam(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalFunctionShellCallItemParam(kind, patch, callId, action); + } + + BinaryData IPersistableModel<InternalFunctionShellCallItemParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallItemParam)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallItemParam IPersistableModel<InternalFunctionShellCallItemParam>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionShellCallItemParam)PersistableModelCreateCore(data, options); + + protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallItemParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallItemParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallItemParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + + if (local.StartsWith("action"u8)) + { + return Action.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("action"u8.Length)], out value); + } + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + + if (local.StartsWith("action"u8)) + { + Action.Patch.Set([.. "$"u8, .. local.Slice("action"u8.Length)], 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/Responses/InternalFunctionShellCallItemParam.cs b/src/Generated/Models/Responses/InternalFunctionShellCallItemParam.cs new file mode 100644 index 000000000..590aba87f --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallItemParam.cs @@ -0,0 +1,30 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallItemParam : InternalItemParam + { + internal InternalFunctionShellCallItemParam(string callId, InternalFunctionShellActionParam action) : base(InternalItemType.ShellCall) + { + CallId = callId; + Action = action; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellCallItemParam(InternalItemType kind, in JsonPatch patch, string callId, InternalFunctionShellActionParam action) : base(kind, patch) + { + CallId = callId; + Action = action; + Patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string CallId { get; } + + internal InternalFunctionShellActionParam Action { get; } + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellCallItemResource.Serialization.cs new file mode 100644 index 000000000..56cfdd7a8 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallItemResource.Serialization.cs @@ -0,0 +1,190 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallItemResource : ResponseItem, IJsonModel<InternalFunctionShellCallItemResource> + { + internal InternalFunctionShellCallItemResource() : this(InternalItemType.ShellCall, null, default, default, null, null) + { + } + + void IJsonModel<InternalFunctionShellCallItemResource>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallItemResource)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + // Plugin customization: remove options.Format != "W" check + if (!Patch.Contains("$.status"u8)) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + } + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (!Patch.Contains("$.action"u8)) + { + writer.WritePropertyName("action"u8); + writer.WriteObjectValue(Action, options); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallItemResource IJsonModel<InternalFunctionShellCallItemResource>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionShellCallItemResource)JsonModelCreateCore(ref reader, options); + + protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallItemResource)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallItemResource(document.RootElement, null, options); + } + + internal static InternalFunctionShellCallItemResource DeserializeInternalFunctionShellCallItemResource(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = default; + string id = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + InternalFunctionShellCallItemStatus status = default; + string callId = default; + InternalFunctionShellActionParam action = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("id"u8)) + { + id = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("status"u8)) + { + status = new InternalFunctionShellCallItemStatus(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("action"u8)) + { + action = InternalFunctionShellActionParam.DeserializeInternalFunctionShellActionParam(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalFunctionShellCallItemResource( + kind, + id, + patch, + status, + callId, + action); + } + + BinaryData IPersistableModel<InternalFunctionShellCallItemResource>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallItemResource)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallItemResource IPersistableModel<InternalFunctionShellCallItemResource>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionShellCallItemResource)PersistableModelCreateCore(data, options); + + protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallItemResource(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallItemResource)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallItemResource>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + + if (local.StartsWith("action"u8)) + { + return Action.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("action"u8.Length)], out value); + } + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + + if (local.StartsWith("action"u8)) + { + Action.Patch.Set([.. "$"u8, .. local.Slice("action"u8.Length)], 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/Responses/InternalFunctionShellCallItemResource.cs b/src/Generated/Models/Responses/InternalFunctionShellCallItemResource.cs new file mode 100644 index 000000000..18fc23faa --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallItemResource.cs @@ -0,0 +1,33 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallItemResource : ResponseItem + { + internal InternalFunctionShellCallItemResource(string callId, InternalFunctionShellActionParam action) : base(InternalItemType.ShellCall) + { + CallId = callId; + Action = action; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellCallItemResource(InternalItemType kind, string id, in JsonPatch patch, InternalFunctionShellCallItemStatus status, string callId, InternalFunctionShellActionParam action) : base(kind, id, patch) + { + Status = status; + CallId = callId; + Action = action; + Patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + internal InternalFunctionShellCallItemStatus Status { get; } + + public string CallId { get; set; } + + internal InternalFunctionShellActionParam Action { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallItemStatus.cs b/src/Generated/Models/Responses/InternalFunctionShellCallItemStatus.cs new file mode 100644 index 000000000..75654142a --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallItemStatus.cs @@ -0,0 +1,46 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalFunctionShellCallItemStatus : IEquatable<InternalFunctionShellCallItemStatus> + { + private readonly string _value; + private const string InProgressValue = "in_progress"; + private const string CompletedValue = "completed"; + private const string IncompleteValue = "incomplete"; + + public InternalFunctionShellCallItemStatus(string value) + { + _value = value; + } + + internal static InternalFunctionShellCallItemStatus InProgress { get; } = new InternalFunctionShellCallItemStatus(InProgressValue); + + internal static InternalFunctionShellCallItemStatus Completed { get; } = new InternalFunctionShellCallItemStatus(CompletedValue); + + internal static InternalFunctionShellCallItemStatus Incomplete { get; } = new InternalFunctionShellCallItemStatus(IncompleteValue); + + public static bool operator ==(InternalFunctionShellCallItemStatus left, InternalFunctionShellCallItemStatus right) => left.Equals(right); + + public static bool operator !=(InternalFunctionShellCallItemStatus left, InternalFunctionShellCallItemStatus right) => !left.Equals(right); + + public static implicit operator InternalFunctionShellCallItemStatus(string value) => new InternalFunctionShellCallItemStatus(value); + + public static implicit operator InternalFunctionShellCallItemStatus?(string value) => value == null ? null : new InternalFunctionShellCallItemStatus(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalFunctionShellCallItemStatus other && Equals(other); + + public bool Equals(InternalFunctionShellCallItemStatus 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/Responses/InternalFunctionShellCallOutputContentParam.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputContentParam.Serialization.cs new file mode 100644 index 000000000..a4e52ed67 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputContentParam.Serialization.cs @@ -0,0 +1,180 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputContentParam : IJsonModel<InternalFunctionShellCallOutputContentParam> + { + void IJsonModel<InternalFunctionShellCallOutputContentParam>.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(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputContentParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputContentParam)} 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 (Optional.IsDefined(Stdout) && !Patch.Contains("$.stdout"u8)) + { + writer.WritePropertyName("stdout"u8); + writer.WriteStringValue(Stdout); + } + if (Optional.IsDefined(Stderr) && !Patch.Contains("$.stderr"u8)) + { + writer.WritePropertyName("stderr"u8); + writer.WriteStringValue(Stderr); + } + if (Optional.IsDefined(Outcome) && !Patch.Contains("$.outcome"u8)) + { + writer.WritePropertyName("outcome"u8); + writer.WriteObjectValue(Outcome, options); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallOutputContentParam IJsonModel<InternalFunctionShellCallOutputContentParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalFunctionShellCallOutputContentParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputContentParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputContentParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallOutputContentParam(document.RootElement, null, options); + } + + internal static InternalFunctionShellCallOutputContentParam DeserializeInternalFunctionShellCallOutputContentParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string stdout = default; + string stderr = default; + InternalFunctionShellCallOutputOutcomeParam outcome = 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<byte>.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("stdout"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + stdout = null; + continue; + } + stdout = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("stderr"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + stderr = null; + continue; + } + stderr = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("outcome"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + outcome = InternalFunctionShellCallOutputOutcomeParam.DeserializeInternalFunctionShellCallOutputOutcomeParam(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalFunctionShellCallOutputContentParam(stdout, stderr, outcome, patch); + } + + BinaryData IPersistableModel<InternalFunctionShellCallOutputContentParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputContentParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputContentParam)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallOutputContentParam IPersistableModel<InternalFunctionShellCallOutputContentParam>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalFunctionShellCallOutputContentParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputContentParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallOutputContentParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputContentParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallOutputContentParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + + if (local.StartsWith("outcome"u8)) + { + return Outcome.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("outcome"u8.Length)], out value); + } + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + + if (local.StartsWith("outcome"u8)) + { + Outcome.Patch.Set([.. "$"u8, .. local.Slice("outcome"u8.Length)], 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/Responses/InternalFunctionShellCallOutputContentParam.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputContentParam.cs new file mode 100644 index 000000000..aad11fc71 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputContentParam.cs @@ -0,0 +1,43 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using System.Text.Json.Serialization; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputContentParam + { + [Experimental("SCME0001")] + private JsonPatch _patch; + + public InternalFunctionShellCallOutputContentParam() + { + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellCallOutputContentParam(string stdout, string stderr, InternalFunctionShellCallOutputOutcomeParam outcome, in JsonPatch patch) + { + Stdout = stdout; + Stderr = stderr; + Outcome = outcome; + _patch = patch; + _patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + [JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + [Experimental("SCME0001")] + public ref JsonPatch Patch => ref _patch; + + public string Stdout { get; set; } + + public string Stderr { get; set; } + + internal InternalFunctionShellCallOutputOutcomeParam Outcome { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemParam.Serialization.cs new file mode 100644 index 000000000..48dff1947 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemParam.Serialization.cs @@ -0,0 +1,182 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputItemParam : InternalItemParam, IJsonModel<InternalFunctionShellCallOutputItemParam> + { + internal InternalFunctionShellCallOutputItemParam() : this(InternalItemType.ShellCallOutput, default, null, null, default) + { + } + + void IJsonModel<InternalFunctionShellCallOutputItemParam>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputItemParam)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (!Patch.Contains("$.output"u8)) + { + writer.WritePropertyName("output"u8); + writer.WriteObjectValue(Output, options); + } + if (Optional.IsDefined(MaxOutputLength) && !Patch.Contains("$.max_output_length"u8)) + { + writer.WritePropertyName("max_output_length"u8); + writer.WriteNumberValue(MaxOutputLength.Value); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallOutputItemParam IJsonModel<InternalFunctionShellCallOutputItemParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionShellCallOutputItemParam)JsonModelCreateCore(ref reader, options); + + protected override InternalItemParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputItemParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallOutputItemParam(document.RootElement, null, options); + } + + internal static InternalFunctionShellCallOutputItemParam DeserializeInternalFunctionShellCallOutputItemParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string callId = default; + InternalFunctionShellCallOutputContentParam output = default; + int? maxOutputLength = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("output"u8)) + { + output = InternalFunctionShellCallOutputContentParam.DeserializeInternalFunctionShellCallOutputContentParam(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + if (prop.NameEquals("max_output_length"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + maxOutputLength = null; + continue; + } + maxOutputLength = prop.Value.GetInt32(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalFunctionShellCallOutputItemParam(kind, patch, callId, output, maxOutputLength); + } + + BinaryData IPersistableModel<InternalFunctionShellCallOutputItemParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputItemParam)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallOutputItemParam IPersistableModel<InternalFunctionShellCallOutputItemParam>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionShellCallOutputItemParam)PersistableModelCreateCore(data, options); + + protected override InternalItemParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputItemParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallOutputItemParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputItemParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallOutputItemParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + + if (local.StartsWith("output"u8)) + { + return Output.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("output"u8.Length)], out value); + } + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + + if (local.StartsWith("output"u8)) + { + Output.Patch.Set([.. "$"u8, .. local.Slice("output"u8.Length)], 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/Responses/InternalFunctionShellCallOutputItemParam.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemParam.cs new file mode 100644 index 000000000..e0aa5b83a --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemParam.cs @@ -0,0 +1,33 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputItemParam : InternalItemParam + { + internal InternalFunctionShellCallOutputItemParam(string callId, InternalFunctionShellCallOutputContentParam output) : base(InternalItemType.ShellCallOutput) + { + CallId = callId; + Output = output; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellCallOutputItemParam(InternalItemType kind, in JsonPatch patch, string callId, InternalFunctionShellCallOutputContentParam output, int? maxOutputLength) : base(kind, patch) + { + CallId = callId; + Output = output; + MaxOutputLength = maxOutputLength; + Patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string CallId { get; } + + internal InternalFunctionShellCallOutputContentParam Output { get; } + + public int? MaxOutputLength { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemResource.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemResource.Serialization.cs new file mode 100644 index 000000000..48a59e6b8 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemResource.Serialization.cs @@ -0,0 +1,207 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputItemResource : ResponseItem, IJsonModel<InternalFunctionShellCallOutputItemResource> + { + internal InternalFunctionShellCallOutputItemResource() : this(InternalItemType.ShellCallOutput, null, default, default, null, null, default) + { + } + + void IJsonModel<InternalFunctionShellCallOutputItemResource>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputItemResource)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + // Plugin customization: remove options.Format != "W" check + if (!Patch.Contains("$.status"u8)) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + } + if (!Patch.Contains("$.call_id"u8)) + { + writer.WritePropertyName("call_id"u8); + writer.WriteStringValue(CallId); + } + if (!Patch.Contains("$.output"u8)) + { + writer.WritePropertyName("output"u8); + writer.WriteObjectValue(Output, options); + } + if (Optional.IsDefined(MaxOutputLength) && !Patch.Contains("$.max_output_length"u8)) + { + writer.WritePropertyName("max_output_length"u8); + writer.WriteNumberValue(MaxOutputLength.Value); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallOutputItemResource IJsonModel<InternalFunctionShellCallOutputItemResource>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionShellCallOutputItemResource)JsonModelCreateCore(ref reader, options); + + protected override ResponseItem JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputItemResource)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallOutputItemResource(document.RootElement, null, options); + } + + internal static InternalFunctionShellCallOutputItemResource DeserializeInternalFunctionShellCallOutputItemResource(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalItemType kind = default; + string id = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + InternalFunctionShellCallOutputItemResourceStatus status = default; + string callId = default; + InternalFunctionShellCallOutputContentParam output = default; + int? maxOutputLength = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalItemType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("id"u8)) + { + id = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("status"u8)) + { + status = new InternalFunctionShellCallOutputItemResourceStatus(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("call_id"u8)) + { + callId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("output"u8)) + { + output = InternalFunctionShellCallOutputContentParam.DeserializeInternalFunctionShellCallOutputContentParam(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + if (prop.NameEquals("max_output_length"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + maxOutputLength = null; + continue; + } + maxOutputLength = prop.Value.GetInt32(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalFunctionShellCallOutputItemResource( + kind, + id, + patch, + status, + callId, + output, + maxOutputLength); + } + + BinaryData IPersistableModel<InternalFunctionShellCallOutputItemResource>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputItemResource)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallOutputItemResource IPersistableModel<InternalFunctionShellCallOutputItemResource>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionShellCallOutputItemResource)PersistableModelCreateCore(data, options); + + protected override ResponseItem PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputItemResource>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallOutputItemResource(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputItemResource)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallOutputItemResource>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + + if (local.StartsWith("output"u8)) + { + return Output.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("output"u8.Length)], out value); + } + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + + if (local.StartsWith("output"u8)) + { + Output.Patch.Set([.. "$"u8, .. local.Slice("output"u8.Length)], 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/Responses/InternalFunctionShellCallOutputItemResource.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemResource.cs new file mode 100644 index 000000000..b6166e291 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemResource.cs @@ -0,0 +1,36 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputItemResource : ResponseItem + { + internal InternalFunctionShellCallOutputItemResource(string callId, InternalFunctionShellCallOutputContentParam output) : base(InternalItemType.ShellCallOutput) + { + CallId = callId; + Output = output; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellCallOutputItemResource(InternalItemType kind, string id, in JsonPatch patch, InternalFunctionShellCallOutputItemResourceStatus status, string callId, InternalFunctionShellCallOutputContentParam output, int? maxOutputLength) : base(kind, id, patch) + { + Status = status; + CallId = callId; + Output = output; + MaxOutputLength = maxOutputLength; + Patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + internal InternalFunctionShellCallOutputItemResourceStatus Status { get; } + + public string CallId { get; set; } + + internal InternalFunctionShellCallOutputContentParam Output { get; set; } + + public int? MaxOutputLength { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemResourceStatus.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemResourceStatus.cs new file mode 100644 index 000000000..44742eb95 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputItemResourceStatus.cs @@ -0,0 +1,46 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalFunctionShellCallOutputItemResourceStatus : IEquatable<InternalFunctionShellCallOutputItemResourceStatus> + { + private readonly string _value; + private const string InProgressValue = "in_progress"; + private const string CompletedValue = "completed"; + private const string IncompleteValue = "incomplete"; + + public InternalFunctionShellCallOutputItemResourceStatus(string value) + { + _value = value; + } + + internal static InternalFunctionShellCallOutputItemResourceStatus InProgress { get; } = new InternalFunctionShellCallOutputItemResourceStatus(InProgressValue); + + internal static InternalFunctionShellCallOutputItemResourceStatus Completed { get; } = new InternalFunctionShellCallOutputItemResourceStatus(CompletedValue); + + internal static InternalFunctionShellCallOutputItemResourceStatus Incomplete { get; } = new InternalFunctionShellCallOutputItemResourceStatus(IncompleteValue); + + public static bool operator ==(InternalFunctionShellCallOutputItemResourceStatus left, InternalFunctionShellCallOutputItemResourceStatus right) => left.Equals(right); + + public static bool operator !=(InternalFunctionShellCallOutputItemResourceStatus left, InternalFunctionShellCallOutputItemResourceStatus right) => !left.Equals(right); + + public static implicit operator InternalFunctionShellCallOutputItemResourceStatus(string value) => new InternalFunctionShellCallOutputItemResourceStatus(value); + + public static implicit operator InternalFunctionShellCallOutputItemResourceStatus?(string value) => value == null ? null : new InternalFunctionShellCallOutputItemResourceStatus(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalFunctionShellCallOutputItemResourceStatus other && Equals(other); + + public bool Equals(InternalFunctionShellCallOutputItemResourceStatus 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/Responses/InternalFunctionShellCallOutputOutcomeExit.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeExit.Serialization.cs new file mode 100644 index 000000000..157bb61a5 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeExit.Serialization.cs @@ -0,0 +1,127 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputOutcomeExit : InternalFunctionShellCallOutputOutcomeParam, IJsonModel<InternalFunctionShellCallOutputOutcomeExit> + { + internal InternalFunctionShellCallOutputOutcomeExit() : this(null, default, default) + { + } + + void IJsonModel<InternalFunctionShellCallOutputOutcomeExit>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeExit>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeExit)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.exit_code"u8)) + { + writer.WritePropertyName("exit_code"u8); + writer.WriteNumberValue(ExitCode); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallOutputOutcomeExit IJsonModel<InternalFunctionShellCallOutputOutcomeExit>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionShellCallOutputOutcomeExit)JsonModelCreateCore(ref reader, options); + + protected override InternalFunctionShellCallOutputOutcomeParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeExit>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeExit)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallOutputOutcomeExit(document.RootElement, null, options); + } + + internal static InternalFunctionShellCallOutputOutcomeExit DeserializeInternalFunctionShellCallOutputOutcomeExit(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string kind = "exit"; +#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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + int exitCode = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("exit_code"u8)) + { + exitCode = prop.Value.GetInt32(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalFunctionShellCallOutputOutcomeExit(kind, patch, exitCode); + } + + BinaryData IPersistableModel<InternalFunctionShellCallOutputOutcomeExit>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeExit>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeExit)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallOutputOutcomeExit IPersistableModel<InternalFunctionShellCallOutputOutcomeExit>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionShellCallOutputOutcomeExit)PersistableModelCreateCore(data, options); + + protected override InternalFunctionShellCallOutputOutcomeParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeExit>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallOutputOutcomeExit(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeExit)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallOutputOutcomeExit>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeExit.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeExit.cs new file mode 100644 index 000000000..79121fd5e --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeExit.cs @@ -0,0 +1,25 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputOutcomeExit : InternalFunctionShellCallOutputOutcomeParam + { + public InternalFunctionShellCallOutputOutcomeExit(int exitCode) : base("exit") + { + ExitCode = exitCode; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellCallOutputOutcomeExit(string kind, in JsonPatch patch, int exitCode) : base(kind, patch) + { + ExitCode = exitCode; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public int ExitCode { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeParam.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeParam.Serialization.cs new file mode 100644 index 000000000..fc135e331 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeParam.Serialization.cs @@ -0,0 +1,115 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + [PersistableModelProxy(typeof(InternalUnknownFunctionShellCallOutputOutcomeParam))] + internal abstract partial class InternalFunctionShellCallOutputOutcomeParam : IJsonModel<InternalFunctionShellCallOutputOutcomeParam> + { + internal InternalFunctionShellCallOutputOutcomeParam() + { + } + + void IJsonModel<InternalFunctionShellCallOutputOutcomeParam>.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(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeParam)} 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("$.type"u8)) + { + writer.WritePropertyName("type"u8); + writer.WriteStringValue(Kind); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallOutputOutcomeParam IJsonModel<InternalFunctionShellCallOutputOutcomeParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalFunctionShellCallOutputOutcomeParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallOutputOutcomeParam(document.RootElement, null, options); + } + + internal static InternalFunctionShellCallOutputOutcomeParam DeserializeInternalFunctionShellCallOutputOutcomeParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + if (element.TryGetProperty("type"u8, out JsonElement discriminator)) + { + switch (discriminator.GetString()) + { + case "timeout": + return InternalFunctionShellCallOutputOutcomeTimeout.DeserializeInternalFunctionShellCallOutputOutcomeTimeout(element, data, options); + case "exit": + return InternalFunctionShellCallOutputOutcomeExit.DeserializeInternalFunctionShellCallOutputOutcomeExit(element, data, options); + } + } + return InternalUnknownFunctionShellCallOutputOutcomeParam.DeserializeInternalUnknownFunctionShellCallOutputOutcomeParam(element, data, options); + } + + BinaryData IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeParam)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallOutputOutcomeParam IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalFunctionShellCallOutputOutcomeParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallOutputOutcomeParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeParam.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeParam.cs new file mode 100644 index 000000000..9f1eb0178 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeParam.cs @@ -0,0 +1,37 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using System.Text.Json.Serialization; + +namespace OpenAI.Responses +{ + internal abstract partial class InternalFunctionShellCallOutputOutcomeParam + { + [Experimental("SCME0001")] + private JsonPatch _patch; + + private protected InternalFunctionShellCallOutputOutcomeParam(string kind) + { + Kind = kind; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellCallOutputOutcomeParam(string kind, in JsonPatch patch) + { + Kind = kind; + _patch = patch; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + [JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + [Experimental("SCME0001")] + public ref JsonPatch Patch => ref _patch; + + internal string Kind { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeTimeout.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeTimeout.Serialization.cs new file mode 100644 index 000000000..4b0d71611 --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeTimeout.Serialization.cs @@ -0,0 +1,112 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputOutcomeTimeout : InternalFunctionShellCallOutputOutcomeParam, IJsonModel<InternalFunctionShellCallOutputOutcomeTimeout> + { + void IJsonModel<InternalFunctionShellCallOutputOutcomeTimeout>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeTimeout>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeTimeout)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallOutputOutcomeTimeout IJsonModel<InternalFunctionShellCallOutputOutcomeTimeout>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionShellCallOutputOutcomeTimeout)JsonModelCreateCore(ref reader, options); + + protected override InternalFunctionShellCallOutputOutcomeParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeTimeout>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeTimeout)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallOutputOutcomeTimeout(document.RootElement, null, options); + } + + internal static InternalFunctionShellCallOutputOutcomeTimeout DeserializeInternalFunctionShellCallOutputOutcomeTimeout(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string kind = "timeout"; +#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<byte>.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("type"u8)) + { + kind = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalFunctionShellCallOutputOutcomeTimeout(kind, patch); + } + + BinaryData IPersistableModel<InternalFunctionShellCallOutputOutcomeTimeout>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeTimeout>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeTimeout)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallOutputOutcomeTimeout IPersistableModel<InternalFunctionShellCallOutputOutcomeTimeout>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalFunctionShellCallOutputOutcomeTimeout)PersistableModelCreateCore(data, options); + + protected override InternalFunctionShellCallOutputOutcomeParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeTimeout>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallOutputOutcomeTimeout(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeTimeout)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallOutputOutcomeTimeout>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeTimeout.cs b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeTimeout.cs new file mode 100644 index 000000000..7a6fb509a --- /dev/null +++ b/src/Generated/Models/Responses/InternalFunctionShellCallOutputOutcomeTimeout.cs @@ -0,0 +1,21 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalFunctionShellCallOutputOutcomeTimeout : InternalFunctionShellCallOutputOutcomeParam + { + public InternalFunctionShellCallOutputOutcomeTimeout() : this(null, default) + { + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalFunctionShellCallOutputOutcomeTimeout(string kind, in JsonPatch patch) : base(kind, patch) + { + } +#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/Responses/InternalItemParam.Serialization.cs b/src/Generated/Models/Responses/InternalItemParam.Serialization.cs index c47713882..857e495c4 100644 --- a/src/Generated/Models/Responses/InternalItemParam.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemParam.Serialization.cs @@ -104,6 +104,18 @@ internal static InternalItemParam DeserializeInternalItemParam(JsonElement eleme return InternalMCPApprovalResponseItemParam.DeserializeInternalMCPApprovalResponseItemParam(element, data, options); case "mcp_call": return InternalMCPCallItemParam.DeserializeInternalMCPCallItemParam(element, data, options); + case "shell_call": + return InternalFunctionShellCallItemParam.DeserializeInternalFunctionShellCallItemParam(element, data, options); + case "shell_call_output": + return InternalFunctionShellCallOutputItemParam.DeserializeInternalFunctionShellCallOutputItemParam(element, data, options); + case "apply_patch_call": + return InternalApplyPatchToolCallItemParam.DeserializeInternalApplyPatchToolCallItemParam(element, data, options); + case "apply_patch_call_output": + return InternalApplyPatchToolCallOutputItemParam.DeserializeInternalApplyPatchToolCallOutputItemParam(element, data, options); + case "custom_tool_call": + return InternalCustomToolCallItemParam.DeserializeInternalCustomToolCallItemParam(element, data, options); + case "custom_tool_call_output": + return InternalCustomToolCallOutputItemParam.DeserializeInternalCustomToolCallOutputItemParam(element, data, options); } } return InternalUnknownItemParam.DeserializeInternalUnknownItemParam(element, data, options); diff --git a/src/Generated/Models/Responses/InternalItemType.cs b/src/Generated/Models/Responses/InternalItemType.cs index d796907f0..fe9a660f0 100644 --- a/src/Generated/Models/Responses/InternalItemType.cs +++ b/src/Generated/Models/Responses/InternalItemType.cs @@ -27,6 +27,12 @@ namespace OpenAI.Responses private const string McpApprovalRequestValue = "mcp_approval_request"; private const string McpApprovalResponseValue = "mcp_approval_response"; private const string McpCallValue = "mcp_call"; + private const string ShellCallValue = "shell_call"; + private const string ShellCallOutputValue = "shell_call_output"; + private const string ApplyPatchCallValue = "apply_patch_call"; + private const string ApplyPatchCallOutputValue = "apply_patch_call_output"; + private const string CustomToolCallValue = "custom_tool_call"; + private const string CustomToolCallOutputValue = "custom_tool_call_output"; public InternalItemType(string value) { @@ -67,6 +73,18 @@ public InternalItemType(string value) internal static InternalItemType McpCall { get; } = new InternalItemType(McpCallValue); + internal static InternalItemType ShellCall { get; } = new InternalItemType(ShellCallValue); + + internal static InternalItemType ShellCallOutput { get; } = new InternalItemType(ShellCallOutputValue); + + internal static InternalItemType ApplyPatchCall { get; } = new InternalItemType(ApplyPatchCallValue); + + internal static InternalItemType ApplyPatchCallOutput { get; } = new InternalItemType(ApplyPatchCallOutputValue); + + internal static InternalItemType CustomToolCall { get; } = new InternalItemType(CustomToolCallValue); + + internal static InternalItemType CustomToolCallOutput { get; } = new InternalItemType(CustomToolCallOutputValue); + public static bool operator ==(InternalItemType left, InternalItemType right) => left.Equals(right); public static bool operator !=(InternalItemType left, InternalItemType right) => !left.Equals(right); diff --git a/src/Generated/Models/Responses/InternalPrompt.Serialization.cs b/src/Generated/Models/Responses/InternalPrompt.Serialization.cs new file mode 100644 index 000000000..2314e93e9 --- /dev/null +++ b/src/Generated/Models/Responses/InternalPrompt.Serialization.cs @@ -0,0 +1,168 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalPrompt : IJsonModel<InternalPrompt> + { + internal InternalPrompt() + { + } + + void IJsonModel<InternalPrompt>.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(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalPrompt>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalPrompt)} 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("$.id"u8)) + { + writer.WritePropertyName("id"u8); + writer.WriteStringValue(Id); + } + if (Optional.IsDefined(Version) && !Patch.Contains("$.version"u8)) + { + writer.WritePropertyName("version"u8); + writer.WriteStringValue(Version); + } + if (Optional.IsDefined(Variables) && !Patch.Contains("$.variables"u8)) + { + writer.WritePropertyName("variables"u8); + writer.WriteObjectValue(Variables, options); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalPrompt IJsonModel<InternalPrompt>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalPrompt JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalPrompt>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalPrompt)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalPrompt(document.RootElement, null, options); + } + + internal static InternalPrompt DeserializeInternalPrompt(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string id = default; + string version = default; + InternalResponsePromptVariables variables = 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<byte>.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("id"u8)) + { + id = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("version"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + version = null; + continue; + } + version = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("variables"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + variables = InternalResponsePromptVariables.DeserializeInternalResponsePromptVariables(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalPrompt(id, version, variables, patch); + } + + BinaryData IPersistableModel<InternalPrompt>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalPrompt>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalPrompt)} does not support writing '{options.Format}' format."); + } + } + + InternalPrompt IPersistableModel<InternalPrompt>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalPrompt PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalPrompt>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalPrompt(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalPrompt)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalPrompt>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + value = default; + return false; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue value) + { + ReadOnlySpan<byte> local = jsonPath.SliceToStartOfPropertyName(); + 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/Responses/InternalPrompt.cs b/src/Generated/Models/Responses/InternalPrompt.cs new file mode 100644 index 000000000..062558ef3 --- /dev/null +++ b/src/Generated/Models/Responses/InternalPrompt.cs @@ -0,0 +1,44 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using System.Text.Json.Serialization; + +namespace OpenAI.Responses +{ + internal partial class InternalPrompt + { + [Experimental("SCME0001")] + private JsonPatch _patch; + + public InternalPrompt(string id) + { + Id = id; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalPrompt(string id, string version, InternalResponsePromptVariables variables, in JsonPatch patch) + { + Id = id; + Version = version; + Variables = variables; + _patch = patch; + _patch.SetPropagators(PropagateSet, PropagateGet); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + [JsonIgnore] + [EditorBrowsable(EditorBrowsableState.Never)] + [Experimental("SCME0001")] + public ref JsonPatch Patch => ref _patch; + + public string Id { get; set; } + + public string Version { get; set; } + + internal InternalResponsePromptVariables Variables { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDeltaEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDeltaEvent.Serialization.cs new file mode 100644 index 000000000..45c3d46a9 --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDeltaEvent.Serialization.cs @@ -0,0 +1,161 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalResponseCustomToolCallInputDeltaEvent : StreamingResponseUpdate, IJsonModel<InternalResponseCustomToolCallInputDeltaEvent> + { + internal InternalResponseCustomToolCallInputDeltaEvent() : this(InternalResponseStreamEventType.ResponseCustomToolCallInputDelta, default, default, default, null, null) + { + } + + void IJsonModel<InternalResponseCustomToolCallInputDeltaEvent>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseCustomToolCallInputDeltaEvent>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponseCustomToolCallInputDeltaEvent)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.output_index"u8)) + { + writer.WritePropertyName("output_index"u8); + writer.WriteNumberValue(OutputIndex); + } + if (!Patch.Contains("$.item_id"u8)) + { + writer.WritePropertyName("item_id"u8); + writer.WriteStringValue(ItemId); + } + if (!Patch.Contains("$.delta"u8)) + { + writer.WritePropertyName("delta"u8); + writer.WriteStringValue(Delta); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalResponseCustomToolCallInputDeltaEvent IJsonModel<InternalResponseCustomToolCallInputDeltaEvent>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseCustomToolCallInputDeltaEvent)JsonModelCreateCore(ref reader, options); + + protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseCustomToolCallInputDeltaEvent>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponseCustomToolCallInputDeltaEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalResponseCustomToolCallInputDeltaEvent(document.RootElement, null, options); + } + + internal static InternalResponseCustomToolCallInputDeltaEvent DeserializeInternalResponseCustomToolCallInputDeltaEvent(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalResponseStreamEventType kind = default; + int sequenceNumber = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + int outputIndex = default; + string itemId = default; + string delta = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalResponseStreamEventType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("sequence_number"u8)) + { + sequenceNumber = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("output_index"u8)) + { + outputIndex = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("item_id"u8)) + { + itemId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("delta"u8)) + { + delta = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalResponseCustomToolCallInputDeltaEvent( + kind, + sequenceNumber, + patch, + outputIndex, + itemId, + delta); + } + + BinaryData IPersistableModel<InternalResponseCustomToolCallInputDeltaEvent>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseCustomToolCallInputDeltaEvent>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalResponseCustomToolCallInputDeltaEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalResponseCustomToolCallInputDeltaEvent IPersistableModel<InternalResponseCustomToolCallInputDeltaEvent>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseCustomToolCallInputDeltaEvent)PersistableModelCreateCore(data, options); + + protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseCustomToolCallInputDeltaEvent>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalResponseCustomToolCallInputDeltaEvent(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalResponseCustomToolCallInputDeltaEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalResponseCustomToolCallInputDeltaEvent>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDeltaEvent.cs b/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDeltaEvent.cs new file mode 100644 index 000000000..656c290bc --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDeltaEvent.cs @@ -0,0 +1,33 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalResponseCustomToolCallInputDeltaEvent : StreamingResponseUpdate + { + internal InternalResponseCustomToolCallInputDeltaEvent(int sequenceNumber, int outputIndex, string itemId, string delta) : base(InternalResponseStreamEventType.ResponseCustomToolCallInputDelta, sequenceNumber) + { + OutputIndex = outputIndex; + ItemId = itemId; + Delta = delta; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalResponseCustomToolCallInputDeltaEvent(InternalResponseStreamEventType kind, int sequenceNumber, in JsonPatch patch, int outputIndex, string itemId, string delta) : base(kind, sequenceNumber, patch) + { + OutputIndex = outputIndex; + ItemId = itemId; + Delta = delta; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public int OutputIndex { get; } + + public string ItemId { get; } + + public string Delta { get; } + } +} diff --git a/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDoneEvent.Serialization.cs b/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDoneEvent.Serialization.cs new file mode 100644 index 000000000..ede6b967d --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDoneEvent.Serialization.cs @@ -0,0 +1,161 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalResponseCustomToolCallInputDoneEvent : StreamingResponseUpdate, IJsonModel<InternalResponseCustomToolCallInputDoneEvent> + { + internal InternalResponseCustomToolCallInputDoneEvent() : this(InternalResponseStreamEventType.ResponseCustomToolCallInputDone, default, default, default, null, null) + { + } + + void IJsonModel<InternalResponseCustomToolCallInputDoneEvent>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseCustomToolCallInputDoneEvent>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponseCustomToolCallInputDoneEvent)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.output_index"u8)) + { + writer.WritePropertyName("output_index"u8); + writer.WriteNumberValue(OutputIndex); + } + if (!Patch.Contains("$.item_id"u8)) + { + writer.WritePropertyName("item_id"u8); + writer.WriteStringValue(ItemId); + } + if (!Patch.Contains("$.input"u8)) + { + writer.WritePropertyName("input"u8); + writer.WriteStringValue(Input); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalResponseCustomToolCallInputDoneEvent IJsonModel<InternalResponseCustomToolCallInputDoneEvent>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseCustomToolCallInputDoneEvent)JsonModelCreateCore(ref reader, options); + + protected override StreamingResponseUpdate JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseCustomToolCallInputDoneEvent>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponseCustomToolCallInputDoneEvent)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalResponseCustomToolCallInputDoneEvent(document.RootElement, null, options); + } + + internal static InternalResponseCustomToolCallInputDoneEvent DeserializeInternalResponseCustomToolCallInputDoneEvent(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalResponseStreamEventType kind = default; + int sequenceNumber = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + int outputIndex = default; + string itemId = default; + string input = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalResponseStreamEventType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("sequence_number"u8)) + { + sequenceNumber = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("output_index"u8)) + { + outputIndex = prop.Value.GetInt32(); + continue; + } + if (prop.NameEquals("item_id"u8)) + { + itemId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("input"u8)) + { + input = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalResponseCustomToolCallInputDoneEvent( + kind, + sequenceNumber, + patch, + outputIndex, + itemId, + input); + } + + BinaryData IPersistableModel<InternalResponseCustomToolCallInputDoneEvent>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseCustomToolCallInputDoneEvent>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalResponseCustomToolCallInputDoneEvent)} does not support writing '{options.Format}' format."); + } + } + + InternalResponseCustomToolCallInputDoneEvent IPersistableModel<InternalResponseCustomToolCallInputDoneEvent>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseCustomToolCallInputDoneEvent)PersistableModelCreateCore(data, options); + + protected override StreamingResponseUpdate PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseCustomToolCallInputDoneEvent>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalResponseCustomToolCallInputDoneEvent(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalResponseCustomToolCallInputDoneEvent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalResponseCustomToolCallInputDoneEvent>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDoneEvent.cs b/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDoneEvent.cs new file mode 100644 index 000000000..0231ebf7c --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponseCustomToolCallInputDoneEvent.cs @@ -0,0 +1,33 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalResponseCustomToolCallInputDoneEvent : StreamingResponseUpdate + { + internal InternalResponseCustomToolCallInputDoneEvent(int sequenceNumber, int outputIndex, string itemId, string input) : base(InternalResponseStreamEventType.ResponseCustomToolCallInputDone, sequenceNumber) + { + OutputIndex = outputIndex; + ItemId = itemId; + Input = input; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalResponseCustomToolCallInputDoneEvent(InternalResponseStreamEventType kind, int sequenceNumber, in JsonPatch patch, int outputIndex, string itemId, string input) : base(kind, sequenceNumber, patch) + { + OutputIndex = outputIndex; + ItemId = itemId; + Input = input; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public int OutputIndex { get; } + + public string ItemId { get; } + + public string Input { get; } + } +} diff --git a/src/Generated/Models/Responses/InternalResponsePromptVariables.Serialization.cs b/src/Generated/Models/Responses/InternalResponsePromptVariables.Serialization.cs new file mode 100644 index 000000000..e19a0eb92 --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponsePromptVariables.Serialization.cs @@ -0,0 +1,115 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalResponsePromptVariables : IJsonModel<InternalResponsePromptVariables> + { + void IJsonModel<InternalResponsePromptVariables>.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<InternalResponsePromptVariables>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponsePromptVariables)} does not support writing '{format}' format."); + } + foreach (var item in AdditionalProperties) + { + writer.WritePropertyName(item.Key); + writer.WriteStringValue(item.Value); + } + foreach (var item in AdditionalBinaryDataProperties) + { + 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 + } + } + + InternalResponsePromptVariables IJsonModel<InternalResponsePromptVariables>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual InternalResponsePromptVariables JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponsePromptVariables>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponsePromptVariables)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalResponsePromptVariables(document.RootElement, null, options); + } + + internal static InternalResponsePromptVariables DeserializeInternalResponsePromptVariables(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + IDictionary<string, string> additionalProperties = new ChangeTrackingDictionary<string, string>(); + IDictionary<string, BinaryData> additionalBinaryDataProperties = new ChangeTrackingDictionary<string, BinaryData>(); + foreach (var prop in element.EnumerateObject()) + { + switch (prop.Value.ValueKind) + { + case JsonValueKind.String: + additionalProperties.Add(prop.Name, prop.Value.GetString()); + continue; + } + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new InternalResponsePromptVariables(additionalProperties, additionalBinaryDataProperties); + } + + BinaryData IPersistableModel<InternalResponsePromptVariables>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponsePromptVariables>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalResponsePromptVariables)} does not support writing '{options.Format}' format."); + } + } + + InternalResponsePromptVariables IPersistableModel<InternalResponsePromptVariables>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual InternalResponsePromptVariables PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponsePromptVariables>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalResponsePromptVariables(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalResponsePromptVariables)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalResponsePromptVariables>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalResponsePromptVariables.cs b/src/Generated/Models/Responses/InternalResponsePromptVariables.cs new file mode 100644 index 000000000..353e41301 --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponsePromptVariables.cs @@ -0,0 +1,37 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.Collections.Generic; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalResponsePromptVariables + { + private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties; + private IDictionary<string, string> _additionalStringProperties; + + public InternalResponsePromptVariables() : this(null, null) + { + } + + internal InternalResponsePromptVariables(IDictionary<string, string> additionalProperties, IDictionary<string, BinaryData> additionalBinaryDataProperties) + { + // Plugin customization: ensure initialization of collections + _additionalStringProperties = additionalProperties ?? new ChangeTrackingDictionary<string, string>(); + _additionalBinaryDataProperties = additionalBinaryDataProperties; + } + + public IDictionary<string, string> AdditionalProperties => _additionalStringProperties; + + public IDictionary<string, BinaryData> AdditionalBinaryDataProperties => _additionalBinaryDataProperties; + + internal IDictionary<string, BinaryData> SerializedAdditionalRawData + { + get => _additionalBinaryDataProperties; + set => _additionalBinaryDataProperties = value; + } + } +} diff --git a/src/Generated/Models/Responses/InternalResponseStreamEventType.cs b/src/Generated/Models/Responses/InternalResponseStreamEventType.cs index 7d2a57e98..7c39bec7b 100644 --- a/src/Generated/Models/Responses/InternalResponseStreamEventType.cs +++ b/src/Generated/Models/Responses/InternalResponseStreamEventType.cs @@ -65,6 +65,8 @@ namespace OpenAI.Responses private const string ResponseReasoningSummaryDoneValue = "response.reasoning_summary.done"; private const string ResponseReasoningTextDeltaValue = "response.reasoning_text.delta"; private const string ResponseReasoningTextDoneValue = "response.reasoning_text.done"; + private const string ResponseCustomToolCallInputDeltaValue = "response.custom_tool_call_input.delta"; + private const string ResponseCustomToolCallInputDoneValue = "response.custom_tool_call_input.done"; public InternalResponseStreamEventType(string value) { @@ -181,6 +183,10 @@ public InternalResponseStreamEventType(string value) internal static InternalResponseStreamEventType ResponseReasoningTextDone { get; } = new InternalResponseStreamEventType(ResponseReasoningTextDoneValue); + internal static InternalResponseStreamEventType ResponseCustomToolCallInputDelta { get; } = new InternalResponseStreamEventType(ResponseCustomToolCallInputDeltaValue); + + internal static InternalResponseStreamEventType ResponseCustomToolCallInputDone { get; } = new InternalResponseStreamEventType(ResponseCustomToolCallInputDoneValue); + public static bool operator ==(InternalResponseStreamEventType left, InternalResponseStreamEventType right) => left.Equals(right); public static bool operator !=(InternalResponseStreamEventType left, InternalResponseStreamEventType right) => !left.Equals(right); diff --git a/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationGrammar.Serialization.cs b/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationGrammar.Serialization.cs new file mode 100644 index 000000000..83507f6fd --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationGrammar.Serialization.cs @@ -0,0 +1,127 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalResponseTextFormatConfigurationGrammar : ResponseTextFormat, IJsonModel<InternalResponseTextFormatConfigurationGrammar> + { + internal InternalResponseTextFormatConfigurationGrammar() : this(InternalResponsesTextFormatType.Grammar, default, null) + { + } + + void IJsonModel<InternalResponseTextFormatConfigurationGrammar>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseTextFormatConfigurationGrammar>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponseTextFormatConfigurationGrammar)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.grammar"u8)) + { + writer.WritePropertyName("grammar"u8); + writer.WriteStringValue(Grammar); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalResponseTextFormatConfigurationGrammar IJsonModel<InternalResponseTextFormatConfigurationGrammar>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseTextFormatConfigurationGrammar)JsonModelCreateCore(ref reader, options); + + protected override ResponseTextFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseTextFormatConfigurationGrammar>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponseTextFormatConfigurationGrammar)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalResponseTextFormatConfigurationGrammar(document.RootElement, null, options); + } + + internal static InternalResponseTextFormatConfigurationGrammar DeserializeInternalResponseTextFormatConfigurationGrammar(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalResponsesTextFormatType internalType = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string grammar = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + internalType = new InternalResponsesTextFormatType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("grammar"u8)) + { + grammar = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalResponseTextFormatConfigurationGrammar(internalType, patch, grammar); + } + + BinaryData IPersistableModel<InternalResponseTextFormatConfigurationGrammar>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseTextFormatConfigurationGrammar>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalResponseTextFormatConfigurationGrammar)} does not support writing '{options.Format}' format."); + } + } + + InternalResponseTextFormatConfigurationGrammar IPersistableModel<InternalResponseTextFormatConfigurationGrammar>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseTextFormatConfigurationGrammar)PersistableModelCreateCore(data, options); + + protected override ResponseTextFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseTextFormatConfigurationGrammar>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalResponseTextFormatConfigurationGrammar(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalResponseTextFormatConfigurationGrammar)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalResponseTextFormatConfigurationGrammar>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationGrammar.cs b/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationGrammar.cs new file mode 100644 index 000000000..0fa17c6ad --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationGrammar.cs @@ -0,0 +1,25 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalResponseTextFormatConfigurationGrammar : ResponseTextFormat + { + public InternalResponseTextFormatConfigurationGrammar(string grammar) : base(InternalResponsesTextFormatType.Grammar) + { + Grammar = grammar; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalResponseTextFormatConfigurationGrammar(InternalResponsesTextFormatType internalType, in JsonPatch patch, string grammar) : base(internalType, patch) + { + Grammar = grammar; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string Grammar { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationPython.Serialization.cs b/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationPython.Serialization.cs new file mode 100644 index 000000000..dad0843a2 --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationPython.Serialization.cs @@ -0,0 +1,112 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalResponseTextFormatConfigurationPython : ResponseTextFormat, IJsonModel<InternalResponseTextFormatConfigurationPython> + { + void IJsonModel<InternalResponseTextFormatConfigurationPython>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseTextFormatConfigurationPython>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponseTextFormatConfigurationPython)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalResponseTextFormatConfigurationPython IJsonModel<InternalResponseTextFormatConfigurationPython>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponseTextFormatConfigurationPython)JsonModelCreateCore(ref reader, options); + + protected override ResponseTextFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseTextFormatConfigurationPython>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalResponseTextFormatConfigurationPython)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalResponseTextFormatConfigurationPython(document.RootElement, null, options); + } + + internal static InternalResponseTextFormatConfigurationPython DeserializeInternalResponseTextFormatConfigurationPython(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalResponsesTextFormatType internalType = 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<byte>.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("type"u8)) + { + internalType = new InternalResponsesTextFormatType(prop.Value.GetString()); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalResponseTextFormatConfigurationPython(internalType, patch); + } + + BinaryData IPersistableModel<InternalResponseTextFormatConfigurationPython>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseTextFormatConfigurationPython>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalResponseTextFormatConfigurationPython)} does not support writing '{options.Format}' format."); + } + } + + InternalResponseTextFormatConfigurationPython IPersistableModel<InternalResponseTextFormatConfigurationPython>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalResponseTextFormatConfigurationPython)PersistableModelCreateCore(data, options); + + protected override ResponseTextFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalResponseTextFormatConfigurationPython>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalResponseTextFormatConfigurationPython(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalResponseTextFormatConfigurationPython)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalResponseTextFormatConfigurationPython>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationPython.cs b/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationPython.cs new file mode 100644 index 000000000..78fc07820 --- /dev/null +++ b/src/Generated/Models/Responses/InternalResponseTextFormatConfigurationPython.cs @@ -0,0 +1,21 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalResponseTextFormatConfigurationPython : ResponseTextFormat + { + public InternalResponseTextFormatConfigurationPython() : this(InternalResponsesTextFormatType.Python, default) + { + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalResponseTextFormatConfigurationPython(InternalResponsesTextFormatType internalType, in JsonPatch patch) : base(internalType, patch) + { + } +#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/Responses/InternalResponsesTextFormatType.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatType.cs index 0d2bb2859..6419675d5 100644 --- a/src/Generated/Models/Responses/InternalResponsesTextFormatType.cs +++ b/src/Generated/Models/Responses/InternalResponsesTextFormatType.cs @@ -13,6 +13,8 @@ namespace OpenAI.Responses private const string TextValue = "text"; private const string JsonSchemaValue = "json_schema"; private const string JsonObjectValue = "json_object"; + private const string GrammarValue = "grammar"; + private const string PythonValue = "python"; public InternalResponsesTextFormatType(string value) { @@ -25,6 +27,10 @@ public InternalResponsesTextFormatType(string value) internal static InternalResponsesTextFormatType JsonObject { get; } = new InternalResponsesTextFormatType(JsonObjectValue); + internal static InternalResponsesTextFormatType Grammar { get; } = new InternalResponsesTextFormatType(GrammarValue); + + internal static InternalResponsesTextFormatType Python { get; } = new InternalResponsesTextFormatType(PythonValue); + public static bool operator ==(InternalResponsesTextFormatType left, InternalResponsesTextFormatType right) => left.Equals(right); public static bool operator !=(InternalResponsesTextFormatType left, InternalResponsesTextFormatType right) => !left.Equals(right); diff --git a/src/Generated/Models/Responses/InternalToolChoiceObject.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObject.Serialization.cs index 1b060dd42..1bcf5aaaa 100644 --- a/src/Generated/Models/Responses/InternalToolChoiceObject.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObject.Serialization.cs @@ -82,6 +82,14 @@ internal static InternalToolChoiceObject DeserializeInternalToolChoiceObject(Jso return InternalToolChoiceObjectCodeInterpreter.DeserializeInternalToolChoiceObjectCodeInterpreter(element, data, options); case "mcp": return InternalToolChoiceObjectMCP.DeserializeInternalToolChoiceObjectMCP(element, data, options); + case "shell": + return InternalToolChoiceObjectShell.DeserializeInternalToolChoiceObjectShell(element, data, options); + case "apply_patch": + return InternalToolChoiceObjectApplyPatch.DeserializeInternalToolChoiceObjectApplyPatch(element, data, options); + case "custom": + return InternalToolChoiceObjectCustom.DeserializeInternalToolChoiceObjectCustom(element, data, options); + case "allowed_tools": + return InternalToolChoiceObjectAllowed.DeserializeInternalToolChoiceObjectAllowed(element, data, options); case "function": return InternalToolChoiceObjectFunction.DeserializeInternalToolChoiceObjectFunction(element, data, options); } diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectAllowed.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectAllowed.Serialization.cs new file mode 100644 index 000000000..a8693cce3 --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectAllowed.Serialization.cs @@ -0,0 +1,218 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalToolChoiceObjectAllowed : InternalToolChoiceObject, IJsonModel<InternalToolChoiceObjectAllowed> + { + internal InternalToolChoiceObjectAllowed() : this(InternalToolChoiceObjectType.AllowedTools, default, default, null) + { + } + + void IJsonModel<InternalToolChoiceObjectAllowed>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectAllowed>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalToolChoiceObjectAllowed)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.mode"u8)) + { + writer.WritePropertyName("mode"u8); + writer.WriteStringValue(Mode.ToString()); + } + if (Patch.Contains("$.tools"u8)) + { + if (!Patch.IsRemoved("$.tools"u8)) + { + writer.WritePropertyName("tools"u8); + writer.WriteRawValue(Patch.GetJson("$.tools"u8)); + } + } + else + { + writer.WritePropertyName("tools"u8); + writer.WriteStartArray(); + for (int i = 0; i < Tools.Count; i++) + { + if (Patch.IsRemoved(Encoding.UTF8.GetBytes($"$.tools[{i}]"))) + { + continue; + } + if (Tools[i] == null) + { + writer.WriteNullValue(); + continue; + } + writer.WriteStartObject(); +#if NET8_0_OR_GREATER + global::System.Span<byte> buffer = stackalloc byte[256]; +#endif + foreach (var item in Tools[i]) + { +#if NET8_0_OR_GREATER + int bytesWritten = global::System.Text.Encoding.UTF8.GetBytes(item.Key.AsSpan(), buffer); + bool patchContains = (bytesWritten == 256) ? Patch.Contains(global::System.Text.Encoding.UTF8.GetBytes($"$.tools[{i}]"), global::System.Text.Encoding.UTF8.GetBytes(item.Key)) : Patch.Contains(global::System.Text.Encoding.UTF8.GetBytes($"$.tools[{i}]"), buffer.Slice(0, bytesWritten)); +#else + bool patchContains = Patch.Contains(Encoding.UTF8.GetBytes($"$.tools[{i}]"), Encoding.UTF8.GetBytes(item.Key)); +#endif + if (!patchContains) + { + writer.WritePropertyName(item.Key); + if (item.Value == null) + { + writer.WriteNullValue(); + continue; + } +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + + Patch.WriteTo(writer, Encoding.UTF8.GetBytes($"$.tools[{i}]")); + writer.WriteEndObject(); + } + Patch.WriteTo(writer, "$.tools"u8); + writer.WriteEndArray(); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalToolChoiceObjectAllowed IJsonModel<InternalToolChoiceObjectAllowed>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectAllowed)JsonModelCreateCore(ref reader, options); + + protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectAllowed>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalToolChoiceObjectAllowed)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalToolChoiceObjectAllowed(document.RootElement, null, options); + } + + internal static InternalToolChoiceObjectAllowed DeserializeInternalToolChoiceObjectAllowed(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalToolChoiceObjectType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + InternalToolChoiceObjectAllowedMode mode = default; + IList<IDictionary<string, BinaryData>> tools = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalToolChoiceObjectType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("mode"u8)) + { + mode = new InternalToolChoiceObjectAllowedMode(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("tools"u8)) + { + List<IDictionary<string, BinaryData>> array = new List<IDictionary<string, BinaryData>>(); + foreach (var item in prop.Value.EnumerateArray()) + { + if (item.ValueKind == JsonValueKind.Null) + { + array.Add(null); + } + else + { + Dictionary<string, BinaryData> dictionary = new Dictionary<string, BinaryData>(); + foreach (var prop0 in item.EnumerateObject()) + { + if (prop0.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(prop0.Name, null); + } + else + { + dictionary.Add(prop0.Name, BinaryData.FromString(prop0.Value.GetRawText())); + } + } + array.Add(dictionary); + } + } + tools = array; + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalToolChoiceObjectAllowed(kind, patch, mode, tools); + } + + BinaryData IPersistableModel<InternalToolChoiceObjectAllowed>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectAllowed>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalToolChoiceObjectAllowed)} does not support writing '{options.Format}' format."); + } + } + + InternalToolChoiceObjectAllowed IPersistableModel<InternalToolChoiceObjectAllowed>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectAllowed)PersistableModelCreateCore(data, options); + + protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectAllowed>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalToolChoiceObjectAllowed(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalToolChoiceObjectAllowed)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalToolChoiceObjectAllowed>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectAllowed.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectAllowed.cs new file mode 100644 index 000000000..97b2a6ca2 --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectAllowed.cs @@ -0,0 +1,34 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Linq; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalToolChoiceObjectAllowed : InternalToolChoiceObject + { + internal InternalToolChoiceObjectAllowed(InternalToolChoiceObjectAllowedMode mode, IEnumerable<IDictionary<string, BinaryData>> tools) : base(InternalToolChoiceObjectType.AllowedTools) + { + Mode = mode; + Tools = tools.ToList(); + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalToolChoiceObjectAllowed(InternalToolChoiceObjectType kind, in JsonPatch patch, InternalToolChoiceObjectAllowedMode mode, IList<IDictionary<string, BinaryData>> tools) : base(kind, patch) + { + // Plugin customization: ensure initialization of collections + Mode = mode; + Tools = tools ?? new ChangeTrackingList<IDictionary<string, BinaryData>>(); + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + internal InternalToolChoiceObjectAllowedMode Mode { get; set; } + + public IList<IDictionary<string, BinaryData>> Tools { get; } + } +} diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectAllowedMode.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectAllowedMode.cs new file mode 100644 index 000000000..2a93359f0 --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectAllowedMode.cs @@ -0,0 +1,43 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ComponentModel; + +namespace OpenAI.Responses +{ + internal readonly partial struct InternalToolChoiceObjectAllowedMode : IEquatable<InternalToolChoiceObjectAllowedMode> + { + private readonly string _value; + private const string AutoValue = "auto"; + private const string RequiredValue = "required"; + + public InternalToolChoiceObjectAllowedMode(string value) + { + _value = value; + } + + internal static InternalToolChoiceObjectAllowedMode Auto { get; } = new InternalToolChoiceObjectAllowedMode(AutoValue); + + internal static InternalToolChoiceObjectAllowedMode Required { get; } = new InternalToolChoiceObjectAllowedMode(RequiredValue); + + public static bool operator ==(InternalToolChoiceObjectAllowedMode left, InternalToolChoiceObjectAllowedMode right) => left.Equals(right); + + public static bool operator !=(InternalToolChoiceObjectAllowedMode left, InternalToolChoiceObjectAllowedMode right) => !left.Equals(right); + + public static implicit operator InternalToolChoiceObjectAllowedMode(string value) => new InternalToolChoiceObjectAllowedMode(value); + + public static implicit operator InternalToolChoiceObjectAllowedMode?(string value) => value == null ? null : new InternalToolChoiceObjectAllowedMode(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InternalToolChoiceObjectAllowedMode other && Equals(other); + + public bool Equals(InternalToolChoiceObjectAllowedMode 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/Responses/InternalToolChoiceObjectApplyPatch.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectApplyPatch.Serialization.cs new file mode 100644 index 000000000..21935481c --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectApplyPatch.Serialization.cs @@ -0,0 +1,112 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalToolChoiceObjectApplyPatch : InternalToolChoiceObject, IJsonModel<InternalToolChoiceObjectApplyPatch> + { + void IJsonModel<InternalToolChoiceObjectApplyPatch>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectApplyPatch>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalToolChoiceObjectApplyPatch)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalToolChoiceObjectApplyPatch IJsonModel<InternalToolChoiceObjectApplyPatch>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectApplyPatch)JsonModelCreateCore(ref reader, options); + + protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectApplyPatch>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalToolChoiceObjectApplyPatch)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalToolChoiceObjectApplyPatch(document.RootElement, null, options); + } + + internal static InternalToolChoiceObjectApplyPatch DeserializeInternalToolChoiceObjectApplyPatch(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalToolChoiceObjectType kind = 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<byte>.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("type"u8)) + { + kind = new InternalToolChoiceObjectType(prop.Value.GetString()); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalToolChoiceObjectApplyPatch(kind, patch); + } + + BinaryData IPersistableModel<InternalToolChoiceObjectApplyPatch>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectApplyPatch>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalToolChoiceObjectApplyPatch)} does not support writing '{options.Format}' format."); + } + } + + InternalToolChoiceObjectApplyPatch IPersistableModel<InternalToolChoiceObjectApplyPatch>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectApplyPatch)PersistableModelCreateCore(data, options); + + protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectApplyPatch>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalToolChoiceObjectApplyPatch(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalToolChoiceObjectApplyPatch)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalToolChoiceObjectApplyPatch>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectApplyPatch.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectApplyPatch.cs new file mode 100644 index 000000000..9914a32ca --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectApplyPatch.cs @@ -0,0 +1,21 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalToolChoiceObjectApplyPatch : InternalToolChoiceObject + { + public InternalToolChoiceObjectApplyPatch() : this(InternalToolChoiceObjectType.ApplyPatch, default) + { + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalToolChoiceObjectApplyPatch(InternalToolChoiceObjectType kind, in JsonPatch patch) : base(kind, patch) + { + } +#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/Responses/InternalToolChoiceObjectCustom.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectCustom.Serialization.cs new file mode 100644 index 000000000..2c6e9e8da --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectCustom.Serialization.cs @@ -0,0 +1,127 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalToolChoiceObjectCustom : InternalToolChoiceObject, IJsonModel<InternalToolChoiceObjectCustom> + { + internal InternalToolChoiceObjectCustom() : this(InternalToolChoiceObjectType.Custom, default, null) + { + } + + void IJsonModel<InternalToolChoiceObjectCustom>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectCustom>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalToolChoiceObjectCustom)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.name"u8)) + { + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + } + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalToolChoiceObjectCustom IJsonModel<InternalToolChoiceObjectCustom>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectCustom)JsonModelCreateCore(ref reader, options); + + protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectCustom>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalToolChoiceObjectCustom)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalToolChoiceObjectCustom(document.RootElement, null, options); + } + + internal static InternalToolChoiceObjectCustom DeserializeInternalToolChoiceObjectCustom(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalToolChoiceObjectType kind = 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<byte>.Empty : data.ToMemory()); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string name = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("type"u8)) + { + kind = new InternalToolChoiceObjectType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("name"u8)) + { + name = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalToolChoiceObjectCustom(kind, patch, name); + } + + BinaryData IPersistableModel<InternalToolChoiceObjectCustom>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectCustom>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalToolChoiceObjectCustom)} does not support writing '{options.Format}' format."); + } + } + + InternalToolChoiceObjectCustom IPersistableModel<InternalToolChoiceObjectCustom>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectCustom)PersistableModelCreateCore(data, options); + + protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectCustom>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalToolChoiceObjectCustom(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalToolChoiceObjectCustom)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalToolChoiceObjectCustom>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectCustom.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectCustom.cs new file mode 100644 index 000000000..a3990ca03 --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectCustom.cs @@ -0,0 +1,25 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalToolChoiceObjectCustom : InternalToolChoiceObject + { + public InternalToolChoiceObjectCustom(string name) : base(InternalToolChoiceObjectType.Custom) + { + Name = name; + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalToolChoiceObjectCustom(InternalToolChoiceObjectType kind, in JsonPatch patch, string name) : base(kind, patch) + { + Name = name; + } +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string Name { get; set; } + } +} diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.Serialization.cs index db2b7c2ee..dcc1278ed 100644 --- a/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.Serialization.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.Serialization.cs @@ -12,6 +12,10 @@ namespace OpenAI.Responses { internal partial class InternalToolChoiceObjectMCP : InternalToolChoiceObject, IJsonModel<InternalToolChoiceObjectMCP> { + internal InternalToolChoiceObjectMCP() : this(InternalToolChoiceObjectType.Mcp, default, null, null) + { + } + void IJsonModel<InternalToolChoiceObjectMCP>.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. @@ -36,6 +40,16 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } base.JsonModelWriteCore(writer, options); #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + if (!Patch.Contains("$.server_label"u8)) + { + writer.WritePropertyName("server_label"u8); + writer.WriteStringValue(ServerLabel); + } + if (Optional.IsDefined(Name) && !Patch.Contains("$.name"u8)) + { + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + } Patch.WriteTo(writer); #pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. @@ -64,6 +78,8 @@ internal static InternalToolChoiceObjectMCP DeserializeInternalToolChoiceObjectM #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<byte>.Empty : data.ToMemory()); #pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + string serverLabel = default; + string name = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -71,9 +87,24 @@ internal static InternalToolChoiceObjectMCP DeserializeInternalToolChoiceObjectM kind = new InternalToolChoiceObjectType(prop.Value.GetString()); continue; } + if (prop.NameEquals("server_label"u8)) + { + serverLabel = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("name"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + name = null; + continue; + } + name = prop.Value.GetString(); + continue; + } patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); } - return new InternalToolChoiceObjectMCP(kind, patch); + return new InternalToolChoiceObjectMCP(kind, patch, serverLabel, name); } BinaryData IPersistableModel<InternalToolChoiceObjectMCP>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.cs index c0715e1de..c41aa865a 100644 --- a/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectMCP.cs @@ -8,14 +8,21 @@ namespace OpenAI.Responses { internal partial class InternalToolChoiceObjectMCP : InternalToolChoiceObject { - public InternalToolChoiceObjectMCP() : this(InternalToolChoiceObjectType.Mcp, default) + public InternalToolChoiceObjectMCP(string serverLabel) : base(InternalToolChoiceObjectType.Mcp) { + ServerLabel = serverLabel; } #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - internal InternalToolChoiceObjectMCP(InternalToolChoiceObjectType kind, in JsonPatch patch) : base(kind, patch) + internal InternalToolChoiceObjectMCP(InternalToolChoiceObjectType kind, in JsonPatch patch, string serverLabel, string name) : base(kind, patch) { + ServerLabel = serverLabel; + Name = name; } #pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + public string ServerLabel { get; set; } + + public string Name { get; set; } } } diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectShell.Serialization.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectShell.Serialization.cs new file mode 100644 index 000000000..65696302d --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectShell.Serialization.cs @@ -0,0 +1,112 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalToolChoiceObjectShell : InternalToolChoiceObject, IJsonModel<InternalToolChoiceObjectShell> + { + void IJsonModel<InternalToolChoiceObjectShell>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectShell>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalToolChoiceObjectShell)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalToolChoiceObjectShell IJsonModel<InternalToolChoiceObjectShell>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalToolChoiceObjectShell)JsonModelCreateCore(ref reader, options); + + protected override InternalToolChoiceObject JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectShell>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalToolChoiceObjectShell)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalToolChoiceObjectShell(document.RootElement, null, options); + } + + internal static InternalToolChoiceObjectShell DeserializeInternalToolChoiceObjectShell(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalToolChoiceObjectType kind = 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<byte>.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("type"u8)) + { + kind = new InternalToolChoiceObjectType(prop.Value.GetString()); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalToolChoiceObjectShell(kind, patch); + } + + BinaryData IPersistableModel<InternalToolChoiceObjectShell>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectShell>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalToolChoiceObjectShell)} does not support writing '{options.Format}' format."); + } + } + + InternalToolChoiceObjectShell IPersistableModel<InternalToolChoiceObjectShell>.Create(BinaryData data, ModelReaderWriterOptions options) => (InternalToolChoiceObjectShell)PersistableModelCreateCore(data, options); + + protected override InternalToolChoiceObject PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalToolChoiceObjectShell>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalToolChoiceObjectShell(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalToolChoiceObjectShell)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalToolChoiceObjectShell>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalToolChoiceObjectShell.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectShell.cs new file mode 100644 index 000000000..6456657eb --- /dev/null +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectShell.cs @@ -0,0 +1,21 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalToolChoiceObjectShell : InternalToolChoiceObject + { + public InternalToolChoiceObjectShell() : this(InternalToolChoiceObjectType.Shell, default) + { + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalToolChoiceObjectShell(InternalToolChoiceObjectType kind, in JsonPatch patch) : base(kind, patch) + { + } +#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/Responses/InternalToolChoiceObjectType.cs b/src/Generated/Models/Responses/InternalToolChoiceObjectType.cs index a8c20c31b..9a6f984e3 100644 --- a/src/Generated/Models/Responses/InternalToolChoiceObjectType.cs +++ b/src/Generated/Models/Responses/InternalToolChoiceObjectType.cs @@ -17,6 +17,10 @@ namespace OpenAI.Responses private const string ImageGenerationValue = "image_generation"; private const string CodeInterpreterValue = "code_interpreter"; private const string McpValue = "mcp"; + private const string ShellValue = "shell"; + private const string ApplyPatchValue = "apply_patch"; + private const string CustomValue = "custom"; + private const string AllowedToolsValue = "allowed_tools"; public InternalToolChoiceObjectType(string value) { @@ -37,6 +41,14 @@ public InternalToolChoiceObjectType(string value) internal static InternalToolChoiceObjectType Mcp { get; } = new InternalToolChoiceObjectType(McpValue); + internal static InternalToolChoiceObjectType Shell { get; } = new InternalToolChoiceObjectType(ShellValue); + + internal static InternalToolChoiceObjectType ApplyPatch { get; } = new InternalToolChoiceObjectType(ApplyPatchValue); + + internal static InternalToolChoiceObjectType Custom { get; } = new InternalToolChoiceObjectType(CustomValue); + + internal static InternalToolChoiceObjectType AllowedTools { get; } = new InternalToolChoiceObjectType(AllowedToolsValue); + public static bool operator ==(InternalToolChoiceObjectType left, InternalToolChoiceObjectType right) => left.Equals(right); public static bool operator !=(InternalToolChoiceObjectType left, InternalToolChoiceObjectType right) => !left.Equals(right); diff --git a/src/Generated/Models/Responses/InternalToolType.cs b/src/Generated/Models/Responses/InternalToolType.cs index 3187e61db..4afc65607 100644 --- a/src/Generated/Models/Responses/InternalToolType.cs +++ b/src/Generated/Models/Responses/InternalToolType.cs @@ -19,6 +19,9 @@ namespace OpenAI.Responses private const string CodeInterpreterValue = "code_interpreter"; private const string ImageGenerationValue = "image_generation"; private const string LocalShellValue = "local_shell"; + private const string ShellValue = "shell"; + private const string ApplyPatchValue = "apply_patch"; + private const string CustomValue = "custom"; public InternalToolType(string value) { @@ -43,6 +46,12 @@ public InternalToolType(string value) internal static InternalToolType LocalShell { get; } = new InternalToolType(LocalShellValue); + internal static InternalToolType Shell { get; } = new InternalToolType(ShellValue); + + internal static InternalToolType ApplyPatch { get; } = new InternalToolType(ApplyPatchValue); + + internal static InternalToolType Custom { get; } = new InternalToolType(CustomValue); + public static bool operator ==(InternalToolType left, InternalToolType right) => left.Equals(right); public static bool operator !=(InternalToolType left, InternalToolType right) => !left.Equals(right); diff --git a/src/Generated/Models/Responses/InternalUnknownApplyPatchOperationParam.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownApplyPatchOperationParam.Serialization.cs new file mode 100644 index 000000000..de0beca82 --- /dev/null +++ b/src/Generated/Models/Responses/InternalUnknownApplyPatchOperationParam.Serialization.cs @@ -0,0 +1,116 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalUnknownApplyPatchOperationParam : InternalApplyPatchOperationParam, IJsonModel<InternalApplyPatchOperationParam> + { + internal InternalUnknownApplyPatchOperationParam() : this(default, default) + { + } + + void IJsonModel<InternalApplyPatchOperationParam>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchOperationParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchOperationParam)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalApplyPatchOperationParam IJsonModel<InternalApplyPatchOperationParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected override InternalApplyPatchOperationParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchOperationParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalApplyPatchOperationParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalApplyPatchOperationParam(document.RootElement, null, options); + } + + internal static InternalUnknownApplyPatchOperationParam DeserializeInternalUnknownApplyPatchOperationParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalApplyPatchOperationType kind = 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<byte>.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("type"u8)) + { + kind = new InternalApplyPatchOperationType(prop.Value.GetString()); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalUnknownApplyPatchOperationParam(kind, patch); + } + + BinaryData IPersistableModel<InternalApplyPatchOperationParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchOperationParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalApplyPatchOperationParam)} does not support writing '{options.Format}' format."); + } + } + + InternalApplyPatchOperationParam IPersistableModel<InternalApplyPatchOperationParam>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected override InternalApplyPatchOperationParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalApplyPatchOperationParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalApplyPatchOperationParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalApplyPatchOperationParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalApplyPatchOperationParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalUnknownApplyPatchOperationParam.cs b/src/Generated/Models/Responses/InternalUnknownApplyPatchOperationParam.cs new file mode 100644 index 000000000..4674a1346 --- /dev/null +++ b/src/Generated/Models/Responses/InternalUnknownApplyPatchOperationParam.cs @@ -0,0 +1,17 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalUnknownApplyPatchOperationParam : InternalApplyPatchOperationParam + { +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalUnknownApplyPatchOperationParam(InternalApplyPatchOperationType kind, in JsonPatch patch) : base(kind != default ? kind : "unknown", patch) + { + } +#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/Responses/InternalUnknownCustomToolParamFormat.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownCustomToolParamFormat.Serialization.cs new file mode 100644 index 000000000..7e3f88d72 --- /dev/null +++ b/src/Generated/Models/Responses/InternalUnknownCustomToolParamFormat.Serialization.cs @@ -0,0 +1,116 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalUnknownCustomToolParamFormat : CustomToolFormat, IJsonModel<CustomToolFormat> + { + internal InternalUnknownCustomToolParamFormat() : this(default, default) + { + } + + void IJsonModel<CustomToolFormat>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolFormat>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomToolFormat)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + CustomToolFormat IJsonModel<CustomToolFormat>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected override CustomToolFormat JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolFormat>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(CustomToolFormat)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeCustomToolFormat(document.RootElement, null, options); + } + + internal static InternalUnknownCustomToolParamFormat DeserializeInternalUnknownCustomToolParamFormat(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalCustomToolParamFormatType kind = 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<byte>.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("type"u8)) + { + kind = new InternalCustomToolParamFormatType(prop.Value.GetString()); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalUnknownCustomToolParamFormat(kind, patch); + } + + BinaryData IPersistableModel<CustomToolFormat>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolFormat>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(CustomToolFormat)} does not support writing '{options.Format}' format."); + } + } + + CustomToolFormat IPersistableModel<CustomToolFormat>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected override CustomToolFormat PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<CustomToolFormat>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeCustomToolFormat(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(CustomToolFormat)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<CustomToolFormat>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalUnknownCustomToolParamFormat.cs b/src/Generated/Models/Responses/InternalUnknownCustomToolParamFormat.cs new file mode 100644 index 000000000..2f74b44c5 --- /dev/null +++ b/src/Generated/Models/Responses/InternalUnknownCustomToolParamFormat.cs @@ -0,0 +1,17 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalUnknownCustomToolParamFormat : CustomToolFormat + { +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalUnknownCustomToolParamFormat(InternalCustomToolParamFormatType kind, in JsonPatch patch) : base(kind != default ? kind : "unknown", patch) + { + } +#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/Responses/InternalUnknownFunctionShellCallOutputOutcomeParam.Serialization.cs b/src/Generated/Models/Responses/InternalUnknownFunctionShellCallOutputOutcomeParam.Serialization.cs new file mode 100644 index 000000000..26fa244ea --- /dev/null +++ b/src/Generated/Models/Responses/InternalUnknownFunctionShellCallOutputOutcomeParam.Serialization.cs @@ -0,0 +1,116 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + internal partial class InternalUnknownFunctionShellCallOutputOutcomeParam : InternalFunctionShellCallOutputOutcomeParam, IJsonModel<InternalFunctionShellCallOutputOutcomeParam> + { + internal InternalUnknownFunctionShellCallOutputOutcomeParam() : this(null, default) + { + } + + void IJsonModel<InternalFunctionShellCallOutputOutcomeParam>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeParam)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + InternalFunctionShellCallOutputOutcomeParam IJsonModel<InternalFunctionShellCallOutputOutcomeParam>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected override InternalFunctionShellCallOutputOutcomeParam JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeParam)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInternalFunctionShellCallOutputOutcomeParam(document.RootElement, null, options); + } + + internal static InternalUnknownFunctionShellCallOutputOutcomeParam DeserializeInternalUnknownFunctionShellCallOutputOutcomeParam(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string kind = "unknown"; +#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<byte>.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("type"u8)) + { + kind = prop.Value.GetString(); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new InternalUnknownFunctionShellCallOutputOutcomeParam(kind, patch); + } + + BinaryData IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeParam)} does not support writing '{options.Format}' format."); + } + } + + InternalFunctionShellCallOutputOutcomeParam IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected override InternalFunctionShellCallOutputOutcomeParam PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeInternalFunctionShellCallOutputOutcomeParam(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(InternalFunctionShellCallOutputOutcomeParam)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<InternalFunctionShellCallOutputOutcomeParam>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/InternalUnknownFunctionShellCallOutputOutcomeParam.cs b/src/Generated/Models/Responses/InternalUnknownFunctionShellCallOutputOutcomeParam.cs new file mode 100644 index 000000000..6186013a3 --- /dev/null +++ b/src/Generated/Models/Responses/InternalUnknownFunctionShellCallOutputOutcomeParam.cs @@ -0,0 +1,17 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; + +namespace OpenAI.Responses +{ + internal partial class InternalUnknownFunctionShellCallOutputOutcomeParam : InternalFunctionShellCallOutputOutcomeParam + { +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal InternalUnknownFunctionShellCallOutputOutcomeParam(string kind, in JsonPatch patch) : base(kind ?? "unknown", patch) + { + } +#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/Responses/ResponseContentPart.Serialization.cs b/src/Generated/Models/Responses/ResponseContentPart.Serialization.cs index 63a10cacd..87152b7d0 100644 --- a/src/Generated/Models/Responses/ResponseContentPart.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseContentPart.Serialization.cs @@ -70,18 +70,18 @@ internal static ResponseContentPart DeserializeResponseContentPart(JsonElement e { switch (discriminator.GetString()) { - case "input_audio": - return InternalItemContentInputAudio.DeserializeInternalItemContentInputAudio(element, data, options); - case "output_audio": - return InternalItemContentOutputAudio.DeserializeInternalItemContentOutputAudio(element, data, options); - case "refusal": - return InternalItemContentRefusal.DeserializeInternalItemContentRefusal(element, data, options); case "input_text": return InternalItemContentInputText.DeserializeInternalItemContentInputText(element, data, options); case "input_image": return InternalItemContentInputImage.DeserializeInternalItemContentInputImage(element, data, options); case "input_file": return InternalItemContentInputFile.DeserializeInternalItemContentInputFile(element, data, options); + case "input_audio": + return InternalItemContentInputAudio.DeserializeInternalItemContentInputAudio(element, data, options); + case "output_audio": + return InternalItemContentOutputAudio.DeserializeInternalItemContentOutputAudio(element, data, options); + case "refusal": + return InternalItemContentRefusal.DeserializeInternalItemContentRefusal(element, data, options); case "output_text": return InternalItemContentOutputText.DeserializeInternalItemContentOutputText(element, data, options); } diff --git a/src/Generated/Models/Responses/ResponseItem.Serialization.cs b/src/Generated/Models/Responses/ResponseItem.Serialization.cs index 6259dbfa9..84d7c6a0f 100644 --- a/src/Generated/Models/Responses/ResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseItem.Serialization.cs @@ -110,6 +110,18 @@ internal static ResponseItem DeserializeResponseItem(JsonElement element, Binary return McpToolCallApprovalRequestItem.DeserializeMcpToolCallApprovalRequestItem(element, data, options); case "mcp_call": return McpToolCallItem.DeserializeMcpToolCallItem(element, data, options); + case "shell_call": + return InternalFunctionShellCallItemResource.DeserializeInternalFunctionShellCallItemResource(element, data, options); + case "shell_call_output": + return InternalFunctionShellCallOutputItemResource.DeserializeInternalFunctionShellCallOutputItemResource(element, data, options); + case "apply_patch_call": + return InternalApplyPatchToolCallItemResource.DeserializeInternalApplyPatchToolCallItemResource(element, data, options); + case "apply_patch_call_output": + return InternalApplyPatchToolCallOutputItemResource.DeserializeInternalApplyPatchToolCallOutputItemResource(element, data, options); + case "custom_tool_call": + return InternalCustomToolCallItemResource.DeserializeInternalCustomToolCallItemResource(element, data, options); + case "custom_tool_call_output": + return InternalCustomToolCallOutputItemResource.DeserializeInternalCustomToolCallOutputItemResource(element, data, options); case "item_reference": return ReferenceResponseItem.DeserializeReferenceResponseItem(element, data, options); } diff --git a/src/Generated/Models/Responses/ResponseResult.Serialization.cs b/src/Generated/Models/Responses/ResponseResult.Serialization.cs index 002fa9149..8e8f4861f 100644 --- a/src/Generated/Models/Responses/ResponseResult.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseResult.Serialization.cs @@ -14,7 +14,7 @@ namespace OpenAI.Responses { public partial class ResponseResult : IJsonModel<ResponseResult> { - public ResponseResult() : this(null, default, default, default, null, null, default, null, null, null, default, default, default, null, null, null, null, default, null, null, default, default, null, null, null, null, default, null, default) + public ResponseResult() : this(null, default, default, default, null, null, default, null, null, null, default, default, default, null, null, null, null, null, default, null, null, default, default, null, null, null, null, default, null, default) { } @@ -185,6 +185,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("tool_choice"u8); writer.WriteObjectValue(ToolChoice, options); } + if (Optional.IsDefined(Prompt) && !Patch.Contains("$.prompt"u8)) + { + writer.WritePropertyName("prompt"u8); + writer.WriteObjectValue(Prompt, options); + } if (Optional.IsDefined(TruncationMode) && !Patch.Contains("$.truncation"u8)) { writer.WritePropertyName("truncation"u8); @@ -307,6 +312,7 @@ internal static ResponseResult DeserializeResponseResult(JsonElement element, Bi ResponseTextOptions textOptions = default; IList<ResponseTool> tools = default; ResponseToolChoice toolChoice = default; + InternalPrompt prompt = default; ResponseTruncationMode? truncationMode = default; string id = default; string @object = default; @@ -496,6 +502,15 @@ internal static ResponseResult DeserializeResponseResult(JsonElement element, Bi toolChoice = ResponseToolChoice.DeserializeResponseToolChoice(prop.Value, options); continue; } + if (prop.NameEquals("prompt"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + prompt = InternalPrompt.DeserializeInternalPrompt(prop.Value, prop.Value.GetUtf8Bytes(), options); + continue; + } if (prop.NameEquals("truncation"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -604,6 +619,7 @@ internal static ResponseResult DeserializeResponseResult(JsonElement element, Bi textOptions, tools ?? new ChangeTrackingList<ResponseTool>(), toolChoice, + prompt, truncationMode, id, @object, @@ -673,6 +689,10 @@ private bool PropagateGet(ReadOnlySpan<byte> jsonPath, out JsonPatch.EncodedValu { return TextOptions.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("text"u8.Length)], out value); } + if (local.StartsWith("prompt"u8)) + { + return Prompt.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("prompt"u8.Length)], out value); + } if (local.StartsWith("error"u8)) { return Error.Patch.TryGetEncodedValue([.. "$"u8, .. local.Slice("error"u8.Length)], out value); @@ -728,6 +748,11 @@ private bool PropagateSet(ReadOnlySpan<byte> jsonPath, JsonPatch.EncodedValue va TextOptions.Patch.Set([.. "$"u8, .. local.Slice("text"u8.Length)], value); return true; } + if (local.StartsWith("prompt"u8)) + { + Prompt.Patch.Set([.. "$"u8, .. local.Slice("prompt"u8.Length)], value); + return true; + } if (local.StartsWith("error"u8)) { Error.Patch.Set([.. "$"u8, .. local.Slice("error"u8.Length)], value); diff --git a/src/Generated/Models/Responses/ResponseResult.cs b/src/Generated/Models/Responses/ResponseResult.cs index fd3b3c522..e8ee7916a 100644 --- a/src/Generated/Models/Responses/ResponseResult.cs +++ b/src/Generated/Models/Responses/ResponseResult.cs @@ -36,7 +36,7 @@ internal ResponseResult(IDictionary<string, string> metadata, float? temperature } #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - internal ResponseResult(IDictionary<string, string> metadata, float? temperature, int? topLogProbabilityCount, float? topP, string endUserId, string safetyIdentifier, ResponseServiceTier? serviceTier, string previousResponseId, string model, ResponseReasoningOptions reasoningOptions, bool? backgroundModeEnabled, int? maxOutputTokenCount, int? maxToolCallCount, string instructions, ResponseTextOptions textOptions, IList<ResponseTool> tools, ResponseToolChoice toolChoice, ResponseTruncationMode? truncationMode, string id, string @object, ResponseStatus? status, DateTimeOffset createdAt, ResponseError error, ResponseIncompleteStatusDetails incompleteStatusDetails, IList<ResponseItem> outputItems, ResponseTokenUsage usage, bool parallelToolCallsEnabled, ResponseConversationOptions conversationOptions, in JsonPatch patch) + internal ResponseResult(IDictionary<string, string> metadata, float? temperature, int? topLogProbabilityCount, float? topP, string endUserId, string safetyIdentifier, ResponseServiceTier? serviceTier, string previousResponseId, string model, ResponseReasoningOptions reasoningOptions, bool? backgroundModeEnabled, int? maxOutputTokenCount, int? maxToolCallCount, string instructions, ResponseTextOptions textOptions, IList<ResponseTool> tools, ResponseToolChoice toolChoice, InternalPrompt prompt, ResponseTruncationMode? truncationMode, string id, string @object, ResponseStatus? status, DateTimeOffset createdAt, ResponseError error, ResponseIncompleteStatusDetails incompleteStatusDetails, IList<ResponseItem> outputItems, ResponseTokenUsage usage, bool parallelToolCallsEnabled, ResponseConversationOptions conversationOptions, in JsonPatch patch) { // Plugin customization: ensure initialization of collections Metadata = metadata ?? new ChangeTrackingDictionary<string, string>(); @@ -56,6 +56,7 @@ internal ResponseResult(IDictionary<string, string> metadata, float? temperature TextOptions = textOptions; Tools = tools ?? new ChangeTrackingList<ResponseTool>(); ToolChoice = toolChoice; + Prompt = prompt; TruncationMode = truncationMode; Id = id; Object = @object; @@ -95,6 +96,8 @@ internal ResponseResult(IDictionary<string, string> metadata, float? temperature public IList<ResponseTool> Tools { get; } + internal InternalPrompt Prompt { get; set; } + public string Id { get; set; } public ResponseStatus? Status { get; set; } diff --git a/src/Generated/Models/Responses/ResponseTextFormat.Serialization.cs b/src/Generated/Models/Responses/ResponseTextFormat.Serialization.cs index 2c0ef2779..95d1b9fe8 100644 --- a/src/Generated/Models/Responses/ResponseTextFormat.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseTextFormat.Serialization.cs @@ -74,6 +74,10 @@ internal static ResponseTextFormat DeserializeResponseTextFormat(JsonElement ele return InternalResponsesTextFormatText.DeserializeInternalResponsesTextFormatText(element, data, options); case "json_object": return InternalResponsesTextFormatJsonObject.DeserializeInternalResponsesTextFormatJsonObject(element, data, options); + case "grammar": + return InternalResponseTextFormatConfigurationGrammar.DeserializeInternalResponseTextFormatConfigurationGrammar(element, data, options); + case "python": + return InternalResponseTextFormatConfigurationPython.DeserializeInternalResponseTextFormatConfigurationPython(element, data, options); case "json_schema": return InternalResponsesTextFormatJsonSchema.DeserializeInternalResponsesTextFormatJsonSchema(element, data, options); } diff --git a/src/Generated/Models/Responses/ResponseTool.Serialization.cs b/src/Generated/Models/Responses/ResponseTool.Serialization.cs index cef37764c..7a7edb372 100644 --- a/src/Generated/Models/Responses/ResponseTool.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseTool.Serialization.cs @@ -86,6 +86,12 @@ internal static ResponseTool DeserializeResponseTool(JsonElement element, Binary return ImageGenerationTool.DeserializeImageGenerationTool(element, data, options); case "local_shell": return InternalLocalShellTool.DeserializeInternalLocalShellTool(element, data, options); + case "shell": + return ShellTool.DeserializeShellTool(element, data, options); + case "apply_patch": + return ApplyPatchTool.DeserializeApplyPatchTool(element, data, options); + case "custom": + return CustomTool.DeserializeCustomTool(element, data, options); case "mcp": return McpTool.DeserializeMcpTool(element, data, options); } diff --git a/src/Generated/Models/Responses/ShellTool.Serialization.cs b/src/Generated/Models/Responses/ShellTool.Serialization.cs new file mode 100644 index 000000000..a57bf6c7e --- /dev/null +++ b/src/Generated/Models/Responses/ShellTool.Serialization.cs @@ -0,0 +1,112 @@ +// <auto-generated/> + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Responses +{ + public partial class ShellTool : ResponseTool, IJsonModel<ShellTool> + { + void IJsonModel<ShellTool>.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(); + } + + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<ShellTool>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ShellTool)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + + Patch.WriteTo(writer); +#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + } + + ShellTool IJsonModel<ShellTool>.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ShellTool)JsonModelCreateCore(ref reader, options); + + protected override ResponseTool JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<ShellTool>)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(ShellTool)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeShellTool(document.RootElement, null, options); + } + + internal static ShellTool DeserializeShellTool(JsonElement element, BinaryData data, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InternalToolType kind = 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<byte>.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("type"u8)) + { + kind = new InternalToolType(prop.Value.GetString()); + continue; + } + patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes()); + } + return new ShellTool(kind, patch); + } + + BinaryData IPersistableModel<ShellTool>.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected override BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<ShellTool>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(ShellTool)} does not support writing '{options.Format}' format."); + } + } + + ShellTool IPersistableModel<ShellTool>.Create(BinaryData data, ModelReaderWriterOptions options) => (ShellTool)PersistableModelCreateCore(data, options); + + protected override ResponseTool PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel<ShellTool>)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions)) + { + return DeserializeShellTool(document.RootElement, data, options); + } + default: + throw new FormatException($"The model {nameof(ShellTool)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel<ShellTool>.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Responses/ShellTool.cs b/src/Generated/Models/Responses/ShellTool.cs new file mode 100644 index 000000000..026c65656 --- /dev/null +++ b/src/Generated/Models/Responses/ShellTool.cs @@ -0,0 +1,23 @@ +// <auto-generated/> + +#nullable disable + +using System.ClientModel.Primitives; +using System.Diagnostics.CodeAnalysis; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public partial class ShellTool : ResponseTool + { + public ShellTool() : this(InternalToolType.Shell, default) + { + } + +#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. + internal ShellTool(InternalToolType kind, in JsonPatch patch) : base(kind, patch) + { + } +#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/Responses/StreamingResponseUpdate.Serialization.cs b/src/Generated/Models/Responses/StreamingResponseUpdate.Serialization.cs index 6bb41b292..74a6b292c 100644 --- a/src/Generated/Models/Responses/StreamingResponseUpdate.Serialization.cs +++ b/src/Generated/Models/Responses/StreamingResponseUpdate.Serialization.cs @@ -155,6 +155,10 @@ internal static StreamingResponseUpdate DeserializeStreamingResponseUpdate(JsonE return StreamingResponseMcpListToolsFailedUpdate.DeserializeStreamingResponseMcpListToolsFailedUpdate(element, data, options); case "response.mcp_list_tools.in_progress": return StreamingResponseMcpListToolsInProgressUpdate.DeserializeStreamingResponseMcpListToolsInProgressUpdate(element, data, options); + case "response.custom_tool_call_input.delta": + return InternalResponseCustomToolCallInputDeltaEvent.DeserializeInternalResponseCustomToolCallInputDeltaEvent(element, data, options); + case "response.custom_tool_call_input.done": + return InternalResponseCustomToolCallInputDoneEvent.DeserializeInternalResponseCustomToolCallInputDoneEvent(element, data, options); case "response.output_text.annotation.added": return StreamingResponseTextAnnotationAddedUpdate.DeserializeStreamingResponseTextAnnotationAddedUpdate(element, data, options); case "response.queued": diff --git a/src/Generated/OpenAIModelFactory.cs b/src/Generated/OpenAIModelFactory.cs index 06923592b..45ed45657 100644 --- a/src/Generated/OpenAIModelFactory.cs +++ b/src/Generated/OpenAIModelFactory.cs @@ -478,41 +478,6 @@ public static McpToolFilter McpToolFilter(IEnumerable<string> toolNames = defaul return new McpToolFilter(toolNames.ToList(), isReadOnly, default); } - public static CreateResponseOptions CreateResponseOptions(IDictionary<string, string> metadata = default, float? temperature = default, int? topLogProbabilityCount = default, float? topP = default, string endUserId = default, string safetyIdentifier = default, ResponseServiceTier? serviceTier = default, string previousResponseId = default, string model = default, ResponseReasoningOptions reasoningOptions = default, bool? backgroundModeEnabled = default, int? maxOutputTokenCount = default, int? maxToolCallCount = default, string instructions = default, ResponseTextOptions textOptions = default, IEnumerable<ResponseTool> tools = default, ResponseToolChoice toolChoice = default, ResponseTruncationMode? truncationMode = default, IEnumerable<ResponseItem> inputItems = default, IEnumerable<IncludedResponseProperty> includedProperties = default, bool? parallelToolCallsEnabled = default, bool? storedOutputEnabled = default, bool? streamingEnabled = default, ResponseConversationOptions conversationOptions = default) - { - metadata ??= new ChangeTrackingDictionary<string, string>(); - tools ??= new ChangeTrackingList<ResponseTool>(); - inputItems ??= new ChangeTrackingList<ResponseItem>(); - includedProperties ??= new ChangeTrackingList<IncludedResponseProperty>(); - - return new CreateResponseOptions( - metadata, - temperature, - topLogProbabilityCount, - topP, - endUserId, - safetyIdentifier, - serviceTier, - previousResponseId, - model, - reasoningOptions, - backgroundModeEnabled, - maxOutputTokenCount, - maxToolCallCount, - instructions, - textOptions, - tools.ToList(), - toolChoice, - truncationMode, - inputItems.ToList(), - includedProperties.ToList(), - parallelToolCallsEnabled, - storedOutputEnabled, - streamingEnabled, - conversationOptions, - default); - } - public static ResponseTextOptions ResponseTextOptions(ResponseTextFormat textFormat = default) { return new ResponseTextOptions(textFormat, default); @@ -589,44 +554,6 @@ public static ResponseConversationOptions ResponseConversationOptions(string con return new ResponseConversationOptions(conversationId, default); } - public static ResponseResult ResponseResult(IDictionary<string, string> metadata = default, float? temperature = default, int? topLogProbabilityCount = default, float? topP = default, string endUserId = default, string safetyIdentifier = default, ResponseServiceTier? serviceTier = default, string previousResponseId = default, string model = default, ResponseReasoningOptions reasoningOptions = default, bool? backgroundModeEnabled = default, int? maxOutputTokenCount = default, int? maxToolCallCount = default, string instructions = default, ResponseTextOptions textOptions = default, IEnumerable<ResponseTool> tools = default, ResponseToolChoice toolChoice = default, ResponseTruncationMode? truncationMode = default, string id = default, ResponseStatus? status = default, DateTimeOffset createdAt = default, ResponseError error = default, ResponseIncompleteStatusDetails incompleteStatusDetails = default, IEnumerable<ResponseItem> outputItems = default, ResponseTokenUsage usage = default, bool parallelToolCallsEnabled = default, ResponseConversationOptions conversationOptions = default) - { - metadata ??= new ChangeTrackingDictionary<string, string>(); - tools ??= new ChangeTrackingList<ResponseTool>(); - outputItems ??= new ChangeTrackingList<ResponseItem>(); - - return new ResponseResult( - metadata, - temperature, - topLogProbabilityCount, - topP, - endUserId, - safetyIdentifier, - serviceTier, - previousResponseId, - model, - reasoningOptions, - backgroundModeEnabled, - maxOutputTokenCount, - maxToolCallCount, - instructions, - textOptions, - tools.ToList(), - toolChoice, - truncationMode, - id, - "response", - status, - createdAt, - error, - incompleteStatusDetails, - outputItems.ToList(), - usage, - parallelToolCallsEnabled, - conversationOptions, - default); - } - public static ResponseError ResponseError(ResponseErrorCode code = default, string message = default) { return new ResponseError(code, message, default); diff --git a/tests/Responses/ResponsesSmokeTests.cs b/tests/Responses/ResponsesSmokeTests.cs index bf6ba4617..551e9a286 100644 --- a/tests/Responses/ResponsesSmokeTests.cs +++ b/tests/Responses/ResponsesSmokeTests.cs @@ -101,6 +101,57 @@ static void AssertChoiceEqual(ResponseToolChoice choice, string expected) toolChoice => Assert.That(toolChoice.Kind, Is.EqualTo(ResponseToolChoiceKind.Unknown))); } + [Test] + public void ShellToolChoiceDeserialization() + { + AssertToolChoiceRoundTrip(@"{""type"":""shell""}", "shell"); + } + + [Test] + public void ApplyPatchToolChoiceDeserialization() + { + AssertToolChoiceRoundTrip(@"{""type"":""apply_patch""}", "apply_patch"); + } + + [Test] + public void CustomToolChoiceDeserialization() + { + string json = @"{""type"":""custom"",""name"":""my_custom_tool""}"; + ResponseToolChoice choice = ModelReaderWriter.Read<ResponseToolChoice>(BinaryData.FromString(json)); + Assert.That(choice, Is.Not.Null); + + BinaryData reserialized = ModelReaderWriter.Write(choice); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("custom")); + Assert.That(doc.RootElement.GetProperty("name").GetString(), Is.EqualTo("my_custom_tool")); + } + + [Test] + public void AllowedToolsToolChoiceDeserialization() + { + string json = @"{""type"":""allowed_tools"",""mode"":""auto"",""tools"":[{""type"":""function"",""name"":""foo""}]}"; + ResponseToolChoice choice = ModelReaderWriter.Read<ResponseToolChoice>(BinaryData.FromString(json)); + Assert.That(choice, Is.Not.Null); + + BinaryData reserialized = ModelReaderWriter.Write(choice); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("allowed_tools")); + Assert.That(doc.RootElement.GetProperty("mode").GetString(), Is.EqualTo("auto")); + Assert.That(doc.RootElement.GetProperty("tools").GetArrayLength(), Is.EqualTo(1)); + } + + [Test] + public void AllowedToolsChoicePreservesToolsArray() + { + string json = @"{""type"":""allowed_tools"",""mode"":""required"",""tools"":[{""type"":""function"",""name"":""tool_a""},{""type"":""function"",""name"":""tool_b""}]}"; + ResponseToolChoice choice = ModelReaderWriter.Read<ResponseToolChoice>(BinaryData.FromString(json)); + + BinaryData reserialized = ModelReaderWriter.Write(choice); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("mode").GetString(), Is.EqualTo("required")); + Assert.That(doc.RootElement.GetProperty("tools").GetArrayLength(), Is.EqualTo(2)); + } + [Test] public void ToolSerialization() { @@ -114,6 +165,152 @@ public void ToolSerialization() Is.InstanceOf<ResponseTool>()); } + [Test] + public void ShellToolDeserialization() + { + ResponseTool tool = ModelReaderWriter.Read<ResponseTool>( + BinaryData.FromString(@"{""type"":""shell""}")); + Assert.That(tool, Is.InstanceOf<ShellTool>()); + + BinaryData reserialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("shell")); + } + + [Test] + public void ShellToolFactoryMethod() + { + ShellTool tool = ResponseTool.CreateShellTool(); + Assert.That(tool, Is.InstanceOf<ShellTool>()); + + BinaryData serialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(serialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("shell")); + } + + [Test] + public void ApplyPatchToolDeserialization() + { + ResponseTool tool = ModelReaderWriter.Read<ResponseTool>( + BinaryData.FromString(@"{""type"":""apply_patch""}")); + Assert.That(tool, Is.InstanceOf<ApplyPatchTool>()); + + BinaryData reserialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("apply_patch")); + } + + [Test] + public void ApplyPatchToolFactoryMethod() + { + ApplyPatchTool tool = ResponseTool.CreateApplyPatchTool(); + Assert.That(tool, Is.InstanceOf<ApplyPatchTool>()); + + BinaryData serialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(serialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("apply_patch")); + } + + [Test] + public void CustomToolDeserialization() + { + string json = @"{""type"":""custom"",""name"":""my_tool"",""description"":""A custom tool"",""format"":{""type"":""text""}}"; + ResponseTool tool = ModelReaderWriter.Read<ResponseTool>(BinaryData.FromString(json)); + Assert.That(tool, Is.InstanceOf<CustomTool>()); + + CustomTool customTool = (CustomTool)tool; + Assert.That(customTool.Name, Is.EqualTo("my_tool")); + Assert.That(customTool.Description, Is.EqualTo("A custom tool")); + Assert.That(customTool.Format, Is.InstanceOf<CustomToolTextFormat>()); + + BinaryData reserialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("custom")); + Assert.That(doc.RootElement.GetProperty("name").GetString(), Is.EqualTo("my_tool")); + Assert.That(doc.RootElement.GetProperty("description").GetString(), Is.EqualTo("A custom tool")); + Assert.That(doc.RootElement.GetProperty("format").GetProperty("type").GetString(), Is.EqualTo("text")); + } + + [Test] + public void CustomToolFactoryMethod() + { + CustomTool tool = ResponseTool.CreateCustomTool("my_tool", "A custom tool"); + Assert.That(tool, Is.InstanceOf<CustomTool>()); + Assert.That(tool.Name, Is.EqualTo("my_tool")); + Assert.That(tool.Description, Is.EqualTo("A custom tool")); + + BinaryData serialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(serialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("custom")); + Assert.That(doc.RootElement.GetProperty("name").GetString(), Is.EqualTo("my_tool")); + Assert.That(doc.RootElement.GetProperty("description").GetString(), Is.EqualTo("A custom tool")); + } + + [Test] + public void CustomToolWithGrammarFormatFactoryMethod() + { + CustomToolGrammarFormat grammarFormat = new CustomToolGrammarFormat(GrammarSyntax.Lark, "start: rule"); + CustomTool tool = ResponseTool.CreateCustomTool("grammar_tool", "Uses grammar", grammarFormat); + Assert.That(tool.Format, Is.InstanceOf<CustomToolGrammarFormat>()); + + CustomToolGrammarFormat format = (CustomToolGrammarFormat)tool.Format; + Assert.That(format.Syntax, Is.EqualTo(GrammarSyntax.Lark)); + Assert.That(format.Definition, Is.EqualTo("start: rule")); + + BinaryData serialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(serialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("custom")); + Assert.That(doc.RootElement.GetProperty("format").GetProperty("type").GetString(), Is.EqualTo("grammar")); + Assert.That(doc.RootElement.GetProperty("format").GetProperty("syntax").GetString(), Is.EqualTo("lark")); + Assert.That(doc.RootElement.GetProperty("format").GetProperty("definition").GetString(), Is.EqualTo("start: rule")); + } + + [Test] + public void CustomToolWithGrammarFormatDeserialization() + { + string json = @"{""type"":""custom"",""name"":""grammar_tool"",""description"":""Uses grammar"",""format"":{""type"":""grammar"",""syntax"":""lark"",""definition"":""start: \""hello\""""}}"; + ResponseTool tool = ModelReaderWriter.Read<ResponseTool>(BinaryData.FromString(json)); + Assert.That(tool, Is.InstanceOf<CustomTool>()); + + CustomTool customTool = (CustomTool)tool; + Assert.That(customTool.Format, Is.InstanceOf<CustomToolGrammarFormat>()); + CustomToolGrammarFormat grammarFormat = (CustomToolGrammarFormat)customTool.Format; + Assert.That(grammarFormat.Syntax, Is.EqualTo(GrammarSyntax.Lark)); + Assert.That(grammarFormat.Definition, Does.Contain("hello")); + + BinaryData reserialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("format").GetProperty("type").GetString(), Is.EqualTo("grammar")); + Assert.That(doc.RootElement.GetProperty("format").GetProperty("syntax").GetString(), Is.EqualTo("lark")); + Assert.That(doc.RootElement.GetProperty("format").GetProperty("definition").GetString(), Does.Contain("hello")); + } + + [Test] + public void ShellToolPreservesAdditionalProperties() + { + string json = @"{""type"":""shell"",""extra_field"":""extra_value""}"; + ResponseTool tool = ModelReaderWriter.Read<ResponseTool>(BinaryData.FromString(json)); + Assert.That(tool, Is.InstanceOf<ShellTool>()); + + BinaryData reserialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("shell")); + Assert.That(doc.RootElement.TryGetProperty("extra_field", out JsonElement extra), Is.True); + Assert.That(extra.GetString(), Is.EqualTo("extra_value")); + } + + [Test] + public void UnknownToolTypeDeserializesGracefully() + { + ResponseTool tool = ModelReaderWriter.Read<ResponseTool>( + BinaryData.FromString(@"{""type"":""future_tool_type"",""some_property"":42}")); + Assert.That(tool, Is.InstanceOf<ResponseTool>()); + + BinaryData reserialized = ModelReaderWriter.Write(tool); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("future_tool_type")); + } + [Test] public void ContentPartSerialization() { @@ -142,6 +339,40 @@ public void TextFormatSerialization() textFormat => Assert.That(textFormat.Kind == ResponseTextFormatKind.Text)); } + [Test] + public void GrammarTextFormatDeserialization() + { + string json = @"{""type"":""grammar"",""grammar"":""start: \""hello\""""}"; + ResponseTextFormat format = ModelReaderWriter.Read<ResponseTextFormat>(BinaryData.FromString(json)); + Assert.That(format, Is.InstanceOf<ResponseTextFormat>()); + + BinaryData reserialized = ModelReaderWriter.Write(format); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("grammar")); + Assert.That(doc.RootElement.GetProperty("grammar").GetString(), Does.Contain("hello")); + } + + [Test] + public void PythonTextFormatDeserialization() + { + string json = @"{""type"":""python""}"; + ResponseTextFormat format = ModelReaderWriter.Read<ResponseTextFormat>(BinaryData.FromString(json)); + Assert.That(format, Is.InstanceOf<ResponseTextFormat>()); + + BinaryData reserialized = ModelReaderWriter.Write(format); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("python")); + } + + [Test] + public void UnknownTextFormatDeserializesGracefully() + { + ResponseTextFormat format = ModelReaderWriter.Read<ResponseTextFormat>( + BinaryData.FromString(@"{""type"":""future_format""}")); + Assert.That(format, Is.InstanceOf<ResponseTextFormat>()); + Assert.That(format.Kind, Is.EqualTo(ResponseTextFormatKind.Unknown)); + } + [Test] public void StableInputFileDataContentPartSerialization() { @@ -386,6 +617,16 @@ private static void AssertSerializationRoundTrip<T>( Assert.That(reserializedBytes.ToString(), Is.EqualTo(serializedJson)); } + private static void AssertToolChoiceRoundTrip(string json, string expectedType) + { + ResponseToolChoice choice = ModelReaderWriter.Read<ResponseToolChoice>(BinaryData.FromString(json)); + Assert.That(choice, Is.Not.Null); + + BinaryData reserialized = ModelReaderWriter.Write(choice); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo(expectedType)); + } + [Test] [TestCase(true)] [TestCase(false)] @@ -609,6 +850,205 @@ public void CanSerializeCodeInterpreterCallLogsOutput() Assert.That(customProperty.ToString(), Is.EqualTo("custom_property")); } + [Test] + public void ShellCallItemResourceDeserialization() + { + string json = @"{""type"":""shell_call"",""id"":""item_001"",""status"":""completed"",""call_id"":""call_abc"",""action"":{""type"":""exec"",""command"":[""ls"",""-la""]}}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("shell_call")); + Assert.That(doc.RootElement.GetProperty("id").GetString(), Is.EqualTo("item_001")); + Assert.That(doc.RootElement.GetProperty("call_id").GetString(), Is.EqualTo("call_abc")); + Assert.That(doc.RootElement.GetProperty("status").GetString(), Is.EqualTo("completed")); + Assert.That(doc.RootElement.GetProperty("action").GetProperty("type").GetString(), Is.EqualTo("exec")); + } + + [Test] + public void ShellCallOutputItemResourceDeserialization() + { + string json = @"{""type"":""shell_call_output"",""id"":""item_002"",""status"":""completed"",""call_id"":""call_abc"",""output"":{""type"":""text"",""text"":""file1.txt\nfile2.txt""},""max_output_length"":1024}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("shell_call_output")); + Assert.That(doc.RootElement.GetProperty("id").GetString(), Is.EqualTo("item_002")); + Assert.That(doc.RootElement.GetProperty("call_id").GetString(), Is.EqualTo("call_abc")); + } + + [Test] + public void ApplyPatchCallItemResourceDeserialization() + { + string json = @"{""type"":""apply_patch_call"",""id"":""item_003"",""status"":""completed"",""call_id"":""call_def"",""operation"":{""type"":""create_file"",""path"":""/src/new.ts""}}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("apply_patch_call")); + Assert.That(doc.RootElement.GetProperty("id").GetString(), Is.EqualTo("item_003")); + Assert.That(doc.RootElement.GetProperty("call_id").GetString(), Is.EqualTo("call_def")); + Assert.That(doc.RootElement.GetProperty("operation").GetProperty("type").GetString(), Is.EqualTo("create_file")); + Assert.That(doc.RootElement.GetProperty("operation").GetProperty("path").GetString(), Is.EqualTo("/src/new.ts")); + } + + [Test] + public void ApplyPatchCallItemWithUpdateOperationDeserialization() + { + string json = @"{""type"":""apply_patch_call"",""id"":""item_004"",""status"":""in_progress"",""call_id"":""call_ghi"",""operation"":{""type"":""update_file"",""path"":""/src/app.ts"",""diff"":""--- a/src/app.ts\n+++ b/src/app.ts""}}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("operation").GetProperty("type").GetString(), Is.EqualTo("update_file")); + Assert.That(doc.RootElement.GetProperty("operation").GetProperty("path").GetString(), Is.EqualTo("/src/app.ts")); + Assert.That(doc.RootElement.GetProperty("operation").GetProperty("diff").GetString(), Does.Contain("app.ts")); + } + + [Test] + public void ApplyPatchCallItemWithDeleteOperationDeserialization() + { + string json = @"{""type"":""apply_patch_call"",""id"":""item_005"",""status"":""completed"",""call_id"":""call_jkl"",""operation"":{""type"":""delete_file"",""path"":""/src/old.ts""}}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("operation").GetProperty("type").GetString(), Is.EqualTo("delete_file")); + Assert.That(doc.RootElement.GetProperty("operation").GetProperty("path").GetString(), Is.EqualTo("/src/old.ts")); + } + + [Test] + public void ApplyPatchCallOutputItemResourceDeserialization() + { + string json = @"{""type"":""apply_patch_call_output"",""id"":""item_006"",""status"":""success"",""call_id"":""call_def"",""output"":""Patch applied successfully""}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("apply_patch_call_output")); + Assert.That(doc.RootElement.GetProperty("id").GetString(), Is.EqualTo("item_006")); + Assert.That(doc.RootElement.GetProperty("call_id").GetString(), Is.EqualTo("call_def")); + Assert.That(doc.RootElement.GetProperty("output").GetString(), Is.EqualTo("Patch applied successfully")); + } + + [Test] + public void CustomToolCallItemResourceDeserialization() + { + string json = @"{""type"":""custom_tool_call"",""id"":""item_007"",""status"":""completed"",""call_id"":""call_mno"",""name"":""my_custom_tool"",""input"":""some_tool_input""}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("custom_tool_call")); + Assert.That(doc.RootElement.GetProperty("id").GetString(), Is.EqualTo("item_007")); + Assert.That(doc.RootElement.GetProperty("call_id").GetString(), Is.EqualTo("call_mno")); + Assert.That(doc.RootElement.GetProperty("name").GetString(), Is.EqualTo("my_custom_tool")); + Assert.That(doc.RootElement.GetProperty("input").GetString(), Is.EqualTo("some_tool_input")); + } + + [Test] + public void CustomToolCallOutputItemResourceDeserialization() + { + string json = @"{""type"":""custom_tool_call_output"",""id"":""item_008"",""status"":""completed"",""call_id"":""call_mno"",""output"":""tool result""}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("custom_tool_call_output")); + Assert.That(doc.RootElement.GetProperty("call_id").GetString(), Is.EqualTo("call_mno")); + Assert.That(doc.RootElement.GetProperty("output").GetString(), Is.EqualTo("tool result")); + } + + [Test] + public void CustomToolCallItemPreservesAllProperties() + { + string json = @"{""type"":""custom_tool_call"",""id"":""item_010"",""status"":""in_progress"",""call_id"":""call_xyz"",""name"":""analyzer"",""input"":""data"",""future_prop"":true}"; + ResponseItem item = ModelReaderWriter.Read<ResponseItem>(BinaryData.FromString(json)); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("custom_tool_call")); + Assert.That(doc.RootElement.GetProperty("name").GetString(), Is.EqualTo("analyzer")); + Assert.That(doc.RootElement.GetProperty("input").GetString(), Is.EqualTo("data")); + Assert.That(doc.RootElement.GetProperty("status").GetString(), Is.EqualTo("in_progress")); + Assert.That(doc.RootElement.TryGetProperty("future_prop", out JsonElement futureVal), Is.True); + Assert.That(futureVal.GetBoolean(), Is.True); + } + + [Test] + public void UnknownItemTypeDeserializesGracefully() + { + ResponseItem item = ModelReaderWriter.Read<ResponseItem>( + BinaryData.FromString(@"{""type"":""future_item_type"",""id"":""item_999""}")); + Assert.That(item, Is.InstanceOf<ResponseItem>()); + + BinaryData reserialized = ModelReaderWriter.Write(item); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("future_item_type")); + } + + [Test] + public void CustomToolCallInputDeltaEventDeserialization() + { + string json = @"{""type"":""response.custom_tool_call_input.delta"",""sequence_number"":5,""output_index"":0,""item_id"":""item_007"",""delta"":""partial_data""}"; + StreamingResponseUpdate update = ModelReaderWriter.Read<StreamingResponseUpdate>(BinaryData.FromString(json)); + Assert.That(update, Is.InstanceOf<StreamingResponseUpdate>()); + Assert.That(update.SequenceNumber, Is.EqualTo(5)); + + BinaryData reserialized = ModelReaderWriter.Write(update); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("response.custom_tool_call_input.delta")); + Assert.That(doc.RootElement.GetProperty("output_index").GetInt32(), Is.EqualTo(0)); + Assert.That(doc.RootElement.GetProperty("item_id").GetString(), Is.EqualTo("item_007")); + Assert.That(doc.RootElement.GetProperty("delta").GetString(), Is.EqualTo("partial_data")); + } + + [Test] + public void CustomToolCallInputDoneEventDeserialization() + { + string json = @"{""type"":""response.custom_tool_call_input.done"",""sequence_number"":10,""output_index"":0,""item_id"":""item_007"",""input"":""complete_input""}"; + StreamingResponseUpdate update = ModelReaderWriter.Read<StreamingResponseUpdate>(BinaryData.FromString(json)); + Assert.That(update, Is.InstanceOf<StreamingResponseUpdate>()); + Assert.That(update.SequenceNumber, Is.EqualTo(10)); + + BinaryData reserialized = ModelReaderWriter.Write(update); + using JsonDocument doc = JsonDocument.Parse(reserialized); + Assert.That(doc.RootElement.GetProperty("type").GetString(), Is.EqualTo("response.custom_tool_call_input.done")); + Assert.That(doc.RootElement.GetProperty("input").GetString(), Is.EqualTo("complete_input")); + } + + [Test] + public void UnknownStreamingEventDeserializesGracefully() + { + StreamingResponseUpdate update = ModelReaderWriter.Read<StreamingResponseUpdate>( + BinaryData.FromString(@"{""type"":""response.future_event"",""sequence_number"":99}")); + Assert.That(update, Is.InstanceOf<StreamingResponseUpdate>()); + Assert.That(update.SequenceNumber, Is.EqualTo(99)); + } + + [Test] + public void PromptDeserializationInCreateResponseOptions() + { + string optionsJson = @"{""model"":""gpt-4o"",""input"":""Hello"",""prompt"":{""id"":""prompt_abc"",""version"":""v2"",""variables"":{""name"":""Alice"",""lang"":""en""}}}"; + + BinaryData data = BinaryData.FromString(optionsJson); + using JsonDocument doc = JsonDocument.Parse(data); + Assert.That(doc.RootElement.TryGetProperty("prompt", out JsonElement promptElement), Is.True); + Assert.That(promptElement.GetProperty("id").GetString(), Is.EqualTo("prompt_abc")); + Assert.That(promptElement.GetProperty("version").GetString(), Is.EqualTo("v2")); + Assert.That(promptElement.GetProperty("variables").GetProperty("name").GetString(), Is.EqualTo("Alice")); + Assert.That(promptElement.GetProperty("variables").GetProperty("lang").GetString(), Is.EqualTo("en")); + } + [Test] public void ValidateCreateResponseOptionsClone() { diff --git a/tspCodeModel.json b/tspCodeModel.json index 76485384a..3eb51f118 100644 --- a/tspCodeModel.json +++ b/tspCodeModel.json @@ -3990,6 +3990,32 @@ "$ref": "325" }, "decorators": [] + }, + { + "$id": "330", + "kind": "enumvalue", + "name": "grammar", + "value": "grammar", + "valueType": { + "$ref": "326" + }, + "enumType": { + "$ref": "325" + }, + "decorators": [] + }, + { + "$id": "331", + "kind": "enumvalue", + "name": "python", + "value": "python", + "valueType": { + "$ref": "326" + }, + "enumType": { + "$ref": "325" + }, + "decorators": [] } ], "namespace": "OpenAI", @@ -4000,12 +4026,12 @@ "decorators": [] }, { - "$id": "330", + "$id": "332", "kind": "enum", "name": "ToolType", "crossLanguageDefinitionId": "OpenAI.ToolType", "valueType": { - "$id": "331", + "$id": "333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4013,119 +4039,158 @@ }, "values": [ { - "$id": "332", + "$id": "334", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" }, "decorators": [] }, { - "$id": "333", + "$id": "335", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" }, "decorators": [] }, { - "$id": "334", + "$id": "336", "kind": "enumvalue", "name": "computer_use_preview", "value": "computer_use_preview", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" }, "decorators": [] }, { - "$id": "335", + "$id": "337", "kind": "enumvalue", "name": "web_search", "value": "web_search", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" }, "decorators": [] }, { - "$id": "336", + "$id": "338", "kind": "enumvalue", "name": "web_search_preview", "value": "web_search_preview", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" }, "decorators": [] }, { - "$id": "337", + "$id": "339", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" }, "decorators": [] }, { - "$id": "338", + "$id": "340", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" }, "decorators": [] }, { - "$id": "339", + "$id": "341", "kind": "enumvalue", "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" }, "decorators": [] }, { - "$id": "340", + "$id": "342", "kind": "enumvalue", "name": "local_shell", "value": "local_shell", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "330" + "$ref": "332" + }, + "decorators": [] + }, + { + "$id": "343", + "kind": "enumvalue", + "name": "shell", + "value": "shell", + "valueType": { + "$ref": "333" + }, + "enumType": { + "$ref": "332" + }, + "decorators": [] + }, + { + "$id": "344", + "kind": "enumvalue", + "name": "apply_patch", + "value": "apply_patch", + "valueType": { + "$ref": "333" + }, + "enumType": { + "$ref": "332" + }, + "decorators": [] + }, + { + "$id": "345", + "kind": "enumvalue", + "name": "custom", + "value": "custom", + "valueType": { + "$ref": "333" + }, + "enumType": { + "$ref": "332" }, "decorators": [] } @@ -4138,12 +4203,12 @@ "decorators": [] }, { - "$id": "341", + "$id": "346", "kind": "enum", "name": "RankingOptionsRanker", "crossLanguageDefinitionId": "OpenAI.RankingOptions.ranker.anonymous", "valueType": { - "$id": "342", + "$id": "347", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4151,28 +4216,28 @@ }, "values": [ { - "$id": "343", + "$id": "348", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "342" + "$ref": "347" }, "enumType": { - "$ref": "341" + "$ref": "346" }, "decorators": [] }, { - "$id": "344", + "$id": "349", "kind": "enumvalue", "name": "default-2024-11-15", "value": "default-2024-11-15", "valueType": { - "$ref": "342" + "$ref": "347" }, "enumType": { - "$ref": "341" + "$ref": "346" }, "decorators": [] } @@ -4184,12 +4249,12 @@ "decorators": [] }, { - "$id": "345", + "$id": "350", "kind": "enum", "name": "ComparisonFilterType", "crossLanguageDefinitionId": "OpenAI.ComparisonFilter.type.anonymous", "valueType": { - "$id": "346", + "$id": "351", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4197,80 +4262,80 @@ }, "values": [ { - "$id": "347", + "$id": "352", "kind": "enumvalue", "name": "eq", "value": "eq", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "345" + "$ref": "350" }, "decorators": [] }, { - "$id": "348", + "$id": "353", "kind": "enumvalue", "name": "ne", "value": "ne", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "345" + "$ref": "350" }, "decorators": [] }, { - "$id": "349", + "$id": "354", "kind": "enumvalue", "name": "gt", "value": "gt", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "345" + "$ref": "350" }, "decorators": [] }, { - "$id": "350", + "$id": "355", "kind": "enumvalue", "name": "gte", "value": "gte", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "345" + "$ref": "350" }, "decorators": [] }, { - "$id": "351", + "$id": "356", "kind": "enumvalue", "name": "lt", "value": "lt", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "345" + "$ref": "350" }, "decorators": [] }, { - "$id": "352", + "$id": "357", "kind": "enumvalue", "name": "lte", "value": "lte", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "345" + "$ref": "350" }, "decorators": [] } @@ -4282,12 +4347,12 @@ "decorators": [] }, { - "$id": "353", + "$id": "358", "kind": "enum", "name": "CompoundFilterType", "crossLanguageDefinitionId": "OpenAI.CompoundFilter.type.anonymous", "valueType": { - "$id": "354", + "$id": "359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4295,28 +4360,28 @@ }, "values": [ { - "$id": "355", + "$id": "360", "kind": "enumvalue", "name": "and", "value": "and", "valueType": { - "$ref": "354" + "$ref": "359" }, "enumType": { - "$ref": "353" + "$ref": "358" }, "decorators": [] }, { - "$id": "356", + "$id": "361", "kind": "enumvalue", "name": "or", "value": "or", "valueType": { - "$ref": "354" + "$ref": "359" }, "enumType": { - "$ref": "353" + "$ref": "358" }, "decorators": [] } @@ -4328,12 +4393,12 @@ "decorators": [] }, { - "$id": "357", + "$id": "362", "kind": "enum", "name": "ComputerUsePreviewToolEnvironment", "crossLanguageDefinitionId": "OpenAI.ComputerUsePreviewTool.environment.anonymous", "valueType": { - "$id": "358", + "$id": "363", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4341,67 +4406,67 @@ }, "values": [ { - "$id": "359", + "$id": "364", "kind": "enumvalue", "name": "windows", "value": "windows", "valueType": { - "$ref": "358" + "$ref": "363" }, "enumType": { - "$ref": "357" + "$ref": "362" }, "decorators": [] }, { - "$id": "360", + "$id": "365", "kind": "enumvalue", "name": "mac", "value": "mac", "valueType": { - "$ref": "358" + "$ref": "363" }, "enumType": { - "$ref": "357" + "$ref": "362" }, "decorators": [] }, { - "$id": "361", + "$id": "366", "kind": "enumvalue", "name": "linux", "value": "linux", "valueType": { - "$ref": "358" + "$ref": "363" }, "enumType": { - "$ref": "357" + "$ref": "362" }, "decorators": [] }, { - "$id": "362", + "$id": "367", "kind": "enumvalue", "name": "ubuntu", "value": "ubuntu", "valueType": { - "$ref": "358" + "$ref": "363" }, "enumType": { - "$ref": "357" + "$ref": "362" }, "decorators": [] }, { - "$id": "363", + "$id": "368", "kind": "enumvalue", "name": "browser", "value": "browser", "valueType": { - "$ref": "358" + "$ref": "363" }, "enumType": { - "$ref": "357" + "$ref": "362" }, "decorators": [] } @@ -4413,12 +4478,12 @@ "decorators": [] }, { - "$id": "364", + "$id": "369", "kind": "enum", "name": "LocationType", "crossLanguageDefinitionId": "OpenAI.LocationType", "valueType": { - "$id": "365", + "$id": "370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4426,15 +4491,15 @@ }, "values": [ { - "$id": "366", + "$id": "371", "kind": "enumvalue", "name": "approximate", "value": "approximate", "valueType": { - "$ref": "365" + "$ref": "370" }, "enumType": { - "$ref": "364" + "$ref": "369" }, "decorators": [] } @@ -4446,12 +4511,12 @@ "decorators": [] }, { - "$id": "367", + "$id": "372", "kind": "enum", "name": "SearchContextSize", "crossLanguageDefinitionId": "OpenAI.SearchContextSize", "valueType": { - "$id": "368", + "$id": "373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4459,41 +4524,41 @@ }, "values": [ { - "$id": "369", + "$id": "374", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "368" + "$ref": "373" }, "enumType": { - "$ref": "367" + "$ref": "372" }, "decorators": [] }, { - "$id": "370", + "$id": "375", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "368" + "$ref": "373" }, "enumType": { - "$ref": "367" + "$ref": "372" }, "decorators": [] }, { - "$id": "371", + "$id": "376", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "368" + "$ref": "373" }, "enumType": { - "$ref": "367" + "$ref": "372" }, "decorators": [] } @@ -4505,12 +4570,12 @@ "decorators": [] }, { - "$id": "372", + "$id": "377", "kind": "enum", "name": "CodeInterpreterContainerConfigurationType", "crossLanguageDefinitionId": "OpenAI.CodeInterpreterContainerConfigurationType", "valueType": { - "$id": "373", + "$id": "378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4518,15 +4583,15 @@ }, "values": [ { - "$id": "374", + "$id": "379", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "373" + "$ref": "378" }, "enumType": { - "$ref": "372" + "$ref": "377" }, "decorators": [] } @@ -4543,12 +4608,12 @@ ] }, { - "$id": "375", + "$id": "380", "kind": "enum", "name": "ImageGenToolModel", "crossLanguageDefinitionId": "", "valueType": { - "$id": "376", + "$id": "381", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4556,12 +4621,12 @@ }, "values": [ { - "$id": "377", + "$id": "382", "kind": "enumvalue", "name": "gpt-image-1", "value": "gpt-image-1", "valueType": { - "$id": "378", + "$id": "383", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -4569,7 +4634,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "375" + "$ref": "380" }, "decorators": [] } @@ -4581,12 +4646,12 @@ "decorators": [] }, { - "$id": "379", + "$id": "384", "kind": "enum", "name": "ImageGenToolQuality", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.quality.anonymous", "valueType": { - "$id": "380", + "$id": "385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4594,54 +4659,54 @@ }, "values": [ { - "$id": "381", + "$id": "386", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "380" + "$ref": "385" }, "enumType": { - "$ref": "379" + "$ref": "384" }, "decorators": [] }, { - "$id": "382", + "$id": "387", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "380" + "$ref": "385" }, "enumType": { - "$ref": "379" + "$ref": "384" }, "decorators": [] }, { - "$id": "383", + "$id": "388", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "380" + "$ref": "385" }, "enumType": { - "$ref": "379" + "$ref": "384" }, "decorators": [] }, { - "$id": "384", + "$id": "389", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "380" + "$ref": "385" }, "enumType": { - "$ref": "379" + "$ref": "384" }, "decorators": [] } @@ -4653,12 +4718,12 @@ "decorators": [] }, { - "$id": "385", + "$id": "390", "kind": "enum", "name": "ImageGenToolSize", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.size.anonymous", "valueType": { - "$id": "386", + "$id": "391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4666,54 +4731,54 @@ }, "values": [ { - "$id": "387", + "$id": "392", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "386" + "$ref": "391" }, "enumType": { - "$ref": "385" + "$ref": "390" }, "decorators": [] }, { - "$id": "388", + "$id": "393", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "386" + "$ref": "391" }, "enumType": { - "$ref": "385" + "$ref": "390" }, "decorators": [] }, { - "$id": "389", + "$id": "394", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "386" + "$ref": "391" }, "enumType": { - "$ref": "385" + "$ref": "390" }, "decorators": [] }, { - "$id": "390", + "$id": "395", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "386" + "$ref": "391" }, "enumType": { - "$ref": "385" + "$ref": "390" }, "decorators": [] } @@ -4725,12 +4790,12 @@ "decorators": [] }, { - "$id": "391", + "$id": "396", "kind": "enum", "name": "ImageGenToolOutputFormat", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.output_format.anonymous", "valueType": { - "$id": "392", + "$id": "397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4738,41 +4803,41 @@ }, "values": [ { - "$id": "393", + "$id": "398", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "392" + "$ref": "397" }, "enumType": { - "$ref": "391" + "$ref": "396" }, "decorators": [] }, { - "$id": "394", + "$id": "399", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "392" + "$ref": "397" }, "enumType": { - "$ref": "391" + "$ref": "396" }, "decorators": [] }, { - "$id": "395", + "$id": "400", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "392" + "$ref": "397" }, "enumType": { - "$ref": "391" + "$ref": "396" }, "decorators": [] } @@ -4784,12 +4849,12 @@ "decorators": [] }, { - "$id": "396", + "$id": "401", "kind": "enum", "name": "ImageGenToolModeration", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.moderation.anonymous", "valueType": { - "$id": "397", + "$id": "402", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4797,28 +4862,28 @@ }, "values": [ { - "$id": "398", + "$id": "403", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "397" + "$ref": "402" }, "enumType": { - "$ref": "396" + "$ref": "401" }, "decorators": [] }, { - "$id": "399", + "$id": "404", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "397" + "$ref": "402" }, "enumType": { - "$ref": "396" + "$ref": "401" }, "decorators": [] } @@ -4830,12 +4895,12 @@ "decorators": [] }, { - "$id": "400", + "$id": "405", "kind": "enum", "name": "ImageGenToolBackground", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.background.anonymous", "valueType": { - "$id": "401", + "$id": "406", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4843,41 +4908,41 @@ }, "values": [ { - "$id": "402", + "$id": "407", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "401" + "$ref": "406" }, "enumType": { - "$ref": "400" + "$ref": "405" }, "decorators": [] }, { - "$id": "403", + "$id": "408", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "401" + "$ref": "406" }, "enumType": { - "$ref": "400" + "$ref": "405" }, "decorators": [] }, { - "$id": "404", + "$id": "409", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "401" + "$ref": "406" }, "enumType": { - "$ref": "400" + "$ref": "405" }, "decorators": [] } @@ -4889,12 +4954,12 @@ "decorators": [] }, { - "$id": "405", + "$id": "410", "kind": "enum", "name": "ImageGenToolInputFidelity", "crossLanguageDefinitionId": "OpenAI.ImageGenTool.input_fidelity.anonymous", "valueType": { - "$id": "406", + "$id": "411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4902,28 +4967,28 @@ }, "values": [ { - "$id": "407", + "$id": "412", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "406" + "$ref": "411" }, "enumType": { - "$ref": "405" + "$ref": "410" }, "decorators": [] }, { - "$id": "408", + "$id": "413", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "406" + "$ref": "411" }, "enumType": { - "$ref": "405" + "$ref": "410" }, "decorators": [] } @@ -4935,12 +5000,108 @@ "decorators": [] }, { - "$id": "409", + "$id": "414", + "kind": "enum", + "name": "CustomToolParamFormatType", + "crossLanguageDefinitionId": "OpenAI.CustomToolParamFormatType", + "valueType": { + "$id": "415", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "416", + "kind": "enumvalue", + "name": "text", + "value": "text", + "valueType": { + "$ref": "415" + }, + "enumType": { + "$ref": "414" + }, + "decorators": [] + }, + { + "$id": "417", + "kind": "enumvalue", + "name": "grammar", + "value": "grammar", + "valueType": { + "$ref": "415" + }, + "enumType": { + "$ref": "414" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "doc": "The type of the custom tool parameter format.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "418", + "kind": "enum", + "name": "GrammarSyntax", + "crossLanguageDefinitionId": "OpenAI.GrammarSyntax", + "valueType": { + "$id": "419", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "420", + "kind": "enumvalue", + "name": "lark", + "value": "lark", + "valueType": { + "$ref": "419" + }, + "enumType": { + "$ref": "418" + }, + "doc": "Lark grammar syntax.", + "decorators": [] + }, + { + "$id": "421", + "kind": "enumvalue", + "name": "regex", + "value": "regex", + "valueType": { + "$ref": "419" + }, + "enumType": { + "$ref": "418" + }, + "doc": "Regex grammar syntax.", + "decorators": [] + } + ], + "namespace": "OpenAI", + "doc": "The syntax type used by a grammar definition.", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "422", "kind": "enum", "name": "MCPToolConnectorId", "crossLanguageDefinitionId": "OpenAI.MCPTool.connector_id.anonymous", "valueType": { - "$id": "410", + "$id": "423", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4948,106 +5109,106 @@ }, "values": [ { - "$id": "411", + "$id": "424", "kind": "enumvalue", "name": "connector_dropbox", "value": "connector_dropbox", "valueType": { - "$ref": "410" + "$ref": "423" }, "enumType": { - "$ref": "409" + "$ref": "422" }, "decorators": [] }, { - "$id": "412", + "$id": "425", "kind": "enumvalue", "name": "connector_gmail", "value": "connector_gmail", "valueType": { - "$ref": "410" + "$ref": "423" }, "enumType": { - "$ref": "409" + "$ref": "422" }, "decorators": [] }, { - "$id": "413", + "$id": "426", "kind": "enumvalue", "name": "connector_googlecalendar", "value": "connector_googlecalendar", "valueType": { - "$ref": "410" + "$ref": "423" }, "enumType": { - "$ref": "409" + "$ref": "422" }, "decorators": [] }, { - "$id": "414", + "$id": "427", "kind": "enumvalue", "name": "connector_googledrive", "value": "connector_googledrive", "valueType": { - "$ref": "410" + "$ref": "423" }, "enumType": { - "$ref": "409" + "$ref": "422" }, "decorators": [] }, { - "$id": "415", + "$id": "428", "kind": "enumvalue", "name": "connector_microsoftteams", "value": "connector_microsoftteams", "valueType": { - "$ref": "410" + "$ref": "423" }, "enumType": { - "$ref": "409" + "$ref": "422" }, "decorators": [] }, { - "$id": "416", + "$id": "429", "kind": "enumvalue", "name": "connector_outlookcalendar", "value": "connector_outlookcalendar", "valueType": { - "$ref": "410" + "$ref": "423" }, "enumType": { - "$ref": "409" + "$ref": "422" }, "decorators": [] }, { - "$id": "417", + "$id": "430", "kind": "enumvalue", "name": "connector_outlookemail", "value": "connector_outlookemail", "valueType": { - "$ref": "410" + "$ref": "423" }, "enumType": { - "$ref": "409" + "$ref": "422" }, "decorators": [] }, { - "$id": "418", + "$id": "431", "kind": "enumvalue", "name": "connector_sharepoint", "value": "connector_sharepoint", "valueType": { - "$ref": "410" + "$ref": "423" }, "enumType": { - "$ref": "409" + "$ref": "422" }, "decorators": [] } @@ -5059,12 +5220,12 @@ "decorators": [] }, { - "$id": "419", + "$id": "432", "kind": "enum", "name": "DotNetResponseServiceTier", "crossLanguageDefinitionId": "OpenAI.DotNetResponseServiceTier", "valueType": { - "$id": "420", + "$id": "433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5072,54 +5233,54 @@ }, "values": [ { - "$id": "421", + "$id": "434", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "420" + "$ref": "433" }, "enumType": { - "$ref": "419" + "$ref": "432" }, "decorators": [] }, { - "$id": "422", + "$id": "435", "kind": "enumvalue", "name": "default", "value": "default", "valueType": { - "$ref": "420" + "$ref": "433" }, "enumType": { - "$ref": "419" + "$ref": "432" }, "decorators": [] }, { - "$id": "423", + "$id": "436", "kind": "enumvalue", "name": "flex", "value": "flex", "valueType": { - "$ref": "420" + "$ref": "433" }, "enumType": { - "$ref": "419" + "$ref": "432" }, "decorators": [] }, { - "$id": "424", + "$id": "437", "kind": "enumvalue", "name": "scale", "value": "scale", "valueType": { - "$ref": "420" + "$ref": "433" }, "enumType": { - "$ref": "419" + "$ref": "432" }, "decorators": [] } @@ -5136,12 +5297,12 @@ ] }, { - "$id": "425", + "$id": "438", "kind": "enum", "name": "ReasoningSummary", "crossLanguageDefinitionId": "OpenAI.Reasoning.summary.anonymous", "valueType": { - "$id": "426", + "$id": "439", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5149,41 +5310,41 @@ }, "values": [ { - "$id": "427", + "$id": "440", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "426" + "$ref": "439" }, "enumType": { - "$ref": "425" + "$ref": "438" }, "decorators": [] }, { - "$id": "428", + "$id": "441", "kind": "enumvalue", "name": "concise", "value": "concise", "valueType": { - "$ref": "426" + "$ref": "439" }, "enumType": { - "$ref": "425" + "$ref": "438" }, "decorators": [] }, { - "$id": "429", + "$id": "442", "kind": "enumvalue", "name": "detailed", "value": "detailed", "valueType": { - "$ref": "426" + "$ref": "439" }, "enumType": { - "$ref": "425" + "$ref": "438" }, "decorators": [] } @@ -5195,12 +5356,12 @@ "decorators": [] }, { - "$id": "430", + "$id": "443", "kind": "enum", "name": "ReasoningGenerateSummary", "crossLanguageDefinitionId": "OpenAI.Reasoning.generate_summary.anonymous", "valueType": { - "$id": "431", + "$id": "444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5208,41 +5369,41 @@ }, "values": [ { - "$id": "432", + "$id": "445", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "431" + "$ref": "444" }, "enumType": { - "$ref": "430" + "$ref": "443" }, "decorators": [] }, { - "$id": "433", + "$id": "446", "kind": "enumvalue", "name": "concise", "value": "concise", "valueType": { - "$ref": "431" + "$ref": "444" }, "enumType": { - "$ref": "430" + "$ref": "443" }, "decorators": [] }, { - "$id": "434", + "$id": "447", "kind": "enumvalue", "name": "detailed", "value": "detailed", "valueType": { - "$ref": "431" + "$ref": "444" }, "enumType": { - "$ref": "430" + "$ref": "443" }, "decorators": [] } @@ -5254,12 +5415,12 @@ "decorators": [] }, { - "$id": "435", + "$id": "448", "kind": "enum", "name": "ToolChoiceOptions", "crossLanguageDefinitionId": "OpenAI.ToolChoiceOptions", "valueType": { - "$id": "436", + "$id": "449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5267,41 +5428,41 @@ }, "values": [ { - "$id": "437", + "$id": "450", "kind": "enumvalue", "name": "none", "value": "none", "valueType": { - "$ref": "436" + "$ref": "449" }, "enumType": { - "$ref": "435" + "$ref": "448" }, "decorators": [] }, { - "$id": "438", + "$id": "451", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "436" + "$ref": "449" }, "enumType": { - "$ref": "435" + "$ref": "448" }, "decorators": [] }, { - "$id": "439", + "$id": "452", "kind": "enumvalue", "name": "required", "value": "required", "valueType": { - "$ref": "436" + "$ref": "449" }, "enumType": { - "$ref": "435" + "$ref": "448" }, "decorators": [] } @@ -5314,12 +5475,12 @@ "decorators": [] }, { - "$id": "440", + "$id": "453", "kind": "enum", "name": "ToolChoiceObjectType", "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectType", "valueType": { - "$id": "441", + "$id": "454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5327,93 +5488,145 @@ }, "values": [ { - "$id": "442", + "$id": "455", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "440" + "$ref": "453" }, "decorators": [] }, { - "$id": "443", + "$id": "456", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "440" + "$ref": "453" }, "decorators": [] }, { - "$id": "444", + "$id": "457", "kind": "enumvalue", "name": "computer", "value": "computer_use_preview", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "440" + "$ref": "453" }, "decorators": [] }, { - "$id": "445", + "$id": "458", "kind": "enumvalue", "name": "web_search", "value": "web_search_preview", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "440" + "$ref": "453" }, "decorators": [] }, { - "$id": "446", + "$id": "459", "kind": "enumvalue", "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "440" + "$ref": "453" }, "decorators": [] }, { - "$id": "447", + "$id": "460", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "440" + "$ref": "453" }, "decorators": [] }, { - "$id": "448", + "$id": "461", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "441" + "$ref": "454" + }, + "enumType": { + "$ref": "453" + }, + "decorators": [] + }, + { + "$id": "462", + "kind": "enumvalue", + "name": "shell", + "value": "shell", + "valueType": { + "$ref": "454" + }, + "enumType": { + "$ref": "453" + }, + "decorators": [] + }, + { + "$id": "463", + "kind": "enumvalue", + "name": "apply_patch", + "value": "apply_patch", + "valueType": { + "$ref": "454" + }, + "enumType": { + "$ref": "453" + }, + "decorators": [] + }, + { + "$id": "464", + "kind": "enumvalue", + "name": "custom", + "value": "custom", + "valueType": { + "$ref": "454" + }, + "enumType": { + "$ref": "453" + }, + "decorators": [] + }, + { + "$id": "465", + "kind": "enumvalue", + "name": "allowed_tools", + "value": "allowed_tools", + "valueType": { + "$ref": "454" }, "enumType": { - "$ref": "440" + "$ref": "453" }, "decorators": [] } @@ -5426,12 +5639,12 @@ "decorators": [] }, { - "$id": "449", + "$id": "466", "kind": "enum", - "name": "CreateResponseTruncation", - "crossLanguageDefinitionId": "OpenAI.CreateResponse.truncation.anonymous", + "name": "ToolChoiceObjectAllowedMode", + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectAllowed.mode.anonymous", "valueType": { - "$id": "450", + "$id": "467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5439,28 +5652,28 @@ }, "values": [ { - "$id": "451", + "$id": "468", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "450" + "$ref": "467" }, "enumType": { - "$ref": "449" + "$ref": "466" }, "decorators": [] }, { - "$id": "452", + "$id": "469", "kind": "enumvalue", - "name": "disabled", - "value": "disabled", + "name": "required", + "value": "required", "valueType": { - "$ref": "450" + "$ref": "467" }, "enumType": { - "$ref": "449" + "$ref": "466" }, "decorators": [] } @@ -5472,12 +5685,12 @@ "decorators": [] }, { - "$id": "453", + "$id": "470", "kind": "enum", "name": "ItemContentType", "crossLanguageDefinitionId": "OpenAI.ItemContentType", "valueType": { - "$id": "454", + "$id": "471", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5485,93 +5698,93 @@ }, "values": [ { - "$id": "455", + "$id": "472", "kind": "enumvalue", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "454" + "$ref": "471" }, "enumType": { - "$ref": "453" + "$ref": "470" }, "decorators": [] }, { - "$id": "456", + "$id": "473", "kind": "enumvalue", "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "454" + "$ref": "471" }, "enumType": { - "$ref": "453" + "$ref": "470" }, "decorators": [] }, { - "$id": "457", + "$id": "474", "kind": "enumvalue", "name": "input_image", "value": "input_image", "valueType": { - "$ref": "454" + "$ref": "471" }, "enumType": { - "$ref": "453" + "$ref": "470" }, "decorators": [] }, { - "$id": "458", + "$id": "475", "kind": "enumvalue", "name": "input_file", "value": "input_file", "valueType": { - "$ref": "454" + "$ref": "471" }, "enumType": { - "$ref": "453" + "$ref": "470" }, "decorators": [] }, { - "$id": "459", + "$id": "476", "kind": "enumvalue", "name": "output_text", "value": "output_text", "valueType": { - "$ref": "454" + "$ref": "471" }, "enumType": { - "$ref": "453" + "$ref": "470" }, "decorators": [] }, { - "$id": "460", + "$id": "477", "kind": "enumvalue", "name": "output_audio", "value": "output_audio", "valueType": { - "$ref": "454" + "$ref": "471" }, "enumType": { - "$ref": "453" + "$ref": "470" }, "decorators": [] }, { - "$id": "461", + "$id": "478", "kind": "enumvalue", "name": "refusal", "value": "refusal", "valueType": { - "$ref": "454" + "$ref": "471" }, "enumType": { - "$ref": "453" + "$ref": "470" }, "decorators": [] } @@ -5584,12 +5797,12 @@ "decorators": [] }, { - "$id": "462", + "$id": "479", "kind": "enum", - "name": "ItemContentInputAudioFormat", - "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.format.anonymous", + "name": "ItemContentInputImageDetail", + "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.detail.anonymous", "valueType": { - "$id": "463", + "$id": "480", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5597,28 +5810,41 @@ }, "values": [ { - "$id": "464", + "$id": "481", "kind": "enumvalue", - "name": "mp3", - "value": "mp3", + "name": "low", + "value": "low", "valueType": { - "$ref": "463" + "$ref": "480" }, "enumType": { - "$ref": "462" + "$ref": "479" }, "decorators": [] }, { - "$id": "465", + "$id": "482", "kind": "enumvalue", - "name": "wav", - "value": "wav", + "name": "high", + "value": "high", + "valueType": { + "$ref": "480" + }, + "enumType": { + "$ref": "479" + }, + "decorators": [] + }, + { + "$id": "483", + "kind": "enumvalue", + "name": "auto", + "value": "auto", "valueType": { - "$ref": "463" + "$ref": "480" }, "enumType": { - "$ref": "462" + "$ref": "479" }, "decorators": [] } @@ -5630,12 +5856,12 @@ "decorators": [] }, { - "$id": "466", + "$id": "484", "kind": "enum", - "name": "ItemContentInputImageDetail", - "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.detail.anonymous", + "name": "ItemContentInputAudioFormat", + "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.format.anonymous", "valueType": { - "$id": "467", + "$id": "485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5643,41 +5869,28 @@ }, "values": [ { - "$id": "468", - "kind": "enumvalue", - "name": "low", - "value": "low", - "valueType": { - "$ref": "467" - }, - "enumType": { - "$ref": "466" - }, - "decorators": [] - }, - { - "$id": "469", + "$id": "486", "kind": "enumvalue", - "name": "high", - "value": "high", + "name": "mp3", + "value": "mp3", "valueType": { - "$ref": "467" + "$ref": "485" }, "enumType": { - "$ref": "466" + "$ref": "484" }, "decorators": [] }, { - "$id": "470", + "$id": "487", "kind": "enumvalue", - "name": "auto", - "value": "auto", + "name": "wav", + "value": "wav", "valueType": { - "$ref": "467" + "$ref": "485" }, "enumType": { - "$ref": "466" + "$ref": "484" }, "decorators": [] } @@ -5689,12 +5902,12 @@ "decorators": [] }, { - "$id": "471", + "$id": "488", "kind": "enum", "name": "AnnotationType", "crossLanguageDefinitionId": "OpenAI.AnnotationType", "valueType": { - "$id": "472", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5702,54 +5915,54 @@ }, "values": [ { - "$id": "473", + "$id": "490", "kind": "enumvalue", "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "472" + "$ref": "489" }, "enumType": { - "$ref": "471" + "$ref": "488" }, "decorators": [] }, { - "$id": "474", + "$id": "491", "kind": "enumvalue", "name": "url_citation", "value": "url_citation", "valueType": { - "$ref": "472" + "$ref": "489" }, "enumType": { - "$ref": "471" + "$ref": "488" }, "decorators": [] }, { - "$id": "475", + "$id": "492", "kind": "enumvalue", "name": "file_path", "value": "file_path", "valueType": { - "$ref": "472" + "$ref": "489" }, "enumType": { - "$ref": "471" + "$ref": "488" }, "decorators": [] }, { - "$id": "476", + "$id": "493", "kind": "enumvalue", "name": "container_file_citation", "value": "container_file_citation", "valueType": { - "$ref": "472" + "$ref": "489" }, "enumType": { - "$ref": "471" + "$ref": "488" }, "decorators": [] } @@ -5761,12 +5974,58 @@ "decorators": [] }, { - "$id": "477", + "$id": "494", + "kind": "enum", + "name": "CreateResponseTruncation", + "crossLanguageDefinitionId": "OpenAI.CreateResponse.truncation.anonymous", + "valueType": { + "$id": "495", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "496", + "kind": "enumvalue", + "name": "auto", + "value": "auto", + "valueType": { + "$ref": "495" + }, + "enumType": { + "$ref": "494" + }, + "decorators": [] + }, + { + "$id": "497", + "kind": "enumvalue", + "name": "disabled", + "value": "disabled", + "valueType": { + "$ref": "495" + }, + "enumType": { + "$ref": "494" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "498", "kind": "enum", "name": "ItemType", "crossLanguageDefinitionId": "OpenAI.ItemType", "valueType": { - "$id": "478", + "$id": "499", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5774,223 +6033,301 @@ }, "values": [ { - "$id": "479", + "$id": "500", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "480", + "$id": "501", "kind": "enumvalue", "name": "file_search_call", "value": "file_search_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "481", + "$id": "502", "kind": "enumvalue", "name": "function_call", "value": "function_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "482", + "$id": "503", "kind": "enumvalue", "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "483", + "$id": "504", "kind": "enumvalue", "name": "computer_call", "value": "computer_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "484", + "$id": "505", "kind": "enumvalue", "name": "computer_call_output", "value": "computer_call_output", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "485", + "$id": "506", "kind": "enumvalue", "name": "web_search_call", "value": "web_search_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "486", + "$id": "507", "kind": "enumvalue", "name": "reasoning", "value": "reasoning", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "487", + "$id": "508", "kind": "enumvalue", "name": "item_reference", "value": "item_reference", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "488", + "$id": "509", "kind": "enumvalue", "name": "image_generation_call", "value": "image_generation_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "489", + "$id": "510", "kind": "enumvalue", "name": "code_interpreter_call", "value": "code_interpreter_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "490", + "$id": "511", "kind": "enumvalue", "name": "local_shell_call", "value": "local_shell_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "491", + "$id": "512", "kind": "enumvalue", "name": "local_shell_call_output", "value": "local_shell_call_output", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "492", + "$id": "513", "kind": "enumvalue", "name": "mcp_list_tools", "value": "mcp_list_tools", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "493", + "$id": "514", "kind": "enumvalue", "name": "mcp_approval_request", "value": "mcp_approval_request", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "494", + "$id": "515", "kind": "enumvalue", "name": "mcp_approval_response", "value": "mcp_approval_response", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" }, "decorators": [] }, { - "$id": "495", + "$id": "516", "kind": "enumvalue", "name": "mcp_call", "value": "mcp_call", "valueType": { - "$ref": "478" + "$ref": "499" + }, + "enumType": { + "$ref": "498" + }, + "decorators": [] + }, + { + "$id": "517", + "kind": "enumvalue", + "name": "shell_call", + "value": "shell_call", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "498" + }, + "decorators": [] + }, + { + "$id": "518", + "kind": "enumvalue", + "name": "shell_call_output", + "value": "shell_call_output", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "498" + }, + "decorators": [] + }, + { + "$id": "519", + "kind": "enumvalue", + "name": "apply_patch_call", + "value": "apply_patch_call", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "498" + }, + "decorators": [] + }, + { + "$id": "520", + "kind": "enumvalue", + "name": "apply_patch_call_output", + "value": "apply_patch_call_output", + "valueType": { + "$ref": "499" }, "enumType": { - "$ref": "477" + "$ref": "498" + }, + "decorators": [] + }, + { + "$id": "521", + "kind": "enumvalue", + "name": "custom_tool_call", + "value": "custom_tool_call", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "498" + }, + "decorators": [] + }, + { + "$id": "522", + "kind": "enumvalue", + "name": "custom_tool_call_output", + "value": "custom_tool_call_output", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "498" }, "decorators": [] } @@ -6002,12 +6339,12 @@ "decorators": [] }, { - "$id": "496", + "$id": "523", "kind": "enum", "name": "ResponsesMessageRole", "crossLanguageDefinitionId": "OpenAI.ResponsesMessageRole", "valueType": { - "$id": "497", + "$id": "524", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6015,54 +6352,54 @@ }, "values": [ { - "$id": "498", + "$id": "525", "kind": "enumvalue", "name": "system", "value": "system", "valueType": { - "$ref": "497" + "$ref": "524" }, "enumType": { - "$ref": "496" + "$ref": "523" }, "decorators": [] }, { - "$id": "499", + "$id": "526", "kind": "enumvalue", "name": "developer", "value": "developer", "valueType": { - "$ref": "497" + "$ref": "524" }, "enumType": { - "$ref": "496" + "$ref": "523" }, "decorators": [] }, { - "$id": "500", + "$id": "527", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "497" + "$ref": "524" }, "enumType": { - "$ref": "496" + "$ref": "523" }, "decorators": [] }, { - "$id": "501", + "$id": "528", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "497" + "$ref": "524" }, "enumType": { - "$ref": "496" + "$ref": "523" }, "decorators": [] } @@ -6075,12 +6412,12 @@ "decorators": [] }, { - "$id": "502", + "$id": "529", "kind": "enum", "name": "ComputerActionType", "crossLanguageDefinitionId": "OpenAI.ComputerActionType", "valueType": { - "$id": "503", + "$id": "530", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6088,119 +6425,119 @@ }, "values": [ { - "$id": "504", + "$id": "531", "kind": "enumvalue", "name": "screenshot", "value": "screenshot", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] }, { - "$id": "505", + "$id": "532", "kind": "enumvalue", "name": "click", "value": "click", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] }, { - "$id": "506", + "$id": "533", "kind": "enumvalue", "name": "double_click", "value": "double_click", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] }, { - "$id": "507", + "$id": "534", "kind": "enumvalue", "name": "scroll", "value": "scroll", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] }, { - "$id": "508", + "$id": "535", "kind": "enumvalue", "name": "type", "value": "type", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] }, { - "$id": "509", + "$id": "536", "kind": "enumvalue", "name": "wait", "value": "wait", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] }, { - "$id": "510", + "$id": "537", "kind": "enumvalue", "name": "keypress", "value": "keypress", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] }, { - "$id": "511", + "$id": "538", "kind": "enumvalue", "name": "drag", "value": "drag", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] }, { - "$id": "512", + "$id": "539", "kind": "enumvalue", "name": "move", "value": "move", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "502" + "$ref": "529" }, "decorators": [] } @@ -6212,12 +6549,12 @@ "decorators": [] }, { - "$id": "513", + "$id": "540", "kind": "enum", "name": "ComputerActionClickButton", "crossLanguageDefinitionId": "OpenAI.ComputerActionClick.button.anonymous", "valueType": { - "$id": "514", + "$id": "541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6225,67 +6562,67 @@ }, "values": [ { - "$id": "515", + "$id": "542", "kind": "enumvalue", "name": "left", "value": "left", "valueType": { - "$ref": "514" + "$ref": "541" }, "enumType": { - "$ref": "513" + "$ref": "540" }, "decorators": [] }, { - "$id": "516", + "$id": "543", "kind": "enumvalue", "name": "right", "value": "right", "valueType": { - "$ref": "514" + "$ref": "541" }, "enumType": { - "$ref": "513" + "$ref": "540" }, "decorators": [] }, { - "$id": "517", + "$id": "544", "kind": "enumvalue", "name": "wheel", "value": "wheel", "valueType": { - "$ref": "514" + "$ref": "541" }, "enumType": { - "$ref": "513" + "$ref": "540" }, "decorators": [] }, { - "$id": "518", + "$id": "545", "kind": "enumvalue", "name": "back", "value": "back", "valueType": { - "$ref": "514" + "$ref": "541" }, "enumType": { - "$ref": "513" + "$ref": "540" }, "decorators": [] }, { - "$id": "519", + "$id": "546", "kind": "enumvalue", "name": "forward", "value": "forward", "valueType": { - "$ref": "514" + "$ref": "541" }, "enumType": { - "$ref": "513" + "$ref": "540" }, "decorators": [] } @@ -6297,12 +6634,12 @@ "decorators": [] }, { - "$id": "520", + "$id": "547", "kind": "enum", "name": "ComputerToolCallOutputItemOutputType", "crossLanguageDefinitionId": "OpenAI.ComputerToolCallOutputItemOutputType", "valueType": { - "$id": "521", + "$id": "548", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6310,15 +6647,15 @@ }, "values": [ { - "$id": "522", + "$id": "549", "kind": "enumvalue", "name": "screenshot", "value": "computer_screenshot", "valueType": { - "$ref": "521" + "$ref": "548" }, "enumType": { - "$ref": "520" + "$ref": "547" }, "decorators": [] } @@ -6331,12 +6668,12 @@ "decorators": [] }, { - "$id": "523", + "$id": "550", "kind": "enum", "name": "ReasoningItemSummaryPartType", "crossLanguageDefinitionId": "OpenAI.ReasoningItemSummaryPartType", "valueType": { - "$id": "524", + "$id": "551", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6344,15 +6681,15 @@ }, "values": [ { - "$id": "525", + "$id": "552", "kind": "enumvalue", "name": "summary_text", "value": "summary_text", "valueType": { - "$ref": "524" + "$ref": "551" }, "enumType": { - "$ref": "523" + "$ref": "550" }, "decorators": [] } @@ -6369,12 +6706,12 @@ ] }, { - "$id": "526", + "$id": "553", "kind": "enum", "name": "CodeInterpreterToolOutputType", "crossLanguageDefinitionId": "OpenAI.CodeInterpreterToolOutputType", "valueType": { - "$id": "527", + "$id": "554", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6382,28 +6719,28 @@ }, "values": [ { - "$id": "528", + "$id": "555", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "527" + "$ref": "554" }, "enumType": { - "$ref": "526" + "$ref": "553" }, "decorators": [] }, { - "$id": "529", + "$id": "556", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "527" + "$ref": "554" }, "enumType": { - "$ref": "526" + "$ref": "553" }, "decorators": [] } @@ -6420,12 +6757,72 @@ ] }, { - "$id": "530", + "$id": "557", + "kind": "enum", + "name": "ApplyPatchOperationType", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchOperationType", + "valueType": { + "$id": "558", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "559", + "kind": "enumvalue", + "name": "create_file", + "value": "create_file", + "valueType": { + "$ref": "558" + }, + "enumType": { + "$ref": "557" + }, + "decorators": [] + }, + { + "$id": "560", + "kind": "enumvalue", + "name": "delete_file", + "value": "delete_file", + "valueType": { + "$ref": "558" + }, + "enumType": { + "$ref": "557" + }, + "decorators": [] + }, + { + "$id": "561", + "kind": "enumvalue", + "name": "update_file", + "value": "update_file", + "valueType": { + "$ref": "558" + }, + "enumType": { + "$ref": "557" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "doc": "The type of an apply_patch file operation.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "562", "kind": "enum", "name": "Includable", "crossLanguageDefinitionId": "OpenAI.Includable", "valueType": { - "$id": "531", + "$id": "563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6433,67 +6830,67 @@ }, "values": [ { - "$id": "532", + "$id": "564", "kind": "enumvalue", "name": "file_search_call.results", "value": "file_search_call.results", "valueType": { - "$ref": "531" + "$ref": "563" }, "enumType": { - "$ref": "530" + "$ref": "562" }, "decorators": [] }, { - "$id": "533", + "$id": "565", "kind": "enumvalue", "name": "message.input_image.image_url", "value": "message.input_image.image_url", "valueType": { - "$ref": "531" + "$ref": "563" }, "enumType": { - "$ref": "530" + "$ref": "562" }, "decorators": [] }, { - "$id": "534", + "$id": "566", "kind": "enumvalue", "name": "computer_call_output.output.image_url", "value": "computer_call_output.output.image_url", "valueType": { - "$ref": "531" + "$ref": "563" }, "enumType": { - "$ref": "530" + "$ref": "562" }, "decorators": [] }, { - "$id": "535", + "$id": "567", "kind": "enumvalue", "name": "reasoning.encrypted_content", "value": "reasoning.encrypted_content", "valueType": { - "$ref": "531" + "$ref": "563" }, "enumType": { - "$ref": "530" + "$ref": "562" }, "decorators": [] }, { - "$id": "536", + "$id": "568", "kind": "enumvalue", "name": "code_interpreter_call.outputs", "value": "code_interpreter_call.outputs", "valueType": { - "$ref": "531" + "$ref": "563" }, "enumType": { - "$ref": "530" + "$ref": "562" }, "decorators": [] } @@ -6506,12 +6903,12 @@ "decorators": [] }, { - "$id": "537", + "$id": "569", "kind": "enum", "name": "ResponseStatus", "crossLanguageDefinitionId": "OpenAI.Response.status.anonymous", "valueType": { - "$id": "538", + "$id": "570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6519,80 +6916,80 @@ }, "values": [ { - "$id": "539", + "$id": "571", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "538" + "$ref": "570" }, "enumType": { - "$ref": "537" + "$ref": "569" }, "decorators": [] }, { - "$id": "540", + "$id": "572", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "538" + "$ref": "570" }, "enumType": { - "$ref": "537" + "$ref": "569" }, "decorators": [] }, { - "$id": "541", + "$id": "573", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "538" + "$ref": "570" }, "enumType": { - "$ref": "537" + "$ref": "569" }, "decorators": [] }, { - "$id": "542", + "$id": "574", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "538" + "$ref": "570" }, "enumType": { - "$ref": "537" + "$ref": "569" }, "decorators": [] }, { - "$id": "543", + "$id": "575", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "538" + "$ref": "570" }, "enumType": { - "$ref": "537" + "$ref": "569" }, "decorators": [] }, { - "$id": "544", + "$id": "576", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "538" + "$ref": "570" }, "enumType": { - "$ref": "537" + "$ref": "569" }, "decorators": [] } @@ -6604,12 +7001,12 @@ "decorators": [] }, { - "$id": "545", + "$id": "577", "kind": "enum", "name": "ResponseErrorCode", "crossLanguageDefinitionId": "OpenAI.ResponseErrorCode", "valueType": { - "$id": "546", + "$id": "578", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6617,236 +7014,236 @@ }, "values": [ { - "$id": "547", + "$id": "579", "kind": "enumvalue", "name": "server_error", "value": "server_error", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "548", + "$id": "580", "kind": "enumvalue", "name": "rate_limit_exceeded", "value": "rate_limit_exceeded", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "549", + "$id": "581", "kind": "enumvalue", "name": "invalid_prompt", "value": "invalid_prompt", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "550", + "$id": "582", "kind": "enumvalue", "name": "vector_store_timeout", "value": "vector_store_timeout", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "551", + "$id": "583", "kind": "enumvalue", "name": "invalid_image", "value": "invalid_image", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "552", + "$id": "584", "kind": "enumvalue", "name": "invalid_image_format", "value": "invalid_image_format", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "553", + "$id": "585", "kind": "enumvalue", "name": "invalid_base64_image", "value": "invalid_base64_image", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "554", + "$id": "586", "kind": "enumvalue", "name": "invalid_image_url", "value": "invalid_image_url", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "555", + "$id": "587", "kind": "enumvalue", "name": "image_too_large", "value": "image_too_large", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "556", + "$id": "588", "kind": "enumvalue", "name": "image_too_small", "value": "image_too_small", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "557", + "$id": "589", "kind": "enumvalue", "name": "image_parse_error", "value": "image_parse_error", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "558", + "$id": "590", "kind": "enumvalue", "name": "image_content_policy_violation", "value": "image_content_policy_violation", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "559", + "$id": "591", "kind": "enumvalue", "name": "invalid_image_mode", "value": "invalid_image_mode", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "560", + "$id": "592", "kind": "enumvalue", "name": "image_file_too_large", "value": "image_file_too_large", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "561", + "$id": "593", "kind": "enumvalue", "name": "unsupported_image_media_type", "value": "unsupported_image_media_type", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "562", + "$id": "594", "kind": "enumvalue", "name": "empty_image_file", "value": "empty_image_file", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "563", + "$id": "595", "kind": "enumvalue", "name": "failed_to_download_image", "value": "failed_to_download_image", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] }, { - "$id": "564", + "$id": "596", "kind": "enumvalue", "name": "image_file_not_found", "value": "image_file_not_found", "valueType": { - "$ref": "546" + "$ref": "578" }, "enumType": { - "$ref": "545" + "$ref": "577" }, "decorators": [] } @@ -6859,12 +7256,12 @@ "decorators": [] }, { - "$id": "565", + "$id": "597", "kind": "enum", "name": "ResponseIncompleteDetailsReason", "crossLanguageDefinitionId": "OpenAI.Response.incomplete_details.reason.anonymous", "valueType": { - "$id": "566", + "$id": "598", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6872,28 +7269,28 @@ }, "values": [ { - "$id": "567", + "$id": "599", "kind": "enumvalue", "name": "max_output_tokens", "value": "max_output_tokens", "valueType": { - "$ref": "566" + "$ref": "598" }, "enumType": { - "$ref": "565" + "$ref": "597" }, "decorators": [] }, { - "$id": "568", + "$id": "600", "kind": "enumvalue", "name": "content_filter", "value": "content_filter", "valueType": { - "$ref": "566" + "$ref": "598" }, "enumType": { - "$ref": "565" + "$ref": "597" }, "decorators": [] } @@ -6905,12 +7302,12 @@ "decorators": [] }, { - "$id": "569", + "$id": "601", "kind": "enum", "name": "ResponsesMessageItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ResponsesMessageItemResource.status.anonymous", "valueType": { - "$id": "570", + "$id": "602", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6918,41 +7315,41 @@ }, "values": [ { - "$id": "571", + "$id": "603", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "570" + "$ref": "602" }, "enumType": { - "$ref": "569" + "$ref": "601" }, "decorators": [] }, { - "$id": "572", + "$id": "604", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "570" + "$ref": "602" }, "enumType": { - "$ref": "569" + "$ref": "601" }, "decorators": [] }, { - "$id": "573", + "$id": "605", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "570" + "$ref": "602" }, "enumType": { - "$ref": "569" + "$ref": "601" }, "decorators": [] } @@ -6964,12 +7361,12 @@ "decorators": [] }, { - "$id": "574", + "$id": "606", "kind": "enum", "name": "ComputerToolCallOutputItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ComputerToolCallOutputItemResource.status.anonymous", "valueType": { - "$id": "575", + "$id": "607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6977,41 +7374,41 @@ }, "values": [ { - "$id": "576", + "$id": "608", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "575" + "$ref": "607" }, "enumType": { - "$ref": "574" + "$ref": "606" }, "decorators": [] }, { - "$id": "577", + "$id": "609", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "575" + "$ref": "607" }, "enumType": { - "$ref": "574" + "$ref": "606" }, "decorators": [] }, { - "$id": "578", + "$id": "610", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "575" + "$ref": "607" }, "enumType": { - "$ref": "574" + "$ref": "606" }, "decorators": [] } @@ -7023,12 +7420,12 @@ "decorators": [] }, { - "$id": "579", + "$id": "611", "kind": "enum", "name": "FunctionToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.FunctionToolCallItemResource.status.anonymous", "valueType": { - "$id": "580", + "$id": "612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7036,41 +7433,41 @@ }, "values": [ { - "$id": "581", + "$id": "613", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "580" + "$ref": "612" }, "enumType": { - "$ref": "579" + "$ref": "611" }, "decorators": [] }, { - "$id": "582", + "$id": "614", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "580" + "$ref": "612" }, "enumType": { - "$ref": "579" + "$ref": "611" }, "decorators": [] }, { - "$id": "583", + "$id": "615", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "580" + "$ref": "612" }, "enumType": { - "$ref": "579" + "$ref": "611" }, "decorators": [] } @@ -7082,12 +7479,12 @@ "decorators": [] }, { - "$id": "584", + "$id": "616", "kind": "enum", "name": "FunctionToolCallOutputItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.FunctionToolCallOutputItemResource.status.anonymous", "valueType": { - "$id": "585", + "$id": "617", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7095,41 +7492,41 @@ }, "values": [ { - "$id": "586", + "$id": "618", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "585" + "$ref": "617" }, "enumType": { - "$ref": "584" + "$ref": "616" }, "decorators": [] }, { - "$id": "587", + "$id": "619", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "585" + "$ref": "617" }, "enumType": { - "$ref": "584" + "$ref": "616" }, "decorators": [] }, { - "$id": "588", + "$id": "620", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "585" + "$ref": "617" }, "enumType": { - "$ref": "584" + "$ref": "616" }, "decorators": [] } @@ -7141,12 +7538,12 @@ "decorators": [] }, { - "$id": "589", + "$id": "621", "kind": "enum", "name": "FileSearchToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.FileSearchToolCallItemResource.status.anonymous", "valueType": { - "$id": "590", + "$id": "622", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7154,67 +7551,67 @@ }, "values": [ { - "$id": "591", + "$id": "623", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "590" + "$ref": "622" }, "enumType": { - "$ref": "589" + "$ref": "621" }, "decorators": [] }, { - "$id": "592", + "$id": "624", "kind": "enumvalue", "name": "searching", "value": "searching", "valueType": { - "$ref": "590" + "$ref": "622" }, "enumType": { - "$ref": "589" + "$ref": "621" }, "decorators": [] }, { - "$id": "593", + "$id": "625", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "590" + "$ref": "622" }, "enumType": { - "$ref": "589" + "$ref": "621" }, "decorators": [] }, { - "$id": "594", + "$id": "626", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "590" + "$ref": "622" }, "enumType": { - "$ref": "589" + "$ref": "621" }, "decorators": [] }, { - "$id": "595", + "$id": "627", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "590" + "$ref": "622" }, "enumType": { - "$ref": "589" + "$ref": "621" }, "decorators": [] } @@ -7226,12 +7623,12 @@ "decorators": [] }, { - "$id": "596", + "$id": "628", "kind": "enum", "name": "ComputerToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ComputerToolCallItemResource.status.anonymous", "valueType": { - "$id": "597", + "$id": "629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7239,41 +7636,41 @@ }, "values": [ { - "$id": "598", + "$id": "630", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "597" + "$ref": "629" }, "enumType": { - "$ref": "596" + "$ref": "628" }, "decorators": [] }, { - "$id": "599", + "$id": "631", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "597" + "$ref": "629" }, "enumType": { - "$ref": "596" + "$ref": "628" }, "decorators": [] }, { - "$id": "600", + "$id": "632", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "597" + "$ref": "629" }, "enumType": { - "$ref": "596" + "$ref": "628" }, "decorators": [] } @@ -7285,12 +7682,12 @@ "decorators": [] }, { - "$id": "601", + "$id": "633", "kind": "enum", "name": "WebSearchToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.WebSearchToolCallItemResource.status.anonymous", "valueType": { - "$id": "602", + "$id": "634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7298,54 +7695,54 @@ }, "values": [ { - "$id": "603", + "$id": "635", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "602" + "$ref": "634" }, "enumType": { - "$ref": "601" + "$ref": "633" }, "decorators": [] }, { - "$id": "604", + "$id": "636", "kind": "enumvalue", "name": "searching", "value": "searching", "valueType": { - "$ref": "602" + "$ref": "634" }, "enumType": { - "$ref": "601" + "$ref": "633" }, "decorators": [] }, { - "$id": "605", + "$id": "637", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "602" + "$ref": "634" }, "enumType": { - "$ref": "601" + "$ref": "633" }, "decorators": [] }, { - "$id": "606", + "$id": "638", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "602" + "$ref": "634" }, "enumType": { - "$ref": "601" + "$ref": "633" }, "decorators": [] } @@ -7357,12 +7754,12 @@ "decorators": [] }, { - "$id": "607", + "$id": "639", "kind": "enum", "name": "ReasoningItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ReasoningItemResource.status.anonymous", "valueType": { - "$id": "608", + "$id": "640", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7370,41 +7767,41 @@ }, "values": [ { - "$id": "609", + "$id": "641", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "608" + "$ref": "640" }, "enumType": { - "$ref": "607" + "$ref": "639" }, "decorators": [] }, { - "$id": "610", + "$id": "642", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "608" + "$ref": "640" }, "enumType": { - "$ref": "607" + "$ref": "639" }, "decorators": [] }, { - "$id": "611", + "$id": "643", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "608" + "$ref": "640" }, "enumType": { - "$ref": "607" + "$ref": "639" }, "decorators": [] } @@ -7416,12 +7813,12 @@ "decorators": [] }, { - "$id": "612", + "$id": "644", "kind": "enum", "name": "ImageGenToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.ImageGenToolCallItemResource.status.anonymous", "valueType": { - "$id": "613", + "$id": "645", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7429,54 +7826,54 @@ }, "values": [ { - "$id": "614", + "$id": "646", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "613" + "$ref": "645" }, "enumType": { - "$ref": "612" + "$ref": "644" }, "decorators": [] }, { - "$id": "615", + "$id": "647", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "613" + "$ref": "645" }, "enumType": { - "$ref": "612" + "$ref": "644" }, "decorators": [] }, { - "$id": "616", + "$id": "648", "kind": "enumvalue", "name": "generating", "value": "generating", "valueType": { - "$ref": "613" + "$ref": "645" }, "enumType": { - "$ref": "612" + "$ref": "644" }, "decorators": [] }, { - "$id": "617", + "$id": "649", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "613" + "$ref": "645" }, "enumType": { - "$ref": "612" + "$ref": "644" }, "decorators": [] } @@ -7488,12 +7885,12 @@ "decorators": [] }, { - "$id": "618", + "$id": "650", "kind": "enum", "name": "CodeInterpreterToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.CodeInterpreterToolCallItemResource.status.anonymous", "valueType": { - "$id": "619", + "$id": "651", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7501,41 +7898,41 @@ }, "values": [ { - "$id": "620", + "$id": "652", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "619" + "$ref": "651" }, "enumType": { - "$ref": "618" + "$ref": "650" }, "decorators": [] }, { - "$id": "621", + "$id": "653", "kind": "enumvalue", "name": "interpreting", "value": "interpreting", "valueType": { - "$ref": "619" + "$ref": "651" }, "enumType": { - "$ref": "618" + "$ref": "650" }, "decorators": [] }, { - "$id": "622", + "$id": "654", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "619" + "$ref": "651" }, "enumType": { - "$ref": "618" + "$ref": "650" }, "decorators": [] } @@ -7547,12 +7944,12 @@ "decorators": [] }, { - "$id": "623", + "$id": "655", "kind": "enum", "name": "LocalShellToolCallItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallItemResource.status.anonymous", "valueType": { - "$id": "624", + "$id": "656", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7560,41 +7957,41 @@ }, "values": [ { - "$id": "625", + "$id": "657", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "624" + "$ref": "656" }, "enumType": { - "$ref": "623" + "$ref": "655" }, "decorators": [] }, { - "$id": "626", + "$id": "658", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "624" + "$ref": "656" }, "enumType": { - "$ref": "623" + "$ref": "655" }, "decorators": [] }, { - "$id": "627", + "$id": "659", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "624" + "$ref": "656" }, "enumType": { - "$ref": "623" + "$ref": "655" }, "decorators": [] } @@ -7606,12 +8003,12 @@ "decorators": [] }, { - "$id": "628", + "$id": "660", "kind": "enum", "name": "LocalShellToolCallOutputItemResourceStatus", "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemResource.status.anonymous", "valueType": { - "$id": "629", + "$id": "661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7619,41 +8016,41 @@ }, "values": [ { - "$id": "630", + "$id": "662", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "629" + "$ref": "661" }, "enumType": { - "$ref": "628" + "$ref": "660" }, "decorators": [] }, { - "$id": "631", + "$id": "663", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "629" + "$ref": "661" }, "enumType": { - "$ref": "628" + "$ref": "660" }, "decorators": [] }, { - "$id": "632", + "$id": "664", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "629" + "$ref": "661" }, "enumType": { - "$ref": "628" + "$ref": "660" }, "decorators": [] } @@ -7665,12 +8062,369 @@ "decorators": [] }, { - "$id": "633", + "$id": "665", + "kind": "enum", + "name": "FunctionShellCallItemStatus", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemStatus", + "valueType": { + "$id": "666", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "667", + "kind": "enumvalue", + "name": "in_progress", + "value": "in_progress", + "valueType": { + "$ref": "666" + }, + "enumType": { + "$ref": "665" + }, + "decorators": [] + }, + { + "$id": "668", + "kind": "enumvalue", + "name": "completed", + "value": "completed", + "valueType": { + "$ref": "666" + }, + "enumType": { + "$ref": "665" + }, + "decorators": [] + }, + { + "$id": "669", + "kind": "enumvalue", + "name": "incomplete", + "value": "incomplete", + "valueType": { + "$ref": "666" + }, + "enumType": { + "$ref": "665" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "doc": "The status of a shell tool call item.", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "670", + "kind": "enum", + "name": "FunctionShellCallOutputItemResourceStatus", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemResource.status.anonymous", + "valueType": { + "$id": "671", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "672", + "kind": "enumvalue", + "name": "in_progress", + "value": "in_progress", + "valueType": { + "$ref": "671" + }, + "enumType": { + "$ref": "670" + }, + "decorators": [] + }, + { + "$id": "673", + "kind": "enumvalue", + "name": "completed", + "value": "completed", + "valueType": { + "$ref": "671" + }, + "enumType": { + "$ref": "670" + }, + "decorators": [] + }, + { + "$id": "674", + "kind": "enumvalue", + "name": "incomplete", + "value": "incomplete", + "valueType": { + "$ref": "671" + }, + "enumType": { + "$ref": "670" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "675", + "kind": "enum", + "name": "ApplyPatchCallStatusParam", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchCallStatusParam", + "valueType": { + "$id": "676", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "677", + "kind": "enumvalue", + "name": "in_progress", + "value": "in_progress", + "valueType": { + "$ref": "676" + }, + "enumType": { + "$ref": "675" + }, + "decorators": [] + }, + { + "$id": "678", + "kind": "enumvalue", + "name": "completed", + "value": "completed", + "valueType": { + "$ref": "676" + }, + "enumType": { + "$ref": "675" + }, + "decorators": [] + }, + { + "$id": "679", + "kind": "enumvalue", + "name": "incomplete", + "value": "incomplete", + "valueType": { + "$ref": "676" + }, + "enumType": { + "$ref": "675" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "doc": "The status of an apply_patch tool call.", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "680", + "kind": "enum", + "name": "ApplyPatchCallOutputStatusParam", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchCallOutputStatusParam", + "valueType": { + "$id": "681", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "682", + "kind": "enumvalue", + "name": "in_progress", + "value": "in_progress", + "valueType": { + "$ref": "681" + }, + "enumType": { + "$ref": "680" + }, + "decorators": [] + }, + { + "$id": "683", + "kind": "enumvalue", + "name": "completed", + "value": "completed", + "valueType": { + "$ref": "681" + }, + "enumType": { + "$ref": "680" + }, + "decorators": [] + }, + { + "$id": "684", + "kind": "enumvalue", + "name": "incomplete", + "value": "incomplete", + "valueType": { + "$ref": "681" + }, + "enumType": { + "$ref": "680" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "doc": "The status of an apply_patch tool call output.", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "685", + "kind": "enum", + "name": "CustomToolCallItemResourceStatus", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemResource.status.anonymous", + "valueType": { + "$id": "686", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "687", + "kind": "enumvalue", + "name": "in_progress", + "value": "in_progress", + "valueType": { + "$ref": "686" + }, + "enumType": { + "$ref": "685" + }, + "decorators": [] + }, + { + "$id": "688", + "kind": "enumvalue", + "name": "completed", + "value": "completed", + "valueType": { + "$ref": "686" + }, + "enumType": { + "$ref": "685" + }, + "decorators": [] + }, + { + "$id": "689", + "kind": "enumvalue", + "name": "incomplete", + "value": "incomplete", + "valueType": { + "$ref": "686" + }, + "enumType": { + "$ref": "685" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "690", + "kind": "enum", + "name": "CustomToolCallOutputItemResourceStatus", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemResource.status.anonymous", + "valueType": { + "$id": "691", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "692", + "kind": "enumvalue", + "name": "in_progress", + "value": "in_progress", + "valueType": { + "$ref": "691" + }, + "enumType": { + "$ref": "690" + }, + "decorators": [] + }, + { + "$id": "693", + "kind": "enumvalue", + "name": "completed", + "value": "completed", + "valueType": { + "$ref": "691" + }, + "enumType": { + "$ref": "690" + }, + "decorators": [] + }, + { + "$id": "694", + "kind": "enumvalue", + "name": "incomplete", + "value": "incomplete", + "valueType": { + "$ref": "691" + }, + "enumType": { + "$ref": "690" + }, + "decorators": [] + } + ], + "namespace": "OpenAI", + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "decorators": [] + }, + { + "$id": "695", "kind": "enum", "name": "ResponseStreamEventType", "crossLanguageDefinitionId": "OpenAI.ResponseStreamEventType", "valueType": { - "$id": "634", + "$id": "696", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7678,717 +8432,743 @@ }, "values": [ { - "$id": "635", + "$id": "697", "kind": "enumvalue", "name": "response_audio_delta", "value": "response.audio.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "636", + "$id": "698", "kind": "enumvalue", "name": "response_audio_done", "value": "response.audio.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "637", + "$id": "699", "kind": "enumvalue", "name": "response_audio_transcript_delta", "value": "response.audio_transcript.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "638", + "$id": "700", "kind": "enumvalue", "name": "response_audio_transcript_done", "value": "response.audio_transcript.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "639", + "$id": "701", "kind": "enumvalue", "name": "response_code_interpreter_call_code_delta", "value": "response.code_interpreter_call_code.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "640", + "$id": "702", "kind": "enumvalue", "name": "response_code_interpreter_call_code_done", "value": "response.code_interpreter_call_code.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "641", + "$id": "703", "kind": "enumvalue", "name": "response_code_interpreter_call_completed", "value": "response.code_interpreter_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "642", + "$id": "704", "kind": "enumvalue", "name": "response_code_interpreter_call_in_progress", "value": "response.code_interpreter_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "643", + "$id": "705", "kind": "enumvalue", "name": "response_code_interpreter_call_interpreting", "value": "response.code_interpreter_call.interpreting", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "644", + "$id": "706", "kind": "enumvalue", "name": "response_completed", "value": "response.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "645", + "$id": "707", "kind": "enumvalue", "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "646", + "$id": "708", "kind": "enumvalue", "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "647", + "$id": "709", "kind": "enumvalue", "name": "response_created", "value": "response.created", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "648", + "$id": "710", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "649", + "$id": "711", "kind": "enumvalue", "name": "response_file_search_call_completed", "value": "response.file_search_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "650", + "$id": "712", "kind": "enumvalue", "name": "response_file_search_call_in_progress", "value": "response.file_search_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "651", + "$id": "713", "kind": "enumvalue", "name": "response_file_search_call_searching", "value": "response.file_search_call.searching", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "652", + "$id": "714", "kind": "enumvalue", "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "653", + "$id": "715", "kind": "enumvalue", "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "654", + "$id": "716", "kind": "enumvalue", "name": "response_in_progress", "value": "response.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "655", + "$id": "717", "kind": "enumvalue", "name": "response_failed", "value": "response.failed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "656", + "$id": "718", "kind": "enumvalue", "name": "response_incomplete", "value": "response.incomplete", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "657", + "$id": "719", "kind": "enumvalue", "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "658", + "$id": "720", "kind": "enumvalue", "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "659", + "$id": "721", "kind": "enumvalue", "name": "response_refusal_delta", "value": "response.refusal.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "660", + "$id": "722", "kind": "enumvalue", "name": "response_refusal_done", "value": "response.refusal.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "661", + "$id": "723", "kind": "enumvalue", "name": "response_output_text_annotation_added", "value": "response.output_text.annotation.added", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "662", + "$id": "724", "kind": "enumvalue", "name": "response_output_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "663", + "$id": "725", "kind": "enumvalue", "name": "response_output_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "664", + "$id": "726", "kind": "enumvalue", "name": "response_reasoning_summary_part_added", "value": "response.reasoning_summary_part.added", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "665", + "$id": "727", "kind": "enumvalue", "name": "response_reasoning_summary_part_done", "value": "response.reasoning_summary_part.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "666", + "$id": "728", "kind": "enumvalue", "name": "response_reasoning_summary_text_delta", "value": "response.reasoning_summary_text.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "667", + "$id": "729", "kind": "enumvalue", "name": "response_reasoning_summary_text_done", "value": "response.reasoning_summary_text.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "668", + "$id": "730", "kind": "enumvalue", "name": "response_web_search_call_completed", "value": "response.web_search_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "669", + "$id": "731", "kind": "enumvalue", "name": "response_web_search_call_in_progress", "value": "response.web_search_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "670", + "$id": "732", "kind": "enumvalue", "name": "response_web_search_call_searching", "value": "response.web_search_call.searching", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "671", + "$id": "733", "kind": "enumvalue", "name": "response_image_generation_call_completed", "value": "response.image_generation_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "672", + "$id": "734", "kind": "enumvalue", "name": "response_image_generation_call_generating", "value": "response.image_generation_call.generating", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "673", + "$id": "735", "kind": "enumvalue", "name": "response_image_generation_call_in_progress", "value": "response.image_generation_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "674", + "$id": "736", "kind": "enumvalue", "name": "response_image_generation_call_partial_image", "value": "response.image_generation_call.partial_image", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "675", + "$id": "737", "kind": "enumvalue", "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "676", + "$id": "738", "kind": "enumvalue", "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "677", + "$id": "739", "kind": "enumvalue", "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "678", + "$id": "740", "kind": "enumvalue", "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "679", + "$id": "741", "kind": "enumvalue", "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "680", + "$id": "742", "kind": "enumvalue", "name": "response_mcp_list_tools_completed", "value": "response.mcp_list_tools.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "681", + "$id": "743", "kind": "enumvalue", "name": "response_mcp_list_tools_failed", "value": "response.mcp_list_tools.failed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "682", + "$id": "744", "kind": "enumvalue", "name": "response_mcp_list_tools_in_progress", "value": "response.mcp_list_tools.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "683", + "$id": "745", "kind": "enumvalue", "name": "response_queued", "value": "response.queued", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "684", + "$id": "746", "kind": "enumvalue", "name": "response_reasoning_delta", "value": "response.reasoning.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "685", + "$id": "747", "kind": "enumvalue", "name": "response_reasoning_done", "value": "response.reasoning.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "686", + "$id": "748", "kind": "enumvalue", "name": "response_reasoning_summary_delta", "value": "response.reasoning_summary.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "687", + "$id": "749", "kind": "enumvalue", "name": "response_reasoning_summary_done", "value": "response.reasoning_summary.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "688", + "$id": "750", "kind": "enumvalue", "name": "response_reasoning_text_delta", "value": "response.reasoning_text.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" }, "decorators": [] }, { - "$id": "689", + "$id": "751", "kind": "enumvalue", "name": "response_reasoning_text_done", "value": "response.reasoning_text.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "633" + "$ref": "695" + }, + "decorators": [] + }, + { + "$id": "752", + "kind": "enumvalue", + "name": "response_custom_tool_call_input_delta", + "value": "response.custom_tool_call_input.delta", + "valueType": { + "$ref": "696" + }, + "enumType": { + "$ref": "695" + }, + "decorators": [] + }, + { + "$id": "753", + "kind": "enumvalue", + "name": "response_custom_tool_call_input_done", + "value": "response.custom_tool_call_input.done", + "valueType": { + "$ref": "696" + }, + "enumType": { + "$ref": "695" }, "decorators": [] } @@ -8400,12 +9180,12 @@ "decorators": [] }, { - "$id": "690", + "$id": "754", "kind": "enum", "name": "CreateMessageRequestRole", "crossLanguageDefinitionId": "OpenAI.CreateMessageRequest.role.anonymous", "valueType": { - "$id": "691", + "$id": "755", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8413,28 +9193,28 @@ }, "values": [ { - "$id": "692", + "$id": "756", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "691" + "$ref": "755" }, "enumType": { - "$ref": "690" + "$ref": "754" }, "decorators": [] }, { - "$id": "693", + "$id": "757", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "691" + "$ref": "755" }, "enumType": { - "$ref": "690" + "$ref": "754" }, "decorators": [] } @@ -8446,12 +9226,12 @@ "decorators": [] }, { - "$id": "694", + "$id": "758", "kind": "enum", "name": "MessageContentType", "crossLanguageDefinitionId": "OpenAI.MessageContentType", "valueType": { - "$id": "695", + "$id": "759", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8459,57 +9239,57 @@ }, "values": [ { - "$id": "696", + "$id": "760", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "695" + "$ref": "759" }, "enumType": { - "$ref": "694" + "$ref": "758" }, "doc": "The content is a text message.", "decorators": [] }, { - "$id": "697", + "$id": "761", "kind": "enumvalue", "name": "image_file", "value": "image_file", "valueType": { - "$ref": "695" + "$ref": "759" }, "enumType": { - "$ref": "694" + "$ref": "758" }, "doc": "The content is an image file.", "decorators": [] }, { - "$id": "698", + "$id": "762", "kind": "enumvalue", "name": "image_url", "value": "image_url", "valueType": { - "$ref": "695" + "$ref": "759" }, "enumType": { - "$ref": "694" + "$ref": "758" }, "doc": "The content is an image URL.", "decorators": [] }, { - "$id": "699", + "$id": "763", "kind": "enumvalue", "name": "refusal", "value": "refusal", "valueType": { - "$ref": "695" + "$ref": "759" }, "enumType": { - "$ref": "694" + "$ref": "758" }, "doc": "The content is a refusal message.", "decorators": [] @@ -8522,12 +9302,12 @@ "decorators": [] }, { - "$id": "700", + "$id": "764", "kind": "enum", "name": "MessageContentImageFileObjectImageFileDetail", "crossLanguageDefinitionId": "OpenAI.MessageContentImageFileObject.image_file.detail.anonymous", "valueType": { - "$id": "701", + "$id": "765", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8535,41 +9315,41 @@ }, "values": [ { - "$id": "702", + "$id": "766", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "701" + "$ref": "765" }, "enumType": { - "$ref": "700" + "$ref": "764" }, "decorators": [] }, { - "$id": "703", + "$id": "767", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "701" + "$ref": "765" }, "enumType": { - "$ref": "700" + "$ref": "764" }, "decorators": [] }, { - "$id": "704", + "$id": "768", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "701" + "$ref": "765" }, "enumType": { - "$ref": "700" + "$ref": "764" }, "decorators": [] } @@ -8581,12 +9361,12 @@ "decorators": [] }, { - "$id": "705", + "$id": "769", "kind": "enum", "name": "MessageContentTextAnnotationType", "crossLanguageDefinitionId": "OpenAI.MessageContentTextAnnotationType", "valueType": { - "$id": "706", + "$id": "770", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8594,28 +9374,28 @@ }, "values": [ { - "$id": "707", + "$id": "771", "kind": "enumvalue", "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "706" + "$ref": "770" }, "enumType": { - "$ref": "705" + "$ref": "769" }, "decorators": [] }, { - "$id": "708", + "$id": "772", "kind": "enumvalue", "name": "file_path", "value": "file_path", "valueType": { - "$ref": "706" + "$ref": "770" }, "enumType": { - "$ref": "705" + "$ref": "769" }, "decorators": [] } @@ -8627,12 +9407,12 @@ "decorators": [] }, { - "$id": "709", + "$id": "773", "kind": "enum", "name": "MessageContentImageUrlObjectImageUrlDetail", "crossLanguageDefinitionId": "OpenAI.MessageContentImageUrlObject.image_url.detail.anonymous", "valueType": { - "$id": "710", + "$id": "774", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8640,41 +9420,41 @@ }, "values": [ { - "$id": "711", + "$id": "775", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "710" + "$ref": "774" }, "enumType": { - "$ref": "709" + "$ref": "773" }, "decorators": [] }, { - "$id": "712", + "$id": "776", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "710" + "$ref": "774" }, "enumType": { - "$ref": "709" + "$ref": "773" }, "decorators": [] }, { - "$id": "713", + "$id": "777", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "710" + "$ref": "774" }, "enumType": { - "$ref": "709" + "$ref": "773" }, "decorators": [] } @@ -8686,12 +9466,12 @@ "decorators": [] }, { - "$id": "714", + "$id": "778", "kind": "enum", "name": "MessageObjectStatus", "crossLanguageDefinitionId": "OpenAI.MessageObject.status.anonymous", "valueType": { - "$id": "715", + "$id": "779", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8699,41 +9479,41 @@ }, "values": [ { - "$id": "716", + "$id": "780", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "715" + "$ref": "779" }, "enumType": { - "$ref": "714" + "$ref": "778" }, "decorators": [] }, { - "$id": "717", + "$id": "781", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "715" + "$ref": "779" }, "enumType": { - "$ref": "714" + "$ref": "778" }, "decorators": [] }, { - "$id": "718", + "$id": "782", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "715" + "$ref": "779" }, "enumType": { - "$ref": "714" + "$ref": "778" }, "decorators": [] } @@ -8745,12 +9525,12 @@ "decorators": [] }, { - "$id": "719", + "$id": "783", "kind": "enum", "name": "MessageObjectIncompleteDetailsReason", "crossLanguageDefinitionId": "OpenAI.MessageObject.incomplete_details.reason.anonymous", "valueType": { - "$id": "720", + "$id": "784", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8758,67 +9538,67 @@ }, "values": [ { - "$id": "721", + "$id": "785", "kind": "enumvalue", "name": "content_filter", "value": "content_filter", "valueType": { - "$ref": "720" + "$ref": "784" }, "enumType": { - "$ref": "719" + "$ref": "783" }, "decorators": [] }, { - "$id": "722", + "$id": "786", "kind": "enumvalue", "name": "max_tokens", "value": "max_tokens", "valueType": { - "$ref": "720" + "$ref": "784" }, "enumType": { - "$ref": "719" + "$ref": "783" }, "decorators": [] }, { - "$id": "723", + "$id": "787", "kind": "enumvalue", "name": "run_cancelled", "value": "run_cancelled", "valueType": { - "$ref": "720" + "$ref": "784" }, "enumType": { - "$ref": "719" + "$ref": "783" }, "decorators": [] }, { - "$id": "724", + "$id": "788", "kind": "enumvalue", "name": "run_expired", "value": "run_expired", "valueType": { - "$ref": "720" + "$ref": "784" }, "enumType": { - "$ref": "719" + "$ref": "783" }, "decorators": [] }, { - "$id": "725", + "$id": "789", "kind": "enumvalue", "name": "run_failed", "value": "run_failed", "valueType": { - "$ref": "720" + "$ref": "784" }, "enumType": { - "$ref": "719" + "$ref": "783" }, "decorators": [] } @@ -8830,12 +9610,12 @@ "decorators": [] }, { - "$id": "726", + "$id": "790", "kind": "enum", "name": "MessageObjectRole", "crossLanguageDefinitionId": "OpenAI.MessageObject.role.anonymous", "valueType": { - "$id": "727", + "$id": "791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8843,28 +9623,28 @@ }, "values": [ { - "$id": "728", + "$id": "792", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "727" + "$ref": "791" }, "enumType": { - "$ref": "726" + "$ref": "790" }, "decorators": [] }, { - "$id": "729", + "$id": "793", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "727" + "$ref": "791" }, "enumType": { - "$ref": "726" + "$ref": "790" }, "decorators": [] } @@ -8876,12 +9656,12 @@ "decorators": [] }, { - "$id": "730", + "$id": "794", "kind": "enum", "name": "CreateThreadAndRunRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateThreadAndRunRequest.model.anonymous", "valueType": { - "$id": "731", + "$id": "795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8889,418 +9669,418 @@ }, "values": [ { - "$id": "732", + "$id": "796", "kind": "enumvalue", "name": "gpt-4.1", "value": "gpt-4.1", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "733", + "$id": "797", "kind": "enumvalue", "name": "gpt-4.1-mini", "value": "gpt-4.1-mini", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "734", + "$id": "798", "kind": "enumvalue", "name": "gpt-4.1-nano", "value": "gpt-4.1-nano", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "735", + "$id": "799", "kind": "enumvalue", "name": "gpt-4.1-2025-04-14", "value": "gpt-4.1-2025-04-14", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "736", + "$id": "800", "kind": "enumvalue", "name": "gpt-4.1-mini-2025-04-14", "value": "gpt-4.1-mini-2025-04-14", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "737", + "$id": "801", "kind": "enumvalue", "name": "gpt-4.1-nano-2025-04-14", "value": "gpt-4.1-nano-2025-04-14", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "738", + "$id": "802", "kind": "enumvalue", "name": "gpt-4o", "value": "gpt-4o", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "739", + "$id": "803", "kind": "enumvalue", "name": "gpt-4o-2024-11-20", "value": "gpt-4o-2024-11-20", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "740", + "$id": "804", "kind": "enumvalue", "name": "gpt-4o-2024-08-06", "value": "gpt-4o-2024-08-06", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "741", + "$id": "805", "kind": "enumvalue", "name": "gpt-4o-2024-05-13", "value": "gpt-4o-2024-05-13", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "742", + "$id": "806", "kind": "enumvalue", "name": "gpt-4o-mini", "value": "gpt-4o-mini", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "743", + "$id": "807", "kind": "enumvalue", "name": "gpt-4o-mini-2024-07-18", "value": "gpt-4o-mini-2024-07-18", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "744", + "$id": "808", "kind": "enumvalue", "name": "gpt-4.5-preview", "value": "gpt-4.5-preview", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "745", + "$id": "809", "kind": "enumvalue", "name": "gpt-4.5-preview-2025-02-27", "value": "gpt-4.5-preview-2025-02-27", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "746", + "$id": "810", "kind": "enumvalue", "name": "gpt-4-turbo", "value": "gpt-4-turbo", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "747", + "$id": "811", "kind": "enumvalue", "name": "gpt-4-turbo-2024-04-09", "value": "gpt-4-turbo-2024-04-09", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "748", + "$id": "812", "kind": "enumvalue", "name": "gpt-4-0125-preview", "value": "gpt-4-0125-preview", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "749", + "$id": "813", "kind": "enumvalue", "name": "gpt-4-turbo-preview", "value": "gpt-4-turbo-preview", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "750", + "$id": "814", "kind": "enumvalue", "name": "gpt-4-1106-preview", "value": "gpt-4-1106-preview", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "751", + "$id": "815", "kind": "enumvalue", "name": "gpt-4-vision-preview", "value": "gpt-4-vision-preview", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "752", + "$id": "816", "kind": "enumvalue", "name": "gpt-4", "value": "gpt-4", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "753", + "$id": "817", "kind": "enumvalue", "name": "gpt-4-0314", "value": "gpt-4-0314", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "754", + "$id": "818", "kind": "enumvalue", "name": "gpt-4-0613", "value": "gpt-4-0613", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "755", + "$id": "819", "kind": "enumvalue", "name": "gpt-4-32k", "value": "gpt-4-32k", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "756", + "$id": "820", "kind": "enumvalue", "name": "gpt-4-32k-0314", "value": "gpt-4-32k-0314", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "757", + "$id": "821", "kind": "enumvalue", "name": "gpt-4-32k-0613", "value": "gpt-4-32k-0613", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "758", + "$id": "822", "kind": "enumvalue", "name": "gpt-3.5-turbo", "value": "gpt-3.5-turbo", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "759", + "$id": "823", "kind": "enumvalue", "name": "gpt-3.5-turbo-16k", "value": "gpt-3.5-turbo-16k", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "760", + "$id": "824", "kind": "enumvalue", "name": "gpt-3.5-turbo-0613", "value": "gpt-3.5-turbo-0613", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "761", + "$id": "825", "kind": "enumvalue", "name": "gpt-3.5-turbo-1106", "value": "gpt-3.5-turbo-1106", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "762", + "$id": "826", "kind": "enumvalue", "name": "gpt-3.5-turbo-0125", "value": "gpt-3.5-turbo-0125", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] }, { - "$id": "763", + "$id": "827", "kind": "enumvalue", "name": "gpt-3.5-turbo-16k-0613", "value": "gpt-3.5-turbo-16k-0613", "valueType": { - "$ref": "731" + "$ref": "795" }, "enumType": { - "$ref": "730" + "$ref": "794" }, "decorators": [] } @@ -9312,12 +10092,12 @@ "decorators": [] }, { - "$id": "764", + "$id": "828", "kind": "enum", "name": "TruncationObjectType", "crossLanguageDefinitionId": "OpenAI.TruncationObject.type.anonymous", "valueType": { - "$id": "765", + "$id": "829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9325,28 +10105,28 @@ }, "values": [ { - "$id": "766", + "$id": "830", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "765" + "$ref": "829" }, "enumType": { - "$ref": "764" + "$ref": "828" }, "decorators": [] }, { - "$id": "767", + "$id": "831", "kind": "enumvalue", "name": "last_messages", "value": "last_messages", "valueType": { - "$ref": "765" + "$ref": "829" }, "enumType": { - "$ref": "764" + "$ref": "828" }, "decorators": [] } @@ -9358,12 +10138,12 @@ "decorators": [] }, { - "$id": "768", + "$id": "832", "kind": "enum", "name": "CreateThreadAndRunRequestToolChoice1", "crossLanguageDefinitionId": "OpenAI.CreateThreadAndRunRequest.tool_choice.anonymous", "valueType": { - "$id": "769", + "$id": "833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9371,41 +10151,41 @@ }, "values": [ { - "$id": "770", + "$id": "834", "kind": "enumvalue", "name": "none", "value": "none", "valueType": { - "$ref": "769" + "$ref": "833" }, "enumType": { - "$ref": "768" + "$ref": "832" }, "decorators": [] }, { - "$id": "771", + "$id": "835", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "769" + "$ref": "833" }, "enumType": { - "$ref": "768" + "$ref": "832" }, "decorators": [] }, { - "$id": "772", + "$id": "836", "kind": "enumvalue", "name": "required", "value": "required", "valueType": { - "$ref": "769" + "$ref": "833" }, "enumType": { - "$ref": "768" + "$ref": "832" }, "decorators": [] } @@ -9417,12 +10197,12 @@ "decorators": [] }, { - "$id": "773", + "$id": "837", "kind": "enum", "name": "AssistantsNamedToolChoiceType", "crossLanguageDefinitionId": "OpenAI.AssistantsNamedToolChoice.type.anonymous", "valueType": { - "$id": "774", + "$id": "838", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9430,41 +10210,41 @@ }, "values": [ { - "$id": "775", + "$id": "839", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "774" + "$ref": "838" }, "enumType": { - "$ref": "773" + "$ref": "837" }, "decorators": [] }, { - "$id": "776", + "$id": "840", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "774" + "$ref": "838" }, "enumType": { - "$ref": "773" + "$ref": "837" }, "decorators": [] }, { - "$id": "777", + "$id": "841", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "774" + "$ref": "838" }, "enumType": { - "$ref": "773" + "$ref": "837" }, "decorators": [] } @@ -9476,12 +10256,12 @@ "decorators": [] }, { - "$id": "778", + "$id": "842", "kind": "enum", "name": "RunObjectStatus", "crossLanguageDefinitionId": "OpenAI.RunObject.status.anonymous", "valueType": { - "$id": "779", + "$id": "843", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9489,119 +10269,119 @@ }, "values": [ { - "$id": "780", + "$id": "844", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] }, { - "$id": "781", + "$id": "845", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] }, { - "$id": "782", + "$id": "846", "kind": "enumvalue", "name": "requires_action", "value": "requires_action", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] }, { - "$id": "783", + "$id": "847", "kind": "enumvalue", "name": "cancelling", "value": "cancelling", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] }, { - "$id": "784", + "$id": "848", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] }, { - "$id": "785", + "$id": "849", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] }, { - "$id": "786", + "$id": "850", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] }, { - "$id": "787", + "$id": "851", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] }, { - "$id": "788", + "$id": "852", "kind": "enumvalue", "name": "expired", "value": "expired", "valueType": { - "$ref": "779" + "$ref": "843" }, "enumType": { - "$ref": "778" + "$ref": "842" }, "decorators": [] } @@ -9613,12 +10393,12 @@ "decorators": [] }, { - "$id": "789", + "$id": "853", "kind": "enum", "name": "RunObjectLastErrorCode", "crossLanguageDefinitionId": "OpenAI.RunObject.last_error.code.anonymous", "valueType": { - "$id": "790", + "$id": "854", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9626,41 +10406,41 @@ }, "values": [ { - "$id": "791", + "$id": "855", "kind": "enumvalue", "name": "server_error", "value": "server_error", "valueType": { - "$ref": "790" + "$ref": "854" }, "enumType": { - "$ref": "789" + "$ref": "853" }, "decorators": [] }, { - "$id": "792", + "$id": "856", "kind": "enumvalue", "name": "rate_limit_exceeded", "value": "rate_limit_exceeded", "valueType": { - "$ref": "790" + "$ref": "854" }, "enumType": { - "$ref": "789" + "$ref": "853" }, "decorators": [] }, { - "$id": "793", + "$id": "857", "kind": "enumvalue", "name": "invalid_prompt", "value": "invalid_prompt", "valueType": { - "$ref": "790" + "$ref": "854" }, "enumType": { - "$ref": "789" + "$ref": "853" }, "decorators": [] } @@ -9672,12 +10452,12 @@ "decorators": [] }, { - "$id": "794", + "$id": "858", "kind": "enum", "name": "RunObjectIncompleteDetailsReason", "crossLanguageDefinitionId": "OpenAI.RunObject.incomplete_details.reason.anonymous", "valueType": { - "$id": "795", + "$id": "859", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9685,28 +10465,28 @@ }, "values": [ { - "$id": "796", + "$id": "860", "kind": "enumvalue", "name": "max_completion_tokens", "value": "max_completion_tokens", "valueType": { - "$ref": "795" + "$ref": "859" }, "enumType": { - "$ref": "794" + "$ref": "858" }, "decorators": [] }, { - "$id": "797", + "$id": "861", "kind": "enumvalue", "name": "max_prompt_tokens", "value": "max_prompt_tokens", "valueType": { - "$ref": "795" + "$ref": "859" }, "enumType": { - "$ref": "794" + "$ref": "858" }, "decorators": [] } @@ -9718,12 +10498,12 @@ "decorators": [] }, { - "$id": "798", + "$id": "862", "kind": "enum", "name": "RunStepObjectType", "crossLanguageDefinitionId": "OpenAI.RunStepObject.type.anonymous", "valueType": { - "$id": "799", + "$id": "863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9731,28 +10511,28 @@ }, "values": [ { - "$id": "800", + "$id": "864", "kind": "enumvalue", "name": "message_creation", "value": "message_creation", "valueType": { - "$ref": "799" + "$ref": "863" }, "enumType": { - "$ref": "798" + "$ref": "862" }, "decorators": [] }, { - "$id": "801", + "$id": "865", "kind": "enumvalue", "name": "tool_calls", "value": "tool_calls", "valueType": { - "$ref": "799" + "$ref": "863" }, "enumType": { - "$ref": "798" + "$ref": "862" }, "decorators": [] } @@ -9764,12 +10544,12 @@ "decorators": [] }, { - "$id": "802", + "$id": "866", "kind": "enum", "name": "RunStepObjectStatus", "crossLanguageDefinitionId": "OpenAI.RunStepObject.status.anonymous", "valueType": { - "$id": "803", + "$id": "867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9777,67 +10557,67 @@ }, "values": [ { - "$id": "804", + "$id": "868", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "803" + "$ref": "867" }, "enumType": { - "$ref": "802" + "$ref": "866" }, "decorators": [] }, { - "$id": "805", + "$id": "869", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "803" + "$ref": "867" }, "enumType": { - "$ref": "802" + "$ref": "866" }, "decorators": [] }, { - "$id": "806", + "$id": "870", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "803" + "$ref": "867" }, "enumType": { - "$ref": "802" + "$ref": "866" }, "decorators": [] }, { - "$id": "807", + "$id": "871", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "803" + "$ref": "867" }, "enumType": { - "$ref": "802" + "$ref": "866" }, "decorators": [] }, { - "$id": "808", + "$id": "872", "kind": "enumvalue", "name": "expired", "value": "expired", "valueType": { - "$ref": "803" + "$ref": "867" }, "enumType": { - "$ref": "802" + "$ref": "866" }, "decorators": [] } @@ -9849,12 +10629,12 @@ "decorators": [] }, { - "$id": "809", + "$id": "873", "kind": "enum", "name": "RunStepDetailsType", "crossLanguageDefinitionId": "OpenAI.RunStepDetailsType", "valueType": { - "$id": "810", + "$id": "874", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9862,28 +10642,28 @@ }, "values": [ { - "$id": "811", + "$id": "875", "kind": "enumvalue", "name": "message_creation", "value": "message_creation", "valueType": { - "$ref": "810" + "$ref": "874" }, "enumType": { - "$ref": "809" + "$ref": "873" }, "decorators": [] }, { - "$id": "812", + "$id": "876", "kind": "enumvalue", "name": "tool_calls", "value": "tool_calls", "valueType": { - "$ref": "810" + "$ref": "874" }, "enumType": { - "$ref": "809" + "$ref": "873" }, "decorators": [] } @@ -9895,12 +10675,12 @@ "decorators": [] }, { - "$id": "813", + "$id": "877", "kind": "enum", "name": "RunStepDetailsToolCallType", "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallType", "valueType": { - "$id": "814", + "$id": "878", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9908,41 +10688,41 @@ }, "values": [ { - "$id": "815", + "$id": "879", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "814" + "$ref": "878" }, "enumType": { - "$ref": "813" + "$ref": "877" }, "decorators": [] }, { - "$id": "816", + "$id": "880", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "814" + "$ref": "878" }, "enumType": { - "$ref": "813" + "$ref": "877" }, "decorators": [] }, { - "$id": "817", + "$id": "881", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "814" + "$ref": "878" }, "enumType": { - "$ref": "813" + "$ref": "877" }, "decorators": [] } @@ -9954,12 +10734,12 @@ "decorators": [] }, { - "$id": "818", + "$id": "882", "kind": "enum", "name": "RunStepDetailsCodeInterpreterOutputType", "crossLanguageDefinitionId": "OpenAI.RunStepDetailsCodeInterpreterOutputType", "valueType": { - "$id": "819", + "$id": "883", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9967,28 +10747,28 @@ }, "values": [ { - "$id": "820", + "$id": "884", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "819" + "$ref": "883" }, "enumType": { - "$ref": "818" + "$ref": "882" }, "decorators": [] }, { - "$id": "821", + "$id": "885", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "819" + "$ref": "883" }, "enumType": { - "$ref": "818" + "$ref": "882" }, "decorators": [] } @@ -10000,12 +10780,12 @@ "decorators": [] }, { - "$id": "822", + "$id": "886", "kind": "enum", "name": "RunStepObjectLastErrorCode", "crossLanguageDefinitionId": "OpenAI.RunStepObject.last_error.code.anonymous", "valueType": { - "$id": "823", + "$id": "887", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10013,28 +10793,28 @@ }, "values": [ { - "$id": "824", + "$id": "888", "kind": "enumvalue", "name": "server_error", "value": "server_error", "valueType": { - "$ref": "823" + "$ref": "887" }, "enumType": { - "$ref": "822" + "$ref": "886" }, "decorators": [] }, { - "$id": "825", + "$id": "889", "kind": "enumvalue", "name": "rate_limit_exceeded", "value": "rate_limit_exceeded", "valueType": { - "$ref": "823" + "$ref": "887" }, "enumType": { - "$ref": "822" + "$ref": "886" }, "decorators": [] } @@ -10046,12 +10826,12 @@ "decorators": [] }, { - "$id": "826", + "$id": "890", "kind": "enum", "name": "VectorStoreObjectStatus", "crossLanguageDefinitionId": "OpenAI.VectorStoreObject.status.anonymous", "valueType": { - "$id": "827", + "$id": "891", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10059,41 +10839,41 @@ }, "values": [ { - "$id": "828", + "$id": "892", "kind": "enumvalue", "name": "expired", "value": "expired", "valueType": { - "$ref": "827" + "$ref": "891" }, "enumType": { - "$ref": "826" + "$ref": "890" }, "decorators": [] }, { - "$id": "829", + "$id": "893", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "827" + "$ref": "891" }, "enumType": { - "$ref": "826" + "$ref": "890" }, "decorators": [] }, { - "$id": "830", + "$id": "894", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "827" + "$ref": "891" }, "enumType": { - "$ref": "826" + "$ref": "890" }, "decorators": [] } @@ -10105,12 +10885,12 @@ "decorators": [] }, { - "$id": "831", + "$id": "895", "kind": "enum", "name": "VectorStoreFileBatchObjectStatus", "crossLanguageDefinitionId": "OpenAI.VectorStoreFileBatchObject.status.anonymous", "valueType": { - "$id": "832", + "$id": "896", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10118,54 +10898,54 @@ }, "values": [ { - "$id": "833", + "$id": "897", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "832" + "$ref": "896" }, "enumType": { - "$ref": "831" + "$ref": "895" }, "decorators": [] }, { - "$id": "834", + "$id": "898", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "832" + "$ref": "896" }, "enumType": { - "$ref": "831" + "$ref": "895" }, "decorators": [] }, { - "$id": "835", + "$id": "899", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "832" + "$ref": "896" }, "enumType": { - "$ref": "831" + "$ref": "895" }, "decorators": [] }, { - "$id": "836", + "$id": "900", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "832" + "$ref": "896" }, "enumType": { - "$ref": "831" + "$ref": "895" }, "decorators": [] } @@ -10177,12 +10957,12 @@ "decorators": [] }, { - "$id": "837", + "$id": "901", "kind": "enum", "name": "VectorStoreFileObjectStatus", "crossLanguageDefinitionId": "OpenAI.VectorStoreFileObject.status.anonymous", "valueType": { - "$id": "838", + "$id": "902", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10190,54 +10970,54 @@ }, "values": [ { - "$id": "839", + "$id": "903", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "838" + "$ref": "902" }, "enumType": { - "$ref": "837" + "$ref": "901" }, "decorators": [] }, { - "$id": "840", + "$id": "904", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "838" + "$ref": "902" }, "enumType": { - "$ref": "837" + "$ref": "901" }, "decorators": [] }, { - "$id": "841", + "$id": "905", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "838" + "$ref": "902" }, "enumType": { - "$ref": "837" + "$ref": "901" }, "decorators": [] }, { - "$id": "842", + "$id": "906", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "838" + "$ref": "902" }, "enumType": { - "$ref": "837" + "$ref": "901" }, "decorators": [] } @@ -10249,12 +11029,12 @@ "decorators": [] }, { - "$id": "843", + "$id": "907", "kind": "enum", "name": "VectorStoreFileObjectLastErrorCode", "crossLanguageDefinitionId": "OpenAI.VectorStoreFileObject.last_error.code.anonymous", "valueType": { - "$id": "844", + "$id": "908", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10262,41 +11042,41 @@ }, "values": [ { - "$id": "845", + "$id": "909", "kind": "enumvalue", "name": "server_error", "value": "server_error", "valueType": { - "$ref": "844" + "$ref": "908" }, "enumType": { - "$ref": "843" + "$ref": "907" }, "decorators": [] }, { - "$id": "846", + "$id": "910", "kind": "enumvalue", "name": "unsupported_file", "value": "unsupported_file", "valueType": { - "$ref": "844" + "$ref": "908" }, "enumType": { - "$ref": "843" + "$ref": "907" }, "decorators": [] }, { - "$id": "847", + "$id": "911", "kind": "enumvalue", "name": "invalid_file", "value": "invalid_file", "valueType": { - "$ref": "844" + "$ref": "908" }, "enumType": { - "$ref": "843" + "$ref": "907" }, "decorators": [] } @@ -10308,12 +11088,12 @@ "decorators": [] }, { - "$id": "848", + "$id": "912", "kind": "enum", "name": "ChunkingStrategyResponseParamType", "crossLanguageDefinitionId": "OpenAI.ChunkingStrategyResponseParam.type.anonymous", "valueType": { - "$id": "849", + "$id": "913", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10321,28 +11101,28 @@ }, "values": [ { - "$id": "850", + "$id": "914", "kind": "enumvalue", "name": "static", "value": "static", "valueType": { - "$ref": "849" + "$ref": "913" }, "enumType": { - "$ref": "848" + "$ref": "912" }, "decorators": [] }, { - "$id": "851", + "$id": "915", "kind": "enumvalue", "name": "other", "value": "other", "valueType": { - "$ref": "849" + "$ref": "913" }, "enumType": { - "$ref": "848" + "$ref": "912" }, "decorators": [] } @@ -10354,12 +11134,12 @@ "decorators": [] }, { - "$id": "852", + "$id": "916", "kind": "enum", "name": "VectorStoreSearchRequestRankingOptionsRanker", "crossLanguageDefinitionId": "OpenAI.VectorStoreSearchRequest.ranking_options.ranker.anonymous", "valueType": { - "$id": "853", + "$id": "917", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10367,28 +11147,28 @@ }, "values": [ { - "$id": "854", + "$id": "918", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "853" + "$ref": "917" }, "enumType": { - "$ref": "852" + "$ref": "916" }, "decorators": [] }, { - "$id": "855", + "$id": "919", "kind": "enumvalue", "name": "default-2024-11-15", "value": "default-2024-11-15", "valueType": { - "$ref": "853" + "$ref": "917" }, "enumType": { - "$ref": "852" + "$ref": "916" }, "decorators": [] } @@ -10400,12 +11180,12 @@ "decorators": [] }, { - "$id": "856", + "$id": "920", "kind": "enum", "name": "CreateCompletionRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateCompletionRequest.model.anonymous", "valueType": { - "$id": "857", + "$id": "921", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10413,41 +11193,41 @@ }, "values": [ { - "$id": "858", + "$id": "922", "kind": "enumvalue", "name": "gpt-3.5-turbo-instruct", "value": "gpt-3.5-turbo-instruct", "valueType": { - "$ref": "857" + "$ref": "921" }, "enumType": { - "$ref": "856" + "$ref": "920" }, "decorators": [] }, { - "$id": "859", + "$id": "923", "kind": "enumvalue", "name": "davinci-002", "value": "davinci-002", "valueType": { - "$ref": "857" + "$ref": "921" }, "enumType": { - "$ref": "856" + "$ref": "920" }, "decorators": [] }, { - "$id": "860", + "$id": "924", "kind": "enumvalue", "name": "babbage-002", "value": "babbage-002", "valueType": { - "$ref": "857" + "$ref": "921" }, "enumType": { - "$ref": "856" + "$ref": "920" }, "decorators": [] } @@ -10459,12 +11239,12 @@ "decorators": [] }, { - "$id": "861", + "$id": "925", "kind": "enum", "name": "CreateCompletionResponseChoiceFinishReason", "crossLanguageDefinitionId": "OpenAI.CreateCompletionResponse.choice.finish_reason.anonymous", "valueType": { - "$id": "862", + "$id": "926", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10472,41 +11252,41 @@ }, "values": [ { - "$id": "863", + "$id": "927", "kind": "enumvalue", "name": "stop", "value": "stop", "valueType": { - "$ref": "862" + "$ref": "926" }, "enumType": { - "$ref": "861" + "$ref": "925" }, "decorators": [] }, { - "$id": "864", + "$id": "928", "kind": "enumvalue", "name": "length", "value": "length", "valueType": { - "$ref": "862" + "$ref": "926" }, "enumType": { - "$ref": "861" + "$ref": "925" }, "decorators": [] }, { - "$id": "865", + "$id": "929", "kind": "enumvalue", "name": "content_filter", "value": "content_filter", "valueType": { - "$ref": "862" + "$ref": "926" }, "enumType": { - "$ref": "861" + "$ref": "925" }, "decorators": [] } @@ -10518,12 +11298,12 @@ "decorators": [] }, { - "$id": "866", + "$id": "930", "kind": "enum", "name": "RealtimeClientEventType", "crossLanguageDefinitionId": "OpenAI.RealtimeClientEventType", "valueType": { - "$id": "867", + "$id": "931", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10531,158 +11311,158 @@ }, "values": [ { - "$id": "868", + "$id": "932", "kind": "enumvalue", "name": "session_update", "value": "session.update", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "869", + "$id": "933", "kind": "enumvalue", "name": "input_audio_buffer_append", "value": "input_audio_buffer.append", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "870", + "$id": "934", "kind": "enumvalue", "name": "input_audio_buffer_commit", "value": "input_audio_buffer.commit", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "871", + "$id": "935", "kind": "enumvalue", "name": "input_audio_buffer_clear", "value": "input_audio_buffer.clear", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "872", + "$id": "936", "kind": "enumvalue", "name": "output_audio_buffer_clear", "value": "output_audio_buffer.clear", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "873", + "$id": "937", "kind": "enumvalue", "name": "conversation_item_create", "value": "conversation.item.create", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "874", + "$id": "938", "kind": "enumvalue", "name": "conversation_item_retrieve", "value": "conversation.item.retrieve", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "875", + "$id": "939", "kind": "enumvalue", "name": "conversation_item_truncate", "value": "conversation.item.truncate", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "876", + "$id": "940", "kind": "enumvalue", "name": "conversation_item_delete", "value": "conversation.item.delete", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "877", + "$id": "941", "kind": "enumvalue", "name": "response_create", "value": "response.create", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "878", + "$id": "942", "kind": "enumvalue", "name": "response_cancel", "value": "response.cancel", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] }, { - "$id": "879", + "$id": "943", "kind": "enumvalue", "name": "transcription_session_update", "value": "transcription_session.update", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "866" + "$ref": "930" }, "decorators": [] } @@ -10694,12 +11474,12 @@ "decorators": [] }, { - "$id": "880", + "$id": "944", "kind": "enum", "name": "RealtimeSessionType", "crossLanguageDefinitionId": "OpenAI.RealtimeSessionType", "valueType": { - "$id": "881", + "$id": "945", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10707,29 +11487,29 @@ }, "values": [ { - "$id": "882", + "$id": "946", "kind": "enumvalue", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "881" + "$ref": "945" }, "enumType": { - "$ref": "880" + "$ref": "944" }, "doc": "A real-time conversation session.", "decorators": [] }, { - "$id": "883", + "$id": "947", "kind": "enumvalue", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "881" + "$ref": "945" }, "enumType": { - "$ref": "880" + "$ref": "944" }, "doc": "A transcription session.", "decorators": [] @@ -10743,12 +11523,12 @@ "decorators": [] }, { - "$id": "884", + "$id": "948", "kind": "enum", "name": "RealtimeModality", "crossLanguageDefinitionId": "OpenAI.RealtimeModality", "valueType": { - "$id": "885", + "$id": "949", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10756,28 +11536,28 @@ }, "values": [ { - "$id": "886", + "$id": "950", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "885" + "$ref": "949" }, "enumType": { - "$ref": "884" + "$ref": "948" }, "decorators": [] }, { - "$id": "887", + "$id": "951", "kind": "enumvalue", "name": "audio", "value": "audio", "valueType": { - "$ref": "885" + "$ref": "949" }, "enumType": { - "$ref": "884" + "$ref": "948" }, "decorators": [] } @@ -10789,12 +11569,12 @@ "decorators": [] }, { - "$id": "888", + "$id": "952", "kind": "enum", "name": "RealtimeRequestSessionModel", "crossLanguageDefinitionId": "OpenAI.RealtimeRequestSession.model.anonymous", "valueType": { - "$id": "889", + "$id": "953", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10802,184 +11582,184 @@ }, "values": [ { - "$id": "890", + "$id": "954", "kind": "enumvalue", "name": "gpt-realtime", "value": "gpt-realtime", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "891", + "$id": "955", "kind": "enumvalue", "name": "gpt-realtime-2025-08-28", "value": "gpt-realtime-2025-08-28", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "892", + "$id": "956", "kind": "enumvalue", "name": "gpt-4o-realtime-preview", "value": "gpt-4o-realtime-preview", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "893", + "$id": "957", "kind": "enumvalue", "name": "gpt-4o-realtime-preview-2024-10-01", "value": "gpt-4o-realtime-preview-2024-10-01", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "894", + "$id": "958", "kind": "enumvalue", "name": "gpt-4o-realtime-preview-2024-12-17", "value": "gpt-4o-realtime-preview-2024-12-17", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "895", + "$id": "959", "kind": "enumvalue", "name": "gpt-4o-realtime-preview-2025-06-03", "value": "gpt-4o-realtime-preview-2025-06-03", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "896", + "$id": "960", "kind": "enumvalue", "name": "gpt-4o-mini-realtime-preview", "value": "gpt-4o-mini-realtime-preview", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "897", + "$id": "961", "kind": "enumvalue", "name": "gpt-4o-mini-realtime-preview-2024-12-17", "value": "gpt-4o-mini-realtime-preview-2024-12-17", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "898", + "$id": "962", "kind": "enumvalue", "name": "gpt-realtime-mini", "value": "gpt-realtime-mini", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "899", + "$id": "963", "kind": "enumvalue", "name": "gpt-realtime-mini-2025-10-06", "value": "gpt-realtime-mini-2025-10-06", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "900", + "$id": "964", "kind": "enumvalue", "name": "gpt-realtime-mini-2025-12-15", "value": "gpt-realtime-mini-2025-12-15", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "901", + "$id": "965", "kind": "enumvalue", "name": "gpt-audio-mini", "value": "gpt-audio-mini", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "902", + "$id": "966", "kind": "enumvalue", "name": "gpt-audio-mini-2025-10-06", "value": "gpt-audio-mini-2025-10-06", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] }, { - "$id": "903", + "$id": "967", "kind": "enumvalue", "name": "gpt-audio-mini-2025-12-15", "value": "gpt-audio-mini-2025-12-15", "valueType": { - "$ref": "889" + "$ref": "953" }, "enumType": { - "$ref": "888" + "$ref": "952" }, "decorators": [] } @@ -10991,12 +11771,12 @@ "decorators": [] }, { - "$id": "904", + "$id": "968", "kind": "enum", "name": "RealtimeAudioFormatsType", "crossLanguageDefinitionId": "OpenAI.RealtimeAudioFormatsType", "valueType": { - "$id": "905", + "$id": "969", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11004,43 +11784,43 @@ }, "values": [ { - "$id": "906", + "$id": "970", "kind": "enumvalue", "name": "audio_pcm", "value": "audio/pcm", "valueType": { - "$ref": "905" + "$ref": "969" }, "enumType": { - "$ref": "904" + "$ref": "968" }, "doc": "PCM audio format.", "decorators": [] }, { - "$id": "907", + "$id": "971", "kind": "enumvalue", "name": "audio_pcmu", "value": "audio/pcmu", "valueType": { - "$ref": "905" + "$ref": "969" }, "enumType": { - "$ref": "904" + "$ref": "968" }, "doc": "G.711 μ-law audio format.", "decorators": [] }, { - "$id": "908", + "$id": "972", "kind": "enumvalue", "name": "audio_pcma", "value": "audio/pcma", "valueType": { - "$ref": "905" + "$ref": "969" }, "enumType": { - "$ref": "904" + "$ref": "968" }, "doc": "G.711 A-law audio format.", "decorators": [] @@ -11054,12 +11834,12 @@ "decorators": [] }, { - "$id": "909", + "$id": "973", "kind": "enum", "name": "RealtimeAudioFormatsPcmRate", "crossLanguageDefinitionId": "", "valueType": { - "$id": "910", + "$id": "974", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -11067,12 +11847,12 @@ }, "values": [ { - "$id": "911", + "$id": "975", "kind": "enumvalue", "name": "24000", "value": 24000, "valueType": { - "$id": "912", + "$id": "976", "kind": "int32", "decorators": [], "doc": "A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)", @@ -11080,7 +11860,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32" }, "enumType": { - "$ref": "909" + "$ref": "973" }, "decorators": [] } @@ -11092,12 +11872,12 @@ "decorators": [] }, { - "$id": "913", + "$id": "977", "kind": "enum", "name": "RealtimeAudioInputTranscriptionModel", "crossLanguageDefinitionId": "OpenAI.RealtimeAudioInputTranscriptionModel", "valueType": { - "$id": "914", + "$id": "978", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11105,67 +11885,67 @@ }, "values": [ { - "$id": "915", + "$id": "979", "kind": "enumvalue", "name": "whisper_1", "value": "whisper-1", "valueType": { - "$ref": "914" + "$ref": "978" }, "enumType": { - "$ref": "913" + "$ref": "977" }, "decorators": [] }, { - "$id": "916", + "$id": "980", "kind": "enumvalue", "name": "gpt_4o_transcribe", "value": "gpt-4o-transcribe", "valueType": { - "$ref": "914" + "$ref": "978" }, "enumType": { - "$ref": "913" + "$ref": "977" }, "decorators": [] }, { - "$id": "917", + "$id": "981", "kind": "enumvalue", "name": "gpt_4o_mini_transcribe", "value": "gpt-4o-mini-transcribe", "valueType": { - "$ref": "914" + "$ref": "978" }, "enumType": { - "$ref": "913" + "$ref": "977" }, "decorators": [] }, { - "$id": "918", + "$id": "982", "kind": "enumvalue", "name": "gpt_4o_mini_transcribe_2025_12_15", "value": "gpt-4o-mini-transcribe-2025-12-15", "valueType": { - "$ref": "914" + "$ref": "978" }, "enumType": { - "$ref": "913" + "$ref": "977" }, "decorators": [] }, { - "$id": "919", + "$id": "983", "kind": "enumvalue", "name": "gpt_4o_transcribe_diarize", "value": "gpt-4o-transcribe-diarize", "valueType": { - "$ref": "914" + "$ref": "978" }, "enumType": { - "$ref": "913" + "$ref": "977" }, "decorators": [] } @@ -11177,12 +11957,12 @@ "decorators": [] }, { - "$id": "920", + "$id": "984", "kind": "enum", "name": "RealtimeAudioNoiseReductionType", "crossLanguageDefinitionId": "OpenAI.RealtimeAudioNoiseReductionType", "valueType": { - "$id": "921", + "$id": "985", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11190,28 +11970,28 @@ }, "values": [ { - "$id": "922", + "$id": "986", "kind": "enumvalue", "name": "near_field", "value": "near_field", "valueType": { - "$ref": "921" + "$ref": "985" }, "enumType": { - "$ref": "920" + "$ref": "984" }, "decorators": [] }, { - "$id": "923", + "$id": "987", "kind": "enumvalue", "name": "far_field", "value": "far_field", "valueType": { - "$ref": "921" + "$ref": "985" }, "enumType": { - "$ref": "920" + "$ref": "984" }, "decorators": [] } @@ -11223,12 +12003,12 @@ "decorators": [] }, { - "$id": "924", + "$id": "988", "kind": "enum", "name": "RealtimeTurnDetectionType", "crossLanguageDefinitionId": "OpenAI.RealtimeTurnDetectionType", "valueType": { - "$id": "925", + "$id": "989", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11236,29 +12016,29 @@ }, "values": [ { - "$id": "926", + "$id": "990", "kind": "enumvalue", "name": "server_vad", "value": "server_vad", "valueType": { - "$ref": "925" + "$ref": "989" }, "enumType": { - "$ref": "924" + "$ref": "988" }, "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": "927", + "$id": "991", "kind": "enumvalue", "name": "semantic_vad", "value": "semantic_vad", "valueType": { - "$ref": "925" + "$ref": "989" }, "enumType": { - "$ref": "924" + "$ref": "988" }, "decorators": [] } @@ -11270,12 +12050,12 @@ "decorators": [] }, { - "$id": "928", + "$id": "992", "kind": "enum", "name": "RealtimeSemanticVadTurnDetectionEagerness", "crossLanguageDefinitionId": "OpenAI.RealtimeSemanticVadTurnDetection.eagerness.anonymous", "valueType": { - "$id": "929", + "$id": "993", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11283,54 +12063,54 @@ }, "values": [ { - "$id": "930", + "$id": "994", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "929" + "$ref": "993" }, "enumType": { - "$ref": "928" + "$ref": "992" }, "decorators": [] }, { - "$id": "931", + "$id": "995", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "929" + "$ref": "993" }, "enumType": { - "$ref": "928" + "$ref": "992" }, "decorators": [] }, { - "$id": "932", + "$id": "996", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "929" + "$ref": "993" }, "enumType": { - "$ref": "928" + "$ref": "992" }, "decorators": [] }, { - "$id": "933", + "$id": "997", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "929" + "$ref": "993" }, "enumType": { - "$ref": "928" + "$ref": "992" }, "decorators": [] } @@ -11342,12 +12122,12 @@ "decorators": [] }, { - "$id": "934", + "$id": "998", "kind": "enum", "name": "RealtimeToolType", "crossLanguageDefinitionId": "OpenAI.RealtimeToolType", "valueType": { - "$id": "935", + "$id": "999", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11355,28 +12135,28 @@ }, "values": [ { - "$id": "936", + "$id": "1000", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "935" + "$ref": "999" }, "enumType": { - "$ref": "934" + "$ref": "998" }, "decorators": [] }, { - "$id": "937", + "$id": "1001", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "935" + "$ref": "999" }, "enumType": { - "$ref": "934" + "$ref": "998" }, "decorators": [] } @@ -11389,12 +12169,12 @@ "decorators": [] }, { - "$id": "938", + "$id": "1002", "kind": "enum", "name": "RealtimeMCPToolRequireApproval", "crossLanguageDefinitionId": "OpenAI.RealtimeMCPTool.require_approval.anonymous", "valueType": { - "$id": "939", + "$id": "1003", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11402,28 +12182,28 @@ }, "values": [ { - "$id": "940", + "$id": "1004", "kind": "enumvalue", "name": "always", "value": "always", "valueType": { - "$ref": "939" + "$ref": "1003" }, "enumType": { - "$ref": "938" + "$ref": "1002" }, "decorators": [] }, { - "$id": "941", + "$id": "1005", "kind": "enumvalue", "name": "never", "value": "never", "valueType": { - "$ref": "939" + "$ref": "1003" }, "enumType": { - "$ref": "938" + "$ref": "1002" }, "decorators": [] } @@ -11435,12 +12215,12 @@ "decorators": [] }, { - "$id": "942", + "$id": "1006", "kind": "enum", "name": "RealtimeToolChoiceLiteral", "crossLanguageDefinitionId": "OpenAI.RealtimeToolChoiceLiteral", "valueType": { - "$id": "943", + "$id": "1007", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11448,43 +12228,43 @@ }, "values": [ { - "$id": "944", + "$id": "1008", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "943" + "$ref": "1007" }, "enumType": { - "$ref": "942" + "$ref": "1006" }, "doc": "Specifies that the model should freely determine which tool or tools, if any, to call.", "decorators": [] }, { - "$id": "945", + "$id": "1009", "kind": "enumvalue", "name": "none", "value": "none", "valueType": { - "$ref": "943" + "$ref": "1007" }, "enumType": { - "$ref": "942" + "$ref": "1006" }, "doc": "Specifies that the model should call no tools whatsoever.", "decorators": [] }, { - "$id": "946", + "$id": "1010", "kind": "enumvalue", "name": "required", "value": "required", "valueType": { - "$ref": "943" + "$ref": "1007" }, "enumType": { - "$ref": "942" + "$ref": "1006" }, "doc": "Specifies that the model should call at least one tool.", "decorators": [] @@ -11498,12 +12278,12 @@ "decorators": [] }, { - "$id": "947", + "$id": "1011", "kind": "enum", "name": "RealtimeItemType", "crossLanguageDefinitionId": "OpenAI.RealtimeItemType", "valueType": { - "$id": "948", + "$id": "1012", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11511,106 +12291,106 @@ }, "values": [ { - "$id": "949", + "$id": "1013", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "947" + "$ref": "1011" }, "decorators": [] }, { - "$id": "950", + "$id": "1014", "kind": "enumvalue", "name": "function_call", "value": "function_call", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "947" + "$ref": "1011" }, "decorators": [] }, { - "$id": "951", + "$id": "1015", "kind": "enumvalue", "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "947" + "$ref": "1011" }, "decorators": [] }, { - "$id": "952", + "$id": "1016", "kind": "enumvalue", "name": "mcp_call", "value": "mcp_call", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "947" + "$ref": "1011" }, "decorators": [] }, { - "$id": "953", + "$id": "1017", "kind": "enumvalue", "name": "mcp_call_output", "value": "mcp_call_output", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "947" + "$ref": "1011" }, "decorators": [] }, { - "$id": "954", + "$id": "1018", "kind": "enumvalue", "name": "mcp_list_tools", "value": "mcp_list_tools", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "947" + "$ref": "1011" }, "decorators": [] }, { - "$id": "955", + "$id": "1019", "kind": "enumvalue", "name": "mcp_approval_request", "value": "mcp_approval_request", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "947" + "$ref": "1011" }, "decorators": [] }, { - "$id": "956", + "$id": "1020", "kind": "enumvalue", "name": "mcp_approval_response", "value": "mcp_approval_response", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "947" + "$ref": "1011" }, "decorators": [] } @@ -11622,12 +12402,12 @@ "decorators": [] }, { - "$id": "957", + "$id": "1021", "kind": "enum", "name": "RealtimeMessageRole", "crossLanguageDefinitionId": "OpenAI.RealtimeMessageRole", "valueType": { - "$id": "958", + "$id": "1022", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11635,41 +12415,41 @@ }, "values": [ { - "$id": "959", + "$id": "1023", "kind": "enumvalue", "name": "system", "value": "system", "valueType": { - "$ref": "958" + "$ref": "1022" }, "enumType": { - "$ref": "957" + "$ref": "1021" }, "decorators": [] }, { - "$id": "960", + "$id": "1024", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "958" + "$ref": "1022" }, "enumType": { - "$ref": "957" + "$ref": "1021" }, "decorators": [] }, { - "$id": "961", + "$id": "1025", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "958" + "$ref": "1022" }, "enumType": { - "$ref": "957" + "$ref": "1021" }, "decorators": [] } @@ -11681,12 +12461,12 @@ "decorators": [] }, { - "$id": "962", + "$id": "1026", "kind": "enum", "name": "RealtimeItemStatus", "crossLanguageDefinitionId": "OpenAI.RealtimeItemStatus", "valueType": { - "$id": "963", + "$id": "1027", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11694,41 +12474,41 @@ }, "values": [ { - "$id": "964", + "$id": "1028", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "963" + "$ref": "1027" }, "enumType": { - "$ref": "962" + "$ref": "1026" }, "decorators": [] }, { - "$id": "965", + "$id": "1029", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "963" + "$ref": "1027" }, "enumType": { - "$ref": "962" + "$ref": "1026" }, "decorators": [] }, { - "$id": "966", + "$id": "1030", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "963" + "$ref": "1027" }, "enumType": { - "$ref": "962" + "$ref": "1026" }, "decorators": [] } @@ -11740,12 +12520,12 @@ "decorators": [] }, { - "$id": "967", + "$id": "1031", "kind": "enum", "name": "RealtimeContentPartType", "crossLanguageDefinitionId": "OpenAI.RealtimeContentPartType", "valueType": { - "$id": "968", + "$id": "1032", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11753,57 +12533,57 @@ }, "values": [ { - "$id": "969", + "$id": "1033", "kind": "enumvalue", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "968" + "$ref": "1032" }, "enumType": { - "$ref": "967" + "$ref": "1031" }, "doc": "Input text content from the user or system.", "decorators": [] }, { - "$id": "970", + "$id": "1034", "kind": "enumvalue", "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "968" + "$ref": "1032" }, "enumType": { - "$ref": "967" + "$ref": "1031" }, "doc": "Input audio content from the user.", "decorators": [] }, { - "$id": "971", + "$id": "1035", "kind": "enumvalue", "name": "output_text", "value": "output_text", "valueType": { - "$ref": "968" + "$ref": "1032" }, "enumType": { - "$ref": "967" + "$ref": "1031" }, "doc": "Output text content from the assistant (GA format).", "decorators": [] }, { - "$id": "972", + "$id": "1036", "kind": "enumvalue", "name": "output_audio", "value": "output_audio", "valueType": { - "$ref": "968" + "$ref": "1032" }, "enumType": { - "$ref": "967" + "$ref": "1031" }, "doc": "Output audio content from the assistant (GA format).", "decorators": [] @@ -11816,12 +12596,12 @@ "decorators": [] }, { - "$id": "973", + "$id": "1037", "kind": "enum", "name": "RealtimeAudioFormat", "crossLanguageDefinitionId": "OpenAI.RealtimeAudioFormat", "valueType": { - "$id": "974", + "$id": "1038", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11829,41 +12609,41 @@ }, "values": [ { - "$id": "975", + "$id": "1039", "kind": "enumvalue", "name": "pcm16", "value": "pcm16", "valueType": { - "$ref": "974" + "$ref": "1038" }, "enumType": { - "$ref": "973" + "$ref": "1037" }, "decorators": [] }, { - "$id": "976", + "$id": "1040", "kind": "enumvalue", "name": "g711_ulaw", "value": "g711_ulaw", "valueType": { - "$ref": "974" + "$ref": "1038" }, "enumType": { - "$ref": "973" + "$ref": "1037" }, "decorators": [] }, { - "$id": "977", + "$id": "1041", "kind": "enumvalue", "name": "g711_alaw", "value": "g711_alaw", "valueType": { - "$ref": "974" + "$ref": "1038" }, "enumType": { - "$ref": "973" + "$ref": "1037" }, "decorators": [] } @@ -11875,12 +12655,12 @@ "decorators": [] }, { - "$id": "978", + "$id": "1042", "kind": "enum", "name": "RealtimeResponseCreateParamsConversation", "crossLanguageDefinitionId": "OpenAI.RealtimeResponseCreateParams.conversation.anonymous", "valueType": { - "$id": "979", + "$id": "1043", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11888,28 +12668,28 @@ }, "values": [ { - "$id": "980", + "$id": "1044", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "979" + "$ref": "1043" }, "enumType": { - "$ref": "978" + "$ref": "1042" }, "decorators": [] }, { - "$id": "981", + "$id": "1045", "kind": "enumvalue", "name": "none", "value": "none", "valueType": { - "$ref": "979" + "$ref": "1043" }, "enumType": { - "$ref": "978" + "$ref": "1042" }, "decorators": [] } @@ -11921,12 +12701,12 @@ "decorators": [] }, { - "$id": "982", + "$id": "1046", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateRequestModality", "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.modality.anonymous", "valueType": { - "$id": "983", + "$id": "1047", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11934,28 +12714,28 @@ }, "values": [ { - "$id": "984", + "$id": "1048", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "983" + "$ref": "1047" }, "enumType": { - "$ref": "982" + "$ref": "1046" }, "decorators": [] }, { - "$id": "985", + "$id": "1049", "kind": "enumvalue", "name": "audio", "value": "audio", "valueType": { - "$ref": "983" + "$ref": "1047" }, "enumType": { - "$ref": "982" + "$ref": "1046" }, "decorators": [] } @@ -11967,12 +12747,12 @@ "decorators": [] }, { - "$id": "986", + "$id": "1050", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioFormat", "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_format.anonymous", "valueType": { - "$id": "987", + "$id": "1051", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11980,41 +12760,41 @@ }, "values": [ { - "$id": "988", + "$id": "1052", "kind": "enumvalue", "name": "pcm16", "value": "pcm16", "valueType": { - "$ref": "987" + "$ref": "1051" }, "enumType": { - "$ref": "986" + "$ref": "1050" }, "decorators": [] }, { - "$id": "989", + "$id": "1053", "kind": "enumvalue", "name": "g711_ulaw", "value": "g711_ulaw", "valueType": { - "$ref": "987" + "$ref": "1051" }, "enumType": { - "$ref": "986" + "$ref": "1050" }, "decorators": [] }, { - "$id": "990", + "$id": "1054", "kind": "enumvalue", "name": "g711_alaw", "value": "g711_alaw", "valueType": { - "$ref": "987" + "$ref": "1051" }, "enumType": { - "$ref": "986" + "$ref": "1050" }, "decorators": [] } @@ -12026,12 +12806,12 @@ "decorators": [] }, { - "$id": "991", + "$id": "1055", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioTranscriptionModel", "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_transcription.model.anonymous", "valueType": { - "$id": "992", + "$id": "1056", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12039,41 +12819,41 @@ }, "values": [ { - "$id": "993", + "$id": "1057", "kind": "enumvalue", "name": "gpt-4o-transcribe", "value": "gpt-4o-transcribe", "valueType": { - "$ref": "992" + "$ref": "1056" }, "enumType": { - "$ref": "991" + "$ref": "1055" }, "decorators": [] }, { - "$id": "994", + "$id": "1058", "kind": "enumvalue", "name": "gpt-4o-mini-transcribe", "value": "gpt-4o-mini-transcribe", "valueType": { - "$ref": "992" + "$ref": "1056" }, "enumType": { - "$ref": "991" + "$ref": "1055" }, "decorators": [] }, { - "$id": "995", + "$id": "1059", "kind": "enumvalue", "name": "whisper-1", "value": "whisper-1", "valueType": { - "$ref": "992" + "$ref": "1056" }, "enumType": { - "$ref": "991" + "$ref": "1055" }, "decorators": [] } @@ -12085,12 +12865,12 @@ "decorators": [] }, { - "$id": "996", + "$id": "1060", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateRequestTurnDetectionType", "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.turn_detection.type.anonymous", "valueType": { - "$id": "997", + "$id": "1061", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12098,28 +12878,28 @@ }, "values": [ { - "$id": "998", + "$id": "1062", "kind": "enumvalue", "name": "server_vad", "value": "server_vad", "valueType": { - "$ref": "997" + "$ref": "1061" }, "enumType": { - "$ref": "996" + "$ref": "1060" }, "decorators": [] }, { - "$id": "999", + "$id": "1063", "kind": "enumvalue", "name": "semantic_vad", "value": "semantic_vad", "valueType": { - "$ref": "997" + "$ref": "1061" }, "enumType": { - "$ref": "996" + "$ref": "1060" }, "decorators": [] } @@ -12131,12 +12911,12 @@ "decorators": [] }, { - "$id": "1000", + "$id": "1064", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateRequestTurnDetectionEagerness", "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.turn_detection.eagerness.anonymous", "valueType": { - "$id": "1001", + "$id": "1065", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12144,54 +12924,54 @@ }, "values": [ { - "$id": "1002", + "$id": "1066", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1001" + "$ref": "1065" }, "enumType": { - "$ref": "1000" + "$ref": "1064" }, "decorators": [] }, { - "$id": "1003", + "$id": "1067", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1001" + "$ref": "1065" }, "enumType": { - "$ref": "1000" + "$ref": "1064" }, "decorators": [] }, { - "$id": "1004", + "$id": "1068", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1001" + "$ref": "1065" }, "enumType": { - "$ref": "1000" + "$ref": "1064" }, "decorators": [] }, { - "$id": "1005", + "$id": "1069", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1001" + "$ref": "1065" }, "enumType": { - "$ref": "1000" + "$ref": "1064" }, "decorators": [] } @@ -12203,12 +12983,12 @@ "decorators": [] }, { - "$id": "1006", + "$id": "1070", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReductionType", "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateRequest.input_audio_noise_reduction.type.anonymous", "valueType": { - "$id": "1007", + "$id": "1071", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12216,28 +12996,28 @@ }, "values": [ { - "$id": "1008", + "$id": "1072", "kind": "enumvalue", "name": "near_field", "value": "near_field", "valueType": { - "$ref": "1007" + "$ref": "1071" }, "enumType": { - "$ref": "1006" + "$ref": "1070" }, "decorators": [] }, { - "$id": "1009", + "$id": "1073", "kind": "enumvalue", "name": "far_field", "value": "far_field", "valueType": { - "$ref": "1007" + "$ref": "1071" }, "enumType": { - "$ref": "1006" + "$ref": "1070" }, "decorators": [] } @@ -12249,12 +13029,12 @@ "decorators": [] }, { - "$id": "1010", + "$id": "1074", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAtAnchor", "crossLanguageDefinitionId": "", "valueType": { - "$id": "1011", + "$id": "1075", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12262,12 +13042,12 @@ }, "values": [ { - "$id": "1012", + "$id": "1076", "kind": "enumvalue", "name": "created_at", "value": "created_at", "valueType": { - "$id": "1013", + "$id": "1077", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -12275,7 +13055,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1010" + "$ref": "1074" }, "decorators": [] } @@ -12287,12 +13067,12 @@ "decorators": [] }, { - "$id": "1014", + "$id": "1078", "kind": "enum", "name": "RealtimeServerEventType", "crossLanguageDefinitionId": "OpenAI.RealtimeServerEventType", "valueType": { - "$id": "1015", + "$id": "1079", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12300,626 +13080,626 @@ }, "values": [ { - "$id": "1016", + "$id": "1080", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1017", + "$id": "1081", "kind": "enumvalue", "name": "session_created", "value": "session.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1018", + "$id": "1082", "kind": "enumvalue", "name": "session_updated", "value": "session.updated", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1019", + "$id": "1083", "kind": "enumvalue", "name": "conversation_created", "value": "conversation.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1020", + "$id": "1084", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_completed", "value": "conversation.item.input_audio_transcription.completed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1021", + "$id": "1085", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_delta", "value": "conversation.item.input_audio_transcription.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1022", + "$id": "1086", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_failed", "value": "conversation.item.input_audio_transcription.failed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1023", + "$id": "1087", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_segment", "value": "conversation.item.input_audio_transcription.segment", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1024", + "$id": "1088", "kind": "enumvalue", "name": "conversation_item_created", "value": "conversation.item.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1025", + "$id": "1089", "kind": "enumvalue", "name": "conversation_item_retrieved", "value": "conversation.item.retrieved", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1026", + "$id": "1090", "kind": "enumvalue", "name": "conversation_item_truncated", "value": "conversation.item.truncated", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1027", + "$id": "1091", "kind": "enumvalue", "name": "conversation_item_deleted", "value": "conversation.item.deleted", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1028", + "$id": "1092", "kind": "enumvalue", "name": "conversation_item_added", "value": "conversation.item.added", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1029", + "$id": "1093", "kind": "enumvalue", "name": "conversation_item_done", "value": "conversation.item.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1030", + "$id": "1094", "kind": "enumvalue", "name": "input_audio_buffer_committed", "value": "input_audio_buffer.committed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1031", + "$id": "1095", "kind": "enumvalue", "name": "input_audio_buffer_cleared", "value": "input_audio_buffer.cleared", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1032", + "$id": "1096", "kind": "enumvalue", "name": "input_audio_buffer_speech_started", "value": "input_audio_buffer.speech_started", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1033", + "$id": "1097", "kind": "enumvalue", "name": "input_audio_buffer_speech_stopped", "value": "input_audio_buffer.speech_stopped", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1034", + "$id": "1098", "kind": "enumvalue", "name": "input_audio_buffer_dtmf_event_received", "value": "input_audio_buffer.dtmf_event_received", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1035", + "$id": "1099", "kind": "enumvalue", "name": "input_audio_buffer_timeout_triggered", "value": "input_audio_buffer.timeout_triggered", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1036", + "$id": "1100", "kind": "enumvalue", "name": "output_audio_buffer_cleared", "value": "output_audio_buffer.cleared", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1037", + "$id": "1101", "kind": "enumvalue", "name": "output_audio_buffer_started", "value": "output_audio_buffer.started", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1038", + "$id": "1102", "kind": "enumvalue", "name": "output_audio_buffer_stopped", "value": "output_audio_buffer.stopped", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1039", + "$id": "1103", "kind": "enumvalue", "name": "response_created", "value": "response.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1040", + "$id": "1104", "kind": "enumvalue", "name": "response_done", "value": "response.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1041", + "$id": "1105", "kind": "enumvalue", "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1042", + "$id": "1106", "kind": "enumvalue", "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1043", + "$id": "1107", "kind": "enumvalue", "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1044", + "$id": "1108", "kind": "enumvalue", "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1045", + "$id": "1109", "kind": "enumvalue", "name": "response_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1046", + "$id": "1110", "kind": "enumvalue", "name": "response_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1047", + "$id": "1111", "kind": "enumvalue", "name": "response_audio_transcript_delta", "value": "response.output_audio_transcript.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1048", + "$id": "1112", "kind": "enumvalue", "name": "response_audio_transcript_done", "value": "response.output_audio_transcript.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1049", + "$id": "1113", "kind": "enumvalue", "name": "response_audio_delta", "value": "response.output_audio.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1050", + "$id": "1114", "kind": "enumvalue", "name": "response_audio_done", "value": "response.output_audio.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1051", + "$id": "1115", "kind": "enumvalue", "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1052", + "$id": "1116", "kind": "enumvalue", "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1053", + "$id": "1117", "kind": "enumvalue", "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1054", + "$id": "1118", "kind": "enumvalue", "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1055", + "$id": "1119", "kind": "enumvalue", "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1056", + "$id": "1120", "kind": "enumvalue", "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1057", + "$id": "1121", "kind": "enumvalue", "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1058", + "$id": "1122", "kind": "enumvalue", "name": "mcp_list_tools_in_progress", "value": "mcp_list_tools.in_progress", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1059", + "$id": "1123", "kind": "enumvalue", "name": "mcp_list_tools_completed", "value": "mcp_list_tools.completed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1060", + "$id": "1124", "kind": "enumvalue", "name": "mcp_list_tools_failed", "value": "mcp_list_tools.failed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1061", + "$id": "1125", "kind": "enumvalue", "name": "transcription_session_created", "value": "transcription_session.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1062", + "$id": "1126", "kind": "enumvalue", "name": "transcription_session_updated", "value": "transcription_session.updated", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] }, { - "$id": "1063", + "$id": "1127", "kind": "enumvalue", "name": "rate_limits_updated", "value": "rate_limits.updated", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "1014" + "$ref": "1078" }, "decorators": [] } @@ -12931,12 +13711,12 @@ "decorators": [] }, { - "$id": "1064", + "$id": "1128", "kind": "enum", "name": "RealtimeSessionGAObject", "crossLanguageDefinitionId": "", "valueType": { - "$id": "1065", + "$id": "1129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12944,12 +13724,12 @@ }, "values": [ { - "$id": "1066", + "$id": "1130", "kind": "enumvalue", "name": "realtime.session", "value": "realtime.session", "valueType": { - "$id": "1067", + "$id": "1131", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -12957,7 +13737,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1064" + "$ref": "1128" }, "decorators": [] } @@ -12969,12 +13749,12 @@ "decorators": [] }, { - "$id": "1068", + "$id": "1132", "kind": "enum", "name": "RealtimeTranscriptionSessionGAObject", "crossLanguageDefinitionId": "", "valueType": { - "$id": "1069", + "$id": "1133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12982,12 +13762,12 @@ }, "values": [ { - "$id": "1070", + "$id": "1134", "kind": "enumvalue", "name": "realtime.transcription_session", "value": "realtime.transcription_session", "valueType": { - "$id": "1071", + "$id": "1135", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -12995,7 +13775,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1068" + "$ref": "1132" }, "decorators": [] } @@ -13007,12 +13787,12 @@ "decorators": [] }, { - "$id": "1072", + "$id": "1136", "kind": "enum", "name": "RealtimeMCPErrorType", "crossLanguageDefinitionId": "OpenAI.RealtimeMCPErrorType", "valueType": { - "$id": "1073", + "$id": "1137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13020,41 +13800,41 @@ }, "values": [ { - "$id": "1074", + "$id": "1138", "kind": "enumvalue", "name": "protocol_error", "value": "protocol_error", "valueType": { - "$ref": "1073" + "$ref": "1137" }, "enumType": { - "$ref": "1072" + "$ref": "1136" }, "decorators": [] }, { - "$id": "1075", + "$id": "1139", "kind": "enumvalue", "name": "tool_execution_error", "value": "tool_execution_error", "valueType": { - "$ref": "1073" + "$ref": "1137" }, "enumType": { - "$ref": "1072" + "$ref": "1136" }, "decorators": [] }, { - "$id": "1076", + "$id": "1140", "kind": "enumvalue", "name": "http_error", "value": "http_error", "valueType": { - "$ref": "1073" + "$ref": "1137" }, "enumType": { - "$ref": "1072" + "$ref": "1136" }, "decorators": [] } @@ -13066,12 +13846,12 @@ "decorators": [] }, { - "$id": "1077", + "$id": "1141", "kind": "enum", "name": "RealtimeResponseObject", "crossLanguageDefinitionId": "", "valueType": { - "$id": "1078", + "$id": "1142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13079,12 +13859,12 @@ }, "values": [ { - "$id": "1079", + "$id": "1143", "kind": "enumvalue", "name": "realtime.response", "value": "realtime.response", "valueType": { - "$id": "1080", + "$id": "1144", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -13092,7 +13872,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1077" + "$ref": "1141" }, "decorators": [] } @@ -13104,12 +13884,12 @@ "decorators": [] }, { - "$id": "1081", + "$id": "1145", "kind": "enum", "name": "RealtimeResponseStatus", "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status.anonymous", "valueType": { - "$id": "1082", + "$id": "1146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13117,67 +13897,67 @@ }, "values": [ { - "$id": "1083", + "$id": "1147", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "1082" + "$ref": "1146" }, "enumType": { - "$ref": "1081" + "$ref": "1145" }, "decorators": [] }, { - "$id": "1084", + "$id": "1148", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "1082" + "$ref": "1146" }, "enumType": { - "$ref": "1081" + "$ref": "1145" }, "decorators": [] }, { - "$id": "1085", + "$id": "1149", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "1082" + "$ref": "1146" }, "enumType": { - "$ref": "1081" + "$ref": "1145" }, "decorators": [] }, { - "$id": "1086", + "$id": "1150", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "1082" + "$ref": "1146" }, "enumType": { - "$ref": "1081" + "$ref": "1145" }, "decorators": [] }, { - "$id": "1087", + "$id": "1151", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "1082" + "$ref": "1146" }, "enumType": { - "$ref": "1081" + "$ref": "1145" }, "decorators": [] } @@ -13189,12 +13969,12 @@ "decorators": [] }, { - "$id": "1088", + "$id": "1152", "kind": "enum", "name": "RealtimeResponseStatusDetailsType", "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status_details.type.anonymous", "valueType": { - "$id": "1089", + "$id": "1153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13202,54 +13982,54 @@ }, "values": [ { - "$id": "1090", + "$id": "1154", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "1089" + "$ref": "1153" }, "enumType": { - "$ref": "1088" + "$ref": "1152" }, "decorators": [] }, { - "$id": "1091", + "$id": "1155", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "1089" + "$ref": "1153" }, "enumType": { - "$ref": "1088" + "$ref": "1152" }, "decorators": [] }, { - "$id": "1092", + "$id": "1156", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "1089" + "$ref": "1153" }, "enumType": { - "$ref": "1088" + "$ref": "1152" }, "decorators": [] }, { - "$id": "1093", + "$id": "1157", "kind": "enumvalue", "name": "incomplete", "value": "incomplete", "valueType": { - "$ref": "1089" + "$ref": "1153" }, "enumType": { - "$ref": "1088" + "$ref": "1152" }, "decorators": [] } @@ -13261,12 +14041,12 @@ "decorators": [] }, { - "$id": "1094", + "$id": "1158", "kind": "enum", "name": "RealtimeResponseStatusDetailsReason", "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.status_details.reason.anonymous", "valueType": { - "$id": "1095", + "$id": "1159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13274,54 +14054,54 @@ }, "values": [ { - "$id": "1096", + "$id": "1160", "kind": "enumvalue", "name": "turn_detected", "value": "turn_detected", "valueType": { - "$ref": "1095" + "$ref": "1159" }, "enumType": { - "$ref": "1094" + "$ref": "1158" }, "decorators": [] }, { - "$id": "1097", + "$id": "1161", "kind": "enumvalue", "name": "client_cancelled", "value": "client_cancelled", "valueType": { - "$ref": "1095" + "$ref": "1159" }, "enumType": { - "$ref": "1094" + "$ref": "1158" }, "decorators": [] }, { - "$id": "1098", + "$id": "1162", "kind": "enumvalue", "name": "max_output_tokens", "value": "max_output_tokens", "valueType": { - "$ref": "1095" + "$ref": "1159" }, "enumType": { - "$ref": "1094" + "$ref": "1158" }, "decorators": [] }, { - "$id": "1099", + "$id": "1163", "kind": "enumvalue", "name": "content_filter", "value": "content_filter", "valueType": { - "$ref": "1095" + "$ref": "1159" }, "enumType": { - "$ref": "1094" + "$ref": "1158" }, "decorators": [] } @@ -13333,12 +14113,12 @@ "decorators": [] }, { - "$id": "1100", + "$id": "1164", "kind": "enum", "name": "RealtimeResponseModality", "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.modality.anonymous", "valueType": { - "$id": "1101", + "$id": "1165", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13346,28 +14126,28 @@ }, "values": [ { - "$id": "1102", + "$id": "1166", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1101" + "$ref": "1165" }, "enumType": { - "$ref": "1100" + "$ref": "1164" }, "decorators": [] }, { - "$id": "1103", + "$id": "1167", "kind": "enumvalue", "name": "audio", "value": "audio", "valueType": { - "$ref": "1101" + "$ref": "1165" }, "enumType": { - "$ref": "1100" + "$ref": "1164" }, "decorators": [] } @@ -13379,12 +14159,12 @@ "decorators": [] }, { - "$id": "1104", + "$id": "1168", "kind": "enum", "name": "RealtimeResponseOutputAudioFormat", "crossLanguageDefinitionId": "OpenAI.RealtimeResponse.output_audio_format.anonymous", "valueType": { - "$id": "1105", + "$id": "1169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13392,41 +14172,41 @@ }, "values": [ { - "$id": "1106", + "$id": "1170", "kind": "enumvalue", "name": "pcm16", "value": "pcm16", "valueType": { - "$ref": "1105" + "$ref": "1169" }, "enumType": { - "$ref": "1104" + "$ref": "1168" }, "decorators": [] }, { - "$id": "1107", + "$id": "1171", "kind": "enumvalue", "name": "g711_ulaw", "value": "g711_ulaw", "valueType": { - "$ref": "1105" + "$ref": "1169" }, "enumType": { - "$ref": "1104" + "$ref": "1168" }, "decorators": [] }, { - "$id": "1108", + "$id": "1172", "kind": "enumvalue", "name": "g711_alaw", "value": "g711_alaw", "valueType": { - "$ref": "1105" + "$ref": "1169" }, "enumType": { - "$ref": "1104" + "$ref": "1168" }, "decorators": [] } @@ -13438,12 +14218,12 @@ "decorators": [] }, { - "$id": "1109", + "$id": "1173", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateResponseModality", "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.modality.anonymous", "valueType": { - "$id": "1110", + "$id": "1174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13451,28 +14231,28 @@ }, "values": [ { - "$id": "1111", + "$id": "1175", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1110" + "$ref": "1174" }, "enumType": { - "$ref": "1109" + "$ref": "1173" }, "decorators": [] }, { - "$id": "1112", + "$id": "1176", "kind": "enumvalue", "name": "audio", "value": "audio", "valueType": { - "$ref": "1110" + "$ref": "1174" }, "enumType": { - "$ref": "1109" + "$ref": "1173" }, "decorators": [] } @@ -13484,12 +14264,12 @@ "decorators": [] }, { - "$id": "1113", + "$id": "1177", "kind": "enum", "name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscriptionModel", "crossLanguageDefinitionId": "OpenAI.RealtimeTranscriptionSessionCreateResponse.input_audio_transcription.model.anonymous", "valueType": { - "$id": "1114", + "$id": "1178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13497,41 +14277,41 @@ }, "values": [ { - "$id": "1115", + "$id": "1179", "kind": "enumvalue", "name": "gpt-4o-transcribe", "value": "gpt-4o-transcribe", "valueType": { - "$ref": "1114" + "$ref": "1178" }, "enumType": { - "$ref": "1113" + "$ref": "1177" }, "decorators": [] }, { - "$id": "1116", + "$id": "1180", "kind": "enumvalue", "name": "gpt-4o-mini-transcribe", "value": "gpt-4o-mini-transcribe", "valueType": { - "$ref": "1114" + "$ref": "1178" }, "enumType": { - "$ref": "1113" + "$ref": "1177" }, "decorators": [] }, { - "$id": "1117", + "$id": "1181", "kind": "enumvalue", "name": "whisper-1", "value": "whisper-1", "valueType": { - "$ref": "1114" + "$ref": "1178" }, "enumType": { - "$ref": "1113" + "$ref": "1177" }, "decorators": [] } @@ -13543,12 +14323,12 @@ "decorators": [] }, { - "$id": "1118", + "$id": "1182", "kind": "enum", "name": "RealtimeCreateClientSecretRequestExpiresAfterAnchor", "crossLanguageDefinitionId": "OpenAI.RealtimeCreateClientSecretRequestExpiresAfterAnchor", "valueType": { - "$id": "1119", + "$id": "1183", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13556,15 +14336,15 @@ }, "values": [ { - "$id": "1120", + "$id": "1184", "kind": "enumvalue", "name": "created_at", "value": "created_at", "valueType": { - "$ref": "1119" + "$ref": "1183" }, "enumType": { - "$ref": "1118" + "$ref": "1182" }, "doc": "Expiration is calculated from the time the client secret is created.", "decorators": [] @@ -13578,12 +14358,12 @@ "decorators": [] }, { - "$id": "1121", + "$id": "1185", "kind": "enum", "name": "RealtimeSessionCreateRequestUnionType", "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateRequestUnionType", "valueType": { - "$id": "1122", + "$id": "1186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13591,29 +14371,29 @@ }, "values": [ { - "$id": "1123", + "$id": "1187", "kind": "enumvalue", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "1122" + "$ref": "1186" }, "enumType": { - "$ref": "1121" + "$ref": "1185" }, "doc": "A real-time conversation session.", "decorators": [] }, { - "$id": "1124", + "$id": "1188", "kind": "enumvalue", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "1122" + "$ref": "1186" }, "enumType": { - "$ref": "1121" + "$ref": "1185" }, "doc": "A transcription session.", "decorators": [] @@ -13627,12 +14407,12 @@ "decorators": [] }, { - "$id": "1125", + "$id": "1189", "kind": "enum", "name": "RealtimeSessionCreateResponseUnionType", "crossLanguageDefinitionId": "OpenAI.RealtimeSessionCreateResponseUnionType", "valueType": { - "$id": "1126", + "$id": "1190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13640,29 +14420,29 @@ }, "values": [ { - "$id": "1127", + "$id": "1191", "kind": "enumvalue", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "1126" + "$ref": "1190" }, "enumType": { - "$ref": "1125" + "$ref": "1189" }, "doc": "A real-time conversation session.", "decorators": [] }, { - "$id": "1128", + "$id": "1192", "kind": "enumvalue", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "1126" + "$ref": "1190" }, "enumType": { - "$ref": "1125" + "$ref": "1189" }, "doc": "A transcription session.", "decorators": [] @@ -13676,12 +14456,12 @@ "decorators": [] }, { - "$id": "1129", + "$id": "1193", "kind": "enum", "name": "CreateUploadRequestPurpose", "crossLanguageDefinitionId": "OpenAI.CreateUploadRequest.purpose.anonymous", "valueType": { - "$id": "1130", + "$id": "1194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13689,54 +14469,54 @@ }, "values": [ { - "$id": "1131", + "$id": "1195", "kind": "enumvalue", "name": "assistants", "value": "assistants", "valueType": { - "$ref": "1130" + "$ref": "1194" }, "enumType": { - "$ref": "1129" + "$ref": "1193" }, "decorators": [] }, { - "$id": "1132", + "$id": "1196", "kind": "enumvalue", "name": "batch", "value": "batch", "valueType": { - "$ref": "1130" + "$ref": "1194" }, "enumType": { - "$ref": "1129" + "$ref": "1193" }, "decorators": [] }, { - "$id": "1133", + "$id": "1197", "kind": "enumvalue", "name": "fine-tune", "value": "fine-tune", "valueType": { - "$ref": "1130" + "$ref": "1194" }, "enumType": { - "$ref": "1129" + "$ref": "1193" }, "decorators": [] }, { - "$id": "1134", + "$id": "1198", "kind": "enumvalue", "name": "vision", "value": "vision", "valueType": { - "$ref": "1130" + "$ref": "1194" }, "enumType": { - "$ref": "1129" + "$ref": "1193" }, "decorators": [] } @@ -13748,12 +14528,12 @@ "decorators": [] }, { - "$id": "1135", + "$id": "1199", "kind": "enum", "name": "UploadStatus", "crossLanguageDefinitionId": "OpenAI.Upload.status.anonymous", "valueType": { - "$id": "1136", + "$id": "1200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13761,54 +14541,54 @@ }, "values": [ { - "$id": "1137", + "$id": "1201", "kind": "enumvalue", "name": "pending", "value": "pending", "valueType": { - "$ref": "1136" + "$ref": "1200" }, "enumType": { - "$ref": "1135" + "$ref": "1199" }, "decorators": [] }, { - "$id": "1138", + "$id": "1202", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "1136" + "$ref": "1200" }, "enumType": { - "$ref": "1135" + "$ref": "1199" }, "decorators": [] }, { - "$id": "1139", + "$id": "1203", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "1136" + "$ref": "1200" }, "enumType": { - "$ref": "1135" + "$ref": "1199" }, "decorators": [] }, { - "$id": "1140", + "$id": "1204", "kind": "enumvalue", "name": "expired", "value": "expired", "valueType": { - "$ref": "1136" + "$ref": "1200" }, "enumType": { - "$ref": "1135" + "$ref": "1199" }, "decorators": [] } @@ -13820,12 +14600,12 @@ "decorators": [] }, { - "$id": "1141", + "$id": "1205", "kind": "enum", "name": "UploadObject", "crossLanguageDefinitionId": "", "valueType": { - "$id": "1142", + "$id": "1206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13833,12 +14613,12 @@ }, "values": [ { - "$id": "1143", + "$id": "1207", "kind": "enumvalue", "name": "upload", "value": "upload", "valueType": { - "$id": "1144", + "$id": "1208", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -13846,7 +14626,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1141" + "$ref": "1205" }, "decorators": [] } @@ -13858,12 +14638,12 @@ "decorators": [] }, { - "$id": "1145", + "$id": "1209", "kind": "enum", "name": "OpenAIFilePurpose", "crossLanguageDefinitionId": "OpenAI.OpenAIFile.purpose.anonymous", "valueType": { - "$id": "1146", + "$id": "1210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13871,106 +14651,106 @@ }, "values": [ { - "$id": "1147", + "$id": "1211", "kind": "enumvalue", "name": "assistants", "value": "assistants", "valueType": { - "$ref": "1146" + "$ref": "1210" }, "enumType": { - "$ref": "1145" + "$ref": "1209" }, "decorators": [] }, { - "$id": "1148", + "$id": "1212", "kind": "enumvalue", "name": "assistants_output", "value": "assistants_output", "valueType": { - "$ref": "1146" + "$ref": "1210" }, "enumType": { - "$ref": "1145" + "$ref": "1209" }, "decorators": [] }, { - "$id": "1149", + "$id": "1213", "kind": "enumvalue", "name": "batch", "value": "batch", "valueType": { - "$ref": "1146" + "$ref": "1210" }, "enumType": { - "$ref": "1145" + "$ref": "1209" }, "decorators": [] }, { - "$id": "1150", + "$id": "1214", "kind": "enumvalue", "name": "batch_output", "value": "batch_output", "valueType": { - "$ref": "1146" + "$ref": "1210" }, "enumType": { - "$ref": "1145" + "$ref": "1209" }, "decorators": [] }, { - "$id": "1151", + "$id": "1215", "kind": "enumvalue", "name": "fine-tune", "value": "fine-tune", "valueType": { - "$ref": "1146" + "$ref": "1210" }, "enumType": { - "$ref": "1145" + "$ref": "1209" }, "decorators": [] }, { - "$id": "1152", + "$id": "1216", "kind": "enumvalue", "name": "fine-tune-results", "value": "fine-tune-results", "valueType": { - "$ref": "1146" + "$ref": "1210" }, "enumType": { - "$ref": "1145" + "$ref": "1209" }, "decorators": [] }, { - "$id": "1153", + "$id": "1217", "kind": "enumvalue", "name": "vision", "value": "vision", "valueType": { - "$ref": "1146" + "$ref": "1210" }, "enumType": { - "$ref": "1145" + "$ref": "1209" }, "decorators": [] }, { - "$id": "1154", + "$id": "1218", "kind": "enumvalue", "name": "user_data", "value": "user_data", "valueType": { - "$ref": "1146" + "$ref": "1210" }, "enumType": { - "$ref": "1145" + "$ref": "1209" }, "decorators": [] } @@ -13982,12 +14762,12 @@ "decorators": [] }, { - "$id": "1155", + "$id": "1219", "kind": "enum", "name": "OpenAIFileStatus", "crossLanguageDefinitionId": "OpenAI.OpenAIFile.status.anonymous", "valueType": { - "$id": "1156", + "$id": "1220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13995,41 +14775,41 @@ }, "values": [ { - "$id": "1157", + "$id": "1221", "kind": "enumvalue", "name": "uploaded", "value": "uploaded", "valueType": { - "$ref": "1156" + "$ref": "1220" }, "enumType": { - "$ref": "1155" + "$ref": "1219" }, "decorators": [] }, { - "$id": "1158", + "$id": "1222", "kind": "enumvalue", "name": "processed", "value": "processed", "valueType": { - "$ref": "1156" + "$ref": "1220" }, "enumType": { - "$ref": "1155" + "$ref": "1219" }, "decorators": [] }, { - "$id": "1159", + "$id": "1223", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "1156" + "$ref": "1220" }, "enumType": { - "$ref": "1155" + "$ref": "1219" }, "decorators": [] } @@ -14041,12 +14821,12 @@ "decorators": [] }, { - "$id": "1160", + "$id": "1224", "kind": "enum", "name": "CreateSpeechRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateSpeechRequest.model.anonymous", "valueType": { - "$id": "1161", + "$id": "1225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14054,54 +14834,54 @@ }, "values": [ { - "$id": "1162", + "$id": "1226", "kind": "enumvalue", "name": "tts-1", "value": "tts-1", "valueType": { - "$ref": "1161" + "$ref": "1225" }, "enumType": { - "$ref": "1160" + "$ref": "1224" }, "decorators": [] }, { - "$id": "1163", + "$id": "1227", "kind": "enumvalue", "name": "tts-1-hd", "value": "tts-1-hd", "valueType": { - "$ref": "1161" + "$ref": "1225" }, "enumType": { - "$ref": "1160" + "$ref": "1224" }, "decorators": [] }, { - "$id": "1164", + "$id": "1228", "kind": "enumvalue", "name": "gpt-4o-mini-tts", "value": "gpt-4o-mini-tts", "valueType": { - "$ref": "1161" + "$ref": "1225" }, "enumType": { - "$ref": "1160" + "$ref": "1224" }, "decorators": [] }, { - "$id": "1165", + "$id": "1229", "kind": "enumvalue", "name": "gpt-4o-mini-tts-2025-12-15", "value": "gpt-4o-mini-tts-2025-12-15", "valueType": { - "$ref": "1161" + "$ref": "1225" }, "enumType": { - "$ref": "1160" + "$ref": "1224" }, "decorators": [] } @@ -14113,12 +14893,12 @@ "decorators": [] }, { - "$id": "1166", + "$id": "1230", "kind": "enum", "name": "CreateSpeechRequestResponseFormat", "crossLanguageDefinitionId": "OpenAI.CreateSpeechRequest.response_format.anonymous", "valueType": { - "$id": "1167", + "$id": "1231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14126,80 +14906,80 @@ }, "values": [ { - "$id": "1168", + "$id": "1232", "kind": "enumvalue", "name": "mp3", "value": "mp3", "valueType": { - "$ref": "1167" + "$ref": "1231" }, "enumType": { - "$ref": "1166" + "$ref": "1230" }, "decorators": [] }, { - "$id": "1169", + "$id": "1233", "kind": "enumvalue", "name": "opus", "value": "opus", "valueType": { - "$ref": "1167" + "$ref": "1231" }, "enumType": { - "$ref": "1166" + "$ref": "1230" }, "decorators": [] }, { - "$id": "1170", + "$id": "1234", "kind": "enumvalue", "name": "aac", "value": "aac", "valueType": { - "$ref": "1167" + "$ref": "1231" }, "enumType": { - "$ref": "1166" + "$ref": "1230" }, "decorators": [] }, { - "$id": "1171", + "$id": "1235", "kind": "enumvalue", "name": "flac", "value": "flac", "valueType": { - "$ref": "1167" + "$ref": "1231" }, "enumType": { - "$ref": "1166" + "$ref": "1230" }, "decorators": [] }, { - "$id": "1172", + "$id": "1236", "kind": "enumvalue", "name": "wav", "value": "wav", "valueType": { - "$ref": "1167" + "$ref": "1231" }, "enumType": { - "$ref": "1166" + "$ref": "1230" }, "decorators": [] }, { - "$id": "1173", + "$id": "1237", "kind": "enumvalue", "name": "pcm", "value": "pcm", "valueType": { - "$ref": "1167" + "$ref": "1231" }, "enumType": { - "$ref": "1166" + "$ref": "1230" }, "decorators": [] } @@ -14211,12 +14991,12 @@ "decorators": [] }, { - "$id": "1174", + "$id": "1238", "kind": "enum", "name": "CreateSpeechRequestStreamFormat", "crossLanguageDefinitionId": "OpenAI.CreateSpeechRequest.stream_format.anonymous", "valueType": { - "$id": "1175", + "$id": "1239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14224,28 +15004,28 @@ }, "values": [ { - "$id": "1176", + "$id": "1240", "kind": "enumvalue", "name": "sse", "value": "sse", "valueType": { - "$ref": "1175" + "$ref": "1239" }, "enumType": { - "$ref": "1174" + "$ref": "1238" }, "decorators": [] }, { - "$id": "1177", + "$id": "1241", "kind": "enumvalue", "name": "audio", "value": "audio", "valueType": { - "$ref": "1175" + "$ref": "1239" }, "enumType": { - "$ref": "1174" + "$ref": "1238" }, "decorators": [] } @@ -14257,12 +15037,12 @@ "decorators": [] }, { - "$id": "1178", + "$id": "1242", "kind": "enum", "name": "CreateTranscriptionRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateTranscriptionRequest.model.anonymous", "valueType": { - "$id": "1179", + "$id": "1243", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14270,67 +15050,67 @@ }, "values": [ { - "$id": "1180", + "$id": "1244", "kind": "enumvalue", "name": "whisper-1", "value": "whisper-1", "valueType": { - "$ref": "1179" + "$ref": "1243" }, "enumType": { - "$ref": "1178" + "$ref": "1242" }, "decorators": [] }, { - "$id": "1181", + "$id": "1245", "kind": "enumvalue", "name": "gpt-4o-transcribe", "value": "gpt-4o-transcribe", "valueType": { - "$ref": "1179" + "$ref": "1243" }, "enumType": { - "$ref": "1178" + "$ref": "1242" }, "decorators": [] }, { - "$id": "1182", + "$id": "1246", "kind": "enumvalue", "name": "gpt-4o-mini-transcribe", "value": "gpt-4o-mini-transcribe", "valueType": { - "$ref": "1179" + "$ref": "1243" }, "enumType": { - "$ref": "1178" + "$ref": "1242" }, "decorators": [] }, { - "$id": "1183", + "$id": "1247", "kind": "enumvalue", "name": "gpt-4o-mini-transcribe-2025-12-15", "value": "gpt-4o-mini-transcribe-2025-12-15", "valueType": { - "$ref": "1179" + "$ref": "1243" }, "enumType": { - "$ref": "1178" + "$ref": "1242" }, "decorators": [] }, { - "$id": "1184", + "$id": "1248", "kind": "enumvalue", "name": "gpt-4o-transcribe-diarize", "value": "gpt-4o-transcribe-diarize", "valueType": { - "$ref": "1179" + "$ref": "1243" }, "enumType": { - "$ref": "1178" + "$ref": "1242" }, "decorators": [] } @@ -14342,12 +15122,12 @@ "decorators": [] }, { - "$id": "1185", + "$id": "1249", "kind": "enum", "name": "AudioResponseFormat", "crossLanguageDefinitionId": "OpenAI.AudioResponseFormat", "valueType": { - "$id": "1186", + "$id": "1250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14355,80 +15135,80 @@ }, "values": [ { - "$id": "1187", + "$id": "1251", "kind": "enumvalue", "name": "json", "value": "json", "valueType": { - "$ref": "1186" + "$ref": "1250" }, "enumType": { - "$ref": "1185" + "$ref": "1249" }, "decorators": [] }, { - "$id": "1188", + "$id": "1252", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1186" + "$ref": "1250" }, "enumType": { - "$ref": "1185" + "$ref": "1249" }, "decorators": [] }, { - "$id": "1189", + "$id": "1253", "kind": "enumvalue", "name": "srt", "value": "srt", "valueType": { - "$ref": "1186" + "$ref": "1250" }, "enumType": { - "$ref": "1185" + "$ref": "1249" }, "decorators": [] }, { - "$id": "1190", + "$id": "1254", "kind": "enumvalue", "name": "verbose_json", "value": "verbose_json", "valueType": { - "$ref": "1186" + "$ref": "1250" }, "enumType": { - "$ref": "1185" + "$ref": "1249" }, "decorators": [] }, { - "$id": "1191", + "$id": "1255", "kind": "enumvalue", "name": "vtt", "value": "vtt", "valueType": { - "$ref": "1186" + "$ref": "1250" }, "enumType": { - "$ref": "1185" + "$ref": "1249" }, "decorators": [] }, { - "$id": "1192", + "$id": "1256", "kind": "enumvalue", "name": "diarized_json", "value": "diarized_json", "valueType": { - "$ref": "1186" + "$ref": "1250" }, "enumType": { - "$ref": "1185" + "$ref": "1249" }, "decorators": [] } @@ -14441,12 +15221,12 @@ "decorators": [] }, { - "$id": "1193", + "$id": "1257", "kind": "enum", "name": "TranscriptionInclude", "crossLanguageDefinitionId": "OpenAI.TranscriptionInclude", "valueType": { - "$id": "1194", + "$id": "1258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14454,15 +15234,15 @@ }, "values": [ { - "$id": "1195", + "$id": "1259", "kind": "enumvalue", "name": "logprobs", "value": "logprobs", "valueType": { - "$ref": "1194" + "$ref": "1258" }, "enumType": { - "$ref": "1193" + "$ref": "1257" }, "decorators": [] } @@ -14474,12 +15254,12 @@ "decorators": [] }, { - "$id": "1196", + "$id": "1260", "kind": "enum", "name": "CreateTranscriptionRequestTimestampGranularity", "crossLanguageDefinitionId": "OpenAI.CreateTranscriptionRequest.timestamp_granularity.anonymous", "valueType": { - "$id": "1197", + "$id": "1261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14487,28 +15267,28 @@ }, "values": [ { - "$id": "1198", + "$id": "1262", "kind": "enumvalue", "name": "word", "value": "word", "valueType": { - "$ref": "1197" + "$ref": "1261" }, "enumType": { - "$ref": "1196" + "$ref": "1260" }, "decorators": [] }, { - "$id": "1199", + "$id": "1263", "kind": "enumvalue", "name": "segment", "value": "segment", "valueType": { - "$ref": "1197" + "$ref": "1261" }, "enumType": { - "$ref": "1196" + "$ref": "1260" }, "decorators": [] } @@ -14520,12 +15300,12 @@ "decorators": [] }, { - "$id": "1200", + "$id": "1264", "kind": "enum", "name": "CreateTranscriptionResponseJsonUsageType", "crossLanguageDefinitionId": "OpenAI.CreateTranscriptionResponseJsonUsageType", "valueType": { - "$id": "1201", + "$id": "1265", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14533,28 +15313,28 @@ }, "values": [ { - "$id": "1202", + "$id": "1266", "kind": "enumvalue", "name": "tokens", "value": "tokens", "valueType": { - "$ref": "1201" + "$ref": "1265" }, "enumType": { - "$ref": "1200" + "$ref": "1264" }, "decorators": [] }, { - "$id": "1203", + "$id": "1267", "kind": "enumvalue", "name": "duration", "value": "duration", "valueType": { - "$ref": "1201" + "$ref": "1265" }, "enumType": { - "$ref": "1200" + "$ref": "1264" }, "decorators": [] } @@ -14566,12 +15346,12 @@ "decorators": [] }, { - "$id": "1204", + "$id": "1268", "kind": "enum", "name": "CreateTranslationRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateTranslationRequest.model.anonymous", "valueType": { - "$id": "1205", + "$id": "1269", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14579,15 +15359,15 @@ }, "values": [ { - "$id": "1206", + "$id": "1270", "kind": "enumvalue", "name": "whisper-1", "value": "whisper-1", "valueType": { - "$ref": "1205" + "$ref": "1269" }, "enumType": { - "$ref": "1204" + "$ref": "1268" }, "decorators": [] } @@ -14599,12 +15379,12 @@ "decorators": [] }, { - "$id": "1207", + "$id": "1271", "kind": "enum", "name": "CreateTranslationRequestResponseFormat", "crossLanguageDefinitionId": "OpenAI.CreateTranslationRequest.response_format.anonymous", "valueType": { - "$id": "1208", + "$id": "1272", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14612,67 +15392,67 @@ }, "values": [ { - "$id": "1209", + "$id": "1273", "kind": "enumvalue", "name": "json", "value": "json", "valueType": { - "$ref": "1208" + "$ref": "1272" }, "enumType": { - "$ref": "1207" + "$ref": "1271" }, "decorators": [] }, { - "$id": "1210", + "$id": "1274", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1208" + "$ref": "1272" }, "enumType": { - "$ref": "1207" + "$ref": "1271" }, "decorators": [] }, { - "$id": "1211", + "$id": "1275", "kind": "enumvalue", "name": "srt", "value": "srt", "valueType": { - "$ref": "1208" + "$ref": "1272" }, "enumType": { - "$ref": "1207" + "$ref": "1271" }, "decorators": [] }, { - "$id": "1212", + "$id": "1276", "kind": "enumvalue", "name": "verbose_json", "value": "verbose_json", "valueType": { - "$ref": "1208" + "$ref": "1272" }, "enumType": { - "$ref": "1207" + "$ref": "1271" }, "decorators": [] }, { - "$id": "1213", + "$id": "1277", "kind": "enumvalue", "name": "vtt", "value": "vtt", "valueType": { - "$ref": "1208" + "$ref": "1272" }, "enumType": { - "$ref": "1207" + "$ref": "1271" }, "decorators": [] } @@ -14684,12 +15464,12 @@ "decorators": [] }, { - "$id": "1214", + "$id": "1278", "kind": "enum", "name": "CreateEmbeddingRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.model.anonymous", "valueType": { - "$id": "1215", + "$id": "1279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14697,41 +15477,41 @@ }, "values": [ { - "$id": "1216", + "$id": "1280", "kind": "enumvalue", "name": "text-embedding-ada-002", "value": "text-embedding-ada-002", "valueType": { - "$ref": "1215" + "$ref": "1279" }, "enumType": { - "$ref": "1214" + "$ref": "1278" }, "decorators": [] }, { - "$id": "1217", + "$id": "1281", "kind": "enumvalue", "name": "text-embedding-3-small", "value": "text-embedding-3-small", "valueType": { - "$ref": "1215" + "$ref": "1279" }, "enumType": { - "$ref": "1214" + "$ref": "1278" }, "decorators": [] }, { - "$id": "1218", + "$id": "1282", "kind": "enumvalue", "name": "text-embedding-3-large", "value": "text-embedding-3-large", "valueType": { - "$ref": "1215" + "$ref": "1279" }, "enumType": { - "$ref": "1214" + "$ref": "1278" }, "decorators": [] } @@ -14743,12 +15523,12 @@ "decorators": [] }, { - "$id": "1219", + "$id": "1283", "kind": "enum", "name": "CreateEmbeddingRequestEncodingFormat", "crossLanguageDefinitionId": "OpenAI.CreateEmbeddingRequest.encoding_format.anonymous", "valueType": { - "$id": "1220", + "$id": "1284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14756,28 +15536,28 @@ }, "values": [ { - "$id": "1221", + "$id": "1285", "kind": "enumvalue", "name": "float", "value": "float", "valueType": { - "$ref": "1220" + "$ref": "1284" }, "enumType": { - "$ref": "1219" + "$ref": "1283" }, "decorators": [] }, { - "$id": "1222", + "$id": "1286", "kind": "enumvalue", "name": "base64", "value": "base64", "valueType": { - "$ref": "1220" + "$ref": "1284" }, "enumType": { - "$ref": "1219" + "$ref": "1283" }, "decorators": [] } @@ -14789,12 +15569,12 @@ "decorators": [] }, { - "$id": "1223", + "$id": "1287", "kind": "enum", "name": "FilePurpose", "crossLanguageDefinitionId": "OpenAI.FilePurpose", "valueType": { - "$id": "1224", + "$id": "1288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14802,80 +15582,80 @@ }, "values": [ { - "$id": "1225", + "$id": "1289", "kind": "enumvalue", "name": "assistants", "value": "assistants", "valueType": { - "$ref": "1224" + "$ref": "1288" }, "enumType": { - "$ref": "1223" + "$ref": "1287" }, "decorators": [] }, { - "$id": "1226", + "$id": "1290", "kind": "enumvalue", "name": "batch", "value": "batch", "valueType": { - "$ref": "1224" + "$ref": "1288" }, "enumType": { - "$ref": "1223" + "$ref": "1287" }, "decorators": [] }, { - "$id": "1227", + "$id": "1291", "kind": "enumvalue", "name": "fine-tune", "value": "fine-tune", "valueType": { - "$ref": "1224" + "$ref": "1288" }, "enumType": { - "$ref": "1223" + "$ref": "1287" }, "decorators": [] }, { - "$id": "1228", + "$id": "1292", "kind": "enumvalue", "name": "vision", "value": "vision", "valueType": { - "$ref": "1224" + "$ref": "1288" }, "enumType": { - "$ref": "1223" + "$ref": "1287" }, "decorators": [] }, { - "$id": "1229", + "$id": "1293", "kind": "enumvalue", "name": "user_data", "value": "user_data", "valueType": { - "$ref": "1224" + "$ref": "1288" }, "enumType": { - "$ref": "1223" + "$ref": "1287" }, "decorators": [] }, { - "$id": "1230", + "$id": "1294", "kind": "enumvalue", "name": "evals", "value": "evals", "valueType": { - "$ref": "1224" + "$ref": "1288" }, "enumType": { - "$ref": "1223" + "$ref": "1287" }, "decorators": [] } @@ -14888,12 +15668,12 @@ "decorators": [] }, { - "$id": "1231", + "$id": "1295", "kind": "enum", "name": "CreateImageEditRequestBackground", "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.background.anonymous", "valueType": { - "$id": "1232", + "$id": "1296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14901,41 +15681,41 @@ }, "values": [ { - "$id": "1233", + "$id": "1297", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "1232" + "$ref": "1296" }, "enumType": { - "$ref": "1231" + "$ref": "1295" }, "decorators": [] }, { - "$id": "1234", + "$id": "1298", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "1232" + "$ref": "1296" }, "enumType": { - "$ref": "1231" + "$ref": "1295" }, "decorators": [] }, { - "$id": "1235", + "$id": "1299", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1232" + "$ref": "1296" }, "enumType": { - "$ref": "1231" + "$ref": "1295" }, "decorators": [] } @@ -14947,12 +15727,12 @@ "decorators": [] }, { - "$id": "1236", + "$id": "1300", "kind": "enum", "name": "CreateImageEditRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.model.anonymous", "valueType": { - "$id": "1237", + "$id": "1301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14960,54 +15740,54 @@ }, "values": [ { - "$id": "1238", + "$id": "1302", "kind": "enumvalue", "name": "gpt-image-1.5", "value": "gpt-image-1.5", "valueType": { - "$ref": "1237" + "$ref": "1301" }, "enumType": { - "$ref": "1236" + "$ref": "1300" }, "decorators": [] }, { - "$id": "1239", + "$id": "1303", "kind": "enumvalue", "name": "dall-e-2", "value": "dall-e-2", "valueType": { - "$ref": "1237" + "$ref": "1301" }, "enumType": { - "$ref": "1236" + "$ref": "1300" }, "decorators": [] }, { - "$id": "1240", + "$id": "1304", "kind": "enumvalue", "name": "gpt-image-1", "value": "gpt-image-1", "valueType": { - "$ref": "1237" + "$ref": "1301" }, "enumType": { - "$ref": "1236" + "$ref": "1300" }, "decorators": [] }, { - "$id": "1241", + "$id": "1305", "kind": "enumvalue", "name": "gpt-image-1-mini", "value": "gpt-image-1-mini", "valueType": { - "$ref": "1237" + "$ref": "1301" }, "enumType": { - "$ref": "1236" + "$ref": "1300" }, "decorators": [] } @@ -15019,12 +15799,12 @@ "decorators": [] }, { - "$id": "1242", + "$id": "1306", "kind": "enum", "name": "CreateImageEditRequestSize", "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.size.anonymous", "valueType": { - "$id": "1243", + "$id": "1307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15032,80 +15812,80 @@ }, "values": [ { - "$id": "1244", + "$id": "1308", "kind": "enumvalue", "name": "256x256", "value": "256x256", "valueType": { - "$ref": "1243" + "$ref": "1307" }, "enumType": { - "$ref": "1242" + "$ref": "1306" }, "decorators": [] }, { - "$id": "1245", + "$id": "1309", "kind": "enumvalue", "name": "512x512", "value": "512x512", "valueType": { - "$ref": "1243" + "$ref": "1307" }, "enumType": { - "$ref": "1242" + "$ref": "1306" }, "decorators": [] }, { - "$id": "1246", + "$id": "1310", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "1243" + "$ref": "1307" }, "enumType": { - "$ref": "1242" + "$ref": "1306" }, "decorators": [] }, { - "$id": "1247", + "$id": "1311", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "1243" + "$ref": "1307" }, "enumType": { - "$ref": "1242" + "$ref": "1306" }, "decorators": [] }, { - "$id": "1248", + "$id": "1312", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "1243" + "$ref": "1307" }, "enumType": { - "$ref": "1242" + "$ref": "1306" }, "decorators": [] }, { - "$id": "1249", + "$id": "1313", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1243" + "$ref": "1307" }, "enumType": { - "$ref": "1242" + "$ref": "1306" }, "decorators": [] } @@ -15117,12 +15897,12 @@ "decorators": [] }, { - "$id": "1250", + "$id": "1314", "kind": "enum", "name": "CreateImageEditRequestResponseFormat", "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.response_format.anonymous", "valueType": { - "$id": "1251", + "$id": "1315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15130,28 +15910,28 @@ }, "values": [ { - "$id": "1252", + "$id": "1316", "kind": "enumvalue", "name": "url", "value": "url", "valueType": { - "$ref": "1251" + "$ref": "1315" }, "enumType": { - "$ref": "1250" + "$ref": "1314" }, "decorators": [] }, { - "$id": "1253", + "$id": "1317", "kind": "enumvalue", "name": "b64_json", "value": "b64_json", "valueType": { - "$ref": "1251" + "$ref": "1315" }, "enumType": { - "$ref": "1250" + "$ref": "1314" }, "decorators": [] } @@ -15163,12 +15943,12 @@ "decorators": [] }, { - "$id": "1254", + "$id": "1318", "kind": "enum", "name": "CreateImageEditRequestOutputFormat", "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.output_format.anonymous", "valueType": { - "$id": "1255", + "$id": "1319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15176,41 +15956,41 @@ }, "values": [ { - "$id": "1256", + "$id": "1320", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "1255" + "$ref": "1319" }, "enumType": { - "$ref": "1254" + "$ref": "1318" }, "decorators": [] }, { - "$id": "1257", + "$id": "1321", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "1255" + "$ref": "1319" }, "enumType": { - "$ref": "1254" + "$ref": "1318" }, "decorators": [] }, { - "$id": "1258", + "$id": "1322", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "1255" + "$ref": "1319" }, "enumType": { - "$ref": "1254" + "$ref": "1318" }, "decorators": [] } @@ -15222,12 +16002,12 @@ "decorators": [] }, { - "$id": "1259", + "$id": "1323", "kind": "enum", "name": "InputFidelity", "crossLanguageDefinitionId": "OpenAI.InputFidelity", "valueType": { - "$id": "1260", + "$id": "1324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15235,28 +16015,28 @@ }, "values": [ { - "$id": "1261", + "$id": "1325", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1260" + "$ref": "1324" }, "enumType": { - "$ref": "1259" + "$ref": "1323" }, "decorators": [] }, { - "$id": "1262", + "$id": "1326", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1260" + "$ref": "1324" }, "enumType": { - "$ref": "1259" + "$ref": "1323" }, "decorators": [] } @@ -15269,12 +16049,12 @@ "decorators": [] }, { - "$id": "1263", + "$id": "1327", "kind": "enum", "name": "CreateImageEditRequestQuality", "crossLanguageDefinitionId": "OpenAI.CreateImageEditRequest.quality.anonymous", "valueType": { - "$id": "1264", + "$id": "1328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15282,67 +16062,67 @@ }, "values": [ { - "$id": "1265", + "$id": "1329", "kind": "enumvalue", "name": "standard", "value": "standard", "valueType": { - "$ref": "1264" + "$ref": "1328" }, "enumType": { - "$ref": "1263" + "$ref": "1327" }, "decorators": [] }, { - "$id": "1266", + "$id": "1330", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1264" + "$ref": "1328" }, "enumType": { - "$ref": "1263" + "$ref": "1327" }, "decorators": [] }, { - "$id": "1267", + "$id": "1331", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1264" + "$ref": "1328" }, "enumType": { - "$ref": "1263" + "$ref": "1327" }, "decorators": [] }, { - "$id": "1268", + "$id": "1332", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1264" + "$ref": "1328" }, "enumType": { - "$ref": "1263" + "$ref": "1327" }, "decorators": [] }, { - "$id": "1269", + "$id": "1333", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1264" + "$ref": "1328" }, "enumType": { - "$ref": "1263" + "$ref": "1327" }, "decorators": [] } @@ -15354,12 +16134,12 @@ "decorators": [] }, { - "$id": "1270", + "$id": "1334", "kind": "enum", "name": "ImagesResponseBackground", "crossLanguageDefinitionId": "OpenAI.ImagesResponse.background.anonymous", "valueType": { - "$id": "1271", + "$id": "1335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15367,28 +16147,28 @@ }, "values": [ { - "$id": "1272", + "$id": "1336", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "1271" + "$ref": "1335" }, "enumType": { - "$ref": "1270" + "$ref": "1334" }, "decorators": [] }, { - "$id": "1273", + "$id": "1337", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "1271" + "$ref": "1335" }, "enumType": { - "$ref": "1270" + "$ref": "1334" }, "decorators": [] } @@ -15400,12 +16180,12 @@ "decorators": [] }, { - "$id": "1274", + "$id": "1338", "kind": "enum", "name": "ImagesResponseOutputFormat", "crossLanguageDefinitionId": "OpenAI.ImagesResponse.output_format.anonymous", "valueType": { - "$id": "1275", + "$id": "1339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15413,41 +16193,41 @@ }, "values": [ { - "$id": "1276", + "$id": "1340", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "1275" + "$ref": "1339" }, "enumType": { - "$ref": "1274" + "$ref": "1338" }, "decorators": [] }, { - "$id": "1277", + "$id": "1341", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "1275" + "$ref": "1339" }, "enumType": { - "$ref": "1274" + "$ref": "1338" }, "decorators": [] }, { - "$id": "1278", + "$id": "1342", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "1275" + "$ref": "1339" }, "enumType": { - "$ref": "1274" + "$ref": "1338" }, "decorators": [] } @@ -15459,12 +16239,12 @@ "decorators": [] }, { - "$id": "1279", + "$id": "1343", "kind": "enum", "name": "ImagesResponseSize", "crossLanguageDefinitionId": "OpenAI.ImagesResponse.size.anonymous", "valueType": { - "$id": "1280", + "$id": "1344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15472,41 +16252,41 @@ }, "values": [ { - "$id": "1281", + "$id": "1345", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "1280" + "$ref": "1344" }, "enumType": { - "$ref": "1279" + "$ref": "1343" }, "decorators": [] }, { - "$id": "1282", + "$id": "1346", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "1280" + "$ref": "1344" }, "enumType": { - "$ref": "1279" + "$ref": "1343" }, "decorators": [] }, { - "$id": "1283", + "$id": "1347", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "1280" + "$ref": "1344" }, "enumType": { - "$ref": "1279" + "$ref": "1343" }, "decorators": [] } @@ -15518,12 +16298,12 @@ "decorators": [] }, { - "$id": "1284", + "$id": "1348", "kind": "enum", "name": "ImagesResponseQuality", "crossLanguageDefinitionId": "OpenAI.ImagesResponse.quality.anonymous", "valueType": { - "$id": "1285", + "$id": "1349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15531,41 +16311,41 @@ }, "values": [ { - "$id": "1286", + "$id": "1350", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1285" + "$ref": "1349" }, "enumType": { - "$ref": "1284" + "$ref": "1348" }, "decorators": [] }, { - "$id": "1287", + "$id": "1351", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1285" + "$ref": "1349" }, "enumType": { - "$ref": "1284" + "$ref": "1348" }, "decorators": [] }, { - "$id": "1288", + "$id": "1352", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1285" + "$ref": "1349" }, "enumType": { - "$ref": "1284" + "$ref": "1348" }, "decorators": [] } @@ -15577,12 +16357,12 @@ "decorators": [] }, { - "$id": "1289", + "$id": "1353", "kind": "enum", "name": "CreateImageRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.model.anonymous", "valueType": { - "$id": "1290", + "$id": "1354", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15590,67 +16370,67 @@ }, "values": [ { - "$id": "1291", + "$id": "1355", "kind": "enumvalue", "name": "gpt-image-1.5", "value": "gpt-image-1.5", "valueType": { - "$ref": "1290" + "$ref": "1354" }, "enumType": { - "$ref": "1289" + "$ref": "1353" }, "decorators": [] }, { - "$id": "1292", + "$id": "1356", "kind": "enumvalue", "name": "dall-e-2", "value": "dall-e-2", "valueType": { - "$ref": "1290" + "$ref": "1354" }, "enumType": { - "$ref": "1289" + "$ref": "1353" }, "decorators": [] }, { - "$id": "1293", + "$id": "1357", "kind": "enumvalue", "name": "dall-e-3", "value": "dall-e-3", "valueType": { - "$ref": "1290" + "$ref": "1354" }, "enumType": { - "$ref": "1289" + "$ref": "1353" }, "decorators": [] }, { - "$id": "1294", + "$id": "1358", "kind": "enumvalue", "name": "gpt-image-1", "value": "gpt-image-1", "valueType": { - "$ref": "1290" + "$ref": "1354" }, "enumType": { - "$ref": "1289" + "$ref": "1353" }, "decorators": [] }, { - "$id": "1295", + "$id": "1359", "kind": "enumvalue", "name": "gpt-image-1-mini", "value": "gpt-image-1-mini", "valueType": { - "$ref": "1290" + "$ref": "1354" }, "enumType": { - "$ref": "1289" + "$ref": "1353" }, "decorators": [] } @@ -15662,12 +16442,12 @@ "decorators": [] }, { - "$id": "1296", + "$id": "1360", "kind": "enum", "name": "CreateImageRequestQuality", "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.quality.anonymous", "valueType": { - "$id": "1297", + "$id": "1361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15675,80 +16455,80 @@ }, "values": [ { - "$id": "1298", + "$id": "1362", "kind": "enumvalue", "name": "standard", "value": "standard", "valueType": { - "$ref": "1297" + "$ref": "1361" }, "enumType": { - "$ref": "1296" + "$ref": "1360" }, "decorators": [] }, { - "$id": "1299", + "$id": "1363", "kind": "enumvalue", "name": "hd", "value": "hd", "valueType": { - "$ref": "1297" + "$ref": "1361" }, "enumType": { - "$ref": "1296" + "$ref": "1360" }, "decorators": [] }, { - "$id": "1300", + "$id": "1364", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1297" + "$ref": "1361" }, "enumType": { - "$ref": "1296" + "$ref": "1360" }, "decorators": [] }, { - "$id": "1301", + "$id": "1365", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1297" + "$ref": "1361" }, "enumType": { - "$ref": "1296" + "$ref": "1360" }, "decorators": [] }, { - "$id": "1302", + "$id": "1366", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1297" + "$ref": "1361" }, "enumType": { - "$ref": "1296" + "$ref": "1360" }, "decorators": [] }, { - "$id": "1303", + "$id": "1367", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1297" + "$ref": "1361" }, "enumType": { - "$ref": "1296" + "$ref": "1360" }, "decorators": [] } @@ -15760,12 +16540,12 @@ "decorators": [] }, { - "$id": "1304", + "$id": "1368", "kind": "enum", "name": "CreateImageRequestResponseFormat", "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.response_format.anonymous", "valueType": { - "$id": "1305", + "$id": "1369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15773,28 +16553,28 @@ }, "values": [ { - "$id": "1306", + "$id": "1370", "kind": "enumvalue", "name": "url", "value": "url", "valueType": { - "$ref": "1305" + "$ref": "1369" }, "enumType": { - "$ref": "1304" + "$ref": "1368" }, "decorators": [] }, { - "$id": "1307", + "$id": "1371", "kind": "enumvalue", "name": "b64_json", "value": "b64_json", "valueType": { - "$ref": "1305" + "$ref": "1369" }, "enumType": { - "$ref": "1304" + "$ref": "1368" }, "decorators": [] } @@ -15806,12 +16586,12 @@ "decorators": [] }, { - "$id": "1308", + "$id": "1372", "kind": "enum", "name": "CreateImageRequestOutputFormat", "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.output_format.anonymous", "valueType": { - "$id": "1309", + "$id": "1373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15819,41 +16599,41 @@ }, "values": [ { - "$id": "1310", + "$id": "1374", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "1309" + "$ref": "1373" }, "enumType": { - "$ref": "1308" + "$ref": "1372" }, "decorators": [] }, { - "$id": "1311", + "$id": "1375", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "1309" + "$ref": "1373" }, "enumType": { - "$ref": "1308" + "$ref": "1372" }, "decorators": [] }, { - "$id": "1312", + "$id": "1376", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "1309" + "$ref": "1373" }, "enumType": { - "$ref": "1308" + "$ref": "1372" }, "decorators": [] } @@ -15865,12 +16645,12 @@ "decorators": [] }, { - "$id": "1313", + "$id": "1377", "kind": "enum", "name": "CreateImageRequestSize", "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.size.anonymous", "valueType": { - "$id": "1314", + "$id": "1378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15878,106 +16658,106 @@ }, "values": [ { - "$id": "1315", + "$id": "1379", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1314" + "$ref": "1378" }, "enumType": { - "$ref": "1313" + "$ref": "1377" }, "decorators": [] }, { - "$id": "1316", + "$id": "1380", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "1314" + "$ref": "1378" }, "enumType": { - "$ref": "1313" + "$ref": "1377" }, "decorators": [] }, { - "$id": "1317", + "$id": "1381", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "1314" + "$ref": "1378" }, "enumType": { - "$ref": "1313" + "$ref": "1377" }, "decorators": [] }, { - "$id": "1318", + "$id": "1382", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "1314" + "$ref": "1378" }, "enumType": { - "$ref": "1313" + "$ref": "1377" }, "decorators": [] }, { - "$id": "1319", + "$id": "1383", "kind": "enumvalue", "name": "256x256", "value": "256x256", "valueType": { - "$ref": "1314" + "$ref": "1378" }, "enumType": { - "$ref": "1313" + "$ref": "1377" }, "decorators": [] }, { - "$id": "1320", + "$id": "1384", "kind": "enumvalue", "name": "512x512", "value": "512x512", "valueType": { - "$ref": "1314" + "$ref": "1378" }, "enumType": { - "$ref": "1313" + "$ref": "1377" }, "decorators": [] }, { - "$id": "1321", + "$id": "1385", "kind": "enumvalue", "name": "1792x1024", "value": "1792x1024", "valueType": { - "$ref": "1314" + "$ref": "1378" }, "enumType": { - "$ref": "1313" + "$ref": "1377" }, "decorators": [] }, { - "$id": "1322", + "$id": "1386", "kind": "enumvalue", "name": "1024x1792", "value": "1024x1792", "valueType": { - "$ref": "1314" + "$ref": "1378" }, "enumType": { - "$ref": "1313" + "$ref": "1377" }, "decorators": [] } @@ -15989,12 +16769,12 @@ "decorators": [] }, { - "$id": "1323", + "$id": "1387", "kind": "enum", "name": "CreateImageRequestModeration", "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.moderation.anonymous", "valueType": { - "$id": "1324", + "$id": "1388", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16002,28 +16782,28 @@ }, "values": [ { - "$id": "1325", + "$id": "1389", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1324" + "$ref": "1388" }, "enumType": { - "$ref": "1323" + "$ref": "1387" }, "decorators": [] }, { - "$id": "1326", + "$id": "1390", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1324" + "$ref": "1388" }, "enumType": { - "$ref": "1323" + "$ref": "1387" }, "decorators": [] } @@ -16035,12 +16815,12 @@ "decorators": [] }, { - "$id": "1327", + "$id": "1391", "kind": "enum", "name": "CreateImageRequestBackground", "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.background.anonymous", "valueType": { - "$id": "1328", + "$id": "1392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16048,41 +16828,41 @@ }, "values": [ { - "$id": "1329", + "$id": "1393", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "1328" + "$ref": "1392" }, "enumType": { - "$ref": "1327" + "$ref": "1391" }, "decorators": [] }, { - "$id": "1330", + "$id": "1394", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "1328" + "$ref": "1392" }, "enumType": { - "$ref": "1327" + "$ref": "1391" }, "decorators": [] }, { - "$id": "1331", + "$id": "1395", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1328" + "$ref": "1392" }, "enumType": { - "$ref": "1327" + "$ref": "1391" }, "decorators": [] } @@ -16094,12 +16874,12 @@ "decorators": [] }, { - "$id": "1332", + "$id": "1396", "kind": "enum", "name": "CreateImageRequestStyle", "crossLanguageDefinitionId": "OpenAI.CreateImageRequest.style.anonymous", "valueType": { - "$id": "1333", + "$id": "1397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16107,28 +16887,28 @@ }, "values": [ { - "$id": "1334", + "$id": "1398", "kind": "enumvalue", "name": "vivid", "value": "vivid", "valueType": { - "$ref": "1333" + "$ref": "1397" }, "enumType": { - "$ref": "1332" + "$ref": "1396" }, "decorators": [] }, { - "$id": "1335", + "$id": "1399", "kind": "enumvalue", "name": "natural", "value": "natural", "valueType": { - "$ref": "1333" + "$ref": "1397" }, "enumType": { - "$ref": "1332" + "$ref": "1396" }, "decorators": [] } @@ -16140,12 +16920,12 @@ "decorators": [] }, { - "$id": "1336", + "$id": "1400", "kind": "enum", "name": "CreateImageVariationRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.model.anonymous", "valueType": { - "$id": "1337", + "$id": "1401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16153,15 +16933,15 @@ }, "values": [ { - "$id": "1338", + "$id": "1402", "kind": "enumvalue", "name": "dall-e-2", "value": "dall-e-2", "valueType": { - "$ref": "1337" + "$ref": "1401" }, "enumType": { - "$ref": "1336" + "$ref": "1400" }, "decorators": [] } @@ -16173,12 +16953,12 @@ "decorators": [] }, { - "$id": "1339", + "$id": "1403", "kind": "enum", "name": "CreateImageVariationRequestResponseFormat", "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.response_format.anonymous", "valueType": { - "$id": "1340", + "$id": "1404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16186,28 +16966,28 @@ }, "values": [ { - "$id": "1341", + "$id": "1405", "kind": "enumvalue", "name": "url", "value": "url", "valueType": { - "$ref": "1340" + "$ref": "1404" }, "enumType": { - "$ref": "1339" + "$ref": "1403" }, "decorators": [] }, { - "$id": "1342", + "$id": "1406", "kind": "enumvalue", "name": "b64_json", "value": "b64_json", "valueType": { - "$ref": "1340" + "$ref": "1404" }, "enumType": { - "$ref": "1339" + "$ref": "1403" }, "decorators": [] } @@ -16219,12 +16999,12 @@ "decorators": [] }, { - "$id": "1343", + "$id": "1407", "kind": "enum", "name": "CreateImageVariationRequestSize", "crossLanguageDefinitionId": "OpenAI.CreateImageVariationRequest.size.anonymous", "valueType": { - "$id": "1344", + "$id": "1408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16232,41 +17012,41 @@ }, "values": [ { - "$id": "1345", + "$id": "1409", "kind": "enumvalue", "name": "256x256", "value": "256x256", "valueType": { - "$ref": "1344" + "$ref": "1408" }, "enumType": { - "$ref": "1343" + "$ref": "1407" }, "decorators": [] }, { - "$id": "1346", + "$id": "1410", "kind": "enumvalue", "name": "512x512", "value": "512x512", "valueType": { - "$ref": "1344" + "$ref": "1408" }, "enumType": { - "$ref": "1343" + "$ref": "1407" }, "decorators": [] }, { - "$id": "1347", + "$id": "1411", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "1344" + "$ref": "1408" }, "enumType": { - "$ref": "1343" + "$ref": "1407" }, "decorators": [] } @@ -16278,12 +17058,12 @@ "decorators": [] }, { - "$id": "1348", + "$id": "1412", "kind": "enum", "name": "CreateModerationRequestInputType", "crossLanguageDefinitionId": "OpenAI.CreateModerationRequestInputType", "valueType": { - "$id": "1349", + "$id": "1413", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16291,28 +17071,28 @@ }, "values": [ { - "$id": "1350", + "$id": "1414", "kind": "enumvalue", "name": "image_url", "value": "image_url", "valueType": { - "$ref": "1349" + "$ref": "1413" }, "enumType": { - "$ref": "1348" + "$ref": "1412" }, "decorators": [] }, { - "$id": "1351", + "$id": "1415", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1349" + "$ref": "1413" }, "enumType": { - "$ref": "1348" + "$ref": "1412" }, "decorators": [] } @@ -16324,12 +17104,12 @@ "decorators": [] }, { - "$id": "1352", + "$id": "1416", "kind": "enum", "name": "CreateModerationRequestModel", "crossLanguageDefinitionId": "OpenAI.CreateModerationRequest.model.anonymous", "valueType": { - "$id": "1353", + "$id": "1417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16337,54 +17117,54 @@ }, "values": [ { - "$id": "1354", + "$id": "1418", "kind": "enumvalue", "name": "omni-moderation-latest", "value": "omni-moderation-latest", "valueType": { - "$ref": "1353" + "$ref": "1417" }, "enumType": { - "$ref": "1352" + "$ref": "1416" }, "decorators": [] }, { - "$id": "1355", + "$id": "1419", "kind": "enumvalue", "name": "omni-moderation-2024-09-26", "value": "omni-moderation-2024-09-26", "valueType": { - "$ref": "1353" + "$ref": "1417" }, "enumType": { - "$ref": "1352" + "$ref": "1416" }, "decorators": [] }, { - "$id": "1356", + "$id": "1420", "kind": "enumvalue", "name": "text-moderation-latest", "value": "text-moderation-latest", "valueType": { - "$ref": "1353" + "$ref": "1417" }, "enumType": { - "$ref": "1352" + "$ref": "1416" }, "decorators": [] }, { - "$id": "1357", + "$id": "1421", "kind": "enumvalue", "name": "text-moderation-stable", "value": "text-moderation-stable", "valueType": { - "$ref": "1353" + "$ref": "1417" }, "enumType": { - "$ref": "1352" + "$ref": "1416" }, "decorators": [] } @@ -16396,12 +17176,12 @@ "decorators": [] }, { - "$id": "1358", + "$id": "1422", "kind": "enum", "name": "ModerationCategoryInputType", "crossLanguageDefinitionId": "OpenAI.ModerationCategoryInputType", "valueType": { - "$id": "1359", + "$id": "1423", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16409,28 +17189,28 @@ }, "values": [ { - "$id": "1360", + "$id": "1424", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1359" + "$ref": "1423" }, "enumType": { - "$ref": "1358" + "$ref": "1422" }, "decorators": [] }, { - "$id": "1361", + "$id": "1425", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "1359" + "$ref": "1423" }, "enumType": { - "$ref": "1358" + "$ref": "1422" }, "decorators": [] } @@ -16443,12 +17223,12 @@ "decorators": [] }, { - "$id": "1362", + "$id": "1426", "kind": "enum", "name": "BatchRequestInputMethod", "crossLanguageDefinitionId": "", "valueType": { - "$id": "1363", + "$id": "1427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16456,12 +17236,12 @@ }, "values": [ { - "$id": "1364", + "$id": "1428", "kind": "enumvalue", "name": "POST", "value": "POST", "valueType": { - "$id": "1365", + "$id": "1429", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -16469,7 +17249,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "1362" + "$ref": "1426" }, "decorators": [] } @@ -16482,12 +17262,12 @@ "decorators": [] }, { - "$id": "1366", + "$id": "1430", "kind": "enum", "name": "FineTuneChatCompletionRequestAssistantMessageWeight", "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.weight.anonymous", "valueType": { - "$id": "1367", + "$id": "1431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16495,28 +17275,28 @@ }, "values": [ { - "$id": "1368", + "$id": "1432", "kind": "enumvalue", "name": "0", "value": "0", "valueType": { - "$ref": "1367" + "$ref": "1431" }, "enumType": { - "$ref": "1366" + "$ref": "1430" }, "decorators": [] }, { - "$id": "1369", + "$id": "1433", "kind": "enumvalue", "name": "1", "value": "1", "valueType": { - "$ref": "1367" + "$ref": "1431" }, "enumType": { - "$ref": "1366" + "$ref": "1430" }, "decorators": [] } @@ -16528,12 +17308,12 @@ "decorators": [] }, { - "$id": "1370", + "$id": "1434", "kind": "enum", "name": "ImageEditCompletedEventSize", "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.size.anonymous", "valueType": { - "$id": "1371", + "$id": "1435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16541,54 +17321,54 @@ }, "values": [ { - "$id": "1372", + "$id": "1436", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "1371" + "$ref": "1435" }, "enumType": { - "$ref": "1370" + "$ref": "1434" }, "decorators": [] }, { - "$id": "1373", + "$id": "1437", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "1371" + "$ref": "1435" }, "enumType": { - "$ref": "1370" + "$ref": "1434" }, "decorators": [] }, { - "$id": "1374", + "$id": "1438", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "1371" + "$ref": "1435" }, "enumType": { - "$ref": "1370" + "$ref": "1434" }, "decorators": [] }, { - "$id": "1375", + "$id": "1439", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1371" + "$ref": "1435" }, "enumType": { - "$ref": "1370" + "$ref": "1434" }, "decorators": [] } @@ -16600,12 +17380,12 @@ "decorators": [] }, { - "$id": "1376", + "$id": "1440", "kind": "enum", "name": "ImageEditCompletedEventQuality", "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.quality.anonymous", "valueType": { - "$id": "1377", + "$id": "1441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16613,54 +17393,54 @@ }, "values": [ { - "$id": "1378", + "$id": "1442", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1377" + "$ref": "1441" }, "enumType": { - "$ref": "1376" + "$ref": "1440" }, "decorators": [] }, { - "$id": "1379", + "$id": "1443", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1377" + "$ref": "1441" }, "enumType": { - "$ref": "1376" + "$ref": "1440" }, "decorators": [] }, { - "$id": "1380", + "$id": "1444", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1377" + "$ref": "1441" }, "enumType": { - "$ref": "1376" + "$ref": "1440" }, "decorators": [] }, { - "$id": "1381", + "$id": "1445", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1377" + "$ref": "1441" }, "enumType": { - "$ref": "1376" + "$ref": "1440" }, "decorators": [] } @@ -16672,12 +17452,12 @@ "decorators": [] }, { - "$id": "1382", + "$id": "1446", "kind": "enum", "name": "ImageEditCompletedEventBackground", "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.background.anonymous", "valueType": { - "$id": "1383", + "$id": "1447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16685,41 +17465,41 @@ }, "values": [ { - "$id": "1384", + "$id": "1448", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "1383" + "$ref": "1447" }, "enumType": { - "$ref": "1382" + "$ref": "1446" }, "decorators": [] }, { - "$id": "1385", + "$id": "1449", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "1383" + "$ref": "1447" }, "enumType": { - "$ref": "1382" + "$ref": "1446" }, "decorators": [] }, { - "$id": "1386", + "$id": "1450", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1383" + "$ref": "1447" }, "enumType": { - "$ref": "1382" + "$ref": "1446" }, "decorators": [] } @@ -16731,12 +17511,12 @@ "decorators": [] }, { - "$id": "1387", + "$id": "1451", "kind": "enum", "name": "ImageEditCompletedEventOutputFormat", "crossLanguageDefinitionId": "OpenAI.ImageEditCompletedEvent.output_format.anonymous", "valueType": { - "$id": "1388", + "$id": "1452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16744,41 +17524,41 @@ }, "values": [ { - "$id": "1389", + "$id": "1453", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "1388" + "$ref": "1452" }, "enumType": { - "$ref": "1387" + "$ref": "1451" }, "decorators": [] }, { - "$id": "1390", + "$id": "1454", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "1388" + "$ref": "1452" }, "enumType": { - "$ref": "1387" + "$ref": "1451" }, "decorators": [] }, { - "$id": "1391", + "$id": "1455", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "1388" + "$ref": "1452" }, "enumType": { - "$ref": "1387" + "$ref": "1451" }, "decorators": [] } @@ -16790,12 +17570,12 @@ "decorators": [] }, { - "$id": "1392", + "$id": "1456", "kind": "enum", "name": "ImageEditPartialImageEventSize", "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.size.anonymous", "valueType": { - "$id": "1393", + "$id": "1457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16803,54 +17583,54 @@ }, "values": [ { - "$id": "1394", + "$id": "1458", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "1393" + "$ref": "1457" }, "enumType": { - "$ref": "1392" + "$ref": "1456" }, "decorators": [] }, { - "$id": "1395", + "$id": "1459", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "1393" + "$ref": "1457" }, "enumType": { - "$ref": "1392" + "$ref": "1456" }, "decorators": [] }, { - "$id": "1396", + "$id": "1460", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "1393" + "$ref": "1457" }, "enumType": { - "$ref": "1392" + "$ref": "1456" }, "decorators": [] }, { - "$id": "1397", + "$id": "1461", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1393" + "$ref": "1457" }, "enumType": { - "$ref": "1392" + "$ref": "1456" }, "decorators": [] } @@ -16862,12 +17642,12 @@ "decorators": [] }, { - "$id": "1398", + "$id": "1462", "kind": "enum", "name": "ImageEditPartialImageEventQuality", "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.quality.anonymous", "valueType": { - "$id": "1399", + "$id": "1463", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16875,54 +17655,54 @@ }, "values": [ { - "$id": "1400", + "$id": "1464", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1399" + "$ref": "1463" }, "enumType": { - "$ref": "1398" + "$ref": "1462" }, "decorators": [] }, { - "$id": "1401", + "$id": "1465", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1399" + "$ref": "1463" }, "enumType": { - "$ref": "1398" + "$ref": "1462" }, "decorators": [] }, { - "$id": "1402", + "$id": "1466", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1399" + "$ref": "1463" }, "enumType": { - "$ref": "1398" + "$ref": "1462" }, "decorators": [] }, { - "$id": "1403", + "$id": "1467", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1399" + "$ref": "1463" }, "enumType": { - "$ref": "1398" + "$ref": "1462" }, "decorators": [] } @@ -16934,12 +17714,12 @@ "decorators": [] }, { - "$id": "1404", + "$id": "1468", "kind": "enum", "name": "ImageEditPartialImageEventBackground", "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.background.anonymous", "valueType": { - "$id": "1405", + "$id": "1469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16947,41 +17727,41 @@ }, "values": [ { - "$id": "1406", + "$id": "1470", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "1405" + "$ref": "1469" }, "enumType": { - "$ref": "1404" + "$ref": "1468" }, "decorators": [] }, { - "$id": "1407", + "$id": "1471", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "1405" + "$ref": "1469" }, "enumType": { - "$ref": "1404" + "$ref": "1468" }, "decorators": [] }, { - "$id": "1408", + "$id": "1472", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1405" + "$ref": "1469" }, "enumType": { - "$ref": "1404" + "$ref": "1468" }, "decorators": [] } @@ -16993,12 +17773,12 @@ "decorators": [] }, { - "$id": "1409", + "$id": "1473", "kind": "enum", "name": "ImageEditPartialImageEventOutputFormat", "crossLanguageDefinitionId": "OpenAI.ImageEditPartialImageEvent.output_format.anonymous", "valueType": { - "$id": "1410", + "$id": "1474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17006,41 +17786,41 @@ }, "values": [ { - "$id": "1411", + "$id": "1475", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "1410" + "$ref": "1474" }, "enumType": { - "$ref": "1409" + "$ref": "1473" }, "decorators": [] }, { - "$id": "1412", + "$id": "1476", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "1410" + "$ref": "1474" }, "enumType": { - "$ref": "1409" + "$ref": "1473" }, "decorators": [] }, { - "$id": "1413", + "$id": "1477", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "1410" + "$ref": "1474" }, "enumType": { - "$ref": "1409" + "$ref": "1473" }, "decorators": [] } @@ -17052,12 +17832,12 @@ "decorators": [] }, { - "$id": "1414", + "$id": "1478", "kind": "enum", "name": "ImageGenCompletedEventSize", "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.size.anonymous", "valueType": { - "$id": "1415", + "$id": "1479", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17065,54 +17845,54 @@ }, "values": [ { - "$id": "1416", + "$id": "1480", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "1415" + "$ref": "1479" }, "enumType": { - "$ref": "1414" + "$ref": "1478" }, "decorators": [] }, { - "$id": "1417", + "$id": "1481", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "1415" + "$ref": "1479" }, "enumType": { - "$ref": "1414" + "$ref": "1478" }, "decorators": [] }, { - "$id": "1418", + "$id": "1482", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "1415" + "$ref": "1479" }, "enumType": { - "$ref": "1414" + "$ref": "1478" }, "decorators": [] }, { - "$id": "1419", + "$id": "1483", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1415" + "$ref": "1479" }, "enumType": { - "$ref": "1414" + "$ref": "1478" }, "decorators": [] } @@ -17124,12 +17904,12 @@ "decorators": [] }, { - "$id": "1420", + "$id": "1484", "kind": "enum", "name": "ImageGenCompletedEventQuality", "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.quality.anonymous", "valueType": { - "$id": "1421", + "$id": "1485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17137,54 +17917,54 @@ }, "values": [ { - "$id": "1422", + "$id": "1486", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1421" + "$ref": "1485" }, "enumType": { - "$ref": "1420" + "$ref": "1484" }, "decorators": [] }, { - "$id": "1423", + "$id": "1487", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1421" + "$ref": "1485" }, "enumType": { - "$ref": "1420" + "$ref": "1484" }, "decorators": [] }, { - "$id": "1424", + "$id": "1488", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1421" + "$ref": "1485" }, "enumType": { - "$ref": "1420" + "$ref": "1484" }, "decorators": [] }, { - "$id": "1425", + "$id": "1489", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1421" + "$ref": "1485" }, "enumType": { - "$ref": "1420" + "$ref": "1484" }, "decorators": [] } @@ -17196,12 +17976,12 @@ "decorators": [] }, { - "$id": "1426", + "$id": "1490", "kind": "enum", "name": "ImageGenCompletedEventBackground", "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.background.anonymous", "valueType": { - "$id": "1427", + "$id": "1491", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17209,41 +17989,41 @@ }, "values": [ { - "$id": "1428", + "$id": "1492", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "1427" + "$ref": "1491" }, "enumType": { - "$ref": "1426" + "$ref": "1490" }, "decorators": [] }, { - "$id": "1429", + "$id": "1493", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "1427" + "$ref": "1491" }, "enumType": { - "$ref": "1426" + "$ref": "1490" }, "decorators": [] }, { - "$id": "1430", + "$id": "1494", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1427" + "$ref": "1491" }, "enumType": { - "$ref": "1426" + "$ref": "1490" }, "decorators": [] } @@ -17255,12 +18035,12 @@ "decorators": [] }, { - "$id": "1431", + "$id": "1495", "kind": "enum", "name": "ImageGenCompletedEventOutputFormat", "crossLanguageDefinitionId": "OpenAI.ImageGenCompletedEvent.output_format.anonymous", "valueType": { - "$id": "1432", + "$id": "1496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17268,41 +18048,41 @@ }, "values": [ { - "$id": "1433", + "$id": "1497", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "1432" + "$ref": "1496" }, "enumType": { - "$ref": "1431" + "$ref": "1495" }, "decorators": [] }, { - "$id": "1434", + "$id": "1498", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "1432" + "$ref": "1496" }, "enumType": { - "$ref": "1431" + "$ref": "1495" }, "decorators": [] }, { - "$id": "1435", + "$id": "1499", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "1432" + "$ref": "1496" }, "enumType": { - "$ref": "1431" + "$ref": "1495" }, "decorators": [] } @@ -17314,12 +18094,12 @@ "decorators": [] }, { - "$id": "1436", + "$id": "1500", "kind": "enum", "name": "ImageGenPartialImageEventSize", "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.size.anonymous", "valueType": { - "$id": "1437", + "$id": "1501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17327,54 +18107,54 @@ }, "values": [ { - "$id": "1438", + "$id": "1502", "kind": "enumvalue", "name": "1024x1024", "value": "1024x1024", "valueType": { - "$ref": "1437" + "$ref": "1501" }, "enumType": { - "$ref": "1436" + "$ref": "1500" }, "decorators": [] }, { - "$id": "1439", + "$id": "1503", "kind": "enumvalue", "name": "1024x1536", "value": "1024x1536", "valueType": { - "$ref": "1437" + "$ref": "1501" }, "enumType": { - "$ref": "1436" + "$ref": "1500" }, "decorators": [] }, { - "$id": "1440", + "$id": "1504", "kind": "enumvalue", "name": "1536x1024", "value": "1536x1024", "valueType": { - "$ref": "1437" + "$ref": "1501" }, "enumType": { - "$ref": "1436" + "$ref": "1500" }, "decorators": [] }, { - "$id": "1441", + "$id": "1505", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1437" + "$ref": "1501" }, "enumType": { - "$ref": "1436" + "$ref": "1500" }, "decorators": [] } @@ -17386,12 +18166,12 @@ "decorators": [] }, { - "$id": "1442", + "$id": "1506", "kind": "enum", "name": "ImageGenPartialImageEventQuality", "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.quality.anonymous", "valueType": { - "$id": "1443", + "$id": "1507", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17399,54 +18179,54 @@ }, "values": [ { - "$id": "1444", + "$id": "1508", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1443" + "$ref": "1507" }, "enumType": { - "$ref": "1442" + "$ref": "1506" }, "decorators": [] }, { - "$id": "1445", + "$id": "1509", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1443" + "$ref": "1507" }, "enumType": { - "$ref": "1442" + "$ref": "1506" }, "decorators": [] }, { - "$id": "1446", + "$id": "1510", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1443" + "$ref": "1507" }, "enumType": { - "$ref": "1442" + "$ref": "1506" }, "decorators": [] }, { - "$id": "1447", + "$id": "1511", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1443" + "$ref": "1507" }, "enumType": { - "$ref": "1442" + "$ref": "1506" }, "decorators": [] } @@ -17458,12 +18238,12 @@ "decorators": [] }, { - "$id": "1448", + "$id": "1512", "kind": "enum", "name": "ImageGenPartialImageEventBackground", "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.background.anonymous", "valueType": { - "$id": "1449", + "$id": "1513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17471,41 +18251,41 @@ }, "values": [ { - "$id": "1450", + "$id": "1514", "kind": "enumvalue", "name": "transparent", "value": "transparent", "valueType": { - "$ref": "1449" + "$ref": "1513" }, "enumType": { - "$ref": "1448" + "$ref": "1512" }, "decorators": [] }, { - "$id": "1451", + "$id": "1515", "kind": "enumvalue", "name": "opaque", "value": "opaque", "valueType": { - "$ref": "1449" + "$ref": "1513" }, "enumType": { - "$ref": "1448" + "$ref": "1512" }, "decorators": [] }, { - "$id": "1452", + "$id": "1516", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1449" + "$ref": "1513" }, "enumType": { - "$ref": "1448" + "$ref": "1512" }, "decorators": [] } @@ -17517,12 +18297,12 @@ "decorators": [] }, { - "$id": "1453", + "$id": "1517", "kind": "enum", "name": "ImageGenPartialImageEventOutputFormat", "crossLanguageDefinitionId": "OpenAI.ImageGenPartialImageEvent.output_format.anonymous", "valueType": { - "$id": "1454", + "$id": "1518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17530,41 +18310,41 @@ }, "values": [ { - "$id": "1455", + "$id": "1519", "kind": "enumvalue", "name": "png", "value": "png", "valueType": { - "$ref": "1454" + "$ref": "1518" }, "enumType": { - "$ref": "1453" + "$ref": "1517" }, "decorators": [] }, { - "$id": "1456", + "$id": "1520", "kind": "enumvalue", "name": "webp", "value": "webp", "valueType": { - "$ref": "1454" + "$ref": "1518" }, "enumType": { - "$ref": "1453" + "$ref": "1517" }, "decorators": [] }, { - "$id": "1457", + "$id": "1521", "kind": "enumvalue", "name": "jpeg", "value": "jpeg", "valueType": { - "$ref": "1454" + "$ref": "1518" }, "enumType": { - "$ref": "1453" + "$ref": "1517" }, "decorators": [] } @@ -17576,12 +18356,12 @@ "decorators": [] }, { - "$id": "1458", + "$id": "1522", "kind": "enum", "name": "MessageDeltaContentImageFileObjectImageFileDetail", "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.image_file.detail.anonymous", "valueType": { - "$id": "1459", + "$id": "1523", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17589,41 +18369,41 @@ }, "values": [ { - "$id": "1460", + "$id": "1524", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1459" + "$ref": "1523" }, "enumType": { - "$ref": "1458" + "$ref": "1522" }, "decorators": [] }, { - "$id": "1461", + "$id": "1525", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1459" + "$ref": "1523" }, "enumType": { - "$ref": "1458" + "$ref": "1522" }, "decorators": [] }, { - "$id": "1462", + "$id": "1526", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1459" + "$ref": "1523" }, "enumType": { - "$ref": "1458" + "$ref": "1522" }, "decorators": [] } @@ -17635,12 +18415,12 @@ "decorators": [] }, { - "$id": "1463", + "$id": "1527", "kind": "enum", "name": "MessageDeltaContentImageUrlObjectImageUrlDetail", "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.image_url.detail.anonymous", "valueType": { - "$id": "1464", + "$id": "1528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17648,41 +18428,41 @@ }, "values": [ { - "$id": "1465", + "$id": "1529", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1464" + "$ref": "1528" }, "enumType": { - "$ref": "1463" + "$ref": "1527" }, "decorators": [] }, { - "$id": "1466", + "$id": "1530", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1464" + "$ref": "1528" }, "enumType": { - "$ref": "1463" + "$ref": "1527" }, "decorators": [] }, { - "$id": "1467", + "$id": "1531", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1464" + "$ref": "1528" }, "enumType": { - "$ref": "1463" + "$ref": "1527" }, "decorators": [] } @@ -17694,12 +18474,12 @@ "decorators": [] }, { - "$id": "1468", + "$id": "1532", "kind": "enum", "name": "MessageDeltaObjectDeltaRole", "crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.delta.role.anonymous", "valueType": { - "$id": "1469", + "$id": "1533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17707,28 +18487,28 @@ }, "values": [ { - "$id": "1470", + "$id": "1534", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "1469" + "$ref": "1533" }, "enumType": { - "$ref": "1468" + "$ref": "1532" }, "decorators": [] }, { - "$id": "1471", + "$id": "1535", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "1469" + "$ref": "1533" }, "enumType": { - "$ref": "1468" + "$ref": "1532" }, "decorators": [] } @@ -17740,12 +18520,12 @@ "decorators": [] }, { - "$id": "1472", + "$id": "1536", "kind": "enum", "name": "AssistantCollectionOrder", "crossLanguageDefinitionId": "OpenAI.AssistantCollectionOrder", "valueType": { - "$id": "1473", + "$id": "1537", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17753,28 +18533,28 @@ }, "values": [ { - "$id": "1474", + "$id": "1538", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1473" + "$ref": "1537" }, "enumType": { - "$ref": "1472" + "$ref": "1536" }, "decorators": [] }, { - "$id": "1475", + "$id": "1539", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1473" + "$ref": "1537" }, "enumType": { - "$ref": "1472" + "$ref": "1536" }, "decorators": [] } @@ -17786,12 +18566,12 @@ "decorators": [] }, { - "$id": "1476", + "$id": "1540", "kind": "enum", "name": "MessageCollectionOrder", "crossLanguageDefinitionId": "OpenAI.MessageCollectionOrder", "valueType": { - "$id": "1477", + "$id": "1541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17799,28 +18579,28 @@ }, "values": [ { - "$id": "1478", + "$id": "1542", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1477" + "$ref": "1541" }, "enumType": { - "$ref": "1476" + "$ref": "1540" }, "decorators": [] }, { - "$id": "1479", + "$id": "1543", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1477" + "$ref": "1541" }, "enumType": { - "$ref": "1476" + "$ref": "1540" }, "decorators": [] } @@ -17832,12 +18612,12 @@ "decorators": [] }, { - "$id": "1480", + "$id": "1544", "kind": "enum", "name": "RunCollectionOrder", "crossLanguageDefinitionId": "OpenAI.RunCollectionOrder", "valueType": { - "$id": "1481", + "$id": "1545", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17845,28 +18625,28 @@ }, "values": [ { - "$id": "1482", + "$id": "1546", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1481" + "$ref": "1545" }, "enumType": { - "$ref": "1480" + "$ref": "1544" }, "decorators": [] }, { - "$id": "1483", + "$id": "1547", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1481" + "$ref": "1545" }, "enumType": { - "$ref": "1480" + "$ref": "1544" }, "decorators": [] } @@ -17878,12 +18658,12 @@ "decorators": [] }, { - "$id": "1484", + "$id": "1548", "kind": "enum", "name": "RunStepCollectionOrder", "crossLanguageDefinitionId": "OpenAI.RunStepCollectionOrder", "valueType": { - "$id": "1485", + "$id": "1549", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17891,28 +18671,28 @@ }, "values": [ { - "$id": "1486", + "$id": "1550", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1485" + "$ref": "1549" }, "enumType": { - "$ref": "1484" + "$ref": "1548" }, "decorators": [] }, { - "$id": "1487", + "$id": "1551", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1485" + "$ref": "1549" }, "enumType": { - "$ref": "1484" + "$ref": "1548" }, "decorators": [] } @@ -17924,12 +18704,12 @@ "decorators": [] }, { - "$id": "1488", + "$id": "1552", "kind": "enum", "name": "DotNetCreateTranscriptionStreamingResponseType", "crossLanguageDefinitionId": "OpenAI.DotNetCreateTranscriptionStreamingResponseType", "valueType": { - "$id": "1489", + "$id": "1553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17937,41 +18717,41 @@ }, "values": [ { - "$id": "1490", + "$id": "1554", "kind": "enumvalue", "name": "transcript.text.segment", "value": "transcript.text.segment", "valueType": { - "$ref": "1489" + "$ref": "1553" }, "enumType": { - "$ref": "1488" + "$ref": "1552" }, "decorators": [] }, { - "$id": "1491", + "$id": "1555", "kind": "enumvalue", "name": "transcript.text.delta", "value": "transcript.text.delta", "valueType": { - "$ref": "1489" + "$ref": "1553" }, "enumType": { - "$ref": "1488" + "$ref": "1552" }, "decorators": [] }, { - "$id": "1492", + "$id": "1556", "kind": "enumvalue", "name": "transcript.text.done", "value": "transcript.text.done", "valueType": { - "$ref": "1489" + "$ref": "1553" }, "enumType": { - "$ref": "1488" + "$ref": "1552" }, "decorators": [] } @@ -17983,12 +18763,12 @@ "decorators": [] }, { - "$id": "1493", + "$id": "1557", "kind": "enum", "name": "DotNetCreateSpeechStreamingResponseType", "crossLanguageDefinitionId": "OpenAI.DotNetCreateSpeechStreamingResponseType", "valueType": { - "$id": "1494", + "$id": "1558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17996,28 +18776,28 @@ }, "values": [ { - "$id": "1495", + "$id": "1559", "kind": "enumvalue", "name": "speech.audio.delta", "value": "speech.audio.delta", "valueType": { - "$ref": "1494" + "$ref": "1558" }, "enumType": { - "$ref": "1493" + "$ref": "1557" }, "decorators": [] }, { - "$id": "1496", + "$id": "1560", "kind": "enumvalue", "name": "speech.audio.done", "value": "speech.audio.done", "valueType": { - "$ref": "1494" + "$ref": "1558" }, "enumType": { - "$ref": "1493" + "$ref": "1557" }, "decorators": [] } @@ -18029,12 +18809,12 @@ "decorators": [] }, { - "$id": "1497", + "$id": "1561", "kind": "enum", "name": "ChatCompletionCollectionOrder", "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOrder", "valueType": { - "$id": "1498", + "$id": "1562", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18042,28 +18822,28 @@ }, "values": [ { - "$id": "1499", + "$id": "1563", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1498" + "$ref": "1562" }, "enumType": { - "$ref": "1497" + "$ref": "1561" }, "decorators": [] }, { - "$id": "1500", + "$id": "1564", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1498" + "$ref": "1562" }, "enumType": { - "$ref": "1497" + "$ref": "1561" }, "decorators": [] } @@ -18080,12 +18860,12 @@ ] }, { - "$id": "1501", + "$id": "1565", "kind": "enum", "name": "ChatCompletionMessageCollectionOrder", "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageCollectionOrder", "valueType": { - "$id": "1502", + "$id": "1566", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18093,28 +18873,28 @@ }, "values": [ { - "$id": "1503", + "$id": "1567", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1502" + "$ref": "1566" }, "enumType": { - "$ref": "1501" + "$ref": "1565" }, "decorators": [] }, { - "$id": "1504", + "$id": "1568", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1502" + "$ref": "1566" }, "enumType": { - "$ref": "1501" + "$ref": "1565" }, "decorators": [] } @@ -18131,12 +18911,12 @@ ] }, { - "$id": "1505", + "$id": "1569", "kind": "enum", "name": "ContainerCollectionOrder", "crossLanguageDefinitionId": "OpenAI.ContainerCollectionOrder", "valueType": { - "$id": "1506", + "$id": "1570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18144,28 +18924,28 @@ }, "values": [ { - "$id": "1507", + "$id": "1571", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1506" + "$ref": "1570" }, "enumType": { - "$ref": "1505" + "$ref": "1569" }, "decorators": [] }, { - "$id": "1508", + "$id": "1572", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1506" + "$ref": "1570" }, "enumType": { - "$ref": "1505" + "$ref": "1569" }, "decorators": [] } @@ -18177,12 +18957,12 @@ "decorators": [] }, { - "$id": "1509", + "$id": "1573", "kind": "enum", "name": "ConversationItemCollectionOrder", "crossLanguageDefinitionId": "OpenAI.ConversationItemCollectionOrder", "valueType": { - "$id": "1510", + "$id": "1574", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18190,28 +18970,28 @@ }, "values": [ { - "$id": "1511", + "$id": "1575", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1510" + "$ref": "1574" }, "enumType": { - "$ref": "1509" + "$ref": "1573" }, "decorators": [] }, { - "$id": "1512", + "$id": "1576", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1510" + "$ref": "1574" }, "enumType": { - "$ref": "1509" + "$ref": "1573" }, "decorators": [] } @@ -18223,12 +19003,12 @@ "decorators": [] }, { - "$id": "1513", + "$id": "1577", "kind": "enum", "name": "DotNetResponseItemCollectionOrder", "crossLanguageDefinitionId": "OpenAI.DotNetResponseItemCollectionOrder", "valueType": { - "$id": "1514", + "$id": "1578", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18236,28 +19016,28 @@ }, "values": [ { - "$id": "1515", + "$id": "1579", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1514" + "$ref": "1578" }, "enumType": { - "$ref": "1513" + "$ref": "1577" }, "decorators": [] }, { - "$id": "1516", + "$id": "1580", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1514" + "$ref": "1578" }, "enumType": { - "$ref": "1513" + "$ref": "1577" }, "decorators": [] } @@ -18274,12 +19054,12 @@ ] }, { - "$id": "1517", + "$id": "1581", "kind": "enum", "name": "DotNetGlobalToolCallApprovalPolicy", "crossLanguageDefinitionId": "OpenAI.DotNetGlobalToolCallApprovalPolicy", "valueType": { - "$id": "1518", + "$id": "1582", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18287,28 +19067,28 @@ }, "values": [ { - "$id": "1519", + "$id": "1583", "kind": "enumvalue", "name": "AlwaysRequireApproval", "value": "always", "valueType": { - "$ref": "1518" + "$ref": "1582" }, "enumType": { - "$ref": "1517" + "$ref": "1581" }, "decorators": [] }, { - "$id": "1520", + "$id": "1584", "kind": "enumvalue", "name": "NeverRequireApproval", "value": "never", "valueType": { - "$ref": "1518" + "$ref": "1582" }, "enumType": { - "$ref": "1517" + "$ref": "1581" }, "decorators": [] } @@ -18326,12 +19106,12 @@ ] }, { - "$id": "1521", + "$id": "1585", "kind": "enum", "name": "DotNetCombinedChunkingStrategyParamType", "crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam.type.anonymous", "valueType": { - "$id": "1522", + "$id": "1586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18339,41 +19119,41 @@ }, "values": [ { - "$id": "1523", + "$id": "1587", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1522" + "$ref": "1586" }, "enumType": { - "$ref": "1521" + "$ref": "1585" }, "decorators": [] }, { - "$id": "1524", + "$id": "1588", "kind": "enumvalue", "name": "static", "value": "static", "valueType": { - "$ref": "1522" + "$ref": "1586" }, "enumType": { - "$ref": "1521" + "$ref": "1585" }, "decorators": [] }, { - "$id": "1525", + "$id": "1589", "kind": "enumvalue", "name": "other", "value": "other", "valueType": { - "$ref": "1522" + "$ref": "1586" }, "enumType": { - "$ref": "1521" + "$ref": "1585" }, "decorators": [] } @@ -18385,12 +19165,12 @@ "decorators": [] }, { - "$id": "1526", + "$id": "1590", "kind": "enum", "name": "PageOrderOptions", "crossLanguageDefinitionId": "OpenAI.PageOrderOptions", "valueType": { - "$id": "1527", + "$id": "1591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18398,28 +19178,28 @@ }, "values": [ { - "$id": "1528", + "$id": "1592", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "1527" + "$ref": "1591" }, "enumType": { - "$ref": "1526" + "$ref": "1590" }, "decorators": [] }, { - "$id": "1529", + "$id": "1593", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "1527" + "$ref": "1591" }, "enumType": { - "$ref": "1526" + "$ref": "1590" }, "decorators": [] } @@ -18431,12 +19211,12 @@ "decorators": [] }, { - "$id": "1530", + "$id": "1594", "kind": "enum", "name": "VectorStoreFileCollectionOrder", "crossLanguageDefinitionId": "OpenAI.VectorStoreFileCollectionOrder", "valueType": { - "$id": "1531", + "$id": "1595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18444,28 +19224,28 @@ }, "values": [ { - "$id": "1532", + "$id": "1596", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1531" + "$ref": "1595" }, "enumType": { - "$ref": "1530" + "$ref": "1594" }, "decorators": [] }, { - "$id": "1533", + "$id": "1597", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1531" + "$ref": "1595" }, "enumType": { - "$ref": "1530" + "$ref": "1594" }, "decorators": [] } @@ -18477,12 +19257,12 @@ "decorators": [] }, { - "$id": "1534", + "$id": "1598", "kind": "enum", "name": "ListVectorStoreFilesFilter", "crossLanguageDefinitionId": "OpenAI.ListVectorStoreFilesFilter", "valueType": { - "$id": "1535", + "$id": "1599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18490,54 +19270,54 @@ }, "values": [ { - "$id": "1536", + "$id": "1600", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "1535" + "$ref": "1599" }, "enumType": { - "$ref": "1534" + "$ref": "1598" }, "decorators": [] }, { - "$id": "1537", + "$id": "1601", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "1535" + "$ref": "1599" }, "enumType": { - "$ref": "1534" + "$ref": "1598" }, "decorators": [] }, { - "$id": "1538", + "$id": "1602", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "1535" + "$ref": "1599" }, "enumType": { - "$ref": "1534" + "$ref": "1598" }, "decorators": [] }, { - "$id": "1539", + "$id": "1603", "kind": "enumvalue", "name": "cancelled", "value": "cancelled", "valueType": { - "$ref": "1535" + "$ref": "1599" }, "enumType": { - "$ref": "1534" + "$ref": "1598" }, "decorators": [] } @@ -18549,12 +19329,12 @@ "decorators": [] }, { - "$id": "1540", + "$id": "1604", "kind": "enum", "name": "VideoCollectionOrder", "crossLanguageDefinitionId": "OpenAI.VideoCollectionOrder", "valueType": { - "$id": "1541", + "$id": "1605", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18562,28 +19342,28 @@ }, "values": [ { - "$id": "1542", + "$id": "1606", "kind": "enumvalue", "name": "Ascending", "value": "asc", "valueType": { - "$ref": "1541" + "$ref": "1605" }, "enumType": { - "$ref": "1540" + "$ref": "1604" }, "decorators": [] }, { - "$id": "1543", + "$id": "1607", "kind": "enumvalue", "name": "Descending", "value": "desc", "valueType": { - "$ref": "1541" + "$ref": "1605" }, "enumType": { - "$ref": "1540" + "$ref": "1604" }, "decorators": [] } @@ -18595,12 +19375,12 @@ "decorators": [] }, { - "$id": "1544", + "$id": "1608", "kind": "enum", "name": "ChatToolCallKind", "crossLanguageDefinitionId": "OpenAI.ChatToolCallKind", "valueType": { - "$id": "1545", + "$id": "1609", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18608,15 +19388,15 @@ }, "values": [ { - "$id": "1546", + "$id": "1610", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "1545" + "$ref": "1609" }, "enumType": { - "$ref": "1544" + "$ref": "1608" }, "decorators": [] } @@ -18628,12 +19408,12 @@ "decorators": [] }, { - "$id": "1547", + "$id": "1611", "kind": "enum", "name": "ChatToolKind", "crossLanguageDefinitionId": "OpenAI.ChatToolKind", "valueType": { - "$id": "1548", + "$id": "1612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18641,15 +19421,15 @@ }, "values": [ { - "$id": "1549", + "$id": "1613", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "1548" + "$ref": "1612" }, "enumType": { - "$ref": "1547" + "$ref": "1611" }, "decorators": [] } @@ -18661,12 +19441,12 @@ "decorators": [] }, { - "$id": "1550", + "$id": "1614", "kind": "enum", "name": "ListEvalsRequestOrder", "crossLanguageDefinitionId": "OpenAI.listEvals.RequestOrder.anonymous", "valueType": { - "$id": "1551", + "$id": "1615", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18674,28 +19454,28 @@ }, "values": [ { - "$id": "1552", + "$id": "1616", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "1551" + "$ref": "1615" }, "enumType": { - "$ref": "1550" + "$ref": "1614" }, "decorators": [] }, { - "$id": "1553", + "$id": "1617", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "1551" + "$ref": "1615" }, "enumType": { - "$ref": "1550" + "$ref": "1614" }, "decorators": [] } @@ -18707,12 +19487,12 @@ "decorators": [] }, { - "$id": "1554", + "$id": "1618", "kind": "enum", "name": "ListEvalsRequestOrderBy", "crossLanguageDefinitionId": "OpenAI.listEvals.RequestOrderBy.anonymous", "valueType": { - "$id": "1555", + "$id": "1619", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18720,28 +19500,28 @@ }, "values": [ { - "$id": "1556", + "$id": "1620", "kind": "enumvalue", "name": "created_at", "value": "created_at", "valueType": { - "$ref": "1555" + "$ref": "1619" }, "enumType": { - "$ref": "1554" + "$ref": "1618" }, "decorators": [] }, { - "$id": "1557", + "$id": "1621", "kind": "enumvalue", "name": "updated_at", "value": "updated_at", "valueType": { - "$ref": "1555" + "$ref": "1619" }, "enumType": { - "$ref": "1554" + "$ref": "1618" }, "decorators": [] } @@ -18753,12 +19533,12 @@ "decorators": [] }, { - "$id": "1558", + "$id": "1622", "kind": "enum", "name": "GetEvalRunsRequestOrder", "crossLanguageDefinitionId": "OpenAI.getEvalRuns.RequestOrder.anonymous", "valueType": { - "$id": "1559", + "$id": "1623", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18766,28 +19546,28 @@ }, "values": [ { - "$id": "1560", + "$id": "1624", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "1559" + "$ref": "1623" }, "enumType": { - "$ref": "1558" + "$ref": "1622" }, "decorators": [] }, { - "$id": "1561", + "$id": "1625", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "1559" + "$ref": "1623" }, "enumType": { - "$ref": "1558" + "$ref": "1622" }, "decorators": [] } @@ -18799,12 +19579,12 @@ "decorators": [] }, { - "$id": "1562", + "$id": "1626", "kind": "enum", "name": "GetEvalRunsRequestStatus", "crossLanguageDefinitionId": "OpenAI.getEvalRuns.RequestStatus.anonymous", "valueType": { - "$id": "1563", + "$id": "1627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18812,67 +19592,67 @@ }, "values": [ { - "$id": "1564", + "$id": "1628", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "1563" + "$ref": "1627" }, "enumType": { - "$ref": "1562" + "$ref": "1626" }, "decorators": [] }, { - "$id": "1565", + "$id": "1629", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "1563" + "$ref": "1627" }, "enumType": { - "$ref": "1562" + "$ref": "1626" }, "decorators": [] }, { - "$id": "1566", + "$id": "1630", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "1563" + "$ref": "1627" }, "enumType": { - "$ref": "1562" + "$ref": "1626" }, "decorators": [] }, { - "$id": "1567", + "$id": "1631", "kind": "enumvalue", "name": "canceled", "value": "canceled", "valueType": { - "$ref": "1563" + "$ref": "1627" }, "enumType": { - "$ref": "1562" + "$ref": "1626" }, "decorators": [] }, { - "$id": "1568", + "$id": "1632", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "1563" + "$ref": "1627" }, "enumType": { - "$ref": "1562" + "$ref": "1626" }, "decorators": [] } @@ -18884,12 +19664,12 @@ "decorators": [] }, { - "$id": "1569", + "$id": "1633", "kind": "enum", "name": "GetEvalRunOutputItemsRequestStatus", "crossLanguageDefinitionId": "OpenAI.getEvalRunOutputItems.RequestStatus.anonymous", "valueType": { - "$id": "1570", + "$id": "1634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18897,28 +19677,28 @@ }, "values": [ { - "$id": "1571", + "$id": "1635", "kind": "enumvalue", "name": "fail", "value": "fail", "valueType": { - "$ref": "1570" + "$ref": "1634" }, "enumType": { - "$ref": "1569" + "$ref": "1633" }, "decorators": [] }, { - "$id": "1572", + "$id": "1636", "kind": "enumvalue", "name": "pass", "value": "pass", "valueType": { - "$ref": "1570" + "$ref": "1634" }, "enumType": { - "$ref": "1569" + "$ref": "1633" }, "decorators": [] } @@ -18930,12 +19710,12 @@ "decorators": [] }, { - "$id": "1573", + "$id": "1637", "kind": "enum", "name": "GetEvalRunOutputItemsRequestOrder", "crossLanguageDefinitionId": "OpenAI.getEvalRunOutputItems.RequestOrder.anonymous", "valueType": { - "$id": "1574", + "$id": "1638", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18943,28 +19723,28 @@ }, "values": [ { - "$id": "1575", + "$id": "1639", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "1574" + "$ref": "1638" }, "enumType": { - "$ref": "1573" + "$ref": "1637" }, "decorators": [] }, { - "$id": "1576", + "$id": "1640", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "1574" + "$ref": "1638" }, "enumType": { - "$ref": "1573" + "$ref": "1637" }, "decorators": [] } @@ -18976,12 +19756,12 @@ "decorators": [] }, { - "$id": "1577", + "$id": "1641", "kind": "enum", "name": "CreateResponseRequestAccept", "crossLanguageDefinitionId": "OpenAI.createResponse.RequestAccept.anonymous", "valueType": { - "$id": "1578", + "$id": "1642", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18989,28 +19769,28 @@ }, "values": [ { - "$id": "1579", + "$id": "1643", "kind": "enumvalue", "name": "application/json", "value": "application/json", "valueType": { - "$ref": "1578" + "$ref": "1642" }, "enumType": { - "$ref": "1577" + "$ref": "1641" }, "decorators": [] }, { - "$id": "1580", + "$id": "1644", "kind": "enumvalue", "name": "text/event-stream", "value": "text/event-stream", "valueType": { - "$ref": "1578" + "$ref": "1642" }, "enumType": { - "$ref": "1577" + "$ref": "1641" }, "decorators": [] } @@ -19022,12 +19802,12 @@ "decorators": [] }, { - "$id": "1581", + "$id": "1645", "kind": "enum", "name": "GetInputTokenCountsRequestContentType", "crossLanguageDefinitionId": "OpenAI.getInputTokenCounts.RequestContentType.anonymous", "valueType": { - "$id": "1582", + "$id": "1646", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19035,28 +19815,28 @@ }, "values": [ { - "$id": "1583", + "$id": "1647", "kind": "enumvalue", "name": "application/json", "value": "application/json", "valueType": { - "$ref": "1582" + "$ref": "1646" }, "enumType": { - "$ref": "1581" + "$ref": "1645" }, "decorators": [] }, { - "$id": "1584", + "$id": "1648", "kind": "enumvalue", "name": "application/x-www-form-urlencoded", "value": "application/x-www-form-urlencoded", "valueType": { - "$ref": "1582" + "$ref": "1646" }, "enumType": { - "$ref": "1581" + "$ref": "1645" }, "decorators": [] } @@ -19068,12 +19848,12 @@ "decorators": [] }, { - "$id": "1585", + "$id": "1649", "kind": "enum", "name": "CompactConversationRequestContentType", "crossLanguageDefinitionId": "OpenAI.compactConversation.RequestContentType.anonymous", "valueType": { - "$id": "1586", + "$id": "1650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19081,28 +19861,28 @@ }, "values": [ { - "$id": "1587", + "$id": "1651", "kind": "enumvalue", "name": "application/json", "value": "application/json", "valueType": { - "$ref": "1586" + "$ref": "1650" }, "enumType": { - "$ref": "1585" + "$ref": "1649" }, "decorators": [] }, { - "$id": "1588", + "$id": "1652", "kind": "enumvalue", "name": "application/x-www-form-urlencoded", "value": "application/x-www-form-urlencoded", "valueType": { - "$ref": "1586" + "$ref": "1650" }, "enumType": { - "$ref": "1585" + "$ref": "1649" }, "decorators": [] } @@ -19114,12 +19894,12 @@ "decorators": [] }, { - "$id": "1589", + "$id": "1653", "kind": "enum", "name": "IncludedRunStepProperty", "crossLanguageDefinitionId": "OpenAI.IncludedRunStepProperty", "valueType": { - "$id": "1590", + "$id": "1654", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19127,15 +19907,15 @@ }, "values": [ { - "$id": "1591", + "$id": "1655", "kind": "enumvalue", "name": "file_search_result_content", "value": "step_details.tool_calls[*].file_search.results[*].content", "valueType": { - "$ref": "1590" + "$ref": "1654" }, "enumType": { - "$ref": "1589" + "$ref": "1653" }, "decorators": [] } @@ -19147,12 +19927,12 @@ "decorators": [] }, { - "$id": "1592", + "$id": "1656", "kind": "enum", "name": "RunStepDetailsToolCallsFileSearchResultObjectContentType", "crossLanguageDefinitionId": "OpenAI.RunStepDetailsToolCallsFileSearchResultObjectContentType", "valueType": { - "$id": "1593", + "$id": "1657", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19160,15 +19940,15 @@ }, "values": [ { - "$id": "1594", + "$id": "1658", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1593" + "$ref": "1657" }, "enumType": { - "$ref": "1592" + "$ref": "1656" }, "decorators": [] } @@ -19180,12 +19960,12 @@ "decorators": [] }, { - "$id": "1595", + "$id": "1659", "kind": "enum", "name": "VectorStoreExpirationAnchor", "crossLanguageDefinitionId": "OpenAI.VectorStoreExpirationAnchor", "valueType": { - "$id": "1596", + "$id": "1660", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19193,15 +19973,15 @@ }, "values": [ { - "$id": "1597", + "$id": "1661", "kind": "enumvalue", "name": "last_active_at", "value": "last_active_at", "valueType": { - "$ref": "1596" + "$ref": "1660" }, "enumType": { - "$ref": "1595" + "$ref": "1659" }, "decorators": [] } @@ -19213,12 +19993,12 @@ "decorators": [] }, { - "$id": "1598", + "$id": "1662", "kind": "enum", "name": "ListConversationItemsRequestOrder", "crossLanguageDefinitionId": "OpenAI.listConversationItems.RequestOrder.anonymous", "valueType": { - "$id": "1599", + "$id": "1663", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19226,28 +20006,28 @@ }, "values": [ { - "$id": "1600", + "$id": "1664", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "1599" + "$ref": "1663" }, "enumType": { - "$ref": "1598" + "$ref": "1662" }, "decorators": [] }, { - "$id": "1601", + "$id": "1665", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "1599" + "$ref": "1663" }, "enumType": { - "$ref": "1598" + "$ref": "1662" }, "decorators": [] } @@ -19259,12 +20039,12 @@ "decorators": [] }, { - "$id": "1602", + "$id": "1666", "kind": "enum", "name": "IncludeEnum", "crossLanguageDefinitionId": "OpenAI.IncludeEnum", "valueType": { - "$id": "1603", + "$id": "1667", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19272,106 +20052,106 @@ }, "values": [ { - "$id": "1604", + "$id": "1668", "kind": "enumvalue", "name": "file_search_call.results", "value": "file_search_call.results", "valueType": { - "$ref": "1603" + "$ref": "1667" }, "enumType": { - "$ref": "1602" + "$ref": "1666" }, "decorators": [] }, { - "$id": "1605", + "$id": "1669", "kind": "enumvalue", "name": "web_search_call.results", "value": "web_search_call.results", "valueType": { - "$ref": "1603" + "$ref": "1667" }, "enumType": { - "$ref": "1602" + "$ref": "1666" }, "decorators": [] }, { - "$id": "1606", + "$id": "1670", "kind": "enumvalue", "name": "web_search_call.action.sources", "value": "web_search_call.action.sources", "valueType": { - "$ref": "1603" + "$ref": "1667" }, "enumType": { - "$ref": "1602" + "$ref": "1666" }, "decorators": [] }, { - "$id": "1607", + "$id": "1671", "kind": "enumvalue", "name": "message.input_image.image_url", "value": "message.input_image.image_url", "valueType": { - "$ref": "1603" + "$ref": "1667" }, "enumType": { - "$ref": "1602" + "$ref": "1666" }, "decorators": [] }, { - "$id": "1608", + "$id": "1672", "kind": "enumvalue", "name": "computer_call_output.output.image_url", "value": "computer_call_output.output.image_url", "valueType": { - "$ref": "1603" + "$ref": "1667" }, "enumType": { - "$ref": "1602" + "$ref": "1666" }, "decorators": [] }, { - "$id": "1609", + "$id": "1673", "kind": "enumvalue", "name": "code_interpreter_call.outputs", "value": "code_interpreter_call.outputs", "valueType": { - "$ref": "1603" + "$ref": "1667" }, "enumType": { - "$ref": "1602" + "$ref": "1666" }, "decorators": [] }, { - "$id": "1610", + "$id": "1674", "kind": "enumvalue", "name": "reasoning.encrypted_content", "value": "reasoning.encrypted_content", "valueType": { - "$ref": "1603" + "$ref": "1667" }, "enumType": { - "$ref": "1602" + "$ref": "1666" }, "decorators": [] }, { - "$id": "1611", + "$id": "1675", "kind": "enumvalue", "name": "message.output_text.logprobs", "value": "message.output_text.logprobs", "valueType": { - "$ref": "1603" + "$ref": "1667" }, "enumType": { - "$ref": "1602" + "$ref": "1666" }, "decorators": [] } @@ -19384,12 +20164,12 @@ "decorators": [] }, { - "$id": "1612", + "$id": "1676", "kind": "enum", "name": "ListFilesRequestOrder", "crossLanguageDefinitionId": "OpenAI.listFiles.RequestOrder.anonymous", "valueType": { - "$id": "1613", + "$id": "1677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19397,28 +20177,28 @@ }, "values": [ { - "$id": "1614", + "$id": "1678", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "1613" + "$ref": "1677" }, "enumType": { - "$ref": "1612" + "$ref": "1676" }, "decorators": [] }, { - "$id": "1615", + "$id": "1679", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "1613" + "$ref": "1677" }, "enumType": { - "$ref": "1612" + "$ref": "1676" }, "decorators": [] } @@ -19430,12 +20210,12 @@ "decorators": [] }, { - "$id": "1616", + "$id": "1680", "kind": "enum", "name": "OrderEnum", "crossLanguageDefinitionId": "OpenAI.OrderEnum", "valueType": { - "$id": "1617", + "$id": "1681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19443,28 +20223,28 @@ }, "values": [ { - "$id": "1618", + "$id": "1682", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "1617" + "$ref": "1681" }, "enumType": { - "$ref": "1616" + "$ref": "1680" }, "decorators": [] }, { - "$id": "1619", + "$id": "1683", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "1617" + "$ref": "1681" }, "enumType": { - "$ref": "1616" + "$ref": "1680" }, "decorators": [] } @@ -19476,12 +20256,12 @@ "decorators": [] }, { - "$id": "1620", + "$id": "1684", "kind": "enum", "name": "VideoContentVariant", "crossLanguageDefinitionId": "OpenAI.VideoContentVariant", "valueType": { - "$id": "1621", + "$id": "1685", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19489,41 +20269,41 @@ }, "values": [ { - "$id": "1622", + "$id": "1686", "kind": "enumvalue", "name": "video", "value": "video", "valueType": { - "$ref": "1621" + "$ref": "1685" }, "enumType": { - "$ref": "1620" + "$ref": "1684" }, "decorators": [] }, { - "$id": "1623", + "$id": "1687", "kind": "enumvalue", "name": "thumbnail", "value": "thumbnail", "valueType": { - "$ref": "1621" + "$ref": "1685" }, "enumType": { - "$ref": "1620" + "$ref": "1684" }, "decorators": [] }, { - "$id": "1624", + "$id": "1688", "kind": "enumvalue", "name": "spritesheet", "value": "spritesheet", "valueType": { - "$ref": "1621" + "$ref": "1685" }, "enumType": { - "$ref": "1620" + "$ref": "1684" }, "decorators": [] } @@ -19535,12 +20315,12 @@ "decorators": [] }, { - "$id": "1625", + "$id": "1689", "kind": "enum", "name": "CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum", "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum", "valueType": { - "$id": "1626", + "$id": "1690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19548,15 +20328,15 @@ }, "values": [ { - "$id": "1627", + "$id": "1691", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1626" + "$ref": "1690" }, "enumType": { - "$ref": "1625" + "$ref": "1689" }, "decorators": [] } @@ -19569,12 +20349,12 @@ "decorators": [] }, { - "$id": "1628", + "$id": "1692", "kind": "enum", "name": "CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum", "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum", "valueType": { - "$id": "1629", + "$id": "1693", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19582,15 +20362,15 @@ }, "values": [ { - "$id": "1630", + "$id": "1694", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1629" + "$ref": "1693" }, "enumType": { - "$ref": "1628" + "$ref": "1692" }, "decorators": [] } @@ -19603,12 +20383,12 @@ "decorators": [] }, { - "$id": "1631", + "$id": "1695", "kind": "enum", "name": "CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum", "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum", "valueType": { - "$id": "1632", + "$id": "1696", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19616,15 +20396,15 @@ }, "values": [ { - "$id": "1633", + "$id": "1697", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1632" + "$ref": "1696" }, "enumType": { - "$ref": "1631" + "$ref": "1695" }, "decorators": [] } @@ -19637,12 +20417,12 @@ "decorators": [] }, { - "$id": "1634", + "$id": "1698", "kind": "enum", "name": "CreateFineTuningJobRequestHyperparametersBetaChoiceEnum", "crossLanguageDefinitionId": "OpenAI.CreateFineTuningJobRequestHyperparametersBetaChoiceEnum", "valueType": { - "$id": "1635", + "$id": "1699", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19650,15 +20430,15 @@ }, "values": [ { - "$id": "1636", + "$id": "1700", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1635" + "$ref": "1699" }, "enumType": { - "$ref": "1634" + "$ref": "1698" }, "decorators": [] } @@ -19671,12 +20451,12 @@ "decorators": [] }, { - "$id": "1637", + "$id": "1701", "kind": "enum", "name": "DotNetResponseReasoningEffortLevel", "crossLanguageDefinitionId": "OpenAI.DotNetResponseReasoningEffortLevel", "valueType": { - "$id": "1638", + "$id": "1702", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19684,67 +20464,67 @@ }, "values": [ { - "$id": "1639", + "$id": "1703", "kind": "enumvalue", "name": "none", "value": "none", "valueType": { - "$ref": "1638" + "$ref": "1702" }, "enumType": { - "$ref": "1637" + "$ref": "1701" }, "decorators": [] }, { - "$id": "1640", + "$id": "1704", "kind": "enumvalue", "name": "minimal", "value": "minimal", "valueType": { - "$ref": "1638" + "$ref": "1702" }, "enumType": { - "$ref": "1637" + "$ref": "1701" }, "decorators": [] }, { - "$id": "1641", + "$id": "1705", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "1638" + "$ref": "1702" }, "enumType": { - "$ref": "1637" + "$ref": "1701" }, "decorators": [] }, { - "$id": "1642", + "$id": "1706", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "1638" + "$ref": "1702" }, "enumType": { - "$ref": "1637" + "$ref": "1701" }, "decorators": [] }, { - "$id": "1643", + "$id": "1707", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "1638" + "$ref": "1702" }, "enumType": { - "$ref": "1637" + "$ref": "1701" }, "decorators": [] } @@ -19762,12 +20542,12 @@ ] }, { - "$id": "1644", + "$id": "1708", "kind": "enum", "name": "DotNetAudioVoiceIds", "crossLanguageDefinitionId": "OpenAI.DotNetAudioVoiceIds", "valueType": { - "$id": "1645", + "$id": "1709", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19775,145 +20555,145 @@ }, "values": [ { - "$id": "1646", + "$id": "1710", "kind": "enumvalue", "name": "alloy", "value": "alloy", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1647", + "$id": "1711", "kind": "enumvalue", "name": "ash", "value": "ash", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1648", + "$id": "1712", "kind": "enumvalue", "name": "ballad", "value": "ballad", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1649", + "$id": "1713", "kind": "enumvalue", "name": "coral", "value": "coral", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1650", + "$id": "1714", "kind": "enumvalue", "name": "echo", "value": "echo", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1651", + "$id": "1715", "kind": "enumvalue", "name": "fable", "value": "fable", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1652", + "$id": "1716", "kind": "enumvalue", "name": "onyx", "value": "onyx", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1653", + "$id": "1717", "kind": "enumvalue", "name": "nova", "value": "nova", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1654", + "$id": "1718", "kind": "enumvalue", "name": "sage", "value": "sage", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1655", + "$id": "1719", "kind": "enumvalue", "name": "shimmer", "value": "shimmer", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] }, { - "$id": "1656", + "$id": "1720", "kind": "enumvalue", "name": "verse", "value": "verse", "valueType": { - "$ref": "1645" + "$ref": "1709" }, "enumType": { - "$ref": "1644" + "$ref": "1708" }, "decorators": [] } @@ -19926,12 +20706,12 @@ "decorators": [] }, { - "$id": "1657", + "$id": "1721", "kind": "enum", "name": "DotNetChatVoiceIds", "crossLanguageDefinitionId": "OpenAI.DotNetChatVoiceIds", "valueType": { - "$id": "1658", + "$id": "1722", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -19939,145 +20719,145 @@ }, "values": [ { - "$id": "1659", + "$id": "1723", "kind": "enumvalue", "name": "alloy", "value": "alloy", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1660", + "$id": "1724", "kind": "enumvalue", "name": "ash", "value": "ash", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1661", + "$id": "1725", "kind": "enumvalue", "name": "ballad", "value": "ballad", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1662", + "$id": "1726", "kind": "enumvalue", "name": "coral", "value": "coral", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1663", + "$id": "1727", "kind": "enumvalue", "name": "echo", "value": "echo", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1664", + "$id": "1728", "kind": "enumvalue", "name": "fable", "value": "fable", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1665", + "$id": "1729", "kind": "enumvalue", "name": "onyx", "value": "onyx", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1666", + "$id": "1730", "kind": "enumvalue", "name": "nova", "value": "nova", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1667", + "$id": "1731", "kind": "enumvalue", "name": "sage", "value": "sage", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1668", + "$id": "1732", "kind": "enumvalue", "name": "shimmer", "value": "shimmer", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] }, { - "$id": "1669", + "$id": "1733", "kind": "enumvalue", "name": "verse", "value": "verse", "valueType": { - "$ref": "1658" + "$ref": "1722" }, "enumType": { - "$ref": "1657" + "$ref": "1721" }, "decorators": [] } @@ -20095,12 +20875,12 @@ ] }, { - "$id": "1670", + "$id": "1734", "kind": "enum", "name": "DotNetRealtimeVoiceIds", "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeVoiceIds", "valueType": { - "$id": "1671", + "$id": "1735", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20108,145 +20888,145 @@ }, "values": [ { - "$id": "1672", + "$id": "1736", "kind": "enumvalue", "name": "alloy", "value": "alloy", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1673", + "$id": "1737", "kind": "enumvalue", "name": "ash", "value": "ash", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1674", + "$id": "1738", "kind": "enumvalue", "name": "ballad", "value": "ballad", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1675", + "$id": "1739", "kind": "enumvalue", "name": "coral", "value": "coral", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1676", + "$id": "1740", "kind": "enumvalue", "name": "echo", "value": "echo", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1677", + "$id": "1741", "kind": "enumvalue", "name": "fable", "value": "fable", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1678", + "$id": "1742", "kind": "enumvalue", "name": "onyx", "value": "onyx", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1679", + "$id": "1743", "kind": "enumvalue", "name": "nova", "value": "nova", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1680", + "$id": "1744", "kind": "enumvalue", "name": "sage", "value": "sage", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1681", + "$id": "1745", "kind": "enumvalue", "name": "shimmer", "value": "shimmer", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] }, { - "$id": "1682", + "$id": "1746", "kind": "enumvalue", "name": "verse", "value": "verse", "valueType": { - "$ref": "1671" + "$ref": "1735" }, "enumType": { - "$ref": "1670" + "$ref": "1734" }, "decorators": [] } @@ -20261,13 +21041,13 @@ ], "constants": [ { - "$id": "1683", + "$id": "1747", "kind": "constant", "name": "ListAssistantsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1684", + "$id": "1748", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20277,13 +21057,13 @@ "decorators": [] }, { - "$id": "1685", + "$id": "1749", "kind": "constant", "name": "AssistantObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1686", + "$id": "1750", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20293,13 +21073,13 @@ "decorators": [] }, { - "$id": "1687", + "$id": "1751", "kind": "constant", "name": "FileSearchRankingOptionsRanker", "namespace": "", "usage": "None", "valueType": { - "$id": "1688", + "$id": "1752", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20309,13 +21089,13 @@ "decorators": [] }, { - "$id": "1689", + "$id": "1753", "kind": "constant", "name": "DeleteAssistantResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1690", + "$id": "1754", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20325,13 +21105,13 @@ "decorators": [] }, { - "$id": "1691", + "$id": "1755", "kind": "constant", "name": "CreateBatchRequestCompletion_window", "namespace": "", "usage": "Spread,Json", "valueType": { - "$id": "1692", + "$id": "1756", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20341,13 +21121,13 @@ "decorators": [] }, { - "$id": "1693", + "$id": "1757", "kind": "constant", "name": "BatchObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1694", + "$id": "1758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20357,13 +21137,13 @@ "decorators": [] }, { - "$id": "1695", + "$id": "1759", "kind": "constant", "name": "ListBatchesResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1696", + "$id": "1760", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20373,13 +21153,13 @@ "decorators": [] }, { - "$id": "1697", + "$id": "1761", "kind": "constant", "name": "ChatCompletionListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1698", + "$id": "1762", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20389,13 +21169,13 @@ "decorators": [] }, { - "$id": "1699", + "$id": "1763", "kind": "constant", "name": "ChatCompletionResponseMessageAnnotationType", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1700", + "$id": "1764", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20405,13 +21185,13 @@ "decorators": [] }, { - "$id": "1701", + "$id": "1765", "kind": "constant", "name": "CreateChatCompletionResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1702", + "$id": "1766", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20421,13 +21201,13 @@ "decorators": [] }, { - "$id": "1703", + "$id": "1767", "kind": "constant", "name": "CreateChatCompletionRequestWebSearchOptionsUserLocation1Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1704", + "$id": "1768", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20437,13 +21217,13 @@ "decorators": [] }, { - "$id": "1705", + "$id": "1769", "kind": "constant", "name": "ChatCompletionNamedToolChoiceType", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1706", + "$id": "1770", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20453,13 +21233,13 @@ "decorators": [] }, { - "$id": "1707", + "$id": "1771", "kind": "constant", "name": "CreateAssistantRequestReasoningEffort1", "namespace": "", "usage": "None", "valueType": { - "$id": "1708", + "$id": "1772", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20469,13 +21249,13 @@ "decorators": [] }, { - "$id": "1709", + "$id": "1773", "kind": "constant", "name": "FileSearchRankingOptionsRanker1", "namespace": "", "usage": "None", "valueType": { - "$id": "1710", + "$id": "1774", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20485,14 +21265,14 @@ "decorators": [] }, { - "$id": "1711", + "$id": "1775", "kind": "constant", "name": "CreateChatCompletionStreamResponseObject", "namespace": "OpenAI", "access": "public", "usage": "Output", "valueType": { - "$id": "1712", + "$id": "1776", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20502,13 +21282,13 @@ "decorators": [] }, { - "$id": "1713", + "$id": "1777", "kind": "constant", "name": "ChatCompletionDeletedObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1714", + "$id": "1778", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20518,13 +21298,13 @@ "decorators": [] }, { - "$id": "1715", + "$id": "1779", "kind": "constant", "name": "ChatCompletionMessageListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1716", + "$id": "1780", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20534,13 +21314,13 @@ "decorators": [] }, { - "$id": "1717", + "$id": "1781", "kind": "constant", "name": "ContainerListResourceObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1718", + "$id": "1782", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20550,13 +21330,13 @@ "decorators": [] }, { - "$id": "1719", + "$id": "1783", "kind": "constant", "name": "CreateContainerBodyExpiresAfterAnchor", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1720", + "$id": "1784", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20566,13 +21346,13 @@ "decorators": [] }, { - "$id": "1721", + "$id": "1785", "kind": "constant", "name": "DeleteContainerResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1722", + "$id": "1786", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20582,13 +21362,13 @@ "decorators": [] }, { - "$id": "1723", + "$id": "1787", "kind": "constant", "name": "DeleteContainerResponseDeleted", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1724", + "$id": "1788", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -20598,13 +21378,13 @@ "decorators": [] }, { - "$id": "1725", + "$id": "1789", "kind": "constant", "name": "ContainerFileListResourceObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1726", + "$id": "1790", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20614,13 +21394,13 @@ "decorators": [] }, { - "$id": "1727", + "$id": "1791", "kind": "constant", "name": "DeleteContainerFileResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1728", + "$id": "1792", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20630,13 +21410,13 @@ "decorators": [] }, { - "$id": "1729", + "$id": "1793", "kind": "constant", "name": "DeleteContainerFileResponseDeleted", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1730", + "$id": "1794", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -20646,13 +21426,13 @@ "decorators": [] }, { - "$id": "1731", + "$id": "1795", "kind": "constant", "name": "FineTuningCheckpointPermissionObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1732", + "$id": "1796", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20662,13 +21442,13 @@ "decorators": [] }, { - "$id": "1733", + "$id": "1797", "kind": "constant", "name": "ListFineTuningCheckpointPermissionResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1734", + "$id": "1798", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20678,13 +21458,13 @@ "decorators": [] }, { - "$id": "1735", + "$id": "1799", "kind": "constant", "name": "DeleteFineTuningCheckpointPermissionResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1736", + "$id": "1800", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20694,13 +21474,13 @@ "decorators": [] }, { - "$id": "1737", + "$id": "1801", "kind": "constant", "name": "FileSearchRankingOptionsRanker2", "namespace": "", "usage": "None", "valueType": { - "$id": "1738", + "$id": "1802", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20710,13 +21490,13 @@ "decorators": [] }, { - "$id": "1739", + "$id": "1803", "kind": "constant", "name": "FileSearchRankingOptionsRanker3", "namespace": "", "usage": "None", "valueType": { - "$id": "1740", + "$id": "1804", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20726,13 +21506,13 @@ "decorators": [] }, { - "$id": "1741", + "$id": "1805", "kind": "constant", "name": "FileSearchRankingOptionsRanker4", "namespace": "", "usage": "None", "valueType": { - "$id": "1742", + "$id": "1806", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20742,13 +21522,13 @@ "decorators": [] }, { - "$id": "1743", + "$id": "1807", "kind": "constant", "name": "FileSearchRankingOptionsRanker5", "namespace": "", "usage": "None", "valueType": { - "$id": "1744", + "$id": "1808", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20758,13 +21538,13 @@ "decorators": [] }, { - "$id": "1745", + "$id": "1809", "kind": "constant", "name": "FileSearchRankingOptionsRanker6", "namespace": "", "usage": "None", "valueType": { - "$id": "1746", + "$id": "1810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20774,13 +21554,13 @@ "decorators": [] }, { - "$id": "1747", + "$id": "1811", "kind": "constant", "name": "FileSearchRankingOptionsRanker7", "namespace": "", "usage": "None", "valueType": { - "$id": "1748", + "$id": "1812", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20790,13 +21570,13 @@ "decorators": [] }, { - "$id": "1749", + "$id": "1813", "kind": "constant", "name": "FileSearchRankingOptionsRanker8", "namespace": "", "usage": "None", "valueType": { - "$id": "1750", + "$id": "1814", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20806,13 +21586,13 @@ "decorators": [] }, { - "$id": "1751", + "$id": "1815", "kind": "constant", "name": "FileSearchRankingOptionsRanker9", "namespace": "", "usage": "None", "valueType": { - "$id": "1752", + "$id": "1816", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20822,13 +21602,13 @@ "decorators": [] }, { - "$id": "1753", + "$id": "1817", "kind": "constant", "name": "FileSearchRankingOptionsRanker10", "namespace": "", "usage": "None", "valueType": { - "$id": "1754", + "$id": "1818", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20838,13 +21618,13 @@ "decorators": [] }, { - "$id": "1755", + "$id": "1819", "kind": "constant", "name": "FileSearchRankingOptionsRanker11", "namespace": "", "usage": "None", "valueType": { - "$id": "1756", + "$id": "1820", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20854,13 +21634,13 @@ "decorators": [] }, { - "$id": "1757", + "$id": "1821", "kind": "constant", "name": "FileSearchRankingOptionsRanker12", "namespace": "", "usage": "None", "valueType": { - "$id": "1758", + "$id": "1822", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20870,13 +21650,13 @@ "decorators": [] }, { - "$id": "1759", + "$id": "1823", "kind": "constant", "name": "FileSearchRankingOptionsRanker13", "namespace": "", "usage": "None", "valueType": { - "$id": "1760", + "$id": "1824", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20886,13 +21666,13 @@ "decorators": [] }, { - "$id": "1761", + "$id": "1825", "kind": "constant", "name": "FileSearchRankingOptionsRanker14", "namespace": "", "usage": "None", "valueType": { - "$id": "1762", + "$id": "1826", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20902,13 +21682,13 @@ "decorators": [] }, { - "$id": "1763", + "$id": "1827", "kind": "constant", "name": "FileSearchRankingOptionsRanker15", "namespace": "", "usage": "None", "valueType": { - "$id": "1764", + "$id": "1828", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20918,13 +21698,13 @@ "decorators": [] }, { - "$id": "1765", + "$id": "1829", "kind": "constant", "name": "FileSearchRankingOptionsRanker16", "namespace": "", "usage": "None", "valueType": { - "$id": "1766", + "$id": "1830", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20934,13 +21714,13 @@ "decorators": [] }, { - "$id": "1767", + "$id": "1831", "kind": "constant", "name": "FileSearchRankingOptionsRanker17", "namespace": "", "usage": "None", "valueType": { - "$id": "1768", + "$id": "1832", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20950,13 +21730,13 @@ "decorators": [] }, { - "$id": "1769", + "$id": "1833", "kind": "constant", "name": "FileSearchRankingOptionsRanker18", "namespace": "", "usage": "None", "valueType": { - "$id": "1770", + "$id": "1834", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20966,13 +21746,13 @@ "decorators": [] }, { - "$id": "1771", + "$id": "1835", "kind": "constant", "name": "FileSearchRankingOptionsRanker19", "namespace": "", "usage": "None", "valueType": { - "$id": "1772", + "$id": "1836", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20982,13 +21762,13 @@ "decorators": [] }, { - "$id": "1773", + "$id": "1837", "kind": "constant", "name": "FileSearchRankingOptionsRanker20", "namespace": "", "usage": "None", "valueType": { - "$id": "1774", + "$id": "1838", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -20998,13 +21778,13 @@ "decorators": [] }, { - "$id": "1775", + "$id": "1839", "kind": "constant", "name": "FineTuningJobObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1776", + "$id": "1840", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21014,13 +21794,13 @@ "decorators": [] }, { - "$id": "1777", + "$id": "1841", "kind": "constant", "name": "ListPaginatedFineTuningJobsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1778", + "$id": "1842", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21030,13 +21810,13 @@ "decorators": [] }, { - "$id": "1779", + "$id": "1843", "kind": "constant", "name": "FineTuningJobCheckpointObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1780", + "$id": "1844", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21046,13 +21826,13 @@ "decorators": [] }, { - "$id": "1781", + "$id": "1845", "kind": "constant", "name": "ListFineTuningJobCheckpointsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1782", + "$id": "1846", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21062,13 +21842,13 @@ "decorators": [] }, { - "$id": "1783", + "$id": "1847", "kind": "constant", "name": "FineTuningJobEventObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1784", + "$id": "1848", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21078,13 +21858,13 @@ "decorators": [] }, { - "$id": "1785", + "$id": "1849", "kind": "constant", "name": "ListFineTuningJobEventsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1786", + "$id": "1850", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21094,13 +21874,13 @@ "decorators": [] }, { - "$id": "1787", + "$id": "1851", "kind": "constant", "name": "EvalListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1788", + "$id": "1852", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21110,13 +21890,13 @@ "decorators": [] }, { - "$id": "1789", + "$id": "1853", "kind": "constant", "name": "EvalObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1790", + "$id": "1854", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21126,13 +21906,13 @@ "decorators": [] }, { - "$id": "1791", + "$id": "1855", "kind": "constant", "name": "DeleteEvalResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1792", + "$id": "1856", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21142,13 +21922,13 @@ "decorators": [] }, { - "$id": "1793", + "$id": "1857", "kind": "constant", "name": "EvalRunListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1794", + "$id": "1858", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21158,13 +21938,13 @@ "decorators": [] }, { - "$id": "1795", + "$id": "1859", "kind": "constant", "name": "EvalRunObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1796", + "$id": "1860", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21174,13 +21954,13 @@ "decorators": [] }, { - "$id": "1797", + "$id": "1861", "kind": "constant", "name": "EvalCompletionsRunDataSourceParamsInputMessages1Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1798", + "$id": "1862", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21190,13 +21970,13 @@ "decorators": [] }, { - "$id": "1799", + "$id": "1863", "kind": "constant", "name": "EvalCompletionsRunDataSourceParamsInputMessages2Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1800", + "$id": "1864", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21206,13 +21986,13 @@ "decorators": [] }, { - "$id": "1801", + "$id": "1865", "kind": "constant", "name": "EvalResponsesRunDataSourceParamsInputMessages1Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1802", + "$id": "1866", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21222,13 +22002,13 @@ "decorators": [] }, { - "$id": "1803", + "$id": "1867", "kind": "constant", "name": "EvalResponsesRunDataSourceParamsInputMessages2Type", "namespace": "OpenAI", "usage": "Input,Json", "valueType": { - "$id": "1804", + "$id": "1868", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21238,13 +22018,13 @@ "decorators": [] }, { - "$id": "1805", + "$id": "1869", "kind": "constant", "name": "MCPToolRequireApproval2", "namespace": "", "usage": "None", "valueType": { - "$id": "1806", + "$id": "1870", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21254,13 +22034,13 @@ "decorators": [] }, { - "$id": "1807", + "$id": "1871", "kind": "constant", "name": "MCPToolRequireApproval3", "namespace": "", "usage": "None", "valueType": { - "$id": "1808", + "$id": "1872", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21270,13 +22050,13 @@ "decorators": [] }, { - "$id": "1809", + "$id": "1873", "kind": "constant", "name": "DeleteEvalRunResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1810", + "$id": "1874", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21286,13 +22066,13 @@ "decorators": [] }, { - "$id": "1811", + "$id": "1875", "kind": "constant", "name": "EvalRunOutputItemListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1812", + "$id": "1876", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21302,13 +22082,13 @@ "decorators": [] }, { - "$id": "1813", + "$id": "1877", "kind": "constant", "name": "EvalRunOutputItemObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1814", + "$id": "1878", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21318,13 +22098,13 @@ "decorators": [] }, { - "$id": "1815", + "$id": "1879", "kind": "constant", "name": "LocalShellExecActionType", "namespace": "OpenAI", "usage": "Input,Output,Json", "valueType": { - "$id": "1816", + "$id": "1880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21334,13 +22114,45 @@ "decorators": [] }, { - "$id": "1817", + "$id": "1881", + "kind": "constant", + "name": "FunctionShellCallOutputOutcomeTimeoutType", + "namespace": "OpenAI", + "usage": "Input,Output,Json", + "valueType": { + "$id": "1882", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "timeout", + "decorators": [] + }, + { + "$id": "1883", + "kind": "constant", + "name": "FunctionShellCallOutputOutcomeExitType", + "namespace": "OpenAI", + "usage": "Input,Output,Json", + "valueType": { + "$id": "1884", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "exit", + "decorators": [] + }, + { + "$id": "1885", "kind": "constant", "name": "ResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1818", + "$id": "1886", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21350,13 +22162,13 @@ "decorators": [] }, { - "$id": "1819", + "$id": "1887", "kind": "constant", "name": "DeleteResponseResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1820", + "$id": "1888", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21366,13 +22178,13 @@ "decorators": [] }, { - "$id": "1821", + "$id": "1889", "kind": "constant", "name": "ResponseItemListObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1822", + "$id": "1890", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21382,13 +22194,13 @@ "decorators": [] }, { - "$id": "1823", + "$id": "1891", "kind": "constant", "name": "AssistantToolsFileSearchTypeOnlyType", "namespace": "OpenAI", "usage": "Input,Output,Json", "valueType": { - "$id": "1824", + "$id": "1892", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21398,13 +22210,13 @@ "decorators": [] }, { - "$id": "1825", + "$id": "1893", "kind": "constant", "name": "MessageObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1826", + "$id": "1894", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21414,13 +22226,13 @@ "decorators": [] }, { - "$id": "1827", + "$id": "1895", "kind": "constant", "name": "ListMessagesResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1828", + "$id": "1896", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21430,13 +22242,13 @@ "decorators": [] }, { - "$id": "1829", + "$id": "1897", "kind": "constant", "name": "DeleteMessageResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1830", + "$id": "1898", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21446,13 +22258,13 @@ "decorators": [] }, { - "$id": "1831", + "$id": "1899", "kind": "constant", "name": "RunObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1832", + "$id": "1900", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21462,13 +22274,13 @@ "decorators": [] }, { - "$id": "1833", + "$id": "1901", "kind": "constant", "name": "RunObjectRequiredAction1Type", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1834", + "$id": "1902", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21478,13 +22290,13 @@ "decorators": [] }, { - "$id": "1835", + "$id": "1903", "kind": "constant", "name": "RunToolCallObjectType", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1836", + "$id": "1904", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21494,13 +22306,13 @@ "decorators": [] }, { - "$id": "1837", + "$id": "1905", "kind": "constant", "name": "ListRunsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1838", + "$id": "1906", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21510,13 +22322,13 @@ "decorators": [] }, { - "$id": "1839", + "$id": "1907", "kind": "constant", "name": "ListRunStepsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1840", + "$id": "1908", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21526,13 +22338,13 @@ "decorators": [] }, { - "$id": "1841", + "$id": "1909", "kind": "constant", "name": "RunStepObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1842", + "$id": "1910", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21542,13 +22354,13 @@ "decorators": [] }, { - "$id": "1843", + "$id": "1911", "kind": "constant", "name": "ThreadObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1844", + "$id": "1912", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21558,13 +22370,13 @@ "decorators": [] }, { - "$id": "1845", + "$id": "1913", "kind": "constant", "name": "DeleteThreadResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1846", + "$id": "1914", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21574,13 +22386,13 @@ "decorators": [] }, { - "$id": "1847", + "$id": "1915", "kind": "constant", "name": "ListVectorStoresResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1848", + "$id": "1916", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21590,13 +22402,13 @@ "decorators": [] }, { - "$id": "1849", + "$id": "1917", "kind": "constant", "name": "VectorStoreObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1850", + "$id": "1918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21606,13 +22418,13 @@ "decorators": [] }, { - "$id": "1851", + "$id": "1919", "kind": "constant", "name": "DeleteVectorStoreResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1852", + "$id": "1920", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21622,13 +22434,13 @@ "decorators": [] }, { - "$id": "1853", + "$id": "1921", "kind": "constant", "name": "VectorStoreFileBatchObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1854", + "$id": "1922", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21638,13 +22450,13 @@ "decorators": [] }, { - "$id": "1855", + "$id": "1923", "kind": "constant", "name": "ListVectorStoreFilesResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1856", + "$id": "1924", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21654,13 +22466,13 @@ "decorators": [] }, { - "$id": "1857", + "$id": "1925", "kind": "constant", "name": "VectorStoreFileObjectObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1858", + "$id": "1926", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21670,13 +22482,13 @@ "decorators": [] }, { - "$id": "1859", + "$id": "1927", "kind": "constant", "name": "DeleteVectorStoreFileResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1860", + "$id": "1928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21686,13 +22498,13 @@ "decorators": [] }, { - "$id": "1861", + "$id": "1929", "kind": "constant", "name": "VectorStoreFileContentResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1862", + "$id": "1930", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21702,13 +22514,13 @@ "decorators": [] }, { - "$id": "1863", + "$id": "1931", "kind": "constant", "name": "VectorStoreSearchResultsPageObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1864", + "$id": "1932", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21718,13 +22530,13 @@ "decorators": [] }, { - "$id": "1865", + "$id": "1933", "kind": "constant", "name": "VectorStoreSearchResultContentObjectType", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1866", + "$id": "1934", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21734,13 +22546,13 @@ "decorators": [] }, { - "$id": "1867", + "$id": "1935", "kind": "constant", "name": "CreateCompletionResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1868", + "$id": "1936", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21750,13 +22562,13 @@ "decorators": [] }, { - "$id": "1869", + "$id": "1937", "kind": "constant", "name": "RealtimeRequestSessionInclude", "namespace": "", "usage": "None", "valueType": { - "$id": "1870", + "$id": "1938", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21766,13 +22578,13 @@ "decorators": [] }, { - "$id": "1871", + "$id": "1939", "kind": "constant", "name": "FileSearchRankingOptionsRanker21", "namespace": "", "usage": "None", "valueType": { - "$id": "1872", + "$id": "1940", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21782,13 +22594,13 @@ "decorators": [] }, { - "$id": "1873", + "$id": "1941", "kind": "constant", "name": "RealtimeRequestSessionMaxOutputTokens1", "namespace": "", "usage": "None", "valueType": { - "$id": "1874", + "$id": "1942", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21798,13 +22610,13 @@ "decorators": [] }, { - "$id": "1875", + "$id": "1943", "kind": "constant", "name": "RealtimeRequestSessionMaxOutputTokens11", "namespace": "", "usage": "None", "valueType": { - "$id": "1876", + "$id": "1944", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21814,13 +22626,13 @@ "decorators": [] }, { - "$id": "1877", + "$id": "1945", "kind": "constant", "name": "FileSearchRankingOptionsRanker22", "namespace": "", "usage": "None", "valueType": { - "$id": "1878", + "$id": "1946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21830,13 +22642,13 @@ "decorators": [] }, { - "$id": "1879", + "$id": "1947", "kind": "constant", "name": "RealtimeRequestSessionMaxOutputTokens12", "namespace": "", "usage": "None", "valueType": { - "$id": "1880", + "$id": "1948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21846,13 +22658,13 @@ "decorators": [] }, { - "$id": "1881", + "$id": "1949", "kind": "constant", "name": "RealtimeConversationResponseItemObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1882", + "$id": "1950", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21862,13 +22674,13 @@ "decorators": [] }, { - "$id": "1883", + "$id": "1951", "kind": "constant", "name": "RealtimeRequestSessionMaxOutputTokens13", "namespace": "", "usage": "None", "valueType": { - "$id": "1884", + "$id": "1952", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21878,13 +22690,13 @@ "decorators": [] }, { - "$id": "1885", + "$id": "1953", "kind": "constant", "name": "RealtimeTranscriptionSessionCreateResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1886", + "$id": "1954", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21894,13 +22706,13 @@ "decorators": [] }, { - "$id": "1887", + "$id": "1955", "kind": "constant", "name": "RealtimeResponseSessionObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1888", + "$id": "1956", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21910,13 +22722,13 @@ "decorators": [] }, { - "$id": "1889", + "$id": "1957", "kind": "constant", "name": "FileSearchRankingOptionsRanker23", "namespace": "", "usage": "None", "valueType": { - "$id": "1890", + "$id": "1958", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21926,13 +22738,13 @@ "decorators": [] }, { - "$id": "1891", + "$id": "1959", "kind": "constant", "name": "RealtimeRequestSessionMaxOutputTokens14", "namespace": "", "usage": "None", "valueType": { - "$id": "1892", + "$id": "1960", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21942,13 +22754,13 @@ "decorators": [] }, { - "$id": "1893", + "$id": "1961", "kind": "constant", "name": "OpenAIFileObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1894", + "$id": "1962", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21958,13 +22770,13 @@ "decorators": [] }, { - "$id": "1895", + "$id": "1963", "kind": "constant", "name": "UploadPartObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1896", + "$id": "1964", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21974,13 +22786,13 @@ "decorators": [] }, { - "$id": "1897", + "$id": "1965", "kind": "constant", "name": "FileSearchRankingOptionsRanker24", "namespace": "", "usage": "None", "valueType": { - "$id": "1898", + "$id": "1966", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -21990,13 +22802,13 @@ "decorators": [] }, { - "$id": "1899", + "$id": "1967", "kind": "constant", "name": "VadConfigType", "namespace": "OpenAI", "usage": "Input", "valueType": { - "$id": "1900", + "$id": "1968", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22006,13 +22818,13 @@ "decorators": [] }, { - "$id": "1901", + "$id": "1969", "kind": "constant", "name": "CreateTranscriptionResponseDiarizedJsonTask", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1902", + "$id": "1970", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22022,13 +22834,13 @@ "decorators": [] }, { - "$id": "1903", + "$id": "1971", "kind": "constant", "name": "TranscriptionDiarizedSegmentType", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1904", + "$id": "1972", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22038,13 +22850,13 @@ "decorators": [] }, { - "$id": "1905", + "$id": "1973", "kind": "constant", "name": "EmbeddingObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1906", + "$id": "1974", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22054,13 +22866,13 @@ "decorators": [] }, { - "$id": "1907", + "$id": "1975", "kind": "constant", "name": "CreateEmbeddingResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1908", + "$id": "1976", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22070,13 +22882,13 @@ "decorators": [] }, { - "$id": "1909", + "$id": "1977", "kind": "constant", "name": "FileExpirationAfterAnchor", "namespace": "OpenAI", "usage": "Input", "valueType": { - "$id": "1910", + "$id": "1978", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22086,13 +22898,13 @@ "decorators": [] }, { - "$id": "1911", + "$id": "1979", "kind": "constant", "name": "DeleteFileResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1912", + "$id": "1980", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22102,13 +22914,13 @@ "decorators": [] }, { - "$id": "1913", + "$id": "1981", "kind": "constant", "name": "ListModelsResponseObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1914", + "$id": "1982", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22118,13 +22930,13 @@ "decorators": [] }, { - "$id": "1915", + "$id": "1983", "kind": "constant", "name": "ModelObject", "namespace": "OpenAI", "usage": "Output,Json", "valueType": { - "$id": "1916", + "$id": "1984", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22134,13 +22946,13 @@ "decorators": [] }, { - "$id": "1917", + "$id": "1985", "kind": "constant", "name": "ImageEditCompletedEventType", "namespace": "OpenAI", "usage": "Output", "valueType": { - "$id": "1918", + "$id": "1986", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22150,13 +22962,13 @@ "decorators": [] }, { - "$id": "1919", + "$id": "1987", "kind": "constant", "name": "ImageEditPartialImageEventType", "namespace": "OpenAI", "usage": "Output", "valueType": { - "$id": "1920", + "$id": "1988", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22166,13 +22978,13 @@ "decorators": [] }, { - "$id": "1921", + "$id": "1989", "kind": "constant", "name": "ImageGenCompletedEventType", "namespace": "OpenAI", "usage": "Output", "valueType": { - "$id": "1922", + "$id": "1990", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22182,13 +22994,13 @@ "decorators": [] }, { - "$id": "1923", + "$id": "1991", "kind": "constant", "name": "ImageGenPartialImageEventType", "namespace": "OpenAI", "usage": "Output", "valueType": { - "$id": "1924", + "$id": "1992", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22198,14 +23010,14 @@ "decorators": [] }, { - "$id": "1925", + "$id": "1993", "kind": "constant", "name": "MessageDeltaObjectObject", "namespace": "OpenAI", "access": "public", "usage": "Output", "valueType": { - "$id": "1926", + "$id": "1994", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22215,14 +23027,14 @@ "decorators": [] }, { - "$id": "1927", + "$id": "1995", "kind": "constant", "name": "RunStepDeltaObjectObject", "namespace": "OpenAI", "access": "public", "usage": "Output", "valueType": { - "$id": "1928", + "$id": "1996", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22232,13 +23044,13 @@ "decorators": [] }, { - "$id": "1929", + "$id": "1997", "kind": "constant", "name": "ListAssistantsRequestAccept", "namespace": "", "usage": "None", "valueType": { - "$id": "1930", + "$id": "1998", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22248,13 +23060,13 @@ "decorators": [] }, { - "$id": "1931", + "$id": "1999", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta", "namespace": "", "usage": "None", "valueType": { - "$id": "1932", + "$id": "2000", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22264,13 +23076,13 @@ "decorators": [] }, { - "$id": "1933", + "$id": "2001", "kind": "constant", "name": "ListAssistantsRequestAccept1", "namespace": "", "usage": "None", "valueType": { - "$id": "1934", + "$id": "2002", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22280,13 +23092,13 @@ "decorators": [] }, { - "$id": "1935", + "$id": "2003", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta1", "namespace": "", "usage": "None", "valueType": { - "$id": "1936", + "$id": "2004", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22296,13 +23108,13 @@ "decorators": [] }, { - "$id": "1937", + "$id": "2005", "kind": "constant", "name": "ListAssistantsRequestAccept2", "namespace": "", "usage": "None", "valueType": { - "$id": "1938", + "$id": "2006", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22312,13 +23124,13 @@ "decorators": [] }, { - "$id": "1939", + "$id": "2007", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta2", "namespace": "", "usage": "None", "valueType": { - "$id": "1940", + "$id": "2008", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22328,13 +23140,13 @@ "decorators": [] }, { - "$id": "1941", + "$id": "2009", "kind": "constant", "name": "createAssistantContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1942", + "$id": "2010", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22344,13 +23156,13 @@ "decorators": [] }, { - "$id": "1943", + "$id": "2011", "kind": "constant", "name": "ListAssistantsRequestAccept3", "namespace": "", "usage": "None", "valueType": { - "$id": "1944", + "$id": "2012", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22360,13 +23172,13 @@ "decorators": [] }, { - "$id": "1945", + "$id": "2013", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta3", "namespace": "", "usage": "None", "valueType": { - "$id": "1946", + "$id": "2014", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22376,13 +23188,13 @@ "decorators": [] }, { - "$id": "1947", + "$id": "2015", "kind": "constant", "name": "ListAssistantsRequestAccept4", "namespace": "", "usage": "None", "valueType": { - "$id": "1948", + "$id": "2016", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22392,13 +23204,13 @@ "decorators": [] }, { - "$id": "1949", + "$id": "2017", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta4", "namespace": "", "usage": "None", "valueType": { - "$id": "1950", + "$id": "2018", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22408,13 +23220,13 @@ "decorators": [] }, { - "$id": "1951", + "$id": "2019", "kind": "constant", "name": "ListAssistantsRequestAccept5", "namespace": "", "usage": "None", "valueType": { - "$id": "1952", + "$id": "2020", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22424,13 +23236,13 @@ "decorators": [] }, { - "$id": "1953", + "$id": "2021", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta5", "namespace": "", "usage": "None", "valueType": { - "$id": "1954", + "$id": "2022", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22440,13 +23252,13 @@ "decorators": [] }, { - "$id": "1955", + "$id": "2023", "kind": "constant", "name": "ListAssistantsRequestAccept6", "namespace": "", "usage": "None", "valueType": { - "$id": "1956", + "$id": "2024", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22456,13 +23268,13 @@ "decorators": [] }, { - "$id": "1957", + "$id": "2025", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta6", "namespace": "", "usage": "None", "valueType": { - "$id": "1958", + "$id": "2026", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22472,13 +23284,13 @@ "decorators": [] }, { - "$id": "1959", + "$id": "2027", "kind": "constant", "name": "modifyAssistantContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1960", + "$id": "2028", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22488,13 +23300,13 @@ "decorators": [] }, { - "$id": "1961", + "$id": "2029", "kind": "constant", "name": "ListAssistantsRequestAccept7", "namespace": "", "usage": "None", "valueType": { - "$id": "1962", + "$id": "2030", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22504,13 +23316,13 @@ "decorators": [] }, { - "$id": "1963", + "$id": "2031", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta7", "namespace": "", "usage": "None", "valueType": { - "$id": "1964", + "$id": "2032", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22520,13 +23332,13 @@ "decorators": [] }, { - "$id": "1965", + "$id": "2033", "kind": "constant", "name": "ListAssistantsRequestAccept8", "namespace": "", "usage": "None", "valueType": { - "$id": "1966", + "$id": "2034", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22536,13 +23348,13 @@ "decorators": [] }, { - "$id": "1967", + "$id": "2035", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta8", "namespace": "", "usage": "None", "valueType": { - "$id": "1968", + "$id": "2036", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22552,13 +23364,13 @@ "decorators": [] }, { - "$id": "1969", + "$id": "2037", "kind": "constant", "name": "ListAssistantsRequestAccept9", "namespace": "", "usage": "None", "valueType": { - "$id": "1970", + "$id": "2038", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22568,13 +23380,13 @@ "decorators": [] }, { - "$id": "1971", + "$id": "2039", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta9", "namespace": "", "usage": "None", "valueType": { - "$id": "1972", + "$id": "2040", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22584,13 +23396,13 @@ "decorators": [] }, { - "$id": "1973", + "$id": "2041", "kind": "constant", "name": "ListAssistantsRequestAccept10", "namespace": "", "usage": "None", "valueType": { - "$id": "1974", + "$id": "2042", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22600,13 +23412,13 @@ "decorators": [] }, { - "$id": "1975", + "$id": "2043", "kind": "constant", "name": "createBatchContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1976", + "$id": "2044", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22616,13 +23428,13 @@ "decorators": [] }, { - "$id": "1977", + "$id": "2045", "kind": "constant", "name": "ListAssistantsRequestAccept11", "namespace": "", "usage": "None", "valueType": { - "$id": "1978", + "$id": "2046", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22632,13 +23444,13 @@ "decorators": [] }, { - "$id": "1979", + "$id": "2047", "kind": "constant", "name": "CreateBatchRequestCompletionWindow", "namespace": "", "usage": "None", "valueType": { - "$id": "1980", + "$id": "2048", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22648,13 +23460,13 @@ "decorators": [] }, { - "$id": "1981", + "$id": "2049", "kind": "constant", "name": "ListAssistantsRequestAccept12", "namespace": "", "usage": "None", "valueType": { - "$id": "1982", + "$id": "2050", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22664,13 +23476,13 @@ "decorators": [] }, { - "$id": "1983", + "$id": "2051", "kind": "constant", "name": "ListAssistantsRequestAccept13", "namespace": "", "usage": "None", "valueType": { - "$id": "1984", + "$id": "2052", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22680,13 +23492,13 @@ "decorators": [] }, { - "$id": "1985", + "$id": "2053", "kind": "constant", "name": "ListAssistantsRequestAccept14", "namespace": "", "usage": "None", "valueType": { - "$id": "1986", + "$id": "2054", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22696,13 +23508,13 @@ "decorators": [] }, { - "$id": "1987", + "$id": "2055", "kind": "constant", "name": "ListAssistantsRequestAccept15", "namespace": "", "usage": "None", "valueType": { - "$id": "1988", + "$id": "2056", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22712,13 +23524,13 @@ "decorators": [] }, { - "$id": "1989", + "$id": "2057", "kind": "constant", "name": "ListAssistantsRequestAccept16", "namespace": "", "usage": "None", "valueType": { - "$id": "1990", + "$id": "2058", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22728,13 +23540,13 @@ "decorators": [] }, { - "$id": "1991", + "$id": "2059", "kind": "constant", "name": "ListAssistantsRequestAccept17", "namespace": "", "usage": "None", "valueType": { - "$id": "1992", + "$id": "2060", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22744,13 +23556,13 @@ "decorators": [] }, { - "$id": "1993", + "$id": "2061", "kind": "constant", "name": "listChatCompletionsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1994", + "$id": "2062", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22760,13 +23572,13 @@ "decorators": [] }, { - "$id": "1995", + "$id": "2063", "kind": "constant", "name": "ListAssistantsRequestAccept18", "namespace": "", "usage": "None", "valueType": { - "$id": "1996", + "$id": "2064", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22776,13 +23588,13 @@ "decorators": [] }, { - "$id": "1997", + "$id": "2065", "kind": "constant", "name": "createChatCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "1998", + "$id": "2066", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22792,13 +23604,13 @@ "decorators": [] }, { - "$id": "1999", + "$id": "2067", "kind": "constant", "name": "CreateChatCompletionResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2000", + "$id": "2068", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22808,13 +23620,13 @@ "decorators": [] }, { - "$id": "2001", + "$id": "2069", "kind": "constant", "name": "ListAssistantsRequestAccept19", "namespace": "", "usage": "None", "valueType": { - "$id": "2002", + "$id": "2070", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22824,13 +23636,13 @@ "decorators": [] }, { - "$id": "2003", + "$id": "2071", "kind": "constant", "name": "getChatCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2004", + "$id": "2072", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22840,13 +23652,13 @@ "decorators": [] }, { - "$id": "2005", + "$id": "2073", "kind": "constant", "name": "updateChatCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2006", + "$id": "2074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22856,13 +23668,13 @@ "decorators": [] }, { - "$id": "2007", + "$id": "2075", "kind": "constant", "name": "updateChatCompletionContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2008", + "$id": "2076", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22872,13 +23684,13 @@ "decorators": [] }, { - "$id": "2009", + "$id": "2077", "kind": "constant", "name": "deleteChatCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2010", + "$id": "2078", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22888,13 +23700,13 @@ "decorators": [] }, { - "$id": "2011", + "$id": "2079", "kind": "constant", "name": "getChatCompletionMessagesContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2012", + "$id": "2080", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22904,13 +23716,13 @@ "decorators": [] }, { - "$id": "2013", + "$id": "2081", "kind": "constant", "name": "listContainersContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2014", + "$id": "2082", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22920,13 +23732,13 @@ "decorators": [] }, { - "$id": "2015", + "$id": "2083", "kind": "constant", "name": "createContainerContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2016", + "$id": "2084", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22936,13 +23748,13 @@ "decorators": [] }, { - "$id": "2017", + "$id": "2085", "kind": "constant", "name": "createContainerContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2018", + "$id": "2086", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22952,13 +23764,13 @@ "decorators": [] }, { - "$id": "2019", + "$id": "2087", "kind": "constant", "name": "retrieveContainerContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2020", + "$id": "2088", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22968,13 +23780,13 @@ "decorators": [] }, { - "$id": "2021", + "$id": "2089", "kind": "constant", "name": "deleteContainerContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2022", + "$id": "2090", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -22984,13 +23796,13 @@ "decorators": [] }, { - "$id": "2023", + "$id": "2091", "kind": "constant", "name": "CreateContainerFileRequestContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2024", + "$id": "2092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23000,13 +23812,13 @@ "decorators": [] }, { - "$id": "2025", + "$id": "2093", "kind": "constant", "name": "createContainerFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2026", + "$id": "2094", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23016,13 +23828,13 @@ "decorators": [] }, { - "$id": "2027", + "$id": "2095", "kind": "constant", "name": "CreateContainerFileRequestContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2028", + "$id": "2096", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23032,13 +23844,13 @@ "decorators": [] }, { - "$id": "2029", + "$id": "2097", "kind": "constant", "name": "listContainerFilesContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2030", + "$id": "2098", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23048,13 +23860,13 @@ "decorators": [] }, { - "$id": "2031", + "$id": "2099", "kind": "constant", "name": "retrieveContainerFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2032", + "$id": "2100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23064,13 +23876,13 @@ "decorators": [] }, { - "$id": "2033", + "$id": "2101", "kind": "constant", "name": "deleteContainerFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2034", + "$id": "2102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23080,13 +23892,13 @@ "decorators": [] }, { - "$id": "2035", + "$id": "2103", "kind": "constant", "name": "retrieveContainerFileContentContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2036", + "$id": "2104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23096,13 +23908,13 @@ "decorators": [] }, { - "$id": "2037", + "$id": "2105", "kind": "constant", "name": "listFineTuningCheckpointPermissionsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2038", + "$id": "2106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23112,13 +23924,13 @@ "decorators": [] }, { - "$id": "2039", + "$id": "2107", "kind": "constant", "name": "createFineTuningCheckpointPermissionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2040", + "$id": "2108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23128,13 +23940,13 @@ "decorators": [] }, { - "$id": "2041", + "$id": "2109", "kind": "constant", "name": "createFineTuningCheckpointPermissionContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2042", + "$id": "2110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23144,13 +23956,13 @@ "decorators": [] }, { - "$id": "2043", + "$id": "2111", "kind": "constant", "name": "deleteFineTuningCheckpointPermissionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2044", + "$id": "2112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23160,13 +23972,13 @@ "decorators": [] }, { - "$id": "2045", + "$id": "2113", "kind": "constant", "name": "ListAssistantsRequestAccept20", "namespace": "", "usage": "None", "valueType": { - "$id": "2046", + "$id": "2114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23176,13 +23988,13 @@ "decorators": [] }, { - "$id": "2047", + "$id": "2115", "kind": "constant", "name": "createFineTuningJobContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2048", + "$id": "2116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23192,13 +24004,13 @@ "decorators": [] }, { - "$id": "2049", + "$id": "2117", "kind": "constant", "name": "ListAssistantsRequestAccept21", "namespace": "", "usage": "None", "valueType": { - "$id": "2050", + "$id": "2118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23208,13 +24020,13 @@ "decorators": [] }, { - "$id": "2051", + "$id": "2119", "kind": "constant", "name": "ListAssistantsRequestAccept22", "namespace": "", "usage": "None", "valueType": { - "$id": "2052", + "$id": "2120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23224,13 +24036,13 @@ "decorators": [] }, { - "$id": "2053", + "$id": "2121", "kind": "constant", "name": "ListAssistantsRequestAccept23", "namespace": "", "usage": "None", "valueType": { - "$id": "2054", + "$id": "2122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23240,13 +24052,13 @@ "decorators": [] }, { - "$id": "2055", + "$id": "2123", "kind": "constant", "name": "ListAssistantsRequestAccept24", "namespace": "", "usage": "None", "valueType": { - "$id": "2056", + "$id": "2124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23256,13 +24068,13 @@ "decorators": [] }, { - "$id": "2057", + "$id": "2125", "kind": "constant", "name": "ListAssistantsRequestAccept25", "namespace": "", "usage": "None", "valueType": { - "$id": "2058", + "$id": "2126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23272,13 +24084,13 @@ "decorators": [] }, { - "$id": "2059", + "$id": "2127", "kind": "constant", "name": "ListAssistantsRequestAccept26", "namespace": "", "usage": "None", "valueType": { - "$id": "2060", + "$id": "2128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23288,13 +24100,13 @@ "decorators": [] }, { - "$id": "2061", + "$id": "2129", "kind": "constant", "name": "ListAssistantsRequestAccept27", "namespace": "", "usage": "None", "valueType": { - "$id": "2062", + "$id": "2130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23304,13 +24116,13 @@ "decorators": [] }, { - "$id": "2063", + "$id": "2131", "kind": "constant", "name": "ListAssistantsRequestAccept28", "namespace": "", "usage": "None", "valueType": { - "$id": "2064", + "$id": "2132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23320,13 +24132,13 @@ "decorators": [] }, { - "$id": "2065", + "$id": "2133", "kind": "constant", "name": "ListAssistantsRequestAccept29", "namespace": "", "usage": "None", "valueType": { - "$id": "2066", + "$id": "2134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23336,13 +24148,13 @@ "decorators": [] }, { - "$id": "2067", + "$id": "2135", "kind": "constant", "name": "ListAssistantsRequestAccept30", "namespace": "", "usage": "None", "valueType": { - "$id": "2068", + "$id": "2136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23352,13 +24164,13 @@ "decorators": [] }, { - "$id": "2069", + "$id": "2137", "kind": "constant", "name": "ListAssistantsRequestAccept31", "namespace": "", "usage": "None", "valueType": { - "$id": "2070", + "$id": "2138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23368,13 +24180,13 @@ "decorators": [] }, { - "$id": "2071", + "$id": "2139", "kind": "constant", "name": "pauseFineTuningJobContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2072", + "$id": "2140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23384,13 +24196,13 @@ "decorators": [] }, { - "$id": "2073", + "$id": "2141", "kind": "constant", "name": "resumeFineTuningJobContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2074", + "$id": "2142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23400,13 +24212,13 @@ "decorators": [] }, { - "$id": "2075", + "$id": "2143", "kind": "constant", "name": "runGraderContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2076", + "$id": "2144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23416,13 +24228,13 @@ "decorators": [] }, { - "$id": "2077", + "$id": "2145", "kind": "constant", "name": "runGraderContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2078", + "$id": "2146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23432,13 +24244,13 @@ "decorators": [] }, { - "$id": "2079", + "$id": "2147", "kind": "constant", "name": "validateGraderContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2080", + "$id": "2148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23448,13 +24260,13 @@ "decorators": [] }, { - "$id": "2081", + "$id": "2149", "kind": "constant", "name": "validateGraderContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2082", + "$id": "2150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23464,13 +24276,13 @@ "decorators": [] }, { - "$id": "2083", + "$id": "2151", "kind": "constant", "name": "listEvalsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2084", + "$id": "2152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23480,13 +24292,13 @@ "decorators": [] }, { - "$id": "2085", + "$id": "2153", "kind": "constant", "name": "createEvalContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2086", + "$id": "2154", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23496,13 +24308,13 @@ "decorators": [] }, { - "$id": "2087", + "$id": "2155", "kind": "constant", "name": "createEvalContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2088", + "$id": "2156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23512,13 +24324,13 @@ "decorators": [] }, { - "$id": "2089", + "$id": "2157", "kind": "constant", "name": "getEvalContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2090", + "$id": "2158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23528,13 +24340,13 @@ "decorators": [] }, { - "$id": "2091", + "$id": "2159", "kind": "constant", "name": "updateEvalContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2092", + "$id": "2160", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23544,13 +24356,13 @@ "decorators": [] }, { - "$id": "2093", + "$id": "2161", "kind": "constant", "name": "updateEvalContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2094", + "$id": "2162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23560,13 +24372,13 @@ "decorators": [] }, { - "$id": "2095", + "$id": "2163", "kind": "constant", "name": "deleteEvalContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2096", + "$id": "2164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23576,13 +24388,13 @@ "decorators": [] }, { - "$id": "2097", + "$id": "2165", "kind": "constant", "name": "getEvalRunsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2098", + "$id": "2166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23592,13 +24404,13 @@ "decorators": [] }, { - "$id": "2099", + "$id": "2167", "kind": "constant", "name": "createEvalRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2100", + "$id": "2168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23608,13 +24420,13 @@ "decorators": [] }, { - "$id": "2101", + "$id": "2169", "kind": "constant", "name": "createEvalRunContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2102", + "$id": "2170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23624,13 +24436,13 @@ "decorators": [] }, { - "$id": "2103", + "$id": "2171", "kind": "constant", "name": "getEvalRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2104", + "$id": "2172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23640,13 +24452,13 @@ "decorators": [] }, { - "$id": "2105", + "$id": "2173", "kind": "constant", "name": "cancelEvalRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2106", + "$id": "2174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23656,13 +24468,13 @@ "decorators": [] }, { - "$id": "2107", + "$id": "2175", "kind": "constant", "name": "deleteEvalRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2108", + "$id": "2176", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23672,13 +24484,13 @@ "decorators": [] }, { - "$id": "2109", + "$id": "2177", "kind": "constant", "name": "getEvalRunOutputItemsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2110", + "$id": "2178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23688,13 +24500,13 @@ "decorators": [] }, { - "$id": "2111", + "$id": "2179", "kind": "constant", "name": "getEvalRunOutputItemContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2112", + "$id": "2180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23704,13 +24516,13 @@ "decorators": [] }, { - "$id": "2113", + "$id": "2181", "kind": "constant", "name": "createResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2114", + "$id": "2182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23720,13 +24532,13 @@ "decorators": [] }, { - "$id": "2115", + "$id": "2183", "kind": "constant", "name": "CreateChatCompletionResponseContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2116", + "$id": "2184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23736,13 +24548,13 @@ "decorators": [] }, { - "$id": "2117", + "$id": "2185", "kind": "constant", "name": "CreateChatCompletionResponseContentType2", "namespace": "", "usage": "None", "valueType": { - "$id": "2118", + "$id": "2186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23752,13 +24564,13 @@ "decorators": [] }, { - "$id": "2119", + "$id": "2187", "kind": "constant", "name": "deleteResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2120", + "$id": "2188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23768,13 +24580,13 @@ "decorators": [] }, { - "$id": "2121", + "$id": "2189", "kind": "constant", "name": "cancelResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2122", + "$id": "2190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23784,13 +24596,13 @@ "decorators": [] }, { - "$id": "2123", + "$id": "2191", "kind": "constant", "name": "listInputItemsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2124", + "$id": "2192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23800,13 +24612,13 @@ "decorators": [] }, { - "$id": "2125", + "$id": "2193", "kind": "constant", "name": "getInputTokenCountsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2126", + "$id": "2194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23816,13 +24628,13 @@ "decorators": [] }, { - "$id": "2127", + "$id": "2195", "kind": "constant", "name": "TokenCountsResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2128", + "$id": "2196", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23832,13 +24644,13 @@ "decorators": [] }, { - "$id": "2129", + "$id": "2197", "kind": "constant", "name": "compactConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2130", + "$id": "2198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23848,13 +24660,13 @@ "decorators": [] }, { - "$id": "2131", + "$id": "2199", "kind": "constant", "name": "CompactResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2132", + "$id": "2200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23864,13 +24676,13 @@ "decorators": [] }, { - "$id": "2133", + "$id": "2201", "kind": "constant", "name": "ListAssistantsRequestAccept32", "namespace": "", "usage": "None", "valueType": { - "$id": "2134", + "$id": "2202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23880,13 +24692,13 @@ "decorators": [] }, { - "$id": "2135", + "$id": "2203", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta10", "namespace": "", "usage": "None", "valueType": { - "$id": "2136", + "$id": "2204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23896,13 +24708,13 @@ "decorators": [] }, { - "$id": "2137", + "$id": "2205", "kind": "constant", "name": "createMessageContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2138", + "$id": "2206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23912,13 +24724,13 @@ "decorators": [] }, { - "$id": "2139", + "$id": "2207", "kind": "constant", "name": "ListAssistantsRequestAccept33", "namespace": "", "usage": "None", "valueType": { - "$id": "2140", + "$id": "2208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23928,13 +24740,13 @@ "decorators": [] }, { - "$id": "2141", + "$id": "2209", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta11", "namespace": "", "usage": "None", "valueType": { - "$id": "2142", + "$id": "2210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23944,13 +24756,13 @@ "decorators": [] }, { - "$id": "2143", + "$id": "2211", "kind": "constant", "name": "ListAssistantsRequestAccept34", "namespace": "", "usage": "None", "valueType": { - "$id": "2144", + "$id": "2212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23960,13 +24772,13 @@ "decorators": [] }, { - "$id": "2145", + "$id": "2213", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta12", "namespace": "", "usage": "None", "valueType": { - "$id": "2146", + "$id": "2214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23976,13 +24788,13 @@ "decorators": [] }, { - "$id": "2147", + "$id": "2215", "kind": "constant", "name": "ListAssistantsRequestAccept35", "namespace": "", "usage": "None", "valueType": { - "$id": "2148", + "$id": "2216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -23992,13 +24804,13 @@ "decorators": [] }, { - "$id": "2149", + "$id": "2217", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta13", "namespace": "", "usage": "None", "valueType": { - "$id": "2150", + "$id": "2218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24008,13 +24820,13 @@ "decorators": [] }, { - "$id": "2151", + "$id": "2219", "kind": "constant", "name": "ListAssistantsRequestAccept36", "namespace": "", "usage": "None", "valueType": { - "$id": "2152", + "$id": "2220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24024,13 +24836,13 @@ "decorators": [] }, { - "$id": "2153", + "$id": "2221", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta14", "namespace": "", "usage": "None", "valueType": { - "$id": "2154", + "$id": "2222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24040,13 +24852,13 @@ "decorators": [] }, { - "$id": "2155", + "$id": "2223", "kind": "constant", "name": "ListAssistantsRequestAccept37", "namespace": "", "usage": "None", "valueType": { - "$id": "2156", + "$id": "2224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24056,13 +24868,13 @@ "decorators": [] }, { - "$id": "2157", + "$id": "2225", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta15", "namespace": "", "usage": "None", "valueType": { - "$id": "2158", + "$id": "2226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24072,13 +24884,13 @@ "decorators": [] }, { - "$id": "2159", + "$id": "2227", "kind": "constant", "name": "ListAssistantsRequestAccept38", "namespace": "", "usage": "None", "valueType": { - "$id": "2160", + "$id": "2228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24088,13 +24900,13 @@ "decorators": [] }, { - "$id": "2161", + "$id": "2229", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta16", "namespace": "", "usage": "None", "valueType": { - "$id": "2162", + "$id": "2230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24104,13 +24916,13 @@ "decorators": [] }, { - "$id": "2163", + "$id": "2231", "kind": "constant", "name": "modifyMessageContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2164", + "$id": "2232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24120,13 +24932,13 @@ "decorators": [] }, { - "$id": "2165", + "$id": "2233", "kind": "constant", "name": "ListAssistantsRequestAccept39", "namespace": "", "usage": "None", "valueType": { - "$id": "2166", + "$id": "2234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24136,13 +24948,13 @@ "decorators": [] }, { - "$id": "2167", + "$id": "2235", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta17", "namespace": "", "usage": "None", "valueType": { - "$id": "2168", + "$id": "2236", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24152,13 +24964,13 @@ "decorators": [] }, { - "$id": "2169", + "$id": "2237", "kind": "constant", "name": "ListAssistantsRequestAccept40", "namespace": "", "usage": "None", "valueType": { - "$id": "2170", + "$id": "2238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24168,13 +24980,13 @@ "decorators": [] }, { - "$id": "2171", + "$id": "2239", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta18", "namespace": "", "usage": "None", "valueType": { - "$id": "2172", + "$id": "2240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24184,13 +24996,13 @@ "decorators": [] }, { - "$id": "2173", + "$id": "2241", "kind": "constant", "name": "ListAssistantsRequestAccept41", "namespace": "", "usage": "None", "valueType": { - "$id": "2174", + "$id": "2242", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24200,13 +25012,13 @@ "decorators": [] }, { - "$id": "2175", + "$id": "2243", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta19", "namespace": "", "usage": "None", "valueType": { - "$id": "2176", + "$id": "2244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24216,13 +25028,13 @@ "decorators": [] }, { - "$id": "2177", + "$id": "2245", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta20", "namespace": "", "usage": "None", "valueType": { - "$id": "2178", + "$id": "2246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24232,13 +25044,13 @@ "decorators": [] }, { - "$id": "2179", + "$id": "2247", "kind": "constant", "name": "createThreadAndRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2180", + "$id": "2248", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24248,13 +25060,13 @@ "decorators": [] }, { - "$id": "2181", + "$id": "2249", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta21", "namespace": "", "usage": "None", "valueType": { - "$id": "2182", + "$id": "2250", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24264,13 +25076,13 @@ "decorators": [] }, { - "$id": "2183", + "$id": "2251", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta22", "namespace": "", "usage": "None", "valueType": { - "$id": "2184", + "$id": "2252", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24280,13 +25092,13 @@ "decorators": [] }, { - "$id": "2185", + "$id": "2253", "kind": "constant", "name": "createRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2186", + "$id": "2254", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24296,13 +25108,13 @@ "decorators": [] }, { - "$id": "2187", + "$id": "2255", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta23", "namespace": "", "usage": "None", "valueType": { - "$id": "2188", + "$id": "2256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24312,13 +25124,13 @@ "decorators": [] }, { - "$id": "2189", + "$id": "2257", "kind": "constant", "name": "ListAssistantsRequestAccept42", "namespace": "", "usage": "None", "valueType": { - "$id": "2190", + "$id": "2258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24328,13 +25140,13 @@ "decorators": [] }, { - "$id": "2191", + "$id": "2259", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta24", "namespace": "", "usage": "None", "valueType": { - "$id": "2192", + "$id": "2260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24344,13 +25156,13 @@ "decorators": [] }, { - "$id": "2193", + "$id": "2261", "kind": "constant", "name": "ListAssistantsRequestAccept43", "namespace": "", "usage": "None", "valueType": { - "$id": "2194", + "$id": "2262", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24360,13 +25172,13 @@ "decorators": [] }, { - "$id": "2195", + "$id": "2263", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta25", "namespace": "", "usage": "None", "valueType": { - "$id": "2196", + "$id": "2264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24376,13 +25188,13 @@ "decorators": [] }, { - "$id": "2197", + "$id": "2265", "kind": "constant", "name": "ListAssistantsRequestAccept44", "namespace": "", "usage": "None", "valueType": { - "$id": "2198", + "$id": "2266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24392,13 +25204,13 @@ "decorators": [] }, { - "$id": "2199", + "$id": "2267", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta26", "namespace": "", "usage": "None", "valueType": { - "$id": "2200", + "$id": "2268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24408,13 +25220,13 @@ "decorators": [] }, { - "$id": "2201", + "$id": "2269", "kind": "constant", "name": "ListAssistantsRequestAccept45", "namespace": "", "usage": "None", "valueType": { - "$id": "2202", + "$id": "2270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24424,13 +25236,13 @@ "decorators": [] }, { - "$id": "2203", + "$id": "2271", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta27", "namespace": "", "usage": "None", "valueType": { - "$id": "2204", + "$id": "2272", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24440,13 +25252,13 @@ "decorators": [] }, { - "$id": "2205", + "$id": "2273", "kind": "constant", "name": "ListAssistantsRequestAccept46", "namespace": "", "usage": "None", "valueType": { - "$id": "2206", + "$id": "2274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24456,13 +25268,13 @@ "decorators": [] }, { - "$id": "2207", + "$id": "2275", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta28", "namespace": "", "usage": "None", "valueType": { - "$id": "2208", + "$id": "2276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24472,13 +25284,13 @@ "decorators": [] }, { - "$id": "2209", + "$id": "2277", "kind": "constant", "name": "modifyRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2210", + "$id": "2278", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24488,13 +25300,13 @@ "decorators": [] }, { - "$id": "2211", + "$id": "2279", "kind": "constant", "name": "ListAssistantsRequestAccept47", "namespace": "", "usage": "None", "valueType": { - "$id": "2212", + "$id": "2280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24504,13 +25316,13 @@ "decorators": [] }, { - "$id": "2213", + "$id": "2281", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta29", "namespace": "", "usage": "None", "valueType": { - "$id": "2214", + "$id": "2282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24520,13 +25332,13 @@ "decorators": [] }, { - "$id": "2215", + "$id": "2283", "kind": "constant", "name": "ListAssistantsRequestAccept48", "namespace": "", "usage": "None", "valueType": { - "$id": "2216", + "$id": "2284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24536,13 +25348,13 @@ "decorators": [] }, { - "$id": "2217", + "$id": "2285", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta30", "namespace": "", "usage": "None", "valueType": { - "$id": "2218", + "$id": "2286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24552,13 +25364,13 @@ "decorators": [] }, { - "$id": "2219", + "$id": "2287", "kind": "constant", "name": "ListAssistantsRequestAccept49", "namespace": "", "usage": "None", "valueType": { - "$id": "2220", + "$id": "2288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24568,13 +25380,13 @@ "decorators": [] }, { - "$id": "2221", + "$id": "2289", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta31", "namespace": "", "usage": "None", "valueType": { - "$id": "2222", + "$id": "2290", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24584,13 +25396,13 @@ "decorators": [] }, { - "$id": "2223", + "$id": "2291", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta32", "namespace": "", "usage": "None", "valueType": { - "$id": "2224", + "$id": "2292", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24600,13 +25412,13 @@ "decorators": [] }, { - "$id": "2225", + "$id": "2293", "kind": "constant", "name": "submitToolOutputsToRunContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2226", + "$id": "2294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24616,13 +25428,13 @@ "decorators": [] }, { - "$id": "2227", + "$id": "2295", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta33", "namespace": "", "usage": "None", "valueType": { - "$id": "2228", + "$id": "2296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24632,13 +25444,13 @@ "decorators": [] }, { - "$id": "2229", + "$id": "2297", "kind": "constant", "name": "ListAssistantsRequestAccept50", "namespace": "", "usage": "None", "valueType": { - "$id": "2230", + "$id": "2298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24648,13 +25460,13 @@ "decorators": [] }, { - "$id": "2231", + "$id": "2299", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta34", "namespace": "", "usage": "None", "valueType": { - "$id": "2232", + "$id": "2300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24664,13 +25476,13 @@ "decorators": [] }, { - "$id": "2233", + "$id": "2301", "kind": "constant", "name": "ListAssistantsRequestAccept51", "namespace": "", "usage": "None", "valueType": { - "$id": "2234", + "$id": "2302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24680,13 +25492,13 @@ "decorators": [] }, { - "$id": "2235", + "$id": "2303", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta35", "namespace": "", "usage": "None", "valueType": { - "$id": "2236", + "$id": "2304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24696,13 +25508,13 @@ "decorators": [] }, { - "$id": "2237", + "$id": "2305", "kind": "constant", "name": "ListAssistantsRequestAccept52", "namespace": "", "usage": "None", "valueType": { - "$id": "2238", + "$id": "2306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24712,13 +25524,13 @@ "decorators": [] }, { - "$id": "2239", + "$id": "2307", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta36", "namespace": "", "usage": "None", "valueType": { - "$id": "2240", + "$id": "2308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24728,13 +25540,13 @@ "decorators": [] }, { - "$id": "2241", + "$id": "2309", "kind": "constant", "name": "ListAssistantsRequestAccept53", "namespace": "", "usage": "None", "valueType": { - "$id": "2242", + "$id": "2310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24744,13 +25556,13 @@ "decorators": [] }, { - "$id": "2243", + "$id": "2311", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta37", "namespace": "", "usage": "None", "valueType": { - "$id": "2244", + "$id": "2312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24760,13 +25572,13 @@ "decorators": [] }, { - "$id": "2245", + "$id": "2313", "kind": "constant", "name": "ListAssistantsRequestAccept54", "namespace": "", "usage": "None", "valueType": { - "$id": "2246", + "$id": "2314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24776,13 +25588,13 @@ "decorators": [] }, { - "$id": "2247", + "$id": "2315", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta38", "namespace": "", "usage": "None", "valueType": { - "$id": "2248", + "$id": "2316", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24792,13 +25604,13 @@ "decorators": [] }, { - "$id": "2249", + "$id": "2317", "kind": "constant", "name": "createThreadContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2250", + "$id": "2318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24808,13 +25620,13 @@ "decorators": [] }, { - "$id": "2251", + "$id": "2319", "kind": "constant", "name": "ListAssistantsRequestAccept55", "namespace": "", "usage": "None", "valueType": { - "$id": "2252", + "$id": "2320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24824,13 +25636,13 @@ "decorators": [] }, { - "$id": "2253", + "$id": "2321", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta39", "namespace": "", "usage": "None", "valueType": { - "$id": "2254", + "$id": "2322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24840,13 +25652,13 @@ "decorators": [] }, { - "$id": "2255", + "$id": "2323", "kind": "constant", "name": "ListAssistantsRequestAccept56", "namespace": "", "usage": "None", "valueType": { - "$id": "2256", + "$id": "2324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24856,13 +25668,13 @@ "decorators": [] }, { - "$id": "2257", + "$id": "2325", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta40", "namespace": "", "usage": "None", "valueType": { - "$id": "2258", + "$id": "2326", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24872,13 +25684,13 @@ "decorators": [] }, { - "$id": "2259", + "$id": "2327", "kind": "constant", "name": "ListAssistantsRequestAccept57", "namespace": "", "usage": "None", "valueType": { - "$id": "2260", + "$id": "2328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24888,13 +25700,13 @@ "decorators": [] }, { - "$id": "2261", + "$id": "2329", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta41", "namespace": "", "usage": "None", "valueType": { - "$id": "2262", + "$id": "2330", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24904,13 +25716,13 @@ "decorators": [] }, { - "$id": "2263", + "$id": "2331", "kind": "constant", "name": "ListAssistantsRequestAccept58", "namespace": "", "usage": "None", "valueType": { - "$id": "2264", + "$id": "2332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24920,13 +25732,13 @@ "decorators": [] }, { - "$id": "2265", + "$id": "2333", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta42", "namespace": "", "usage": "None", "valueType": { - "$id": "2266", + "$id": "2334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24936,13 +25748,13 @@ "decorators": [] }, { - "$id": "2267", + "$id": "2335", "kind": "constant", "name": "modifyThreadContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2268", + "$id": "2336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24952,13 +25764,13 @@ "decorators": [] }, { - "$id": "2269", + "$id": "2337", "kind": "constant", "name": "ListAssistantsRequestAccept59", "namespace": "", "usage": "None", "valueType": { - "$id": "2270", + "$id": "2338", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24968,13 +25780,13 @@ "decorators": [] }, { - "$id": "2271", + "$id": "2339", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta43", "namespace": "", "usage": "None", "valueType": { - "$id": "2272", + "$id": "2340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -24984,13 +25796,13 @@ "decorators": [] }, { - "$id": "2273", + "$id": "2341", "kind": "constant", "name": "ListAssistantsRequestAccept60", "namespace": "", "usage": "None", "valueType": { - "$id": "2274", + "$id": "2342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25000,13 +25812,13 @@ "decorators": [] }, { - "$id": "2275", + "$id": "2343", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta44", "namespace": "", "usage": "None", "valueType": { - "$id": "2276", + "$id": "2344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25016,13 +25828,13 @@ "decorators": [] }, { - "$id": "2277", + "$id": "2345", "kind": "constant", "name": "ListAssistantsRequestAccept61", "namespace": "", "usage": "None", "valueType": { - "$id": "2278", + "$id": "2346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25032,13 +25844,13 @@ "decorators": [] }, { - "$id": "2279", + "$id": "2347", "kind": "constant", "name": "ListAssistantsRequestOpenAiBeta45", "namespace": "", "usage": "None", "valueType": { - "$id": "2280", + "$id": "2348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25048,13 +25860,13 @@ "decorators": [] }, { - "$id": "2281", + "$id": "2349", "kind": "constant", "name": "ListAssistantsRequestAccept62", "namespace": "", "usage": "None", "valueType": { - "$id": "2282", + "$id": "2350", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25064,13 +25876,13 @@ "decorators": [] }, { - "$id": "2283", + "$id": "2351", "kind": "constant", "name": "ListAssistantsRequestAccept63", "namespace": "", "usage": "None", "valueType": { - "$id": "2284", + "$id": "2352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25080,13 +25892,13 @@ "decorators": [] }, { - "$id": "2285", + "$id": "2353", "kind": "constant", "name": "ListAssistantsRequestAccept64", "namespace": "", "usage": "None", "valueType": { - "$id": "2286", + "$id": "2354", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25096,13 +25908,13 @@ "decorators": [] }, { - "$id": "2287", + "$id": "2355", "kind": "constant", "name": "createVectorStoreContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2288", + "$id": "2356", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25112,13 +25924,13 @@ "decorators": [] }, { - "$id": "2289", + "$id": "2357", "kind": "constant", "name": "ListAssistantsRequestAccept65", "namespace": "", "usage": "None", "valueType": { - "$id": "2290", + "$id": "2358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25128,13 +25940,13 @@ "decorators": [] }, { - "$id": "2291", + "$id": "2359", "kind": "constant", "name": "ListAssistantsRequestAccept66", "namespace": "", "usage": "None", "valueType": { - "$id": "2292", + "$id": "2360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25144,13 +25956,13 @@ "decorators": [] }, { - "$id": "2293", + "$id": "2361", "kind": "constant", "name": "ListAssistantsRequestAccept67", "namespace": "", "usage": "None", "valueType": { - "$id": "2294", + "$id": "2362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25160,13 +25972,13 @@ "decorators": [] }, { - "$id": "2295", + "$id": "2363", "kind": "constant", "name": "ListAssistantsRequestAccept68", "namespace": "", "usage": "None", "valueType": { - "$id": "2296", + "$id": "2364", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25176,13 +25988,13 @@ "decorators": [] }, { - "$id": "2297", + "$id": "2365", "kind": "constant", "name": "modifyVectorStoreContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2298", + "$id": "2366", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25192,13 +26004,13 @@ "decorators": [] }, { - "$id": "2299", + "$id": "2367", "kind": "constant", "name": "ListAssistantsRequestAccept69", "namespace": "", "usage": "None", "valueType": { - "$id": "2300", + "$id": "2368", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25208,13 +26020,13 @@ "decorators": [] }, { - "$id": "2301", + "$id": "2369", "kind": "constant", "name": "ListAssistantsRequestAccept70", "namespace": "", "usage": "None", "valueType": { - "$id": "2302", + "$id": "2370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25224,13 +26036,13 @@ "decorators": [] }, { - "$id": "2303", + "$id": "2371", "kind": "constant", "name": "ListAssistantsRequestAccept71", "namespace": "", "usage": "None", "valueType": { - "$id": "2304", + "$id": "2372", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25240,13 +26052,13 @@ "decorators": [] }, { - "$id": "2305", + "$id": "2373", "kind": "constant", "name": "ListAssistantsRequestAccept72", "namespace": "", "usage": "None", "valueType": { - "$id": "2306", + "$id": "2374", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25256,13 +26068,13 @@ "decorators": [] }, { - "$id": "2307", + "$id": "2375", "kind": "constant", "name": "createVectorStoreFileBatchContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2308", + "$id": "2376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25272,13 +26084,13 @@ "decorators": [] }, { - "$id": "2309", + "$id": "2377", "kind": "constant", "name": "ListAssistantsRequestAccept73", "namespace": "", "usage": "None", "valueType": { - "$id": "2310", + "$id": "2378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25288,13 +26100,13 @@ "decorators": [] }, { - "$id": "2311", + "$id": "2379", "kind": "constant", "name": "ListAssistantsRequestAccept74", "namespace": "", "usage": "None", "valueType": { - "$id": "2312", + "$id": "2380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25304,13 +26116,13 @@ "decorators": [] }, { - "$id": "2313", + "$id": "2381", "kind": "constant", "name": "ListAssistantsRequestAccept75", "namespace": "", "usage": "None", "valueType": { - "$id": "2314", + "$id": "2382", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25320,13 +26132,13 @@ "decorators": [] }, { - "$id": "2315", + "$id": "2383", "kind": "constant", "name": "ListAssistantsRequestAccept76", "namespace": "", "usage": "None", "valueType": { - "$id": "2316", + "$id": "2384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25336,13 +26148,13 @@ "decorators": [] }, { - "$id": "2317", + "$id": "2385", "kind": "constant", "name": "ListAssistantsRequestAccept77", "namespace": "", "usage": "None", "valueType": { - "$id": "2318", + "$id": "2386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25352,13 +26164,13 @@ "decorators": [] }, { - "$id": "2319", + "$id": "2387", "kind": "constant", "name": "ListAssistantsRequestAccept78", "namespace": "", "usage": "None", "valueType": { - "$id": "2320", + "$id": "2388", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25368,13 +26180,13 @@ "decorators": [] }, { - "$id": "2321", + "$id": "2389", "kind": "constant", "name": "ListAssistantsRequestAccept79", "namespace": "", "usage": "None", "valueType": { - "$id": "2322", + "$id": "2390", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25384,13 +26196,13 @@ "decorators": [] }, { - "$id": "2323", + "$id": "2391", "kind": "constant", "name": "ListAssistantsRequestAccept80", "namespace": "", "usage": "None", "valueType": { - "$id": "2324", + "$id": "2392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25400,13 +26212,13 @@ "decorators": [] }, { - "$id": "2325", + "$id": "2393", "kind": "constant", "name": "ListAssistantsRequestAccept81", "namespace": "", "usage": "None", "valueType": { - "$id": "2326", + "$id": "2394", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25416,13 +26228,13 @@ "decorators": [] }, { - "$id": "2327", + "$id": "2395", "kind": "constant", "name": "ListAssistantsRequestAccept82", "namespace": "", "usage": "None", "valueType": { - "$id": "2328", + "$id": "2396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25432,13 +26244,13 @@ "decorators": [] }, { - "$id": "2329", + "$id": "2397", "kind": "constant", "name": "createVectorStoreFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2330", + "$id": "2398", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25448,13 +26260,13 @@ "decorators": [] }, { - "$id": "2331", + "$id": "2399", "kind": "constant", "name": "ListAssistantsRequestAccept83", "namespace": "", "usage": "None", "valueType": { - "$id": "2332", + "$id": "2400", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25464,13 +26276,13 @@ "decorators": [] }, { - "$id": "2333", + "$id": "2401", "kind": "constant", "name": "ListAssistantsRequestAccept84", "namespace": "", "usage": "None", "valueType": { - "$id": "2334", + "$id": "2402", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25480,13 +26292,13 @@ "decorators": [] }, { - "$id": "2335", + "$id": "2403", "kind": "constant", "name": "ListAssistantsRequestAccept85", "namespace": "", "usage": "None", "valueType": { - "$id": "2336", + "$id": "2404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25496,13 +26308,13 @@ "decorators": [] }, { - "$id": "2337", + "$id": "2405", "kind": "constant", "name": "ListAssistantsRequestAccept86", "namespace": "", "usage": "None", "valueType": { - "$id": "2338", + "$id": "2406", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25512,13 +26324,13 @@ "decorators": [] }, { - "$id": "2339", + "$id": "2407", "kind": "constant", "name": "ListAssistantsRequestAccept87", "namespace": "", "usage": "None", "valueType": { - "$id": "2340", + "$id": "2408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25528,13 +26340,13 @@ "decorators": [] }, { - "$id": "2341", + "$id": "2409", "kind": "constant", "name": "updateVectorStoreFileAttributesContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2342", + "$id": "2410", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25544,13 +26356,13 @@ "decorators": [] }, { - "$id": "2343", + "$id": "2411", "kind": "constant", "name": "updateVectorStoreFileAttributesContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2344", + "$id": "2412", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25560,13 +26372,13 @@ "decorators": [] }, { - "$id": "2345", + "$id": "2413", "kind": "constant", "name": "retrieveVectorStoreFileContentContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2346", + "$id": "2414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25576,13 +26388,13 @@ "decorators": [] }, { - "$id": "2347", + "$id": "2415", "kind": "constant", "name": "searchVectorStoreContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2348", + "$id": "2416", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25592,13 +26404,13 @@ "decorators": [] }, { - "$id": "2349", + "$id": "2417", "kind": "constant", "name": "searchVectorStoreContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2350", + "$id": "2418", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25608,13 +26420,13 @@ "decorators": [] }, { - "$id": "2351", + "$id": "2419", "kind": "constant", "name": "ListAssistantsRequestAccept88", "namespace": "", "usage": "None", "valueType": { - "$id": "2352", + "$id": "2420", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25624,13 +26436,13 @@ "decorators": [] }, { - "$id": "2353", + "$id": "2421", "kind": "constant", "name": "createCompletionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2354", + "$id": "2422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25640,13 +26452,13 @@ "decorators": [] }, { - "$id": "2355", + "$id": "2423", "kind": "constant", "name": "ListAssistantsRequestAccept89", "namespace": "", "usage": "None", "valueType": { - "$id": "2356", + "$id": "2424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25656,13 +26468,13 @@ "decorators": [] }, { - "$id": "2357", + "$id": "2425", "kind": "constant", "name": "startRealtimeSessionContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2358", + "$id": "2426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25672,13 +26484,13 @@ "decorators": [] }, { - "$id": "2359", + "$id": "2427", "kind": "constant", "name": "startRealtimeSessionContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2360", + "$id": "2428", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25688,13 +26500,13 @@ "decorators": [] }, { - "$id": "2361", + "$id": "2429", "kind": "constant", "name": "create-realtime-client-secretContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2362", + "$id": "2430", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25704,13 +26516,13 @@ "decorators": [] }, { - "$id": "2363", + "$id": "2431", "kind": "constant", "name": "create-realtime-client-secretContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2364", + "$id": "2432", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25720,13 +26532,13 @@ "decorators": [] }, { - "$id": "2365", + "$id": "2433", "kind": "constant", "name": "ListAssistantsRequestAccept90", "namespace": "", "usage": "None", "valueType": { - "$id": "2366", + "$id": "2434", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25736,13 +26548,13 @@ "decorators": [] }, { - "$id": "2367", + "$id": "2435", "kind": "constant", "name": "createUploadContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2368", + "$id": "2436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25752,13 +26564,13 @@ "decorators": [] }, { - "$id": "2369", + "$id": "2437", "kind": "constant", "name": "ListAssistantsRequestAccept91", "namespace": "", "usage": "None", "valueType": { - "$id": "2370", + "$id": "2438", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25768,13 +26580,13 @@ "decorators": [] }, { - "$id": "2371", + "$id": "2439", "kind": "constant", "name": "ListAssistantsRequestAccept92", "namespace": "", "usage": "None", "valueType": { - "$id": "2372", + "$id": "2440", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25784,13 +26596,13 @@ "decorators": [] }, { - "$id": "2373", + "$id": "2441", "kind": "constant", "name": "CreateContainerFileRequestContentType2", "namespace": "", "usage": "None", "valueType": { - "$id": "2374", + "$id": "2442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25800,13 +26612,13 @@ "decorators": [] }, { - "$id": "2375", + "$id": "2443", "kind": "constant", "name": "ListAssistantsRequestAccept93", "namespace": "", "usage": "None", "valueType": { - "$id": "2376", + "$id": "2444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25816,13 +26628,13 @@ "decorators": [] }, { - "$id": "2377", + "$id": "2445", "kind": "constant", "name": "CreateContainerFileRequestContentType3", "namespace": "", "usage": "None", "valueType": { - "$id": "2378", + "$id": "2446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25832,13 +26644,13 @@ "decorators": [] }, { - "$id": "2379", + "$id": "2447", "kind": "constant", "name": "ListAssistantsRequestAccept94", "namespace": "", "usage": "None", "valueType": { - "$id": "2380", + "$id": "2448", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25848,13 +26660,13 @@ "decorators": [] }, { - "$id": "2381", + "$id": "2449", "kind": "constant", "name": "completeUploadContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2382", + "$id": "2450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25864,13 +26676,13 @@ "decorators": [] }, { - "$id": "2383", + "$id": "2451", "kind": "constant", "name": "ListAssistantsRequestAccept95", "namespace": "", "usage": "None", "valueType": { - "$id": "2384", + "$id": "2452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25880,13 +26692,13 @@ "decorators": [] }, { - "$id": "2385", + "$id": "2453", "kind": "constant", "name": "ListAssistantsRequestAccept96", "namespace": "", "usage": "None", "valueType": { - "$id": "2386", + "$id": "2454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25896,13 +26708,13 @@ "decorators": [] }, { - "$id": "2387", + "$id": "2455", "kind": "constant", "name": "ListAssistantsRequestAccept97", "namespace": "", "usage": "None", "valueType": { - "$id": "2388", + "$id": "2456", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25912,13 +26724,13 @@ "decorators": [] }, { - "$id": "2389", + "$id": "2457", "kind": "constant", "name": "createSpeechContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2390", + "$id": "2458", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25928,13 +26740,13 @@ "decorators": [] }, { - "$id": "2391", + "$id": "2459", "kind": "constant", "name": "CreateSpeechResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2392", + "$id": "2460", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25944,13 +26756,13 @@ "decorators": [] }, { - "$id": "2393", + "$id": "2461", "kind": "constant", "name": "CreateChatCompletionResponseContentType3", "namespace": "", "usage": "None", "valueType": { - "$id": "2394", + "$id": "2462", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25960,13 +26772,13 @@ "decorators": [] }, { - "$id": "2395", + "$id": "2463", "kind": "constant", "name": "CreateContainerFileRequestContentType4", "namespace": "", "usage": "None", "valueType": { - "$id": "2396", + "$id": "2464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25976,13 +26788,13 @@ "decorators": [] }, { - "$id": "2397", + "$id": "2465", "kind": "constant", "name": "CreateChatCompletionResponseContentType4", "namespace": "", "usage": "None", "valueType": { - "$id": "2398", + "$id": "2466", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -25992,13 +26804,13 @@ "decorators": [] }, { - "$id": "2399", + "$id": "2467", "kind": "constant", "name": "CreateContainerFileRequestContentType5", "namespace": "", "usage": "None", "valueType": { - "$id": "2400", + "$id": "2468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26008,13 +26820,13 @@ "decorators": [] }, { - "$id": "2401", + "$id": "2469", "kind": "constant", "name": "CreateContainerFileRequestContentType6", "namespace": "", "usage": "None", "valueType": { - "$id": "2402", + "$id": "2470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26024,13 +26836,13 @@ "decorators": [] }, { - "$id": "2403", + "$id": "2471", "kind": "constant", "name": "createTranslationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2404", + "$id": "2472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26040,13 +26852,13 @@ "decorators": [] }, { - "$id": "2405", + "$id": "2473", "kind": "constant", "name": "CreateContainerFileRequestContentType7", "namespace": "", "usage": "None", "valueType": { - "$id": "2406", + "$id": "2474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26056,13 +26868,13 @@ "decorators": [] }, { - "$id": "2407", + "$id": "2475", "kind": "constant", "name": "listConversationItemsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2408", + "$id": "2476", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26072,13 +26884,13 @@ "decorators": [] }, { - "$id": "2409", + "$id": "2477", "kind": "constant", "name": "ListAssistantsResponseObject1", "namespace": "", "usage": "None", "valueType": { - "$id": "2410", + "$id": "2478", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26088,13 +26900,13 @@ "decorators": [] }, { - "$id": "2411", + "$id": "2479", "kind": "constant", "name": "createConversationItemsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2412", + "$id": "2480", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26104,13 +26916,13 @@ "decorators": [] }, { - "$id": "2413", + "$id": "2481", "kind": "constant", "name": "createConversationItemsContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2414", + "$id": "2482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26120,13 +26932,13 @@ "decorators": [] }, { - "$id": "2415", + "$id": "2483", "kind": "constant", "name": "deleteConversationItemContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2416", + "$id": "2484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26136,13 +26948,13 @@ "decorators": [] }, { - "$id": "2417", + "$id": "2485", "kind": "constant", "name": "ConversationResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2418", + "$id": "2486", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26152,13 +26964,13 @@ "decorators": [] }, { - "$id": "2419", + "$id": "2487", "kind": "constant", "name": "getConversationItemContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2420", + "$id": "2488", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26168,13 +26980,13 @@ "decorators": [] }, { - "$id": "2421", + "$id": "2489", "kind": "constant", "name": "createConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2422", + "$id": "2490", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26184,13 +26996,13 @@ "decorators": [] }, { - "$id": "2423", + "$id": "2491", "kind": "constant", "name": "createConversationContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2424", + "$id": "2492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26200,13 +27012,13 @@ "decorators": [] }, { - "$id": "2425", + "$id": "2493", "kind": "constant", "name": "deleteConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2426", + "$id": "2494", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26216,13 +27028,13 @@ "decorators": [] }, { - "$id": "2427", + "$id": "2495", "kind": "constant", "name": "DeletedConversationResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2428", + "$id": "2496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26232,13 +27044,13 @@ "decorators": [] }, { - "$id": "2429", + "$id": "2497", "kind": "constant", "name": "getConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2430", + "$id": "2498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26248,13 +27060,13 @@ "decorators": [] }, { - "$id": "2431", + "$id": "2499", "kind": "constant", "name": "updateConversationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2432", + "$id": "2500", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26264,13 +27076,13 @@ "decorators": [] }, { - "$id": "2433", + "$id": "2501", "kind": "constant", "name": "updateConversationContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2434", + "$id": "2502", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26280,13 +27092,13 @@ "decorators": [] }, { - "$id": "2435", + "$id": "2503", "kind": "constant", "name": "createEmbeddingContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2436", + "$id": "2504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26296,13 +27108,13 @@ "decorators": [] }, { - "$id": "2437", + "$id": "2505", "kind": "constant", "name": "createEmbeddingContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2438", + "$id": "2506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26312,13 +27124,13 @@ "decorators": [] }, { - "$id": "2439", + "$id": "2507", "kind": "constant", "name": "listFilesContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2440", + "$id": "2508", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26328,13 +27140,13 @@ "decorators": [] }, { - "$id": "2441", + "$id": "2509", "kind": "constant", "name": "CreateContainerFileRequestContentType8", "namespace": "", "usage": "None", "valueType": { - "$id": "2442", + "$id": "2510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26344,13 +27156,13 @@ "decorators": [] }, { - "$id": "2443", + "$id": "2511", "kind": "constant", "name": "createFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2444", + "$id": "2512", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26360,13 +27172,13 @@ "decorators": [] }, { - "$id": "2445", + "$id": "2513", "kind": "constant", "name": "CreateContainerFileRequestContentType9", "namespace": "", "usage": "None", "valueType": { - "$id": "2446", + "$id": "2514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26376,13 +27188,13 @@ "decorators": [] }, { - "$id": "2447", + "$id": "2515", "kind": "constant", "name": "deleteFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2448", + "$id": "2516", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26392,13 +27204,13 @@ "decorators": [] }, { - "$id": "2449", + "$id": "2517", "kind": "constant", "name": "retrieveFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2450", + "$id": "2518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26408,13 +27220,13 @@ "decorators": [] }, { - "$id": "2451", + "$id": "2519", "kind": "constant", "name": "downloadFileContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2452", + "$id": "2520", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26424,13 +27236,13 @@ "decorators": [] }, { - "$id": "2453", + "$id": "2521", "kind": "constant", "name": "CreateContainerFileRequestContentType10", "namespace": "", "usage": "None", "valueType": { - "$id": "2454", + "$id": "2522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26440,13 +27252,13 @@ "decorators": [] }, { - "$id": "2455", + "$id": "2523", "kind": "constant", "name": "CreateChatCompletionResponseContentType5", "namespace": "", "usage": "None", "valueType": { - "$id": "2456", + "$id": "2524", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26456,13 +27268,13 @@ "decorators": [] }, { - "$id": "2457", + "$id": "2525", "kind": "constant", "name": "CreateContainerFileRequestContentType11", "namespace": "", "usage": "None", "valueType": { - "$id": "2458", + "$id": "2526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26472,13 +27284,13 @@ "decorators": [] }, { - "$id": "2459", + "$id": "2527", "kind": "constant", "name": "createImageContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2460", + "$id": "2528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26488,13 +27300,13 @@ "decorators": [] }, { - "$id": "2461", + "$id": "2529", "kind": "constant", "name": "CreateChatCompletionResponseContentType6", "namespace": "", "usage": "None", "valueType": { - "$id": "2462", + "$id": "2530", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26504,13 +27316,13 @@ "decorators": [] }, { - "$id": "2463", + "$id": "2531", "kind": "constant", "name": "CreateContainerFileRequestContentType12", "namespace": "", "usage": "None", "valueType": { - "$id": "2464", + "$id": "2532", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26520,13 +27332,13 @@ "decorators": [] }, { - "$id": "2465", + "$id": "2533", "kind": "constant", "name": "createImageVariationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2466", + "$id": "2534", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26536,13 +27348,13 @@ "decorators": [] }, { - "$id": "2467", + "$id": "2535", "kind": "constant", "name": "CreateContainerFileRequestContentType13", "namespace": "", "usage": "None", "valueType": { - "$id": "2468", + "$id": "2536", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26552,13 +27364,13 @@ "decorators": [] }, { - "$id": "2469", + "$id": "2537", "kind": "constant", "name": "listModelsContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2470", + "$id": "2538", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26568,13 +27380,13 @@ "decorators": [] }, { - "$id": "2471", + "$id": "2539", "kind": "constant", "name": "deleteModelContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2472", + "$id": "2540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26584,13 +27396,13 @@ "decorators": [] }, { - "$id": "2473", + "$id": "2541", "kind": "constant", "name": "retrieveModelContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2474", + "$id": "2542", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26600,13 +27412,13 @@ "decorators": [] }, { - "$id": "2475", + "$id": "2543", "kind": "constant", "name": "createModerationContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2476", + "$id": "2544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26616,13 +27428,13 @@ "decorators": [] }, { - "$id": "2477", + "$id": "2545", "kind": "constant", "name": "createModerationContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2478", + "$id": "2546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26632,13 +27444,13 @@ "decorators": [] }, { - "$id": "2479", + "$id": "2547", "kind": "constant", "name": "ListVideosContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2480", + "$id": "2548", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26648,13 +27460,13 @@ "decorators": [] }, { - "$id": "2481", + "$id": "2549", "kind": "constant", "name": "ListAssistantsResponseObject2", "namespace": "", "usage": "None", "valueType": { - "$id": "2482", + "$id": "2550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26664,13 +27476,13 @@ "decorators": [] }, { - "$id": "2483", + "$id": "2551", "kind": "constant", "name": "VideoResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2484", + "$id": "2552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26680,13 +27492,13 @@ "decorators": [] }, { - "$id": "2485", + "$id": "2553", "kind": "constant", "name": "CreateContainerFileRequestContentType14", "namespace": "", "usage": "None", "valueType": { - "$id": "2486", + "$id": "2554", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26696,13 +27508,13 @@ "decorators": [] }, { - "$id": "2487", + "$id": "2555", "kind": "constant", "name": "createVideoContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2488", + "$id": "2556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26712,13 +27524,13 @@ "decorators": [] }, { - "$id": "2489", + "$id": "2557", "kind": "constant", "name": "CreateContainerFileRequestContentType15", "namespace": "", "usage": "None", "valueType": { - "$id": "2490", + "$id": "2558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26728,13 +27540,13 @@ "decorators": [] }, { - "$id": "2491", + "$id": "2559", "kind": "constant", "name": "DeleteVideoContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2492", + "$id": "2560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26744,13 +27556,13 @@ "decorators": [] }, { - "$id": "2493", + "$id": "2561", "kind": "constant", "name": "DeletedVideoResourceObject", "namespace": "", "usage": "None", "valueType": { - "$id": "2494", + "$id": "2562", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26760,13 +27572,13 @@ "decorators": [] }, { - "$id": "2495", + "$id": "2563", "kind": "constant", "name": "GetVideoContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2496", + "$id": "2564", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26776,13 +27588,13 @@ "decorators": [] }, { - "$id": "2497", + "$id": "2565", "kind": "constant", "name": "RetrieveVideoContentResponseContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2498", + "$id": "2566", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26792,13 +27604,13 @@ "decorators": [] }, { - "$id": "2499", + "$id": "2567", "kind": "constant", "name": "RetrieveVideoContentResponseContentType1", "namespace": "", "usage": "None", "valueType": { - "$id": "2500", + "$id": "2568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26808,13 +27620,13 @@ "decorators": [] }, { - "$id": "2501", + "$id": "2569", "kind": "constant", "name": "CreateContainerFileRequestContentType16", "namespace": "", "usage": "None", "valueType": { - "$id": "2502", + "$id": "2570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26824,13 +27636,13 @@ "decorators": [] }, { - "$id": "2503", + "$id": "2571", "kind": "constant", "name": "CreateVideoRemixContentType", "namespace": "", "usage": "None", "valueType": { - "$id": "2504", + "$id": "2572", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26840,13 +27652,13 @@ "decorators": [] }, { - "$id": "2505", + "$id": "2573", "kind": "constant", "name": "CreateContainerFileRequestContentType17", "namespace": "", "usage": "None", "valueType": { - "$id": "2506", + "$id": "2574", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26858,7 +27670,7 @@ ], "models": [ { - "$id": "2507", + "$id": "2575", "kind": "model", "name": "ListAssistantsResponse", "namespace": "OpenAI", @@ -26872,12 +27684,12 @@ }, "properties": [ { - "$id": "2508", + "$id": "2576", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1683" + "$ref": "1747" }, "optional": false, "readOnly": false, @@ -26893,16 +27705,16 @@ "isHttpMetadata": false }, { - "$id": "2509", + "$id": "2577", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "2510", + "$id": "2578", "kind": "array", "name": "ArrayAssistantObject", "valueType": { - "$id": "2511", + "$id": "2579", "kind": "model", "name": "AssistantObject", "namespace": "OpenAI", @@ -26917,13 +27729,13 @@ }, "properties": [ { - "$id": "2512", + "$id": "2580", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "2513", + "$id": "2581", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -26943,13 +27755,13 @@ "isHttpMetadata": false }, { - "$id": "2514", + "$id": "2582", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `assistant`.", "type": { - "$ref": "1685" + "$ref": "1749" }, "optional": false, "readOnly": false, @@ -26965,18 +27777,18 @@ "isHttpMetadata": false }, { - "$id": "2515", + "$id": "2583", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the assistant was created.", "type": { - "$id": "2516", + "$id": "2584", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2517", + "$id": "2585", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -26999,16 +27811,16 @@ "isHttpMetadata": false }, { - "$id": "2518", + "$id": "2586", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the assistant. The maximum length is 256 characters.", "type": { - "$id": "2519", + "$id": "2587", "kind": "nullable", "type": { - "$id": "2520", + "$id": "2588", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27030,16 +27842,16 @@ "isHttpMetadata": false }, { - "$id": "2521", + "$id": "2589", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the assistant. The maximum length is 512 characters.", "type": { - "$id": "2522", + "$id": "2590", "kind": "nullable", "type": { - "$id": "2523", + "$id": "2591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27061,13 +27873,13 @@ "isHttpMetadata": false }, { - "$id": "2524", + "$id": "2592", "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": "2525", + "$id": "2593", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27087,16 +27899,16 @@ "isHttpMetadata": false }, { - "$id": "2526", + "$id": "2594", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.", "type": { - "$id": "2527", + "$id": "2595", "kind": "nullable", "type": { - "$id": "2528", + "$id": "2596", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27118,17 +27930,17 @@ "isHttpMetadata": false }, { - "$id": "2529", + "$id": "2597", "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": "2530", + "$id": "2598", "kind": "array", "name": "ArrayAssistantToolDefinition", "valueType": { - "$id": "2531", + "$id": "2599", "kind": "model", "name": "AssistantToolDefinition", "namespace": "OpenAI", @@ -27141,7 +27953,7 @@ } }, "discriminatorProperty": { - "$id": "2532", + "$id": "2600", "kind": "property", "name": "type", "serializedName": "type", @@ -27163,12 +27975,12 @@ }, "properties": [ { - "$ref": "2532" + "$ref": "2600" } ], "discriminatedSubtypes": { "code_interpreter": { - "$id": "2533", + "$id": "2601", "kind": "model", "name": "AssistantToolsCode", "namespace": "OpenAI", @@ -27182,17 +27994,17 @@ } }, "baseModel": { - "$ref": "2531" + "$ref": "2599" }, "properties": [ { - "$id": "2534", + "$id": "2602", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool being defined: `code_interpreter`", "type": { - "$id": "2535", + "$id": "2603", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", @@ -27200,14 +28012,14 @@ "$ref": "2" }, "enumType": { - "$id": "2536", + "$id": "2604", "kind": "enum", "decorators": [], "name": "AssistantToolDefinitionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "2537", + "$id": "2605", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -27216,42 +28028,42 @@ }, "values": [ { - "$id": "2538", + "$id": "2606", "kind": "enumvalue", "decorators": [], "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "2537" + "$ref": "2605" }, "enumType": { - "$ref": "2536" + "$ref": "2604" } }, { - "$id": "2539", + "$id": "2607", "kind": "enumvalue", "decorators": [], "name": "file_search", "value": "file_search", "valueType": { - "$ref": "2537" + "$ref": "2605" }, "enumType": { - "$ref": "2536" + "$ref": "2604" } }, { - "$id": "2540", + "$id": "2608", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "2537" + "$ref": "2605" }, "enumType": { - "$ref": "2536" + "$ref": "2604" } } ], @@ -27282,7 +28094,7 @@ ] }, "file_search": { - "$id": "2541", + "$id": "2609", "kind": "model", "name": "AssistantToolsFileSearch", "namespace": "OpenAI", @@ -27296,17 +28108,17 @@ } }, "baseModel": { - "$ref": "2531" + "$ref": "2599" }, "properties": [ { - "$id": "2542", + "$id": "2610", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool being defined: `file_search`", "type": { - "$id": "2543", + "$id": "2611", "kind": "enumvalue", "name": "file_search", "value": "file_search", @@ -27314,7 +28126,7 @@ "$ref": "2" }, "enumType": { - "$ref": "2536" + "$ref": "2604" }, "decorators": [] }, @@ -27332,13 +28144,13 @@ "isHttpMetadata": false }, { - "$id": "2544", + "$id": "2612", "kind": "property", "name": "file_search", "serializedName": "file_search", "doc": "Overrides for the file search tool.", "type": { - "$id": "2545", + "$id": "2613", "kind": "model", "name": "AssistantToolsFileSearchFileSearch", "namespace": "OpenAI", @@ -27352,13 +28164,13 @@ }, "properties": [ { - "$id": "2546", + "$id": "2614", "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": "2547", + "$id": "2615", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -27378,12 +28190,12 @@ "isHttpMetadata": false }, { - "$id": "2548", + "$id": "2616", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "type": { - "$id": "2549", + "$id": "2617", "kind": "model", "name": "FileSearchRankingOptions", "namespace": "OpenAI", @@ -27398,7 +28210,7 @@ }, "properties": [ { - "$id": "2550", + "$id": "2618", "kind": "property", "name": "ranker", "serializedName": "ranker", @@ -27419,13 +28231,13 @@ "isHttpMetadata": false }, { - "$id": "2551", + "$id": "2619", "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": "2552", + "$id": "2620", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -27477,7 +28289,7 @@ ] }, "function": { - "$id": "2553", + "$id": "2621", "kind": "model", "name": "AssistantToolsFunction", "namespace": "OpenAI", @@ -27491,17 +28303,17 @@ } }, "baseModel": { - "$ref": "2531" + "$ref": "2599" }, "properties": [ { - "$id": "2554", + "$id": "2622", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool being defined: `function`", "type": { - "$id": "2555", + "$id": "2623", "kind": "enumvalue", "name": "function", "value": "function", @@ -27509,7 +28321,7 @@ "$ref": "2" }, "enumType": { - "$ref": "2536" + "$ref": "2604" }, "decorators": [] }, @@ -27527,12 +28339,12 @@ "isHttpMetadata": false }, { - "$id": "2556", + "$id": "2624", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "2557", + "$id": "2625", "kind": "model", "name": "FunctionObject", "namespace": "OpenAI", @@ -27546,13 +28358,13 @@ }, "properties": [ { - "$id": "2558", + "$id": "2626", "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": "2559", + "$id": "2627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27572,13 +28384,13 @@ "isHttpMetadata": false }, { - "$id": "2560", + "$id": "2628", "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": "2561", + "$id": "2629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27598,13 +28410,13 @@ "isHttpMetadata": false }, { - "$id": "2562", + "$id": "2630", "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": "2563", + "$id": "2631", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -27624,16 +28436,16 @@ "isHttpMetadata": false }, { - "$id": "2564", + "$id": "2632", "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": "2565", + "$id": "2633", "kind": "nullable", "type": { - "$id": "2566", + "$id": "2634", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -27690,16 +28502,16 @@ "isHttpMetadata": false }, { - "$id": "2567", + "$id": "2635", "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": "2568", + "$id": "2636", "kind": "nullable", "type": { - "$id": "2569", + "$id": "2637", "kind": "model", "name": "AssistantObjectToolResources1", "namespace": "OpenAI", @@ -27713,12 +28525,12 @@ }, "properties": [ { - "$id": "2570", + "$id": "2638", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "2571", + "$id": "2639", "kind": "model", "name": "AssistantObjectToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -27732,17 +28544,17 @@ }, "properties": [ { - "$id": "2572", + "$id": "2640", "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": "2573", + "$id": "2641", "kind": "array", "name": "Array", "valueType": { - "$id": "2574", + "$id": "2642", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27780,12 +28592,12 @@ "isHttpMetadata": false }, { - "$id": "2575", + "$id": "2643", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$id": "2576", + "$id": "2644", "kind": "model", "name": "ToolResourcesFileSearchIdsOnly", "namespace": "OpenAI", @@ -27799,13 +28611,13 @@ }, "properties": [ { - "$id": "2577", + "$id": "2645", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -27853,26 +28665,26 @@ "isHttpMetadata": false }, { - "$id": "2578", + "$id": "2646", "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": "2579", + "$id": "2647", "kind": "nullable", "type": { - "$id": "2580", + "$id": "2648", "kind": "dict", "keyType": { - "$id": "2581", + "$id": "2649", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "2582", + "$id": "2650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -27896,16 +28708,16 @@ "isHttpMetadata": false }, { - "$id": "2583", + "$id": "2651", "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": "2584", + "$id": "2652", "kind": "nullable", "type": { - "$id": "2585", + "$id": "2653", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -27927,16 +28739,16 @@ "isHttpMetadata": false }, { - "$id": "2586", + "$id": "2654", "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": "2587", + "$id": "2655", "kind": "nullable", "type": { - "$id": "2588", + "$id": "2656", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -27958,23 +28770,23 @@ "isHttpMetadata": false }, { - "$id": "2589", + "$id": "2657", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "2590", + "$id": "2658", "kind": "nullable", "type": { - "$id": "2591", + "$id": "2659", "kind": "union", "name": "AssistantsApiResponseFormatOption", "variantTypes": [ { - "$ref": "1687" + "$ref": "1751" }, { - "$id": "2592", + "$id": "2660", "kind": "model", "name": "ResponseFormatText", "namespace": "OpenAI", @@ -27989,7 +28801,7 @@ } }, "baseModel": { - "$id": "2593", + "$id": "2661", "kind": "model", "name": "ResponseFormat", "namespace": "OpenAI", @@ -28002,7 +28814,7 @@ } }, "discriminatorProperty": { - "$id": "2594", + "$id": "2662", "kind": "property", "name": "type", "serializedName": "type", @@ -28024,15 +28836,15 @@ }, "properties": [ { - "$ref": "2594" + "$ref": "2662" } ], "discriminatedSubtypes": { "text": { - "$ref": "2592" + "$ref": "2660" }, "json_object": { - "$id": "2595", + "$id": "2663", "kind": "model", "name": "ResponseFormatJsonObject", "namespace": "OpenAI", @@ -28047,17 +28859,17 @@ } }, "baseModel": { - "$ref": "2593" + "$ref": "2661" }, "properties": [ { - "$id": "2596", + "$id": "2664", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of response format being defined. Always `json_object`.", "type": { - "$id": "2597", + "$id": "2665", "kind": "enumvalue", "name": "json_object", "value": "json_object", @@ -28065,14 +28877,14 @@ "$ref": "11" }, "enumType": { - "$id": "2598", + "$id": "2666", "kind": "enum", "decorators": [], "name": "ResponseFormatType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "2599", + "$id": "2667", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -28081,42 +28893,42 @@ }, "values": [ { - "$id": "2600", + "$id": "2668", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "2599" + "$ref": "2667" }, "enumType": { - "$ref": "2598" + "$ref": "2666" } }, { - "$id": "2601", + "$id": "2669", "kind": "enumvalue", "decorators": [], "name": "json_object", "value": "json_object", "valueType": { - "$ref": "2599" + "$ref": "2667" }, "enumType": { - "$ref": "2598" + "$ref": "2666" } }, { - "$id": "2602", + "$id": "2670", "kind": "enumvalue", "decorators": [], "name": "json_schema", "value": "json_schema", "valueType": { - "$ref": "2599" + "$ref": "2667" }, "enumType": { - "$ref": "2598" + "$ref": "2666" } } ], @@ -28147,7 +28959,7 @@ ] }, "json_schema": { - "$id": "2603", + "$id": "2671", "kind": "model", "name": "ResponseFormatJsonSchema", "namespace": "OpenAI", @@ -28162,17 +28974,17 @@ } }, "baseModel": { - "$ref": "2593" + "$ref": "2661" }, "properties": [ { - "$id": "2604", + "$id": "2672", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of response format being defined. Always `json_schema`.", "type": { - "$id": "2605", + "$id": "2673", "kind": "enumvalue", "name": "json_schema", "value": "json_schema", @@ -28180,7 +28992,7 @@ "$ref": "11" }, "enumType": { - "$ref": "2598" + "$ref": "2666" }, "decorators": [] }, @@ -28198,13 +29010,13 @@ "isHttpMetadata": false }, { - "$id": "2606", + "$id": "2674", "kind": "property", "name": "json_schema", "serializedName": "json_schema", "doc": "Structured Outputs configuration options, including a JSON Schema.", "type": { - "$id": "2607", + "$id": "2675", "kind": "model", "name": "ResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -28218,13 +29030,13 @@ }, "properties": [ { - "$id": "2608", + "$id": "2676", "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": "2609", + "$id": "2677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28244,13 +29056,13 @@ "isHttpMetadata": false }, { - "$id": "2610", + "$id": "2678", "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": "2611", + "$id": "2679", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28270,12 +29082,12 @@ "isHttpMetadata": false }, { - "$id": "2612", + "$id": "2680", "kind": "property", "name": "schema", "serializedName": "schema", "type": { - "$id": "2613", + "$id": "2681", "kind": "model", "name": "ResponseFormatJsonSchemaSchema", "namespace": "OpenAI", @@ -28289,7 +29101,7 @@ } }, "additionalProperties": { - "$id": "2614", + "$id": "2682", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -28311,16 +29123,16 @@ "isHttpMetadata": false }, { - "$id": "2615", + "$id": "2683", "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": "2616", + "$id": "2684", "kind": "nullable", "type": { - "$id": "2617", + "$id": "2685", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -28362,13 +29174,13 @@ }, "properties": [ { - "$id": "2618", + "$id": "2686", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of response format being defined. Always `text`.", "type": { - "$id": "2619", + "$id": "2687", "kind": "enumvalue", "name": "text", "value": "text", @@ -28376,7 +29188,7 @@ "$ref": "11" }, "enumType": { - "$ref": "2598" + "$ref": "2666" }, "decorators": [] }, @@ -28396,10 +29208,10 @@ ] }, { - "$ref": "2595" + "$ref": "2663" }, { - "$ref": "2603" + "$ref": "2671" } ], "namespace": "OpenAI", @@ -28439,12 +29251,12 @@ "isHttpMetadata": false }, { - "$id": "2620", + "$id": "2688", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "2621", + "$id": "2689", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28464,12 +29276,12 @@ "isHttpMetadata": false }, { - "$id": "2622", + "$id": "2690", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "2623", + "$id": "2691", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28489,12 +29301,12 @@ "isHttpMetadata": false }, { - "$id": "2624", + "$id": "2692", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "2625", + "$id": "2693", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -28516,58 +29328,58 @@ ] }, { - "$ref": "2511" + "$ref": "2579" }, { - "$ref": "2531" + "$ref": "2599" }, { - "$ref": "2533" + "$ref": "2601" }, { - "$ref": "2541" + "$ref": "2609" }, { - "$ref": "2545" + "$ref": "2613" }, { - "$ref": "2549" + "$ref": "2617" }, { - "$ref": "2553" + "$ref": "2621" }, { - "$ref": "2557" + "$ref": "2625" }, { - "$ref": "2569" + "$ref": "2637" }, { - "$ref": "2571" + "$ref": "2639" }, { - "$ref": "2576" + "$ref": "2644" }, { - "$ref": "2592" + "$ref": "2660" }, { - "$ref": "2593" + "$ref": "2661" }, { - "$ref": "2595" + "$ref": "2663" }, { - "$ref": "2603" + "$ref": "2671" }, { - "$ref": "2607" + "$ref": "2675" }, { - "$ref": "2613" + "$ref": "2681" }, { - "$id": "2626", + "$id": "2694", "kind": "model", "name": "ErrorResponse", "namespace": "OpenAI", @@ -28581,12 +29393,12 @@ }, "properties": [ { - "$id": "2627", + "$id": "2695", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "2628", + "$id": "2696", "kind": "model", "name": "Error", "namespace": "OpenAI", @@ -28600,15 +29412,15 @@ }, "properties": [ { - "$id": "2629", + "$id": "2697", "kind": "property", "name": "code", "serializedName": "code", "type": { - "$id": "2630", + "$id": "2698", "kind": "nullable", "type": { - "$id": "2631", + "$id": "2699", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28630,12 +29442,12 @@ "isHttpMetadata": false }, { - "$id": "2632", + "$id": "2700", "kind": "property", "name": "message", "serializedName": "message", "type": { - "$id": "2633", + "$id": "2701", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28655,15 +29467,15 @@ "isHttpMetadata": false }, { - "$id": "2634", + "$id": "2702", "kind": "property", "name": "param", "serializedName": "param", "type": { - "$id": "2635", + "$id": "2703", "kind": "nullable", "type": { - "$id": "2636", + "$id": "2704", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28685,12 +29497,12 @@ "isHttpMetadata": false }, { - "$id": "2637", + "$id": "2705", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "2638", + "$id": "2706", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28727,10 +29539,10 @@ ] }, { - "$ref": "2628" + "$ref": "2696" }, { - "$id": "2639", + "$id": "2707", "kind": "model", "name": "CreateAssistantRequest", "namespace": "OpenAI", @@ -28744,7 +29556,7 @@ }, "properties": [ { - "$id": "2640", + "$id": "2708", "kind": "property", "name": "model", "serializedName": "model", @@ -28766,16 +29578,16 @@ "isHttpMetadata": false }, { - "$id": "2641", + "$id": "2709", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the assistant. The maximum length is 256 characters.", "type": { - "$id": "2642", + "$id": "2710", "kind": "nullable", "type": { - "$id": "2643", + "$id": "2711", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28797,16 +29609,16 @@ "isHttpMetadata": false }, { - "$id": "2644", + "$id": "2712", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the assistant. The maximum length is 512 characters.", "type": { - "$id": "2645", + "$id": "2713", "kind": "nullable", "type": { - "$id": "2646", + "$id": "2714", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28828,16 +29640,16 @@ "isHttpMetadata": false }, { - "$id": "2647", + "$id": "2715", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.", "type": { - "$id": "2648", + "$id": "2716", "kind": "nullable", "type": { - "$id": "2649", + "$id": "2717", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -28859,12 +29671,12 @@ "isHttpMetadata": false }, { - "$id": "2650", + "$id": "2718", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "2651", + "$id": "2719", "kind": "nullable", "type": { "$ref": "53" @@ -28885,13 +29697,13 @@ "isHttpMetadata": false }, { - "$id": "2652", + "$id": "2720", "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": "2530" + "$ref": "2598" }, "optional": true, "readOnly": false, @@ -28907,16 +29719,16 @@ "isHttpMetadata": false }, { - "$id": "2653", + "$id": "2721", "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": "2654", + "$id": "2722", "kind": "nullable", "type": { - "$id": "2655", + "$id": "2723", "kind": "model", "name": "CreateAssistantRequestToolResources1", "namespace": "OpenAI", @@ -28930,12 +29742,12 @@ }, "properties": [ { - "$id": "2656", + "$id": "2724", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "2657", + "$id": "2725", "kind": "model", "name": "CreateAssistantRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -28949,13 +29761,13 @@ }, "properties": [ { - "$id": "2658", + "$id": "2726", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -28986,12 +29798,12 @@ "isHttpMetadata": false }, { - "$id": "2659", + "$id": "2727", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$id": "2660", + "$id": "2728", "kind": "model", "name": "ToolResourcesFileSearch", "namespace": "OpenAI", @@ -29005,13 +29817,13 @@ }, "properties": [ { - "$id": "2661", + "$id": "2729", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -29027,17 +29839,17 @@ "isHttpMetadata": false }, { - "$id": "2662", + "$id": "2730", "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": "2663", + "$id": "2731", "kind": "array", "name": "Array1", "valueType": { - "$id": "2664", + "$id": "2732", "kind": "model", "name": "ToolResourcesFileSearchVectorStore", "namespace": "OpenAI", @@ -29051,13 +29863,13 @@ }, "properties": [ { - "$id": "2665", + "$id": "2733", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -29073,13 +29885,13 @@ "isHttpMetadata": false }, { - "$id": "2666", + "$id": "2734", "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": "2667", + "$id": "2735", "kind": "model", "name": "ChunkingStrategyRequestParam", "namespace": "OpenAI", @@ -29093,7 +29905,7 @@ } }, "discriminatorProperty": { - "$id": "2668", + "$id": "2736", "kind": "property", "name": "type", "serializedName": "type", @@ -29116,12 +29928,12 @@ }, "properties": [ { - "$ref": "2668" + "$ref": "2736" } ], "discriminatedSubtypes": { "auto": { - "$id": "2669", + "$id": "2737", "kind": "model", "name": "AutoChunkingStrategyRequestParam", "namespace": "OpenAI", @@ -29136,17 +29948,17 @@ } }, "baseModel": { - "$ref": "2667" + "$ref": "2735" }, "properties": [ { - "$id": "2670", + "$id": "2738", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `auto`.", "type": { - "$id": "2671", + "$id": "2739", "kind": "enumvalue", "name": "auto", "value": "auto", @@ -29154,14 +29966,14 @@ "$ref": "61" }, "enumType": { - "$id": "2672", + "$id": "2740", "kind": "enum", "decorators": [], "name": "ChunkingStrategyRequestParamType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "2673", + "$id": "2741", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -29170,29 +29982,29 @@ }, "values": [ { - "$id": "2674", + "$id": "2742", "kind": "enumvalue", "decorators": [], "name": "auto", "value": "auto", "valueType": { - "$ref": "2673" + "$ref": "2741" }, "enumType": { - "$ref": "2672" + "$ref": "2740" } }, { - "$id": "2675", + "$id": "2743", "kind": "enumvalue", "decorators": [], "name": "static", "value": "static", "valueType": { - "$ref": "2673" + "$ref": "2741" }, "enumType": { - "$ref": "2672" + "$ref": "2740" } } ], @@ -29223,7 +30035,7 @@ ] }, "static": { - "$id": "2676", + "$id": "2744", "kind": "model", "name": "StaticChunkingStrategyRequestParam", "namespace": "OpenAI", @@ -29238,17 +30050,17 @@ } }, "baseModel": { - "$ref": "2667" + "$ref": "2735" }, "properties": [ { - "$id": "2677", + "$id": "2745", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `static`.", "type": { - "$id": "2678", + "$id": "2746", "kind": "enumvalue", "name": "static", "value": "static", @@ -29256,7 +30068,7 @@ "$ref": "61" }, "enumType": { - "$ref": "2672" + "$ref": "2740" }, "decorators": [] }, @@ -29274,12 +30086,12 @@ "isHttpMetadata": false }, { - "$id": "2679", + "$id": "2747", "kind": "property", "name": "static", "serializedName": "static", "type": { - "$id": "2680", + "$id": "2748", "kind": "model", "name": "StaticChunkingStrategy", "namespace": "OpenAI", @@ -29293,13 +30105,13 @@ }, "properties": [ { - "$id": "2681", + "$id": "2749", "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": "2682", + "$id": "2750", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -29319,13 +30131,13 @@ "isHttpMetadata": false }, { - "$id": "2683", + "$id": "2751", "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": "2684", + "$id": "2752", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -29377,13 +30189,13 @@ "isHttpMetadata": false }, { - "$id": "2685", + "$id": "2753", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -29449,13 +30261,13 @@ "isHttpMetadata": false }, { - "$id": "2686", + "$id": "2754", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -29471,16 +30283,16 @@ "isHttpMetadata": false }, { - "$id": "2687", + "$id": "2755", "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": "2688", + "$id": "2756", "kind": "nullable", "type": { - "$id": "2689", + "$id": "2757", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29502,16 +30314,16 @@ "isHttpMetadata": false }, { - "$id": "2690", + "$id": "2758", "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": "2691", + "$id": "2759", "kind": "nullable", "type": { - "$id": "2692", + "$id": "2760", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29533,15 +30345,15 @@ "isHttpMetadata": false }, { - "$id": "2693", + "$id": "2761", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "2694", + "$id": "2762", "kind": "nullable", "type": { - "$ref": "2591" + "$ref": "2659" }, "namespace": "OpenAI" }, @@ -29561,31 +30373,31 @@ ] }, { - "$ref": "2655" + "$ref": "2723" }, { - "$ref": "2657" + "$ref": "2725" }, { - "$ref": "2660" + "$ref": "2728" }, { - "$ref": "2664" + "$ref": "2732" }, { - "$ref": "2667" + "$ref": "2735" }, { - "$ref": "2669" + "$ref": "2737" }, { - "$ref": "2676" + "$ref": "2744" }, { - "$ref": "2680" + "$ref": "2748" }, { - "$id": "2695", + "$id": "2763", "kind": "model", "name": "ModifyAssistantRequest", "namespace": "OpenAI", @@ -29599,7 +30411,7 @@ }, "properties": [ { - "$id": "2696", + "$id": "2764", "kind": "property", "name": "model", "serializedName": "model", @@ -29621,12 +30433,12 @@ "isHttpMetadata": false }, { - "$id": "2697", + "$id": "2765", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "2698", + "$id": "2766", "kind": "nullable", "type": { "$ref": "53" @@ -29647,16 +30459,16 @@ "isHttpMetadata": false }, { - "$id": "2699", + "$id": "2767", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the assistant. The maximum length is 256 characters.", "type": { - "$id": "2700", + "$id": "2768", "kind": "nullable", "type": { - "$id": "2701", + "$id": "2769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29678,16 +30490,16 @@ "isHttpMetadata": false }, { - "$id": "2702", + "$id": "2770", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the assistant. The maximum length is 512 characters.", "type": { - "$id": "2703", + "$id": "2771", "kind": "nullable", "type": { - "$id": "2704", + "$id": "2772", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29709,16 +30521,16 @@ "isHttpMetadata": false }, { - "$id": "2705", + "$id": "2773", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The system instructions that the assistant uses. The maximum length is 256,000 characters.", "type": { - "$id": "2706", + "$id": "2774", "kind": "nullable", "type": { - "$id": "2707", + "$id": "2775", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -29740,13 +30552,13 @@ "isHttpMetadata": false }, { - "$id": "2708", + "$id": "2776", "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": "2530" + "$ref": "2598" }, "optional": true, "readOnly": false, @@ -29762,16 +30574,16 @@ "isHttpMetadata": false }, { - "$id": "2709", + "$id": "2777", "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": "2710", + "$id": "2778", "kind": "nullable", "type": { - "$id": "2711", + "$id": "2779", "kind": "model", "name": "ModifyAssistantRequestToolResources1", "namespace": "OpenAI", @@ -29785,12 +30597,12 @@ }, "properties": [ { - "$id": "2712", + "$id": "2780", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "2713", + "$id": "2781", "kind": "model", "name": "ModifyAssistantRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -29804,13 +30616,13 @@ }, "properties": [ { - "$id": "2714", + "$id": "2782", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -29841,12 +30653,12 @@ "isHttpMetadata": false }, { - "$id": "2715", + "$id": "2783", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$ref": "2576" + "$ref": "2644" }, "optional": true, "readOnly": false, @@ -29879,13 +30691,13 @@ "isHttpMetadata": false }, { - "$id": "2716", + "$id": "2784", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -29901,16 +30713,16 @@ "isHttpMetadata": false }, { - "$id": "2717", + "$id": "2785", "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": "2718", + "$id": "2786", "kind": "nullable", "type": { - "$id": "2719", + "$id": "2787", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29932,16 +30744,16 @@ "isHttpMetadata": false }, { - "$id": "2720", + "$id": "2788", "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": "2721", + "$id": "2789", "kind": "nullable", "type": { - "$id": "2722", + "$id": "2790", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -29963,15 +30775,15 @@ "isHttpMetadata": false }, { - "$id": "2723", + "$id": "2791", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "2724", + "$id": "2792", "kind": "nullable", "type": { - "$ref": "2591" + "$ref": "2659" }, "namespace": "OpenAI" }, @@ -29991,13 +30803,13 @@ ] }, { - "$ref": "2711" + "$ref": "2779" }, { - "$ref": "2713" + "$ref": "2781" }, { - "$id": "2725", + "$id": "2793", "kind": "model", "name": "DeleteAssistantResponse", "namespace": "OpenAI", @@ -30011,12 +30823,12 @@ }, "properties": [ { - "$id": "2726", + "$id": "2794", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "2727", + "$id": "2795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30036,12 +30848,12 @@ "isHttpMetadata": false }, { - "$id": "2728", + "$id": "2796", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "2729", + "$id": "2797", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -30061,12 +30873,12 @@ "isHttpMetadata": false }, { - "$id": "2730", + "$id": "2798", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1689" + "$ref": "1753" }, "optional": false, "readOnly": false, @@ -30084,7 +30896,7 @@ ] }, { - "$id": "2731", + "$id": "2799", "kind": "model", "name": "CreateBatchRequest", "namespace": "", @@ -30098,13 +30910,13 @@ }, "properties": [ { - "$id": "2732", + "$id": "2800", "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": "2733", + "$id": "2801", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30124,7 +30936,7 @@ "isHttpMetadata": false }, { - "$id": "2734", + "$id": "2802", "kind": "property", "name": "endpoint", "serializedName": "endpoint", @@ -30146,13 +30958,13 @@ "isHttpMetadata": false }, { - "$id": "2735", + "$id": "2803", "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": "1691" + "$ref": "1755" }, "optional": false, "readOnly": false, @@ -30168,13 +30980,13 @@ "isHttpMetadata": false }, { - "$id": "2736", + "$id": "2804", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -30192,7 +31004,7 @@ ] }, { - "$id": "2737", + "$id": "2805", "kind": "model", "name": "Batch", "namespace": "OpenAI", @@ -30206,12 +31018,12 @@ }, "properties": [ { - "$id": "2738", + "$id": "2806", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "2739", + "$id": "2807", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30231,13 +31043,13 @@ "isHttpMetadata": false }, { - "$id": "2740", + "$id": "2808", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `batch`.", "type": { - "$ref": "1693" + "$ref": "1757" }, "optional": false, "readOnly": false, @@ -30253,13 +31065,13 @@ "isHttpMetadata": false }, { - "$id": "2741", + "$id": "2809", "kind": "property", "name": "endpoint", "serializedName": "endpoint", "doc": "The OpenAI API endpoint used by the batch.", "type": { - "$id": "2742", + "$id": "2810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30279,12 +31091,12 @@ "isHttpMetadata": false }, { - "$id": "2743", + "$id": "2811", "kind": "property", "name": "errors", "serializedName": "errors", "type": { - "$id": "2744", + "$id": "2812", "kind": "model", "name": "BatchErrors", "namespace": "OpenAI", @@ -30298,7 +31110,7 @@ }, "properties": [ { - "$id": "2745", + "$id": "2813", "kind": "property", "name": "object", "serializedName": "object", @@ -30320,16 +31132,16 @@ "isHttpMetadata": false }, { - "$id": "2746", + "$id": "2814", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "2747", + "$id": "2815", "kind": "array", "name": "Array2", "valueType": { - "$id": "2748", + "$id": "2816", "kind": "model", "name": "BatchErrorsDatum", "namespace": "OpenAI", @@ -30343,13 +31155,13 @@ }, "properties": [ { - "$id": "2749", + "$id": "2817", "kind": "property", "name": "code", "serializedName": "code", "doc": "An error code identifying the error type.", "type": { - "$id": "2750", + "$id": "2818", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30369,13 +31181,13 @@ "isHttpMetadata": false }, { - "$id": "2751", + "$id": "2819", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable message providing more details about the error.", "type": { - "$id": "2752", + "$id": "2820", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30395,16 +31207,16 @@ "isHttpMetadata": false }, { - "$id": "2753", + "$id": "2821", "kind": "property", "name": "param", "serializedName": "param", "doc": "The name of the parameter that caused the error, if applicable.", "type": { - "$id": "2754", + "$id": "2822", "kind": "nullable", "type": { - "$id": "2755", + "$id": "2823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30426,16 +31238,16 @@ "isHttpMetadata": false }, { - "$id": "2756", + "$id": "2824", "kind": "property", "name": "line", "serializedName": "line", "doc": "The line number of the input file where the error occurred, if applicable.", "type": { - "$id": "2757", + "$id": "2825", "kind": "nullable", "type": { - "$id": "2758", + "$id": "2826", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30490,13 +31302,13 @@ "isHttpMetadata": false }, { - "$id": "2759", + "$id": "2827", "kind": "property", "name": "input_file_id", "serializedName": "input_file_id", "doc": "The ID of the input file for the batch.", "type": { - "$id": "2760", + "$id": "2828", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30516,13 +31328,13 @@ "isHttpMetadata": false }, { - "$id": "2761", + "$id": "2829", "kind": "property", "name": "completion_window", "serializedName": "completion_window", "doc": "The time frame within which the batch should be processed.", "type": { - "$id": "2762", + "$id": "2830", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30542,7 +31354,7 @@ "isHttpMetadata": false }, { - "$id": "2763", + "$id": "2831", "kind": "property", "name": "status", "serializedName": "status", @@ -30564,13 +31376,13 @@ "isHttpMetadata": false }, { - "$id": "2764", + "$id": "2832", "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": "2765", + "$id": "2833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30590,13 +31402,13 @@ "isHttpMetadata": false }, { - "$id": "2766", + "$id": "2834", "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": "2767", + "$id": "2835", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -30616,18 +31428,18 @@ "isHttpMetadata": false }, { - "$id": "2768", + "$id": "2836", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the batch was created.", "type": { - "$id": "2769", + "$id": "2837", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2770", + "$id": "2838", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30650,18 +31462,18 @@ "isHttpMetadata": false }, { - "$id": "2771", + "$id": "2839", "kind": "property", "name": "in_progress_at", "serializedName": "in_progress_at", "doc": "The Unix timestamp (in seconds) for when the batch started processing.", "type": { - "$id": "2772", + "$id": "2840", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2773", + "$id": "2841", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30684,18 +31496,18 @@ "isHttpMetadata": false }, { - "$id": "2774", + "$id": "2842", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the batch will expire.", "type": { - "$id": "2775", + "$id": "2843", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2776", + "$id": "2844", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30718,18 +31530,18 @@ "isHttpMetadata": false }, { - "$id": "2777", + "$id": "2845", "kind": "property", "name": "finalizing_at", "serializedName": "finalizing_at", "doc": "The Unix timestamp (in seconds) for when the batch started finalizing.", "type": { - "$id": "2778", + "$id": "2846", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2779", + "$id": "2847", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30752,18 +31564,18 @@ "isHttpMetadata": false }, { - "$id": "2780", + "$id": "2848", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the batch was completed.", "type": { - "$id": "2781", + "$id": "2849", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2782", + "$id": "2850", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30786,18 +31598,18 @@ "isHttpMetadata": false }, { - "$id": "2783", + "$id": "2851", "kind": "property", "name": "failed_at", "serializedName": "failed_at", "doc": "The Unix timestamp (in seconds) for when the batch failed.", "type": { - "$id": "2784", + "$id": "2852", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2785", + "$id": "2853", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30820,18 +31632,18 @@ "isHttpMetadata": false }, { - "$id": "2786", + "$id": "2854", "kind": "property", "name": "expired_at", "serializedName": "expired_at", "doc": "The Unix timestamp (in seconds) for when the batch expired.", "type": { - "$id": "2787", + "$id": "2855", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2788", + "$id": "2856", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30854,18 +31666,18 @@ "isHttpMetadata": false }, { - "$id": "2789", + "$id": "2857", "kind": "property", "name": "cancelling_at", "serializedName": "cancelling_at", "doc": "The Unix timestamp (in seconds) for when the batch started cancelling.", "type": { - "$id": "2790", + "$id": "2858", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2791", + "$id": "2859", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30888,18 +31700,18 @@ "isHttpMetadata": false }, { - "$id": "2792", + "$id": "2860", "kind": "property", "name": "cancelled_at", "serializedName": "cancelled_at", "doc": "The Unix timestamp (in seconds) for when the batch was cancelled.", "type": { - "$id": "2793", + "$id": "2861", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2794", + "$id": "2862", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30922,13 +31734,13 @@ "isHttpMetadata": false }, { - "$id": "2795", + "$id": "2863", "kind": "property", "name": "request_counts", "serializedName": "request_counts", "doc": "The request counts for different statuses within the batch.", "type": { - "$id": "2796", + "$id": "2864", "kind": "model", "name": "BatchRequestCounts", "namespace": "OpenAI", @@ -30942,13 +31754,13 @@ }, "properties": [ { - "$id": "2797", + "$id": "2865", "kind": "property", "name": "total", "serializedName": "total", "doc": "Total number of requests in the batch.", "type": { - "$id": "2798", + "$id": "2866", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30968,13 +31780,13 @@ "isHttpMetadata": false }, { - "$id": "2799", + "$id": "2867", "kind": "property", "name": "completed", "serializedName": "completed", "doc": "Number of requests that have been completed successfully.", "type": { - "$id": "2800", + "$id": "2868", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -30994,13 +31806,13 @@ "isHttpMetadata": false }, { - "$id": "2801", + "$id": "2869", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "Number of requests that have failed.", "type": { - "$id": "2802", + "$id": "2870", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31035,13 +31847,13 @@ "isHttpMetadata": false }, { - "$id": "2803", + "$id": "2871", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -31059,16 +31871,16 @@ ] }, { - "$ref": "2744" + "$ref": "2812" }, { - "$ref": "2748" + "$ref": "2816" }, { - "$ref": "2796" + "$ref": "2864" }, { - "$id": "2804", + "$id": "2872", "kind": "model", "name": "ListBatchesResponse", "namespace": "OpenAI", @@ -31082,16 +31894,16 @@ }, "properties": [ { - "$id": "2805", + "$id": "2873", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "2806", + "$id": "2874", "kind": "array", "name": "ArrayBatch", "valueType": { - "$ref": "2737" + "$ref": "2805" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -31110,12 +31922,12 @@ "isHttpMetadata": false }, { - "$id": "2807", + "$id": "2875", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "2808", + "$id": "2876", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31135,12 +31947,12 @@ "isHttpMetadata": false }, { - "$id": "2809", + "$id": "2877", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "2810", + "$id": "2878", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31160,12 +31972,12 @@ "isHttpMetadata": false }, { - "$id": "2811", + "$id": "2879", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "2812", + "$id": "2880", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -31185,12 +31997,12 @@ "isHttpMetadata": false }, { - "$id": "2813", + "$id": "2881", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1695" + "$ref": "1759" }, "optional": false, "readOnly": false, @@ -31208,7 +32020,7 @@ ] }, { - "$id": "2814", + "$id": "2882", "kind": "model", "name": "ChatCompletionList", "namespace": "OpenAI", @@ -31228,13 +32040,13 @@ }, "properties": [ { - "$id": "2815", + "$id": "2883", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1697" + "$ref": "1761" }, "optional": false, "readOnly": false, @@ -31250,17 +32062,17 @@ "isHttpMetadata": false }, { - "$id": "2816", + "$id": "2884", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of chat completion objects.", "type": { - "$id": "2817", + "$id": "2885", "kind": "array", "name": "ArrayCreateChatCompletionResponse", "valueType": { - "$id": "2818", + "$id": "2886", "kind": "model", "name": "CreateChatCompletionResponse", "namespace": "OpenAI", @@ -31280,13 +32092,13 @@ }, "properties": [ { - "$id": "2819", + "$id": "2887", "kind": "property", "name": "id", "serializedName": "id", "doc": "A unique identifier for the chat completion.", "type": { - "$id": "2820", + "$id": "2888", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31306,17 +32118,17 @@ "isHttpMetadata": false }, { - "$id": "2821", + "$id": "2889", "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": "2822", + "$id": "2890", "kind": "array", "name": "Array3", "valueType": { - "$id": "2823", + "$id": "2891", "kind": "model", "name": "CreateChatCompletionResponseChoice", "namespace": "OpenAI", @@ -31330,7 +32142,7 @@ }, "properties": [ { - "$id": "2824", + "$id": "2892", "kind": "property", "name": "finish_reason", "serializedName": "finish_reason", @@ -31352,13 +32164,13 @@ "isHttpMetadata": false }, { - "$id": "2825", + "$id": "2893", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index of the choice in the list of choices.", "type": { - "$id": "2826", + "$id": "2894", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31378,12 +32190,12 @@ "isHttpMetadata": false }, { - "$id": "2827", + "$id": "2895", "kind": "property", "name": "message", "serializedName": "message", "type": { - "$id": "2828", + "$id": "2896", "kind": "model", "name": "ChatCompletionResponseMessage", "namespace": "OpenAI", @@ -31403,16 +32215,16 @@ }, "properties": [ { - "$id": "2829", + "$id": "2897", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the message.", "type": { - "$id": "2830", + "$id": "2898", "kind": "nullable", "type": { - "$id": "2831", + "$id": "2899", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31434,16 +32246,16 @@ "isHttpMetadata": false }, { - "$id": "2832", + "$id": "2900", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal message generated by the model.", "type": { - "$id": "2833", + "$id": "2901", "kind": "nullable", "type": { - "$id": "2834", + "$id": "2902", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31465,16 +32277,16 @@ "isHttpMetadata": false }, { - "$id": "2835", + "$id": "2903", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "type": { - "$id": "2836", + "$id": "2904", "kind": "array", "name": "ChatCompletionMessageToolCalls", "valueType": { - "$id": "2837", + "$id": "2905", "kind": "model", "name": "ChatCompletionMessageToolCall", "namespace": "OpenAI", @@ -31493,13 +32305,13 @@ }, "properties": [ { - "$id": "2838", + "$id": "2906", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the tool call.", "type": { - "$id": "2839", + "$id": "2907", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31519,28 +32331,28 @@ "isHttpMetadata": false }, { - "$id": "2840", + "$id": "2908", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the tool. Currently, only `function` is supported.", "type": { - "$id": "2841", + "$id": "2909", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "1545" + "$ref": "1609" }, "enumType": { - "$id": "2842", + "$id": "2910", "kind": "enum", "decorators": [], "name": "ChatToolCallKind", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "2843", + "$id": "2911", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -31549,16 +32361,16 @@ }, "values": [ { - "$id": "2844", + "$id": "2912", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "enumType": { - "$ref": "2842" + "$ref": "2910" }, "valueType": { - "$ref": "2843" + "$ref": "2911" } } ], @@ -31587,13 +32399,13 @@ "isHttpMetadata": false }, { - "$id": "2845", + "$id": "2913", "kind": "property", "name": "function", "serializedName": "function", "doc": "The function that the model called.", "type": { - "$id": "2846", + "$id": "2914", "kind": "model", "name": "ChatCompletionMessageToolCallFunction", "namespace": "OpenAI", @@ -31607,13 +32419,13 @@ }, "properties": [ { - "$id": "2847", + "$id": "2915", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "2848", + "$id": "2916", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31633,13 +32445,13 @@ "isHttpMetadata": false }, { - "$id": "2849", + "$id": "2917", "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": "2850", + "$id": "2918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31697,17 +32509,17 @@ "isHttpMetadata": false }, { - "$id": "2851", + "$id": "2919", "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": "2852", + "$id": "2920", "kind": "array", "name": "Array4", "valueType": { - "$id": "2853", + "$id": "2921", "kind": "model", "name": "ChatCompletionResponseMessageAnnotation", "namespace": "OpenAI", @@ -31721,13 +32533,13 @@ }, "properties": [ { - "$id": "2854", + "$id": "2922", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the URL citation. Always `url_citation`.", "type": { - "$ref": "1699" + "$ref": "1763" }, "optional": false, "readOnly": false, @@ -31743,13 +32555,13 @@ "isHttpMetadata": false }, { - "$id": "2855", + "$id": "2923", "kind": "property", "name": "url_citation", "serializedName": "url_citation", "doc": "A URL citation when using web search.", "type": { - "$id": "2856", + "$id": "2924", "kind": "model", "name": "ChatCompletionResponseMessageAnnotationUrlCitation", "namespace": "OpenAI", @@ -31763,13 +32575,13 @@ }, "properties": [ { - "$id": "2857", + "$id": "2925", "kind": "property", "name": "end_index", "serializedName": "end_index", "doc": "The index of the last character of the URL citation in the message.", "type": { - "$id": "2858", + "$id": "2926", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31789,13 +32601,13 @@ "isHttpMetadata": false }, { - "$id": "2859", + "$id": "2927", "kind": "property", "name": "start_index", "serializedName": "start_index", "doc": "The index of the first character of the URL citation in the message.", "type": { - "$id": "2860", + "$id": "2928", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -31815,13 +32627,13 @@ "isHttpMetadata": false }, { - "$id": "2861", + "$id": "2929", "kind": "property", "name": "url", "serializedName": "url", "doc": "The URL of the web resource.", "type": { - "$id": "2862", + "$id": "2930", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -31841,13 +32653,13 @@ "isHttpMetadata": false }, { - "$id": "2863", + "$id": "2931", "kind": "property", "name": "title", "serializedName": "title", "doc": "The title of the web resource.", "type": { - "$id": "2864", + "$id": "2932", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -31900,13 +32712,13 @@ "isHttpMetadata": false }, { - "$id": "2865", + "$id": "2933", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the author of this message.", "type": { - "$id": "2866", + "$id": "2934", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -31914,7 +32726,7 @@ "$ref": "96" }, "enumType": { - "$id": "2867", + "$id": "2935", "kind": "enum", "decorators": [], "doc": "The role of the author of a message", @@ -31922,7 +32734,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "2868", + "$id": "2936", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -31931,81 +32743,81 @@ }, "values": [ { - "$id": "2869", + "$id": "2937", "kind": "enumvalue", "decorators": [], "name": "system", "value": "system", "enumType": { - "$ref": "2867" + "$ref": "2935" }, "valueType": { - "$ref": "2868" + "$ref": "2936" } }, { - "$id": "2870", + "$id": "2938", "kind": "enumvalue", "decorators": [], "name": "developer", "value": "developer", "enumType": { - "$ref": "2867" + "$ref": "2935" }, "valueType": { - "$ref": "2868" + "$ref": "2936" } }, { - "$id": "2871", + "$id": "2939", "kind": "enumvalue", "decorators": [], "name": "user", "value": "user", "enumType": { - "$ref": "2867" + "$ref": "2935" }, "valueType": { - "$ref": "2868" + "$ref": "2936" } }, { - "$id": "2872", + "$id": "2940", "kind": "enumvalue", "decorators": [], "name": "assistant", "value": "assistant", "enumType": { - "$ref": "2867" + "$ref": "2935" }, "valueType": { - "$ref": "2868" + "$ref": "2936" } }, { - "$id": "2873", + "$id": "2941", "kind": "enumvalue", "decorators": [], "name": "tool", "value": "tool", "enumType": { - "$ref": "2867" + "$ref": "2935" }, "valueType": { - "$ref": "2868" + "$ref": "2936" } }, { - "$id": "2874", + "$id": "2942", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "enumType": { - "$ref": "2867" + "$ref": "2935" }, "valueType": { - "$ref": "2868" + "$ref": "2936" } } ], @@ -32034,13 +32846,13 @@ "isHttpMetadata": false }, { - "$id": "2875", + "$id": "2943", "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": "2876", + "$id": "2944", "kind": "model", "name": "ChatCompletionResponseMessageFunctionCall", "namespace": "OpenAI", @@ -32054,12 +32866,12 @@ }, "properties": [ { - "$id": "2877", + "$id": "2945", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "2878", + "$id": "2946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32079,12 +32891,12 @@ "isHttpMetadata": false }, { - "$id": "2879", + "$id": "2947", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "2880", + "$id": "2948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32119,16 +32931,16 @@ "isHttpMetadata": false }, { - "$id": "2881", + "$id": "2949", "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": "2882", + "$id": "2950", "kind": "nullable", "type": { - "$id": "2883", + "$id": "2951", "kind": "model", "name": "ChatCompletionResponseMessageAudio1", "namespace": "OpenAI", @@ -32142,13 +32954,13 @@ }, "properties": [ { - "$id": "2884", + "$id": "2952", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for this audio response.", "type": { - "$id": "2885", + "$id": "2953", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32168,18 +32980,18 @@ "isHttpMetadata": false }, { - "$id": "2886", + "$id": "2954", "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": "2887", + "$id": "2955", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2888", + "$id": "2956", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32202,13 +33014,13 @@ "isHttpMetadata": false }, { - "$id": "2889", + "$id": "2957", "kind": "property", "name": "data", "serializedName": "data", "doc": "Base64 encoded audio bytes generated by the model, in the format\nspecified in the request.", "type": { - "$id": "2890", + "$id": "2958", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -32229,13 +33041,13 @@ "isHttpMetadata": false }, { - "$id": "2891", + "$id": "2959", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "Transcript of the audio generated by the model.", "type": { - "$id": "2892", + "$id": "2960", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32287,16 +33099,16 @@ "isHttpMetadata": false }, { - "$id": "2893", + "$id": "2961", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "Log probability information for the choice.", "type": { - "$id": "2894", + "$id": "2962", "kind": "nullable", "type": { - "$id": "2895", + "$id": "2963", "kind": "model", "name": "CreateChatCompletionResponseChoiceLogprobs1", "namespace": "OpenAI", @@ -32310,20 +33122,20 @@ }, "properties": [ { - "$id": "2896", + "$id": "2964", "kind": "property", "name": "content", "serializedName": "content", "doc": "A list of message content tokens with log probability information.", "type": { - "$id": "2897", + "$id": "2965", "kind": "nullable", "type": { - "$id": "2898", + "$id": "2966", "kind": "array", "name": "ArrayChatCompletionTokenLogprob", "valueType": { - "$id": "2899", + "$id": "2967", "kind": "model", "name": "ChatCompletionTokenLogprob", "namespace": "OpenAI", @@ -32342,13 +33154,13 @@ }, "properties": [ { - "$id": "2900", + "$id": "2968", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token.", "type": { - "$id": "2901", + "$id": "2969", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32368,13 +33180,13 @@ "isHttpMetadata": false }, { - "$id": "2902", + "$id": "2970", "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": "2903", + "$id": "2971", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -32394,20 +33206,20 @@ "isHttpMetadata": false }, { - "$id": "2904", + "$id": "2972", "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": "2905", + "$id": "2973", "kind": "nullable", "type": { - "$id": "2906", + "$id": "2974", "kind": "array", "name": "Array5", "valueType": { - "$id": "2907", + "$id": "2975", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32432,17 +33244,17 @@ "isHttpMetadata": false }, { - "$id": "2908", + "$id": "2976", "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": "2909", + "$id": "2977", "kind": "array", "name": "Array6", "valueType": { - "$id": "2910", + "$id": "2978", "kind": "model", "name": "ChatCompletionTokenLogprobTopLogprob", "namespace": "OpenAI", @@ -32456,13 +33268,13 @@ }, "properties": [ { - "$id": "2911", + "$id": "2979", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token.", "type": { - "$id": "2912", + "$id": "2980", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32482,13 +33294,13 @@ "isHttpMetadata": false }, { - "$id": "2913", + "$id": "2981", "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": "2914", + "$id": "2982", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -32508,16 +33320,16 @@ "isHttpMetadata": false }, { - "$id": "2915", + "$id": "2983", "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": "2916", + "$id": "2984", "kind": "nullable", "type": { - "$ref": "2906" + "$ref": "2974" }, "namespace": "OpenAI" }, @@ -32573,16 +33385,16 @@ "isHttpMetadata": false }, { - "$id": "2917", + "$id": "2985", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "A list of message refusal tokens with log probability information.", "type": { - "$id": "2918", + "$id": "2986", "kind": "nullable", "type": { - "$ref": "2898" + "$ref": "2966" }, "namespace": "OpenAI" }, @@ -32635,18 +33447,18 @@ "isHttpMetadata": false }, { - "$id": "2919", + "$id": "2987", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) of when the chat completion was created.", "type": { - "$id": "2920", + "$id": "2988", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "2921", + "$id": "2989", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32669,13 +33481,13 @@ "isHttpMetadata": false }, { - "$id": "2922", + "$id": "2990", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used for the chat completion.", "type": { - "$id": "2923", + "$id": "2991", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32695,7 +33507,7 @@ "isHttpMetadata": false }, { - "$id": "2924", + "$id": "2992", "kind": "property", "name": "service_tier", "serializedName": "service_tier", @@ -32716,13 +33528,13 @@ "isHttpMetadata": false }, { - "$id": "2925", + "$id": "2993", "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": "2926", + "$id": "2994", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -32742,13 +33554,13 @@ "isHttpMetadata": false }, { - "$id": "2927", + "$id": "2995", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `chat.completion`.", "type": { - "$ref": "1701" + "$ref": "1765" }, "optional": false, "readOnly": false, @@ -32764,12 +33576,12 @@ "isHttpMetadata": false }, { - "$id": "2928", + "$id": "2996", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "2929", + "$id": "2997", "kind": "model", "name": "CompletionUsage", "namespace": "OpenAI", @@ -32784,13 +33596,13 @@ }, "properties": [ { - "$id": "2930", + "$id": "2998", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "Number of tokens in the generated completion.", "type": { - "$id": "2931", + "$id": "2999", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32810,13 +33622,13 @@ "isHttpMetadata": false }, { - "$id": "2932", + "$id": "3000", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "Number of tokens in the prompt.", "type": { - "$id": "2933", + "$id": "3001", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32836,13 +33648,13 @@ "isHttpMetadata": false }, { - "$id": "2934", + "$id": "3002", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used in the request (prompt + completion).", "type": { - "$id": "2935", + "$id": "3003", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32862,13 +33674,13 @@ "isHttpMetadata": false }, { - "$id": "2936", + "$id": "3004", "kind": "property", "name": "completion_tokens_details", "serializedName": "completion_tokens_details", "doc": "Breakdown of tokens used in a completion.", "type": { - "$id": "2937", + "$id": "3005", "kind": "model", "name": "CompletionUsageCompletionTokensDetails", "namespace": "OpenAI", @@ -32882,13 +33694,13 @@ }, "properties": [ { - "$id": "2938", + "$id": "3006", "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": "2939", + "$id": "3007", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32908,13 +33720,13 @@ "isHttpMetadata": false }, { - "$id": "2940", + "$id": "3008", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "Audio input tokens generated by the model.", "type": { - "$id": "2941", + "$id": "3009", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32934,13 +33746,13 @@ "isHttpMetadata": false }, { - "$id": "2942", + "$id": "3010", "kind": "property", "name": "reasoning_tokens", "serializedName": "reasoning_tokens", "doc": "Tokens generated by the model for reasoning.", "type": { - "$id": "2943", + "$id": "3011", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -32960,13 +33772,13 @@ "isHttpMetadata": false }, { - "$id": "2944", + "$id": "3012", "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": "2945", + "$id": "3013", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33001,13 +33813,13 @@ "isHttpMetadata": false }, { - "$id": "2946", + "$id": "3014", "kind": "property", "name": "prompt_tokens_details", "serializedName": "prompt_tokens_details", "doc": "Breakdown of tokens used in the prompt.", "type": { - "$id": "2947", + "$id": "3015", "kind": "model", "name": "CompletionUsagePromptTokensDetails", "namespace": "OpenAI", @@ -33021,13 +33833,13 @@ }, "properties": [ { - "$id": "2948", + "$id": "3016", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "Audio input tokens present in the prompt.", "type": { - "$id": "2949", + "$id": "3017", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33047,13 +33859,13 @@ "isHttpMetadata": false }, { - "$id": "2950", + "$id": "3018", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "Cached tokens present in the prompt.", "type": { - "$id": "2951", + "$id": "3019", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33121,13 +33933,13 @@ "isHttpMetadata": false }, { - "$id": "2952", + "$id": "3020", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first chat completion in the data array.", "type": { - "$id": "2953", + "$id": "3021", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33147,13 +33959,13 @@ "isHttpMetadata": false }, { - "$id": "2954", + "$id": "3022", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last chat completion in the data array.", "type": { - "$id": "2955", + "$id": "3023", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33173,13 +33985,13 @@ "isHttpMetadata": false }, { - "$id": "2956", + "$id": "3024", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more Chat Completions available.", "type": { - "$id": "2957", + "$id": "3025", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -33201,52 +34013,52 @@ ] }, { - "$ref": "2818" + "$ref": "2886" }, { - "$ref": "2823" + "$ref": "2891" }, { - "$ref": "2828" + "$ref": "2896" }, { - "$ref": "2837" + "$ref": "2905" }, { - "$ref": "2846" + "$ref": "2914" }, { - "$ref": "2853" + "$ref": "2921" }, { - "$ref": "2856" + "$ref": "2924" }, { - "$ref": "2876" + "$ref": "2944" }, { - "$ref": "2883" + "$ref": "2951" }, { - "$ref": "2895" + "$ref": "2963" }, { - "$ref": "2899" + "$ref": "2967" }, { - "$ref": "2910" + "$ref": "2978" }, { - "$ref": "2929" + "$ref": "2997" }, { - "$ref": "2937" + "$ref": "3005" }, { - "$ref": "2947" + "$ref": "3015" }, { - "$id": "2958", + "$id": "3026", "kind": "model", "name": "CreateChatCompletionRequest", "namespace": "OpenAI", @@ -33265,13 +34077,13 @@ }, "properties": [ { - "$id": "2959", + "$id": "3027", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -33287,16 +34099,16 @@ "isHttpMetadata": false }, { - "$id": "2960", + "$id": "3028", "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": "2961", + "$id": "3029", "kind": "nullable", "type": { - "$id": "2962", + "$id": "3030", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -33318,16 +34130,16 @@ "isHttpMetadata": false }, { - "$id": "2963", + "$id": "3031", "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": "2964", + "$id": "3032", "kind": "nullable", "type": { - "$id": "2965", + "$id": "3033", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -33349,16 +34161,16 @@ "isHttpMetadata": false }, { - "$id": "2966", + "$id": "3034", "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": "2967", + "$id": "3035", "kind": "nullable", "type": { - "$id": "2968", + "$id": "3036", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -33380,13 +34192,13 @@ "isHttpMetadata": false }, { - "$id": "2969", + "$id": "3037", "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": "2970", + "$id": "3038", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33406,13 +34218,13 @@ "isHttpMetadata": false }, { - "$id": "2971", + "$id": "3039", "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": "2972", + "$id": "3040", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33432,7 +34244,7 @@ "isHttpMetadata": false }, { - "$id": "2973", + "$id": "3041", "kind": "property", "name": "service_tier", "serializedName": "service_tier", @@ -33453,17 +34265,17 @@ "isHttpMetadata": false }, { - "$id": "2974", + "$id": "3042", "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": "2975", + "$id": "3043", "kind": "array", "name": "ArrayChatCompletionRequestMessage", "valueType": { - "$id": "2976", + "$id": "3044", "kind": "model", "name": "ChatCompletionRequestMessage", "namespace": "OpenAI", @@ -33481,7 +34293,7 @@ } }, "discriminatorProperty": { - "$id": "2977", + "$id": "3045", "kind": "property", "name": "role", "serializedName": "role", @@ -33504,35 +34316,35 @@ }, "properties": [ { - "$ref": "2977" + "$ref": "3045" }, { - "$id": "2978", + "$id": "3046", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message. Valid content part types vary per message role.", "type": { - "$id": "2979", + "$id": "3047", "kind": "nullable", "type": { - "$id": "2980", + "$id": "3048", "kind": "union", "name": "ChatCompletionRequestMessageContent", "variantTypes": [ { - "$id": "2981", + "$id": "3049", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "2982", + "$id": "3050", "kind": "array", "name": "ArrayChatCompletionRequestMessageContentPart", "valueType": { - "$id": "2983", + "$id": "3051", "kind": "model", "name": "ChatCompletionRequestMessageContentPart", "namespace": "OpenAI", @@ -33550,7 +34362,7 @@ } }, "discriminatorProperty": { - "$id": "2984", + "$id": "3052", "kind": "property", "name": "type", "serializedName": "type", @@ -33572,12 +34384,12 @@ }, "properties": [ { - "$ref": "2984" + "$ref": "3052" } ], "discriminatedSubtypes": { "text": { - "$id": "2985", + "$id": "3053", "kind": "model", "name": "ChatCompletionRequestMessageContentPartText", "namespace": "OpenAI", @@ -33597,17 +34409,17 @@ } }, "baseModel": { - "$ref": "2983" + "$ref": "3051" }, "properties": [ { - "$id": "2986", + "$id": "3054", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part.", "type": { - "$id": "2987", + "$id": "3055", "kind": "enumvalue", "name": "text", "value": "text", @@ -33615,14 +34427,14 @@ "$ref": "104" }, "enumType": { - "$id": "2988", + "$id": "3056", "kind": "enum", "decorators": [], "name": "ChatCompletionRequestMessageContentPartType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "2989", + "$id": "3057", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -33631,68 +34443,68 @@ }, "values": [ { - "$id": "2990", + "$id": "3058", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "2989" + "$ref": "3057" }, "enumType": { - "$ref": "2988" + "$ref": "3056" } }, { - "$id": "2991", + "$id": "3059", "kind": "enumvalue", "decorators": [], "name": "file", "value": "file", "valueType": { - "$ref": "2989" + "$ref": "3057" }, "enumType": { - "$ref": "2988" + "$ref": "3056" } }, { - "$id": "2992", + "$id": "3060", "kind": "enumvalue", "decorators": [], "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "2989" + "$ref": "3057" }, "enumType": { - "$ref": "2988" + "$ref": "3056" } }, { - "$id": "2993", + "$id": "3061", "kind": "enumvalue", "decorators": [], "name": "image_url", "value": "image_url", "valueType": { - "$ref": "2989" + "$ref": "3057" }, "enumType": { - "$ref": "2988" + "$ref": "3056" } }, { - "$id": "2994", + "$id": "3062", "kind": "enumvalue", "decorators": [], "name": "refusal", "value": "refusal", "valueType": { - "$ref": "2989" + "$ref": "3057" }, "enumType": { - "$ref": "2988" + "$ref": "3056" } } ], @@ -33721,13 +34533,13 @@ "isHttpMetadata": false }, { - "$id": "2995", + "$id": "3063", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content.", "type": { - "$id": "2996", + "$id": "3064", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33749,7 +34561,7 @@ ] }, "image_url": { - "$id": "2997", + "$id": "3065", "kind": "model", "name": "ChatCompletionRequestMessageContentPartImage", "namespace": "OpenAI", @@ -33769,17 +34581,17 @@ } }, "baseModel": { - "$ref": "2983" + "$ref": "3051" }, "properties": [ { - "$id": "2998", + "$id": "3066", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part.", "type": { - "$id": "2999", + "$id": "3067", "kind": "enumvalue", "name": "image_url", "value": "image_url", @@ -33787,7 +34599,7 @@ "$ref": "104" }, "enumType": { - "$ref": "2988" + "$ref": "3056" }, "decorators": [] }, @@ -33805,12 +34617,12 @@ "isHttpMetadata": false }, { - "$id": "3000", + "$id": "3068", "kind": "property", "name": "image_url", "serializedName": "image_url", "type": { - "$id": "3001", + "$id": "3069", "kind": "model", "name": "ChatCompletionRequestMessageContentPartImageImageUrl", "namespace": "OpenAI", @@ -33824,13 +34636,13 @@ }, "properties": [ { - "$id": "3002", + "$id": "3070", "kind": "property", "name": "url", "serializedName": "url", "doc": "Either a URL of the image or the base64 encoded image data.", "type": { - "$id": "3003", + "$id": "3071", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -33850,7 +34662,7 @@ "isHttpMetadata": false }, { - "$id": "3004", + "$id": "3072", "kind": "property", "name": "detail", "serializedName": "detail", @@ -33889,7 +34701,7 @@ ] }, "refusal": { - "$id": "3005", + "$id": "3073", "kind": "model", "name": "ChatCompletionRequestMessageContentPartRefusal", "namespace": "OpenAI", @@ -33908,17 +34720,17 @@ } }, "baseModel": { - "$ref": "2983" + "$ref": "3051" }, "properties": [ { - "$id": "3006", + "$id": "3074", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part.", "type": { - "$id": "3007", + "$id": "3075", "kind": "enumvalue", "name": "refusal", "value": "refusal", @@ -33926,7 +34738,7 @@ "$ref": "104" }, "enumType": { - "$ref": "2988" + "$ref": "3056" }, "decorators": [] }, @@ -33944,13 +34756,13 @@ "isHttpMetadata": false }, { - "$id": "3008", + "$id": "3076", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal message generated by the model.", "type": { - "$id": "3009", + "$id": "3077", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -33972,7 +34784,7 @@ ] }, "file": { - "$id": "3010", + "$id": "3078", "kind": "model", "name": "ChatCompletionRequestMessageContentPartFile", "namespace": "OpenAI", @@ -33992,17 +34804,17 @@ } }, "baseModel": { - "$ref": "2983" + "$ref": "3051" }, "properties": [ { - "$id": "3011", + "$id": "3079", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part. Always `file`.", "type": { - "$id": "3012", + "$id": "3080", "kind": "enumvalue", "name": "file", "value": "file", @@ -34010,7 +34822,7 @@ "$ref": "104" }, "enumType": { - "$ref": "2988" + "$ref": "3056" }, "decorators": [] }, @@ -34028,12 +34840,12 @@ "isHttpMetadata": false }, { - "$id": "3013", + "$id": "3081", "kind": "property", "name": "file", "serializedName": "file", "type": { - "$id": "3014", + "$id": "3082", "kind": "model", "name": "ChatCompletionRequestMessageContentPartFileFile", "namespace": "OpenAI", @@ -34047,13 +34859,13 @@ }, "properties": [ { - "$id": "3015", + "$id": "3083", "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": "3016", + "$id": "3084", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34073,13 +34885,13 @@ "isHttpMetadata": false }, { - "$id": "3017", + "$id": "3085", "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": "3018", + "$id": "3086", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34099,13 +34911,13 @@ "isHttpMetadata": false }, { - "$id": "3019", + "$id": "3087", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of an uploaded file to use as input.", "type": { - "$id": "3020", + "$id": "3088", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34142,7 +34954,7 @@ ] }, "input_audio": { - "$id": "3021", + "$id": "3089", "kind": "model", "name": "ChatCompletionRequestMessageContentPartAudio", "namespace": "OpenAI", @@ -34162,17 +34974,17 @@ } }, "baseModel": { - "$ref": "2983" + "$ref": "3051" }, "properties": [ { - "$id": "3022", + "$id": "3090", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part. Always `input_audio`.", "type": { - "$id": "3023", + "$id": "3091", "kind": "enumvalue", "name": "input_audio", "value": "input_audio", @@ -34180,7 +34992,7 @@ "$ref": "104" }, "enumType": { - "$ref": "2988" + "$ref": "3056" }, "decorators": [] }, @@ -34198,12 +35010,12 @@ "isHttpMetadata": false }, { - "$id": "3024", + "$id": "3092", "kind": "property", "name": "input_audio", "serializedName": "input_audio", "type": { - "$id": "3025", + "$id": "3093", "kind": "model", "name": "ChatCompletionRequestMessageContentPartAudioInputAudio", "namespace": "OpenAI", @@ -34217,13 +35029,13 @@ }, "properties": [ { - "$id": "3026", + "$id": "3094", "kind": "property", "name": "data", "serializedName": "data", "doc": "Base64 encoded audio data.", "type": { - "$id": "3027", + "$id": "3095", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -34244,7 +35056,7 @@ "isHttpMetadata": false }, { - "$id": "3028", + "$id": "3096", "kind": "property", "name": "format", "serializedName": "format", @@ -34309,7 +35121,7 @@ ], "discriminatedSubtypes": { "system": { - "$id": "3029", + "$id": "3097", "kind": "model", "name": "ChatCompletionRequestSystemMessage", "namespace": "OpenAI", @@ -34329,38 +35141,38 @@ } }, "baseModel": { - "$ref": "2976" + "$ref": "3044" }, "properties": [ { - "$id": "3030", + "$id": "3098", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the system message.", "type": { - "$id": "3031", + "$id": "3099", "kind": "union", "name": "ChatCompletionRequestSystemMessageContent", "variantTypes": [ { - "$id": "3032", + "$id": "3100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3033", + "$id": "3101", "kind": "array", "name": "ArrayChatCompletionRequestSystemMessageContentPart", "valueType": { - "$id": "3034", + "$id": "3102", "kind": "union", "name": "ChatCompletionRequestSystemMessageContentPart", "variantTypes": [ { - "$ref": "2985" + "$ref": "3053" } ], "namespace": "OpenAI", @@ -34387,13 +35199,13 @@ "isHttpMetadata": false }, { - "$id": "3035", + "$id": "3103", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `system`.", "type": { - "$id": "3036", + "$id": "3104", "kind": "enumvalue", "name": "system", "value": "system", @@ -34401,7 +35213,7 @@ "$ref": "96" }, "enumType": { - "$ref": "2867" + "$ref": "2935" }, "decorators": [] }, @@ -34419,13 +35231,13 @@ "isHttpMetadata": false }, { - "$id": "3037", + "$id": "3105", "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": "3038", + "$id": "3106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34447,7 +35259,7 @@ ] }, "developer": { - "$id": "3039", + "$id": "3107", "kind": "model", "name": "ChatCompletionRequestDeveloperMessage", "namespace": "OpenAI", @@ -34467,33 +35279,33 @@ } }, "baseModel": { - "$ref": "2976" + "$ref": "3044" }, "properties": [ { - "$id": "3040", + "$id": "3108", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the developer message.", "type": { - "$id": "3041", + "$id": "3109", "kind": "union", "name": "ChatCompletionRequestDeveloperMessageContent", "variantTypes": [ { - "$id": "3042", + "$id": "3110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3043", + "$id": "3111", "kind": "array", "name": "ArrayChatCompletionRequestMessageContentPartText", "valueType": { - "$ref": "2985" + "$ref": "3053" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -34516,13 +35328,13 @@ "isHttpMetadata": false }, { - "$id": "3044", + "$id": "3112", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `developer`.", "type": { - "$id": "3045", + "$id": "3113", "kind": "enumvalue", "name": "developer", "value": "developer", @@ -34530,7 +35342,7 @@ "$ref": "96" }, "enumType": { - "$ref": "2867" + "$ref": "2935" }, "decorators": [] }, @@ -34548,13 +35360,13 @@ "isHttpMetadata": false }, { - "$id": "3046", + "$id": "3114", "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": "3047", + "$id": "3115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34576,7 +35388,7 @@ ] }, "user": { - "$id": "3048", + "$id": "3116", "kind": "model", "name": "ChatCompletionRequestUserMessage", "namespace": "OpenAI", @@ -34596,47 +35408,47 @@ } }, "baseModel": { - "$ref": "2976" + "$ref": "3044" }, "properties": [ { - "$id": "3049", + "$id": "3117", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the user message.", "type": { - "$id": "3050", + "$id": "3118", "kind": "union", "name": "ChatCompletionRequestUserMessageContent", "variantTypes": [ { - "$id": "3051", + "$id": "3119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3052", + "$id": "3120", "kind": "array", "name": "ArrayChatCompletionRequestUserMessageContentPart", "valueType": { - "$id": "3053", + "$id": "3121", "kind": "union", "name": "ChatCompletionRequestUserMessageContentPart", "variantTypes": [ { - "$ref": "2985" + "$ref": "3053" }, { - "$ref": "2997" + "$ref": "3065" }, { - "$ref": "3021" + "$ref": "3089" }, { - "$ref": "3010" + "$ref": "3078" } ], "namespace": "OpenAI", @@ -34663,13 +35475,13 @@ "isHttpMetadata": false }, { - "$id": "3054", + "$id": "3122", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `user`.", "type": { - "$id": "3055", + "$id": "3123", "kind": "enumvalue", "name": "user", "value": "user", @@ -34677,7 +35489,7 @@ "$ref": "96" }, "enumType": { - "$ref": "2867" + "$ref": "2935" }, "decorators": [] }, @@ -34695,13 +35507,13 @@ "isHttpMetadata": false }, { - "$id": "3056", + "$id": "3124", "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": "3057", + "$id": "3125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34723,7 +35535,7 @@ ] }, "assistant": { - "$id": "3058", + "$id": "3126", "kind": "model", "name": "ChatCompletionRequestAssistantMessage", "namespace": "OpenAI", @@ -34743,44 +35555,44 @@ } }, "baseModel": { - "$ref": "2976" + "$ref": "3044" }, "properties": [ { - "$id": "3059", + "$id": "3127", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.", "type": { - "$id": "3060", + "$id": "3128", "kind": "nullable", "type": { - "$id": "3061", + "$id": "3129", "kind": "union", "name": "ChatCompletionRequestAssistantMessageContent", "variantTypes": [ { - "$id": "3062", + "$id": "3130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3063", + "$id": "3131", "kind": "array", "name": "ArrayChatCompletionRequestAssistantMessageContentPart", "valueType": { - "$id": "3064", + "$id": "3132", "kind": "union", "name": "ChatCompletionRequestAssistantMessageContentPart", "variantTypes": [ { - "$ref": "2985" + "$ref": "3053" }, { - "$ref": "3005" + "$ref": "3073" } ], "namespace": "OpenAI", @@ -34809,16 +35621,16 @@ "isHttpMetadata": false }, { - "$id": "3065", + "$id": "3133", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal message by the assistant.", "type": { - "$id": "3066", + "$id": "3134", "kind": "nullable", "type": { - "$id": "3067", + "$id": "3135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34840,13 +35652,13 @@ "isHttpMetadata": false }, { - "$id": "3068", + "$id": "3136", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `assistant`.", "type": { - "$id": "3069", + "$id": "3137", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -34854,7 +35666,7 @@ "$ref": "96" }, "enumType": { - "$ref": "2867" + "$ref": "2935" }, "decorators": [] }, @@ -34872,13 +35684,13 @@ "isHttpMetadata": false }, { - "$id": "3070", + "$id": "3138", "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": "3071", + "$id": "3139", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34898,16 +35710,16 @@ "isHttpMetadata": false }, { - "$id": "3072", + "$id": "3140", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Data about a previous audio response from the model.\n[Learn more](/docs/guides/audio).", "type": { - "$id": "3073", + "$id": "3141", "kind": "nullable", "type": { - "$id": "3074", + "$id": "3142", "kind": "model", "name": "ChatCompletionRequestAssistantMessageAudio1", "namespace": "OpenAI", @@ -34921,13 +35733,13 @@ }, "properties": [ { - "$id": "3075", + "$id": "3143", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for a previous audio response from the model.", "type": { - "$id": "3076", + "$id": "3144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -34964,12 +35776,12 @@ "isHttpMetadata": false }, { - "$id": "3077", + "$id": "3145", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "type": { - "$ref": "2836" + "$ref": "2904" }, "optional": true, "readOnly": false, @@ -34985,16 +35797,16 @@ "isHttpMetadata": false }, { - "$id": "3078", + "$id": "3146", "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": "3079", + "$id": "3147", "kind": "nullable", "type": { - "$id": "3080", + "$id": "3148", "kind": "model", "name": "ChatCompletionRequestAssistantMessageFunctionCall1", "namespace": "OpenAI", @@ -35008,12 +35820,12 @@ }, "properties": [ { - "$id": "3081", + "$id": "3149", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "3082", + "$id": "3150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35033,12 +35845,12 @@ "isHttpMetadata": false }, { - "$id": "3083", + "$id": "3151", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "3084", + "$id": "3152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35077,7 +35889,7 @@ ] }, "tool": { - "$id": "3085", + "$id": "3153", "kind": "model", "name": "ChatCompletionRequestToolMessage", "namespace": "OpenAI", @@ -35096,17 +35908,17 @@ } }, "baseModel": { - "$ref": "2976" + "$ref": "3044" }, "properties": [ { - "$id": "3086", + "$id": "3154", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `tool`.", "type": { - "$id": "3087", + "$id": "3155", "kind": "enumvalue", "name": "tool", "value": "tool", @@ -35114,7 +35926,7 @@ "$ref": "96" }, "enumType": { - "$ref": "2867" + "$ref": "2935" }, "decorators": [] }, @@ -35132,34 +35944,34 @@ "isHttpMetadata": false }, { - "$id": "3088", + "$id": "3156", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the tool message.", "type": { - "$id": "3089", + "$id": "3157", "kind": "union", "name": "ChatCompletionRequestToolMessageContent", "variantTypes": [ { - "$id": "3090", + "$id": "3158", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3091", + "$id": "3159", "kind": "array", "name": "ArrayChatCompletionRequestToolMessageContentPart", "valueType": { - "$id": "3092", + "$id": "3160", "kind": "union", "name": "ChatCompletionRequestToolMessageContentPart", "variantTypes": [ { - "$ref": "2985" + "$ref": "3053" } ], "namespace": "OpenAI", @@ -35186,13 +35998,13 @@ "isHttpMetadata": false }, { - "$id": "3093", + "$id": "3161", "kind": "property", "name": "tool_call_id", "serializedName": "tool_call_id", "doc": "Tool call that this message is responding to.", "type": { - "$id": "3094", + "$id": "3162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35214,7 +36026,7 @@ ] }, "function": { - "$id": "3095", + "$id": "3163", "kind": "model", "name": "ChatCompletionRequestFunctionMessage", "namespace": "OpenAI", @@ -35234,17 +36046,17 @@ } }, "baseModel": { - "$ref": "2976" + "$ref": "3044" }, "properties": [ { - "$id": "3096", + "$id": "3164", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the messages author, in this case `function`.", "type": { - "$id": "3097", + "$id": "3165", "kind": "enumvalue", "name": "function", "value": "function", @@ -35252,7 +36064,7 @@ "$ref": "96" }, "enumType": { - "$ref": "2867" + "$ref": "2935" }, "decorators": [] }, @@ -35270,16 +36082,16 @@ "isHttpMetadata": false }, { - "$id": "3098", + "$id": "3166", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the function message.", "type": { - "$id": "3099", + "$id": "3167", "kind": "nullable", "type": { - "$id": "3100", + "$id": "3168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35301,13 +36113,13 @@ "isHttpMetadata": false }, { - "$id": "3101", + "$id": "3169", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "3102", + "$id": "3170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35347,7 +36159,7 @@ "isHttpMetadata": false }, { - "$id": "3103", + "$id": "3171", "kind": "property", "name": "model", "serializedName": "model", @@ -35369,15 +36181,15 @@ "isHttpMetadata": false }, { - "$id": "3104", + "$id": "3172", "kind": "property", "name": "modalities", "serializedName": "modalities", "type": { - "$id": "3105", + "$id": "3173", "kind": "nullable", "type": { - "$id": "3106", + "$id": "3174", "kind": "array", "name": "ResponseModalities", "valueType": { @@ -35402,12 +36214,12 @@ "isHttpMetadata": false }, { - "$id": "3107", + "$id": "3175", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "3108", + "$id": "3176", "kind": "nullable", "type": { "$ref": "53" @@ -35428,16 +36240,16 @@ "isHttpMetadata": false }, { - "$id": "3109", + "$id": "3177", "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": "3110", + "$id": "3178", "kind": "nullable", "type": { - "$id": "3111", + "$id": "3179", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -35459,16 +36271,16 @@ "isHttpMetadata": false }, { - "$id": "3112", + "$id": "3180", "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": "3113", + "$id": "3181", "kind": "nullable", "type": { - "$id": "3114", + "$id": "3182", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -35490,16 +36302,16 @@ "isHttpMetadata": false }, { - "$id": "3115", + "$id": "3183", "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": "3116", + "$id": "3184", "kind": "nullable", "type": { - "$id": "3117", + "$id": "3185", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -35521,13 +36333,13 @@ "isHttpMetadata": false }, { - "$id": "3118", + "$id": "3186", "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": "3119", + "$id": "3187", "kind": "model", "name": "CreateChatCompletionRequestWebSearchOptions", "namespace": "OpenAI", @@ -35541,16 +36353,16 @@ }, "properties": [ { - "$id": "3120", + "$id": "3188", "kind": "property", "name": "user_location", "serializedName": "user_location", "doc": "Approximate location parameters for the search.", "type": { - "$id": "3121", + "$id": "3189", "kind": "nullable", "type": { - "$id": "3122", + "$id": "3190", "kind": "model", "name": "CreateChatCompletionRequestWebSearchOptionsUserLocation1", "namespace": "OpenAI", @@ -35564,13 +36376,13 @@ }, "properties": [ { - "$id": "3123", + "$id": "3191", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of location approximation. Always `approximate`.", "type": { - "$ref": "1703" + "$ref": "1767" }, "optional": false, "readOnly": false, @@ -35586,12 +36398,12 @@ "isHttpMetadata": false }, { - "$id": "3124", + "$id": "3192", "kind": "property", "name": "approximate", "serializedName": "approximate", "type": { - "$id": "3125", + "$id": "3193", "kind": "model", "name": "WebSearchLocation", "namespace": "OpenAI", @@ -35606,13 +36418,13 @@ }, "properties": [ { - "$id": "3126", + "$id": "3194", "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": "3127", + "$id": "3195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35632,13 +36444,13 @@ "isHttpMetadata": false }, { - "$id": "3128", + "$id": "3196", "kind": "property", "name": "region", "serializedName": "region", "doc": "Free text input for the region of the user, e.g. `California`.", "type": { - "$id": "3129", + "$id": "3197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35658,13 +36470,13 @@ "isHttpMetadata": false }, { - "$id": "3130", + "$id": "3198", "kind": "property", "name": "city", "serializedName": "city", "doc": "Free text input for the city of the user, e.g. `San Francisco`.", "type": { - "$id": "3131", + "$id": "3199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35684,13 +36496,13 @@ "isHttpMetadata": false }, { - "$id": "3132", + "$id": "3200", "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": "3133", + "$id": "3201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -35742,7 +36554,7 @@ "isHttpMetadata": false }, { - "$id": "3134", + "$id": "3202", "kind": "property", "name": "search_context_size", "serializedName": "search_context_size", @@ -35778,13 +36590,13 @@ "isHttpMetadata": false }, { - "$id": "3135", + "$id": "3203", "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": "2593" + "$ref": "2661" }, "optional": true, "readOnly": false, @@ -35800,16 +36612,16 @@ "isHttpMetadata": false }, { - "$id": "3136", + "$id": "3204", "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": "3137", + "$id": "3205", "kind": "nullable", "type": { - "$id": "3138", + "$id": "3206", "kind": "model", "name": "CreateChatCompletionRequestAudio1", "namespace": "OpenAI", @@ -35823,7 +36635,7 @@ }, "properties": [ { - "$id": "3139", + "$id": "3207", "kind": "property", "name": "voice", "serializedName": "voice", @@ -35845,7 +36657,7 @@ "isHttpMetadata": false }, { - "$id": "3140", + "$id": "3208", "kind": "property", "name": "format", "serializedName": "format", @@ -35884,16 +36696,16 @@ "isHttpMetadata": false }, { - "$id": "3141", + "$id": "3209", "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": "3142", + "$id": "3210", "kind": "nullable", "type": { - "$id": "3143", + "$id": "3211", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -35915,16 +36727,16 @@ "isHttpMetadata": false }, { - "$id": "3144", + "$id": "3212", "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": "3145", + "$id": "3213", "kind": "nullable", "type": { - "$id": "3146", + "$id": "3214", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -35946,27 +36758,27 @@ "isHttpMetadata": false }, { - "$id": "3147", + "$id": "3215", "kind": "property", "name": "stop", "serializedName": "stop", "type": { - "$id": "3148", + "$id": "3216", "kind": "nullable", "type": { - "$id": "3149", + "$id": "3217", "kind": "union", "name": "StopConfiguration", "variantTypes": [ { - "$id": "3150", + "$id": "3218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2573" + "$ref": "2641" } ], "namespace": "OpenAI", @@ -35988,26 +36800,26 @@ "isHttpMetadata": false }, { - "$id": "3151", + "$id": "3219", "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": "3152", + "$id": "3220", "kind": "nullable", "type": { - "$id": "3153", + "$id": "3221", "kind": "dict", "keyType": { - "$id": "3154", + "$id": "3222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "3155", + "$id": "3223", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -36031,16 +36843,16 @@ "isHttpMetadata": false }, { - "$id": "3156", + "$id": "3224", "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": "3157", + "$id": "3225", "kind": "nullable", "type": { - "$id": "3158", + "$id": "3226", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -36062,16 +36874,16 @@ "isHttpMetadata": false }, { - "$id": "3159", + "$id": "3227", "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": "3160", + "$id": "3228", "kind": "nullable", "type": { - "$id": "3161", + "$id": "3229", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -36093,16 +36905,16 @@ "isHttpMetadata": false }, { - "$id": "3162", + "$id": "3230", "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": "3163", + "$id": "3231", "kind": "nullable", "type": { - "$id": "3164", + "$id": "3232", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -36124,16 +36936,16 @@ "isHttpMetadata": false }, { - "$id": "3165", + "$id": "3233", "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": "3166", + "$id": "3234", "kind": "nullable", "type": { - "$id": "3167", + "$id": "3235", "kind": "model", "name": "ChatOutputPrediction", "namespace": "OpenAI", @@ -36152,7 +36964,7 @@ } }, "discriminatorProperty": { - "$id": "3168", + "$id": "3236", "kind": "property", "name": "type", "serializedName": "type", @@ -36174,12 +36986,12 @@ }, "properties": [ { - "$ref": "3168" + "$ref": "3236" } ], "discriminatedSubtypes": { "content": { - "$id": "3169", + "$id": "3237", "kind": "model", "name": "ChatOutputPredictionContent", "namespace": "OpenAI", @@ -36199,17 +37011,17 @@ } }, "baseModel": { - "$ref": "3167" + "$ref": "3235" }, "properties": [ { - "$id": "3170", + "$id": "3238", "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": "3171", + "$id": "3239", "kind": "enumvalue", "name": "static_content", "value": "content", @@ -36217,14 +37029,14 @@ "$ref": "207" }, "enumType": { - "$id": "3172", + "$id": "3240", "kind": "enum", "decorators": [], "name": "ChatOutputPredictionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3173", + "$id": "3241", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -36233,16 +37045,16 @@ }, "values": [ { - "$id": "3174", + "$id": "3242", "kind": "enumvalue", "decorators": [], "name": "static_content", "value": "content", "valueType": { - "$ref": "3173" + "$ref": "3241" }, "enumType": { - "$ref": "3172" + "$ref": "3240" } } ], @@ -36271,25 +37083,25 @@ "isHttpMetadata": false }, { - "$id": "3175", + "$id": "3243", "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": "3176", + "$id": "3244", "kind": "union", "name": "ChatOutputPredictionContentContent", "variantTypes": [ { - "$id": "3177", + "$id": "3245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "3043" + "$ref": "3111" } ], "namespace": "OpenAI", @@ -36328,16 +37140,16 @@ "isHttpMetadata": false }, { - "$id": "3178", + "$id": "3246", "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": "3179", + "$id": "3247", "kind": "nullable", "type": { - "$id": "3180", + "$id": "3248", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -36359,15 +37171,15 @@ "isHttpMetadata": false }, { - "$id": "3181", + "$id": "3249", "kind": "property", "name": "stream_options", "serializedName": "stream_options", "type": { - "$id": "3182", + "$id": "3250", "kind": "nullable", "type": { - "$id": "3183", + "$id": "3251", "kind": "model", "name": "ChatCompletionStreamOptions", "namespace": "OpenAI", @@ -36382,13 +37194,13 @@ }, "properties": [ { - "$id": "3184", + "$id": "3252", "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": "3185", + "$id": "3253", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -36425,17 +37237,17 @@ "isHttpMetadata": false }, { - "$id": "3186", + "$id": "3254", "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": "3187", + "$id": "3255", "kind": "array", "name": "ArrayChatCompletionTool", "valueType": { - "$id": "3188", + "$id": "3256", "kind": "model", "name": "ChatCompletionTool", "namespace": "OpenAI", @@ -36454,28 +37266,28 @@ }, "properties": [ { - "$id": "3189", + "$id": "3257", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the tool. Currently, only `function` is supported.", "type": { - "$id": "3190", + "$id": "3258", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "1548" + "$ref": "1612" }, "enumType": { - "$id": "3191", + "$id": "3259", "kind": "enum", "decorators": [], "name": "ChatToolKind", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3192", + "$id": "3260", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -36484,16 +37296,16 @@ }, "values": [ { - "$id": "3193", + "$id": "3261", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "enumType": { - "$ref": "3191" + "$ref": "3259" }, "valueType": { - "$ref": "3192" + "$ref": "3260" } } ], @@ -36522,12 +37334,12 @@ "isHttpMetadata": false }, { - "$id": "3194", + "$id": "3262", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$ref": "2557" + "$ref": "2625" }, "optional": false, "readOnly": false, @@ -36561,12 +37373,12 @@ "isHttpMetadata": false }, { - "$id": "3195", + "$id": "3263", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "3196", + "$id": "3264", "kind": "union", "name": "ChatCompletionToolChoiceOption", "variantTypes": [ @@ -36574,7 +37386,7 @@ "$ref": "209" }, { - "$id": "3197", + "$id": "3265", "kind": "model", "name": "ChatCompletionNamedToolChoice", "namespace": "OpenAI", @@ -36594,13 +37406,13 @@ }, "properties": [ { - "$id": "3198", + "$id": "3266", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the tool. Currently, only `function` is supported.", "type": { - "$ref": "1705" + "$ref": "1769" }, "optional": false, "readOnly": false, @@ -36616,12 +37428,12 @@ "isHttpMetadata": false }, { - "$id": "3199", + "$id": "3267", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "3200", + "$id": "3268", "kind": "model", "name": "ChatCompletionNamedToolChoiceFunction", "namespace": "OpenAI", @@ -36635,13 +37447,13 @@ }, "properties": [ { - "$id": "3201", + "$id": "3269", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "3202", + "$id": "3270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -36695,17 +37507,17 @@ "isHttpMetadata": false }, { - "$id": "3203", + "$id": "3271", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "3204", + "$id": "3272", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "3205", + "$id": "3273", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -36727,24 +37539,24 @@ "isHttpMetadata": false }, { - "$id": "3206", + "$id": "3274", "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": "3207", + "$id": "3275", "kind": "union", "name": "CreateChatCompletionRequestFunctionCall", "variantTypes": [ { - "$ref": "1707" + "$ref": "1771" }, { - "$ref": "1709" + "$ref": "1773" }, { - "$id": "3208", + "$id": "3276", "kind": "model", "name": "ChatCompletionFunctionCallOption", "namespace": "OpenAI", @@ -36764,13 +37576,13 @@ }, "properties": [ { - "$id": "3209", + "$id": "3277", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "3210", + "$id": "3278", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -36809,17 +37621,17 @@ "isHttpMetadata": false }, { - "$id": "3211", + "$id": "3279", "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": "3212", + "$id": "3280", "kind": "array", "name": "ArrayChatCompletionFunctions", "valueType": { - "$id": "3213", + "$id": "3281", "kind": "model", "name": "ChatCompletionFunctions", "namespace": "OpenAI", @@ -36839,13 +37651,13 @@ }, "properties": [ { - "$id": "3214", + "$id": "3282", "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": "3215", + "$id": "3283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -36865,13 +37677,13 @@ "isHttpMetadata": false }, { - "$id": "3216", + "$id": "3284", "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": "3217", + "$id": "3285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -36891,13 +37703,13 @@ "isHttpMetadata": false }, { - "$id": "3218", + "$id": "3286", "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": "3219", + "$id": "3287", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -36937,97 +37749,97 @@ ] }, { - "$ref": "2976" + "$ref": "3044" }, { - "$ref": "2983" + "$ref": "3051" }, { - "$ref": "2985" + "$ref": "3053" }, { - "$ref": "2997" + "$ref": "3065" }, { - "$ref": "3001" + "$ref": "3069" }, { - "$ref": "3005" + "$ref": "3073" }, { - "$ref": "3010" + "$ref": "3078" }, { - "$ref": "3014" + "$ref": "3082" }, { - "$ref": "3021" + "$ref": "3089" }, { - "$ref": "3025" + "$ref": "3093" }, { - "$ref": "3029" + "$ref": "3097" }, { - "$ref": "3039" + "$ref": "3107" }, { - "$ref": "3048" + "$ref": "3116" }, { - "$ref": "3058" + "$ref": "3126" }, { - "$ref": "3074" + "$ref": "3142" }, { - "$ref": "3080" + "$ref": "3148" }, { - "$ref": "3085" + "$ref": "3153" }, { - "$ref": "3095" + "$ref": "3163" }, { - "$ref": "3119" + "$ref": "3187" }, { - "$ref": "3122" + "$ref": "3190" }, { - "$ref": "3125" + "$ref": "3193" }, { - "$ref": "3138" + "$ref": "3206" }, { - "$ref": "3167" + "$ref": "3235" }, { - "$ref": "3169" + "$ref": "3237" }, { - "$ref": "3183" + "$ref": "3251" }, { - "$ref": "3188" + "$ref": "3256" }, { - "$ref": "3197" + "$ref": "3265" }, { - "$ref": "3200" + "$ref": "3268" }, { - "$ref": "3208" + "$ref": "3276" }, { - "$ref": "3213" + "$ref": "3281" }, { - "$id": "3220", + "$id": "3288", "kind": "model", "name": "CreateChatCompletionStreamResponse", "namespace": "OpenAI", @@ -37044,12 +37856,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "3221", + "$id": "3289", "kind": "property", "name": "id", "doc": "A unique identifier for the chat completion. Each chunk has the same ID.", "type": { - "$id": "3222", + "$id": "3290", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37065,16 +37877,16 @@ "isHttpMetadata": false }, { - "$id": "3223", + "$id": "3291", "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": "3224", + "$id": "3292", "kind": "array", "name": "Array7", "valueType": { - "$id": "3225", + "$id": "3293", "kind": "model", "name": "CreateChatCompletionStreamResponseChoice", "namespace": "OpenAI", @@ -37084,11 +37896,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "3226", + "$id": "3294", "kind": "property", "name": "delta", "type": { - "$id": "3227", + "$id": "3295", "kind": "model", "name": "ChatCompletionStreamResponseDelta", "namespace": "OpenAI", @@ -37104,12 +37916,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "3228", + "$id": "3296", "kind": "property", "name": "audio", "doc": "Response audio associated with the streaming chat delta payload.", "type": { - "$id": "3229", + "$id": "3297", "kind": "model", "name": "ChatCompletionMessageAudioChunk", "namespace": "OpenAI", @@ -37124,11 +37936,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "3230", + "$id": "3298", "kind": "property", "name": "id", "type": { - "$id": "3231", + "$id": "3299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37144,11 +37956,11 @@ "isHttpMetadata": false }, { - "$id": "3232", + "$id": "3300", "kind": "property", "name": "transcript", "type": { - "$id": "3233", + "$id": "3301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37164,11 +37976,11 @@ "isHttpMetadata": false }, { - "$id": "3234", + "$id": "3302", "kind": "property", "name": "data", "type": { - "$id": "3235", + "$id": "3303", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -37185,16 +37997,16 @@ "isHttpMetadata": false }, { - "$id": "3236", + "$id": "3304", "kind": "property", "name": "expires_at", "type": { - "$id": "3237", + "$id": "3305", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3238", + "$id": "3306", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -37224,15 +38036,15 @@ "isHttpMetadata": false }, { - "$id": "3239", + "$id": "3307", "kind": "property", "name": "content", "doc": "The contents of the chunk message.", "type": { - "$id": "3240", + "$id": "3308", "kind": "nullable", "type": { - "$id": "3241", + "$id": "3309", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37250,12 +38062,12 @@ "isHttpMetadata": false }, { - "$id": "3242", + "$id": "3310", "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": "3243", + "$id": "3311", "kind": "model", "name": "ChatCompletionStreamResponseDeltaFunctionCall", "namespace": "OpenAI", @@ -37265,11 +38077,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "3244", + "$id": "3312", "kind": "property", "name": "name", "type": { - "$id": "3245", + "$id": "3313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37285,11 +38097,11 @@ "isHttpMetadata": false }, { - "$id": "3246", + "$id": "3314", "kind": "property", "name": "arguments", "type": { - "$id": "3247", + "$id": "3315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37316,15 +38128,15 @@ "isHttpMetadata": false }, { - "$id": "3248", + "$id": "3316", "kind": "property", "name": "tool_calls", "type": { - "$id": "3249", + "$id": "3317", "kind": "array", "name": "ArrayChatCompletionMessageToolCallChunk", "valueType": { - "$id": "3250", + "$id": "3318", "kind": "model", "name": "ChatCompletionMessageToolCallChunk", "namespace": "OpenAI", @@ -37339,11 +38151,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "3251", + "$id": "3319", "kind": "property", "name": "index", "type": { - "$id": "3252", + "$id": "3320", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -37359,12 +38171,12 @@ "isHttpMetadata": false }, { - "$id": "3253", + "$id": "3321", "kind": "property", "name": "id", "doc": "The ID of the tool call.", "type": { - "$id": "3254", + "$id": "3322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37380,7 +38192,7 @@ "isHttpMetadata": false }, { - "$id": "3255", + "$id": "3323", "kind": "property", "name": "type", "doc": "The type of the tool. Currently, only `function` is supported.", @@ -37397,11 +38209,11 @@ "isHttpMetadata": false }, { - "$id": "3256", + "$id": "3324", "kind": "property", "name": "function", "type": { - "$id": "3257", + "$id": "3325", "kind": "model", "name": "ChatCompletionMessageToolCallChunkFunction", "namespace": "OpenAI", @@ -37411,12 +38223,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "3258", + "$id": "3326", "kind": "property", "name": "name", "doc": "The name of the function to call.", "type": { - "$id": "3259", + "$id": "3327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37432,12 +38244,12 @@ "isHttpMetadata": false }, { - "$id": "3260", + "$id": "3328", "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": "3261", + "$id": "3329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37478,7 +38290,7 @@ "isHttpMetadata": false }, { - "$id": "3262", + "$id": "3330", "kind": "property", "name": "role", "doc": "The role of the author of this message.", @@ -37495,15 +38307,15 @@ "isHttpMetadata": false }, { - "$id": "3263", + "$id": "3331", "kind": "property", "name": "refusal", "doc": "The refusal message generated by the model.", "type": { - "$id": "3264", + "$id": "3332", "kind": "nullable", "type": { - "$id": "3265", + "$id": "3333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37532,15 +38344,15 @@ "isHttpMetadata": false }, { - "$id": "3266", + "$id": "3334", "kind": "property", "name": "logprobs", "doc": "Log probability information for the choice.", "type": { - "$id": "3267", + "$id": "3335", "kind": "nullable", "type": { - "$id": "3268", + "$id": "3336", "kind": "model", "name": "CreateChatCompletionStreamResponseChoiceLogprobs1", "namespace": "OpenAI", @@ -37550,15 +38362,15 @@ "serializationOptions": {}, "properties": [ { - "$id": "3269", + "$id": "3337", "kind": "property", "name": "content", "doc": "A list of message content tokens with log probability information.", "type": { - "$id": "3270", + "$id": "3338", "kind": "nullable", "type": { - "$ref": "2898" + "$ref": "2966" }, "namespace": "OpenAI" }, @@ -37572,15 +38384,15 @@ "isHttpMetadata": false }, { - "$id": "3271", + "$id": "3339", "kind": "property", "name": "refusal", "doc": "A list of message refusal tokens with log probability information.", "type": { - "$id": "3272", + "$id": "3340", "kind": "nullable", "type": { - "$ref": "2898" + "$ref": "2966" }, "namespace": "OpenAI" }, @@ -37607,12 +38419,12 @@ "isHttpMetadata": false }, { - "$id": "3273", + "$id": "3341", "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": "3274", + "$id": "3342", "kind": "nullable", "type": { "$ref": "218" @@ -37629,12 +38441,12 @@ "isHttpMetadata": false }, { - "$id": "3275", + "$id": "3343", "kind": "property", "name": "index", "doc": "The index of the choice in the list of choices.", "type": { - "$id": "3276", + "$id": "3344", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -37664,17 +38476,17 @@ "isHttpMetadata": false }, { - "$id": "3277", + "$id": "3345", "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": "3278", + "$id": "3346", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3279", + "$id": "3347", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -37693,12 +38505,12 @@ "isHttpMetadata": false }, { - "$id": "3280", + "$id": "3348", "kind": "property", "name": "model", "doc": "The model to generate the completion.", "type": { - "$id": "3281", + "$id": "3349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37714,7 +38526,7 @@ "isHttpMetadata": false }, { - "$id": "3282", + "$id": "3350", "kind": "property", "name": "service_tier", "type": { @@ -37730,12 +38542,12 @@ "isHttpMetadata": false }, { - "$id": "3283", + "$id": "3351", "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": "3284", + "$id": "3352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37751,12 +38563,12 @@ "isHttpMetadata": false }, { - "$id": "3285", + "$id": "3353", "kind": "property", "name": "object", "doc": "The object type, which is always `chat.completion.chunk`.", "type": { - "$ref": "1711" + "$ref": "1775" }, "optional": false, "readOnly": false, @@ -37768,15 +38580,15 @@ "isHttpMetadata": false }, { - "$id": "3286", + "$id": "3354", "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": "3287", + "$id": "3355", "kind": "nullable", "type": { - "$ref": "2929" + "$ref": "2997" }, "namespace": "OpenAI" }, @@ -37792,28 +38604,28 @@ ] }, { - "$ref": "3225" + "$ref": "3293" }, { - "$ref": "3227" + "$ref": "3295" }, { - "$ref": "3229" + "$ref": "3297" }, { - "$ref": "3243" + "$ref": "3311" }, { - "$ref": "3250" + "$ref": "3318" }, { - "$ref": "3257" + "$ref": "3325" }, { - "$ref": "3268" + "$ref": "3336" }, { - "$id": "3288", + "$id": "3356", "kind": "model", "name": "UpdateChatCompletionRequest", "namespace": "", @@ -37827,13 +38639,13 @@ }, "properties": [ { - "$id": "3289", + "$id": "3357", "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": "2580" + "$ref": "2648" }, "optional": false, "readOnly": false, @@ -37851,7 +38663,7 @@ ] }, { - "$id": "3290", + "$id": "3358", "kind": "model", "name": "ChatCompletionDeleted", "namespace": "OpenAI", @@ -37870,13 +38682,13 @@ }, "properties": [ { - "$id": "3291", + "$id": "3359", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of object being deleted.", "type": { - "$ref": "1713" + "$ref": "1777" }, "optional": false, "readOnly": false, @@ -37892,13 +38704,13 @@ "isHttpMetadata": false }, { - "$id": "3292", + "$id": "3360", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the chat completion that was deleted.", "type": { - "$id": "3293", + "$id": "3361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -37918,13 +38730,13 @@ "isHttpMetadata": false }, { - "$id": "3294", + "$id": "3362", "kind": "property", "name": "deleted", "serializedName": "deleted", "doc": "Whether the chat completion was deleted.", "type": { - "$id": "3295", + "$id": "3363", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -37946,7 +38758,7 @@ ] }, { - "$id": "3296", + "$id": "3364", "kind": "model", "name": "ChatCompletionMessageList", "namespace": "OpenAI", @@ -37966,13 +38778,13 @@ }, "properties": [ { - "$id": "3297", + "$id": "3365", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1715" + "$ref": "1779" }, "optional": false, "readOnly": false, @@ -37988,17 +38800,17 @@ "isHttpMetadata": false }, { - "$id": "3298", + "$id": "3366", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of chat completion message objects.", "type": { - "$id": "3299", + "$id": "3367", "kind": "array", "name": "Array8", "valueType": { - "$id": "3300", + "$id": "3368", "kind": "model", "name": "ChatCompletionMessageListDatum", "namespace": "OpenAI", @@ -38012,13 +38824,13 @@ }, "properties": [ { - "$id": "3301", + "$id": "3369", "kind": "property", "name": "content", "serializedName": "content", "doc": "The contents of the message.", "type": { - "$ref": "2830" + "$ref": "2898" }, "optional": false, "readOnly": false, @@ -38034,13 +38846,13 @@ "isHttpMetadata": false }, { - "$id": "3302", + "$id": "3370", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal message generated by the model.", "type": { - "$ref": "2833" + "$ref": "2901" }, "optional": false, "readOnly": false, @@ -38056,12 +38868,12 @@ "isHttpMetadata": false }, { - "$id": "3303", + "$id": "3371", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "type": { - "$ref": "2836" + "$ref": "2904" }, "optional": true, "readOnly": true, @@ -38077,13 +38889,13 @@ "isHttpMetadata": false }, { - "$id": "3304", + "$id": "3372", "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": "2852" + "$ref": "2920" }, "optional": true, "readOnly": true, @@ -38099,13 +38911,13 @@ "isHttpMetadata": false }, { - "$id": "3305", + "$id": "3373", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the author of this message.", "type": { - "$id": "3306", + "$id": "3374", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -38113,7 +38925,7 @@ "$ref": "96" }, "enumType": { - "$ref": "2867" + "$ref": "2935" }, "decorators": [] }, @@ -38131,13 +38943,13 @@ "isHttpMetadata": false }, { - "$id": "3307", + "$id": "3375", "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": "2876" + "$ref": "2944" }, "optional": true, "readOnly": false, @@ -38153,13 +38965,13 @@ "isHttpMetadata": false }, { - "$id": "3308", + "$id": "3376", "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": "2882" + "$ref": "2950" }, "optional": true, "readOnly": false, @@ -38175,15 +38987,15 @@ "isHttpMetadata": false }, { - "$id": "3309", + "$id": "3377", "kind": "property", "name": "content_parts", "serializedName": "content_parts", "type": { - "$id": "3310", + "$id": "3378", "kind": "nullable", "type": { - "$ref": "2982" + "$ref": "3050" }, "namespace": "OpenAI" }, @@ -38201,13 +39013,13 @@ "isHttpMetadata": false }, { - "$id": "3311", + "$id": "3379", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier of the chat message.", "type": { - "$id": "3312", + "$id": "3380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38245,13 +39057,13 @@ "isHttpMetadata": false }, { - "$id": "3313", + "$id": "3381", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first chat message in the data array.", "type": { - "$id": "3314", + "$id": "3382", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38271,13 +39083,13 @@ "isHttpMetadata": false }, { - "$id": "3315", + "$id": "3383", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last chat message in the data array.", "type": { - "$id": "3316", + "$id": "3384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38297,13 +39109,13 @@ "isHttpMetadata": false }, { - "$id": "3317", + "$id": "3385", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more chat messages available.", "type": { - "$id": "3318", + "$id": "3386", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -38325,10 +39137,10 @@ ] }, { - "$ref": "3300" + "$ref": "3368" }, { - "$id": "3319", + "$id": "3387", "kind": "model", "name": "ContainerListResource", "namespace": "OpenAI", @@ -38342,13 +39154,13 @@ }, "properties": [ { - "$id": "3320", + "$id": "3388", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of object returned, must be 'list'.", "type": { - "$ref": "1717" + "$ref": "1781" }, "optional": false, "readOnly": false, @@ -38364,17 +39176,17 @@ "isHttpMetadata": false }, { - "$id": "3321", + "$id": "3389", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of containers.", "type": { - "$id": "3322", + "$id": "3390", "kind": "array", "name": "ArrayContainerResource", "valueType": { - "$id": "3323", + "$id": "3391", "kind": "model", "name": "ContainerResource", "namespace": "OpenAI", @@ -38388,13 +39200,13 @@ }, "properties": [ { - "$id": "3324", + "$id": "3392", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the container.", "type": { - "$id": "3325", + "$id": "3393", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38414,13 +39226,13 @@ "isHttpMetadata": false }, { - "$id": "3326", + "$id": "3394", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object.", "type": { - "$id": "3327", + "$id": "3395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38440,13 +39252,13 @@ "isHttpMetadata": false }, { - "$id": "3328", + "$id": "3396", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the container.", "type": { - "$id": "3329", + "$id": "3397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38466,18 +39278,18 @@ "isHttpMetadata": false }, { - "$id": "3330", + "$id": "3398", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the container was created.", "type": { - "$id": "3331", + "$id": "3399", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3332", + "$id": "3400", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -38500,13 +39312,13 @@ "isHttpMetadata": false }, { - "$id": "3333", + "$id": "3401", "kind": "property", "name": "status", "serializedName": "status", "doc": "Status of the container (e.g., active, deleted).", "type": { - "$id": "3334", + "$id": "3402", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38526,13 +39338,13 @@ "isHttpMetadata": false }, { - "$id": "3335", + "$id": "3403", "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": "3336", + "$id": "3404", "kind": "model", "name": "ContainerResourceExpiresAfter", "namespace": "OpenAI", @@ -38546,7 +39358,7 @@ }, "properties": [ { - "$id": "3337", + "$id": "3405", "kind": "property", "name": "anchor", "serializedName": "anchor", @@ -38568,13 +39380,13 @@ "isHttpMetadata": false }, { - "$id": "3338", + "$id": "3406", "kind": "property", "name": "minutes", "serializedName": "minutes", "doc": "The number of minutes after the anchor before the container expires.", "type": { - "$id": "3339", + "$id": "3407", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -38627,13 +39439,13 @@ "isHttpMetadata": false }, { - "$id": "3340", + "$id": "3408", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first container in the list.", "type": { - "$id": "3341", + "$id": "3409", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38653,13 +39465,13 @@ "isHttpMetadata": false }, { - "$id": "3342", + "$id": "3410", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last container in the list.", "type": { - "$id": "3343", + "$id": "3411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38679,13 +39491,13 @@ "isHttpMetadata": false }, { - "$id": "3344", + "$id": "3412", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more containers available.", "type": { - "$id": "3345", + "$id": "3413", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -38707,13 +39519,13 @@ ] }, { - "$ref": "3323" + "$ref": "3391" }, { - "$ref": "3336" + "$ref": "3404" }, { - "$id": "3346", + "$id": "3414", "kind": "model", "name": "CreateContainerBody", "namespace": "OpenAI", @@ -38727,13 +39539,13 @@ }, "properties": [ { - "$id": "3347", + "$id": "3415", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the container to create.", "type": { - "$id": "3348", + "$id": "3416", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38753,13 +39565,13 @@ "isHttpMetadata": false }, { - "$id": "3349", + "$id": "3417", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "IDs of files to copy to the container.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -38775,13 +39587,13 @@ "isHttpMetadata": false }, { - "$id": "3350", + "$id": "3418", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "doc": "Container expiration time in seconds relative to the 'anchor' time.", "type": { - "$id": "3351", + "$id": "3419", "kind": "model", "name": "CreateContainerBodyExpiresAfter", "namespace": "OpenAI", @@ -38795,13 +39607,13 @@ }, "properties": [ { - "$id": "3352", + "$id": "3420", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "Time anchor for the expiration time. Currently only 'last_active_at' is supported.", "type": { - "$ref": "1719" + "$ref": "1783" }, "optional": false, "readOnly": false, @@ -38817,12 +39629,12 @@ "isHttpMetadata": false }, { - "$id": "3353", + "$id": "3421", "kind": "property", "name": "minutes", "serializedName": "minutes", "type": { - "$id": "3354", + "$id": "3422", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -38859,10 +39671,10 @@ ] }, { - "$ref": "3351" + "$ref": "3419" }, { - "$id": "3355", + "$id": "3423", "kind": "model", "name": "DeleteContainerResponse", "namespace": "OpenAI", @@ -38876,12 +39688,12 @@ }, "properties": [ { - "$id": "3356", + "$id": "3424", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "3357", + "$id": "3425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38901,12 +39713,12 @@ "isHttpMetadata": false }, { - "$id": "3358", + "$id": "3426", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1721" + "$ref": "1785" }, "optional": false, "readOnly": false, @@ -38922,12 +39734,12 @@ "isHttpMetadata": false }, { - "$id": "3359", + "$id": "3427", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$ref": "1723" + "$ref": "1787" }, "optional": false, "readOnly": false, @@ -38945,7 +39757,7 @@ ] }, { - "$id": "3360", + "$id": "3428", "kind": "model", "name": "CreateContainerFileBody", "namespace": "OpenAI", @@ -38955,13 +39767,13 @@ "serializationOptions": {}, "properties": [ { - "$id": "3361", + "$id": "3429", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "Name of the file to create.", "type": { - "$id": "3362", + "$id": "3430", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -38987,13 +39799,13 @@ "isHttpMetadata": false }, { - "$id": "3363", + "$id": "3431", "kind": "property", "name": "file", "serializedName": "file", "doc": "The File object (not file name) to be uploaded.", "type": { - "$id": "3364", + "$id": "3432", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -39022,7 +39834,7 @@ ] }, { - "$id": "3365", + "$id": "3433", "kind": "model", "name": "ContainerFileResource", "namespace": "OpenAI", @@ -39036,13 +39848,13 @@ }, "properties": [ { - "$id": "3366", + "$id": "3434", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the file.", "type": { - "$id": "3367", + "$id": "3435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39062,13 +39874,13 @@ "isHttpMetadata": false }, { - "$id": "3368", + "$id": "3436", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object (`container.file`).", "type": { - "$id": "3369", + "$id": "3437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39088,13 +39900,13 @@ "isHttpMetadata": false }, { - "$id": "3370", + "$id": "3438", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The container this file belongs to.", "type": { - "$id": "3371", + "$id": "3439", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39114,18 +39926,18 @@ "isHttpMetadata": false }, { - "$id": "3372", + "$id": "3440", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the file was created.", "type": { - "$id": "3373", + "$id": "3441", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3374", + "$id": "3442", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -39148,13 +39960,13 @@ "isHttpMetadata": false }, { - "$id": "3375", + "$id": "3443", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "Size of the file in bytes.", "type": { - "$id": "3376", + "$id": "3444", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -39174,13 +39986,13 @@ "isHttpMetadata": false }, { - "$id": "3377", + "$id": "3445", "kind": "property", "name": "path", "serializedName": "path", "doc": "Path of the file in the container.", "type": { - "$id": "3378", + "$id": "3446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39200,13 +40012,13 @@ "isHttpMetadata": false }, { - "$id": "3379", + "$id": "3447", "kind": "property", "name": "source", "serializedName": "source", "doc": "Source of the file (e.g., `user`, `assistant`).", "type": { - "$id": "3380", + "$id": "3448", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39228,7 +40040,7 @@ ] }, { - "$id": "3381", + "$id": "3449", "kind": "model", "name": "ContainerFileListResource", "namespace": "OpenAI", @@ -39242,13 +40054,13 @@ }, "properties": [ { - "$id": "3382", + "$id": "3450", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of object returned, must be 'list'.", "type": { - "$ref": "1725" + "$ref": "1789" }, "optional": false, "readOnly": false, @@ -39264,17 +40076,17 @@ "isHttpMetadata": false }, { - "$id": "3383", + "$id": "3451", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of container files.", "type": { - "$id": "3384", + "$id": "3452", "kind": "array", "name": "ArrayContainerFileResource", "valueType": { - "$ref": "3365" + "$ref": "3433" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -39293,13 +40105,13 @@ "isHttpMetadata": false }, { - "$id": "3385", + "$id": "3453", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first file in the list.", "type": { - "$id": "3386", + "$id": "3454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39319,13 +40131,13 @@ "isHttpMetadata": false }, { - "$id": "3387", + "$id": "3455", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last file in the list.", "type": { - "$id": "3388", + "$id": "3456", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39345,13 +40157,13 @@ "isHttpMetadata": false }, { - "$id": "3389", + "$id": "3457", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more files available.", "type": { - "$id": "3390", + "$id": "3458", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -39373,7 +40185,7 @@ ] }, { - "$id": "3391", + "$id": "3459", "kind": "model", "name": "DeleteContainerFileResponse", "namespace": "OpenAI", @@ -39387,12 +40199,12 @@ }, "properties": [ { - "$id": "3392", + "$id": "3460", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "3393", + "$id": "3461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39412,12 +40224,12 @@ "isHttpMetadata": false }, { - "$id": "3394", + "$id": "3462", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1727" + "$ref": "1791" }, "optional": false, "readOnly": false, @@ -39433,12 +40245,12 @@ "isHttpMetadata": false }, { - "$id": "3395", + "$id": "3463", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$ref": "1729" + "$ref": "1793" }, "optional": false, "readOnly": false, @@ -39456,7 +40268,7 @@ ] }, { - "$id": "3396", + "$id": "3464", "kind": "model", "name": "ListFineTuningCheckpointPermissionResponse", "namespace": "OpenAI", @@ -39470,16 +40282,16 @@ }, "properties": [ { - "$id": "3397", + "$id": "3465", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "3398", + "$id": "3466", "kind": "array", "name": "ArrayFineTuningCheckpointPermission", "valueType": { - "$id": "3399", + "$id": "3467", "kind": "model", "name": "FineTuningCheckpointPermission", "namespace": "OpenAI", @@ -39494,13 +40306,13 @@ }, "properties": [ { - "$id": "3400", + "$id": "3468", "kind": "property", "name": "id", "serializedName": "id", "doc": "The permission identifier, which can be referenced in the API endpoints.", "type": { - "$id": "3401", + "$id": "3469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39520,18 +40332,18 @@ "isHttpMetadata": false }, { - "$id": "3402", + "$id": "3470", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the permission was created.", "type": { - "$id": "3403", + "$id": "3471", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3404", + "$id": "3472", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -39554,13 +40366,13 @@ "isHttpMetadata": false }, { - "$id": "3405", + "$id": "3473", "kind": "property", "name": "project_id", "serializedName": "project_id", "doc": "The project identifier that the permission is for.", "type": { - "$id": "3406", + "$id": "3474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39580,13 +40392,13 @@ "isHttpMetadata": false }, { - "$id": "3407", + "$id": "3475", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"checkpoint.permission\".", "type": { - "$ref": "1731" + "$ref": "1795" }, "optional": false, "readOnly": false, @@ -39620,12 +40432,12 @@ "isHttpMetadata": false }, { - "$id": "3408", + "$id": "3476", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1733" + "$ref": "1797" }, "optional": false, "readOnly": false, @@ -39641,15 +40453,15 @@ "isHttpMetadata": false }, { - "$id": "3409", + "$id": "3477", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "3410", + "$id": "3478", "kind": "nullable", "type": { - "$id": "3411", + "$id": "3479", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39671,15 +40483,15 @@ "isHttpMetadata": false }, { - "$id": "3412", + "$id": "3480", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "3413", + "$id": "3481", "kind": "nullable", "type": { - "$id": "3414", + "$id": "3482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39701,12 +40513,12 @@ "isHttpMetadata": false }, { - "$id": "3415", + "$id": "3483", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3416", + "$id": "3484", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -39728,10 +40540,10 @@ ] }, { - "$ref": "3399" + "$ref": "3467" }, { - "$id": "3417", + "$id": "3485", "kind": "model", "name": "CreateFineTuningCheckpointPermissionRequest", "namespace": "OpenAI", @@ -39745,13 +40557,13 @@ }, "properties": [ { - "$id": "3418", + "$id": "3486", "kind": "property", "name": "project_ids", "serializedName": "project_ids", "doc": "The project identifiers to grant access to.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -39769,7 +40581,7 @@ ] }, { - "$id": "3419", + "$id": "3487", "kind": "model", "name": "DeleteFineTuningCheckpointPermissionResponse", "namespace": "OpenAI", @@ -39783,13 +40595,13 @@ }, "properties": [ { - "$id": "3420", + "$id": "3488", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the fine-tuned model checkpoint permission that was deleted.", "type": { - "$id": "3421", + "$id": "3489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39809,13 +40621,13 @@ "isHttpMetadata": false }, { - "$id": "3422", + "$id": "3490", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"checkpoint.permission\".", "type": { - "$ref": "1735" + "$ref": "1799" }, "optional": false, "readOnly": false, @@ -39831,13 +40643,13 @@ "isHttpMetadata": false }, { - "$id": "3423", + "$id": "3491", "kind": "property", "name": "deleted", "serializedName": "deleted", "doc": "Whether the fine-tuned model checkpoint permission was successfully deleted.", "type": { - "$id": "3424", + "$id": "3492", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -39859,7 +40671,7 @@ ] }, { - "$id": "3425", + "$id": "3493", "kind": "model", "name": "CreateFineTuningJobRequest", "namespace": "OpenAI", @@ -39873,7 +40685,7 @@ }, "properties": [ { - "$id": "3426", + "$id": "3494", "kind": "property", "name": "model", "serializedName": "model", @@ -39895,13 +40707,13 @@ "isHttpMetadata": false }, { - "$id": "3427", + "$id": "3495", "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": "3428", + "$id": "3496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -39921,13 +40733,13 @@ "isHttpMetadata": false }, { - "$id": "3429", + "$id": "3497", "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": "3430", + "$id": "3498", "kind": "model", "name": "CreateFineTuningJobRequestHyperparameters", "namespace": "OpenAI", @@ -39941,21 +40753,21 @@ }, "properties": [ { - "$id": "3431", + "$id": "3499", "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": "3432", + "$id": "3500", "kind": "union", "name": "CreateFineTuningJobRequestHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1737" + "$ref": "1801" }, { - "$id": "3433", + "$id": "3501", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -39979,21 +40791,21 @@ "isHttpMetadata": false }, { - "$id": "3434", + "$id": "3502", "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": "3435", + "$id": "3503", "kind": "union", "name": "CreateFineTuningJobRequestHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1739" + "$ref": "1803" }, { - "$id": "3436", + "$id": "3504", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -40017,21 +40829,21 @@ "isHttpMetadata": false }, { - "$id": "3437", + "$id": "3505", "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": "3438", + "$id": "3506", "kind": "union", "name": "CreateFineTuningJobRequestHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1741" + "$ref": "1805" }, { - "$id": "3439", + "$id": "3507", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40070,16 +40882,16 @@ "isHttpMetadata": false }, { - "$id": "3440", + "$id": "3508", "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": "3441", + "$id": "3509", "kind": "nullable", "type": { - "$id": "3442", + "$id": "3510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40101,16 +40913,16 @@ "isHttpMetadata": false }, { - "$id": "3443", + "$id": "3511", "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": "3444", + "$id": "3512", "kind": "nullable", "type": { - "$id": "3445", + "$id": "3513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40132,20 +40944,20 @@ "isHttpMetadata": false }, { - "$id": "3446", + "$id": "3514", "kind": "property", "name": "integrations", "serializedName": "integrations", "doc": "A list of integrations to enable for your fine-tuning job.", "type": { - "$id": "3447", + "$id": "3515", "kind": "nullable", "type": { - "$id": "3448", + "$id": "3516", "kind": "array", "name": "ArrayCreateFineTuningJobRequestIntegration", "valueType": { - "$id": "3449", + "$id": "3517", "kind": "model", "name": "CreateFineTuningJobRequestIntegration", "namespace": "OpenAI", @@ -40158,7 +40970,7 @@ } }, "discriminatorProperty": { - "$id": "3450", + "$id": "3518", "kind": "property", "name": "type", "serializedName": "type", @@ -40180,12 +40992,12 @@ }, "properties": [ { - "$ref": "3450" + "$ref": "3518" } ], "discriminatedSubtypes": { "wandb": { - "$id": "3451", + "$id": "3519", "kind": "model", "name": "CreateFineTuningJobRequestWandbIntegration", "namespace": "OpenAI", @@ -40199,16 +41011,16 @@ } }, "baseModel": { - "$ref": "3449" + "$ref": "3517" }, "properties": [ { - "$id": "3452", + "$id": "3520", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "3453", + "$id": "3521", "kind": "enumvalue", "name": "wandb", "value": "wandb", @@ -40216,14 +41028,14 @@ "$ref": "236" }, "enumType": { - "$id": "3454", + "$id": "3522", "kind": "enum", "decorators": [], "name": "CreateFineTuningJobRequestIntegrationType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "3455", + "$id": "3523", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -40232,16 +41044,16 @@ }, "values": [ { - "$id": "3456", + "$id": "3524", "kind": "enumvalue", "decorators": [], "name": "wandb", "value": "wandb", "valueType": { - "$ref": "3455" + "$ref": "3523" }, "enumType": { - "$ref": "3454" + "$ref": "3522" } } ], @@ -40270,12 +41082,12 @@ "isHttpMetadata": false }, { - "$id": "3457", + "$id": "3525", "kind": "property", "name": "wandb", "serializedName": "wandb", "type": { - "$id": "3458", + "$id": "3526", "kind": "model", "name": "CreateFineTuningJobRequestWandbIntegrationWandb", "namespace": "OpenAI", @@ -40289,12 +41101,12 @@ }, "properties": [ { - "$id": "3459", + "$id": "3527", "kind": "property", "name": "project", "serializedName": "project", "type": { - "$id": "3460", + "$id": "3528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40314,15 +41126,15 @@ "isHttpMetadata": false }, { - "$id": "3461", + "$id": "3529", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "3462", + "$id": "3530", "kind": "nullable", "type": { - "$id": "3463", + "$id": "3531", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40344,15 +41156,15 @@ "isHttpMetadata": false }, { - "$id": "3464", + "$id": "3532", "kind": "property", "name": "entity", "serializedName": "entity", "type": { - "$id": "3465", + "$id": "3533", "kind": "nullable", "type": { - "$id": "3466", + "$id": "3534", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -40374,12 +41186,12 @@ "isHttpMetadata": false }, { - "$id": "3467", + "$id": "3535", "kind": "property", "name": "tags", "serializedName": "tags", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -40432,16 +41244,16 @@ "isHttpMetadata": false }, { - "$id": "3468", + "$id": "3536", "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": "3469", + "$id": "3537", "kind": "nullable", "type": { - "$id": "3470", + "$id": "3538", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40463,12 +41275,12 @@ "isHttpMetadata": false }, { - "$id": "3471", + "$id": "3539", "kind": "property", "name": "method", "serializedName": "method", "type": { - "$id": "3472", + "$id": "3540", "kind": "model", "name": "FineTuneMethod", "namespace": "OpenAI", @@ -40483,7 +41295,7 @@ }, "properties": [ { - "$id": "3473", + "$id": "3541", "kind": "property", "name": "type", "serializedName": "type", @@ -40505,12 +41317,12 @@ "isHttpMetadata": false }, { - "$id": "3474", + "$id": "3542", "kind": "property", "name": "supervised", "serializedName": "supervised", "type": { - "$id": "3475", + "$id": "3543", "kind": "model", "name": "FineTuneSupervisedMethod", "namespace": "OpenAI", @@ -40525,12 +41337,12 @@ }, "properties": [ { - "$id": "3476", + "$id": "3544", "kind": "property", "name": "hyperparameters", "serializedName": "hyperparameters", "type": { - "$id": "3477", + "$id": "3545", "kind": "model", "name": "FineTuneSupervisedHyperparameters", "namespace": "OpenAI", @@ -40545,21 +41357,21 @@ }, "properties": [ { - "$id": "3478", + "$id": "3546", "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": "3479", + "$id": "3547", "kind": "union", "name": "FineTuneSupervisedHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1743" + "$ref": "1807" }, { - "$id": "3480", + "$id": "3548", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40583,21 +41395,21 @@ "isHttpMetadata": false }, { - "$id": "3481", + "$id": "3549", "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": "3482", + "$id": "3550", "kind": "union", "name": "FineTuneSupervisedHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1745" + "$ref": "1809" }, { - "$id": "3483", + "$id": "3551", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -40621,21 +41433,21 @@ "isHttpMetadata": false }, { - "$id": "3484", + "$id": "3552", "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": "3485", + "$id": "3553", "kind": "union", "name": "FineTuneSupervisedHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1747" + "$ref": "1811" }, { - "$id": "3486", + "$id": "3554", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40689,12 +41501,12 @@ "isHttpMetadata": false }, { - "$id": "3487", + "$id": "3555", "kind": "property", "name": "dpo", "serializedName": "dpo", "type": { - "$id": "3488", + "$id": "3556", "kind": "model", "name": "FineTuneDPOMethod", "namespace": "OpenAI", @@ -40709,12 +41521,12 @@ }, "properties": [ { - "$id": "3489", + "$id": "3557", "kind": "property", "name": "hyperparameters", "serializedName": "hyperparameters", "type": { - "$id": "3490", + "$id": "3558", "kind": "model", "name": "FineTuneDPOHyperparameters", "namespace": "OpenAI", @@ -40729,21 +41541,21 @@ }, "properties": [ { - "$id": "3491", + "$id": "3559", "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": "3492", + "$id": "3560", "kind": "union", "name": "FineTuneDPOHyperparametersBeta", "variantTypes": [ { - "$ref": "1749" + "$ref": "1813" }, { - "$id": "3493", + "$id": "3561", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -40767,21 +41579,21 @@ "isHttpMetadata": false }, { - "$id": "3494", + "$id": "3562", "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": "3495", + "$id": "3563", "kind": "union", "name": "FineTuneDPOHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1751" + "$ref": "1815" }, { - "$id": "3496", + "$id": "3564", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40805,21 +41617,21 @@ "isHttpMetadata": false }, { - "$id": "3497", + "$id": "3565", "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": "3498", + "$id": "3566", "kind": "union", "name": "FineTuneDPOHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1753" + "$ref": "1817" }, { - "$id": "3499", + "$id": "3567", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -40843,21 +41655,21 @@ "isHttpMetadata": false }, { - "$id": "3500", + "$id": "3568", "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": "3501", + "$id": "3569", "kind": "union", "name": "FineTuneDPOHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1755" + "$ref": "1819" }, { - "$id": "3502", + "$id": "3570", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -40911,12 +41723,12 @@ "isHttpMetadata": false }, { - "$id": "3503", + "$id": "3571", "kind": "property", "name": "reinforcement", "serializedName": "reinforcement", "type": { - "$id": "3504", + "$id": "3572", "kind": "model", "name": "FineTuneReinforcementMethod", "namespace": "OpenAI", @@ -40931,18 +41743,18 @@ }, "properties": [ { - "$id": "3505", + "$id": "3573", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "3506", + "$id": "3574", "kind": "union", "name": "FineTuneReinforcementMethodGrader", "variantTypes": [ { - "$id": "3507", + "$id": "3575", "kind": "model", "name": "GraderStringCheck", "namespace": "OpenAI", @@ -40957,7 +41769,7 @@ } }, "baseModel": { - "$id": "3508", + "$id": "3576", "kind": "model", "name": "Grader", "namespace": "OpenAI", @@ -40970,7 +41782,7 @@ } }, "discriminatorProperty": { - "$id": "3509", + "$id": "3577", "kind": "property", "name": "type", "serializedName": "type", @@ -40992,15 +41804,15 @@ }, "properties": [ { - "$ref": "3509" + "$ref": "3577" } ], "discriminatedSubtypes": { "string_check": { - "$ref": "3507" + "$ref": "3575" }, "text_similarity": { - "$id": "3510", + "$id": "3578", "kind": "model", "name": "GraderTextSimilarity", "namespace": "OpenAI", @@ -41015,17 +41827,17 @@ } }, "baseModel": { - "$ref": "3508" + "$ref": "3576" }, "properties": [ { - "$id": "3511", + "$id": "3579", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of grader.", "type": { - "$id": "3512", + "$id": "3580", "kind": "enumvalue", "name": "text_similarity", "value": "text_similarity", @@ -41033,14 +41845,14 @@ "$ref": "250" }, "enumType": { - "$id": "3513", + "$id": "3581", "kind": "enum", "decorators": [], "name": "GraderType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3514", + "$id": "3582", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -41049,81 +41861,81 @@ }, "values": [ { - "$id": "3515", + "$id": "3583", "kind": "enumvalue", "decorators": [], "name": "string_check", "value": "string_check", "valueType": { - "$ref": "3514" + "$ref": "3582" }, "enumType": { - "$ref": "3513" + "$ref": "3581" } }, { - "$id": "3516", + "$id": "3584", "kind": "enumvalue", "decorators": [], "name": "text_similarity", "value": "text_similarity", "valueType": { - "$ref": "3514" + "$ref": "3582" }, "enumType": { - "$ref": "3513" + "$ref": "3581" } }, { - "$id": "3517", + "$id": "3585", "kind": "enumvalue", "decorators": [], "name": "score_model", "value": "score_model", "valueType": { - "$ref": "3514" + "$ref": "3582" }, "enumType": { - "$ref": "3513" + "$ref": "3581" } }, { - "$id": "3518", + "$id": "3586", "kind": "enumvalue", "decorators": [], "name": "label_model", "value": "label_model", "valueType": { - "$ref": "3514" + "$ref": "3582" }, "enumType": { - "$ref": "3513" + "$ref": "3581" } }, { - "$id": "3519", + "$id": "3587", "kind": "enumvalue", "decorators": [], "name": "python", "value": "python", "valueType": { - "$ref": "3514" + "$ref": "3582" }, "enumType": { - "$ref": "3513" + "$ref": "3581" } }, { - "$id": "3520", + "$id": "3588", "kind": "enumvalue", "decorators": [], "name": "multi", "value": "multi", "valueType": { - "$ref": "3514" + "$ref": "3582" }, "enumType": { - "$ref": "3513" + "$ref": "3581" } } ], @@ -41152,13 +41964,13 @@ "isHttpMetadata": false }, { - "$id": "3521", + "$id": "3589", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3522", + "$id": "3590", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41178,13 +41990,13 @@ "isHttpMetadata": false }, { - "$id": "3523", + "$id": "3591", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text being graded.", "type": { - "$id": "3524", + "$id": "3592", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41204,13 +42016,13 @@ "isHttpMetadata": false }, { - "$id": "3525", + "$id": "3593", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The text being graded against.", "type": { - "$id": "3526", + "$id": "3594", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41230,7 +42042,7 @@ "isHttpMetadata": false }, { - "$id": "3527", + "$id": "3595", "kind": "property", "name": "evaluation_metric", "serializedName": "evaluation_metric", @@ -41254,7 +42066,7 @@ ] }, "python": { - "$id": "3528", + "$id": "3596", "kind": "model", "name": "GraderPython", "namespace": "OpenAI", @@ -41269,17 +42081,17 @@ } }, "baseModel": { - "$ref": "3508" + "$ref": "3576" }, "properties": [ { - "$id": "3529", + "$id": "3597", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `python`.", "type": { - "$id": "3530", + "$id": "3598", "kind": "enumvalue", "name": "python", "value": "python", @@ -41287,7 +42099,7 @@ "$ref": "250" }, "enumType": { - "$ref": "3513" + "$ref": "3581" }, "decorators": [] }, @@ -41305,13 +42117,13 @@ "isHttpMetadata": false }, { - "$id": "3531", + "$id": "3599", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3532", + "$id": "3600", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41331,13 +42143,13 @@ "isHttpMetadata": false }, { - "$id": "3533", + "$id": "3601", "kind": "property", "name": "source", "serializedName": "source", "doc": "The source code of the python script.", "type": { - "$id": "3534", + "$id": "3602", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41357,13 +42169,13 @@ "isHttpMetadata": false }, { - "$id": "3535", + "$id": "3603", "kind": "property", "name": "image_tag", "serializedName": "image_tag", "doc": "The image tag to use for the python script.", "type": { - "$id": "3536", + "$id": "3604", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41385,7 +42197,7 @@ ] }, "score_model": { - "$id": "3537", + "$id": "3605", "kind": "model", "name": "GraderScoreModel", "namespace": "OpenAI", @@ -41400,17 +42212,17 @@ } }, "baseModel": { - "$ref": "3508" + "$ref": "3576" }, "properties": [ { - "$id": "3538", + "$id": "3606", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `score_model`.", "type": { - "$id": "3539", + "$id": "3607", "kind": "enumvalue", "name": "score_model", "value": "score_model", @@ -41418,7 +42230,7 @@ "$ref": "250" }, "enumType": { - "$ref": "3513" + "$ref": "3581" }, "decorators": [] }, @@ -41436,13 +42248,13 @@ "isHttpMetadata": false }, { - "$id": "3540", + "$id": "3608", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3541", + "$id": "3609", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41462,13 +42274,13 @@ "isHttpMetadata": false }, { - "$id": "3542", + "$id": "3610", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation.", "type": { - "$id": "3543", + "$id": "3611", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41488,13 +42300,13 @@ "isHttpMetadata": false }, { - "$id": "3544", + "$id": "3612", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "doc": "The sampling parameters for the model.", "type": { - "$id": "3545", + "$id": "3613", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -41514,17 +42326,17 @@ "isHttpMetadata": false }, { - "$id": "3546", + "$id": "3614", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$id": "3547", + "$id": "3615", "kind": "array", "name": "ArrayEvalItem", "valueType": { - "$id": "3548", + "$id": "3616", "kind": "model", "name": "EvalItem", "namespace": "OpenAI", @@ -41539,7 +42351,7 @@ }, "properties": [ { - "$id": "3549", + "$id": "3617", "kind": "property", "name": "role", "serializedName": "role", @@ -41561,25 +42373,25 @@ "isHttpMetadata": false }, { - "$id": "3550", + "$id": "3618", "kind": "property", "name": "content", "serializedName": "content", "doc": "Text inputs to the model - can contain template strings.", "type": { - "$id": "3551", + "$id": "3619", "kind": "union", "name": "EvalItemContent1", "variantTypes": [ { - "$id": "3552", + "$id": "3620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "3553", + "$id": "3621", "kind": "model", "name": "EvalItemContent", "namespace": "OpenAI", @@ -41592,7 +42404,7 @@ } }, "discriminatorProperty": { - "$id": "3554", + "$id": "3622", "kind": "property", "name": "type", "serializedName": "type", @@ -41614,12 +42426,12 @@ }, "properties": [ { - "$ref": "3554" + "$ref": "3622" } ], "discriminatedSubtypes": { "input_text": { - "$id": "3555", + "$id": "3623", "kind": "model", "name": "EvalItemContentInputText", "namespace": "OpenAI", @@ -41633,16 +42445,16 @@ } }, "baseModel": { - "$ref": "3553" + "$ref": "3621" }, "properties": [ { - "$id": "3556", + "$id": "3624", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "3557", + "$id": "3625", "kind": "enumvalue", "name": "input_text", "value": "input_text", @@ -41650,14 +42462,14 @@ "$ref": "276" }, "enumType": { - "$id": "3558", + "$id": "3626", "kind": "enum", "decorators": [], "name": "EvalItemContentType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3559", + "$id": "3627", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -41666,29 +42478,29 @@ }, "values": [ { - "$id": "3560", + "$id": "3628", "kind": "enumvalue", "decorators": [], "name": "input_text", "value": "input_text", "valueType": { - "$ref": "3559" + "$ref": "3627" }, "enumType": { - "$ref": "3558" + "$ref": "3626" } }, { - "$id": "3561", + "$id": "3629", "kind": "enumvalue", "decorators": [], "name": "output_text", "value": "output_text", "valueType": { - "$ref": "3559" + "$ref": "3627" }, "enumType": { - "$ref": "3558" + "$ref": "3626" } } ], @@ -41717,12 +42529,12 @@ "isHttpMetadata": false }, { - "$id": "3562", + "$id": "3630", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "3563", + "$id": "3631", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41744,7 +42556,7 @@ ] }, "output_text": { - "$id": "3564", + "$id": "3632", "kind": "model", "name": "EvalItemContentOutputText", "namespace": "OpenAI", @@ -41758,16 +42570,16 @@ } }, "baseModel": { - "$ref": "3553" + "$ref": "3621" }, "properties": [ { - "$id": "3565", + "$id": "3633", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "3566", + "$id": "3634", "kind": "enumvalue", "name": "output_text", "value": "output_text", @@ -41775,7 +42587,7 @@ "$ref": "276" }, "enumType": { - "$ref": "3558" + "$ref": "3626" }, "decorators": [] }, @@ -41793,12 +42605,12 @@ "isHttpMetadata": false }, { - "$id": "3567", + "$id": "3635", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "3568", + "$id": "3636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41839,7 +42651,7 @@ "isHttpMetadata": false }, { - "$id": "3569", + "$id": "3637", "kind": "property", "name": "type", "serializedName": "type", @@ -41879,17 +42691,17 @@ "isHttpMetadata": false }, { - "$id": "3570", + "$id": "3638", "kind": "property", "name": "range", "serializedName": "range", "doc": "The range of the score. Defaults to `[0, 1]`.", "type": { - "$id": "3571", + "$id": "3639", "kind": "array", "name": "Array9", "valueType": { - "$id": "3572", + "$id": "3640", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -41914,7 +42726,7 @@ ] }, "multi": { - "$id": "3573", + "$id": "3641", "kind": "model", "name": "GraderMulti", "namespace": "OpenAI", @@ -41929,17 +42741,17 @@ } }, "baseModel": { - "$ref": "3508" + "$ref": "3576" }, "properties": [ { - "$id": "3574", + "$id": "3642", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `multi`.", "type": { - "$id": "3575", + "$id": "3643", "kind": "enumvalue", "name": "multi", "value": "multi", @@ -41947,7 +42759,7 @@ "$ref": "250" }, "enumType": { - "$ref": "3513" + "$ref": "3581" }, "decorators": [] }, @@ -41965,13 +42777,13 @@ "isHttpMetadata": false }, { - "$id": "3576", + "$id": "3644", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3577", + "$id": "3645", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -41991,29 +42803,29 @@ "isHttpMetadata": false }, { - "$id": "3578", + "$id": "3646", "kind": "property", "name": "graders", "serializedName": "graders", "type": { - "$id": "3579", + "$id": "3647", "kind": "union", "name": "GraderMultiGraders", "variantTypes": [ { - "$ref": "3507" + "$ref": "3575" }, { - "$ref": "3510" + "$ref": "3578" }, { - "$ref": "3528" + "$ref": "3596" }, { - "$ref": "3537" + "$ref": "3605" }, { - "$id": "3580", + "$id": "3648", "kind": "model", "name": "GraderLabelModel", "namespace": "OpenAI", @@ -42028,17 +42840,17 @@ } }, "baseModel": { - "$ref": "3508" + "$ref": "3576" }, "properties": [ { - "$id": "3581", + "$id": "3649", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `label_model`.", "type": { - "$id": "3582", + "$id": "3650", "kind": "enumvalue", "name": "label_model", "value": "label_model", @@ -42046,7 +42858,7 @@ "$ref": "250" }, "enumType": { - "$ref": "3513" + "$ref": "3581" }, "decorators": [] }, @@ -42064,13 +42876,13 @@ "isHttpMetadata": false }, { - "$id": "3583", + "$id": "3651", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3584", + "$id": "3652", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42090,13 +42902,13 @@ "isHttpMetadata": false }, { - "$id": "3585", + "$id": "3653", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation. Must support structured outputs.", "type": { - "$id": "3586", + "$id": "3654", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42116,12 +42928,12 @@ "isHttpMetadata": false }, { - "$id": "3587", + "$id": "3655", "kind": "property", "name": "input", "serializedName": "input", "type": { - "$ref": "3547" + "$ref": "3615" }, "optional": false, "readOnly": false, @@ -42137,13 +42949,13 @@ "isHttpMetadata": false }, { - "$id": "3588", + "$id": "3656", "kind": "property", "name": "labels", "serializedName": "labels", "doc": "The labels to assign to each item in the evaluation.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -42159,13 +42971,13 @@ "isHttpMetadata": false }, { - "$id": "3589", + "$id": "3657", "kind": "property", "name": "passing_labels", "serializedName": "passing_labels", "doc": "The labels that indicate a passing result. Must be a subset of labels.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -42200,13 +43012,13 @@ "isHttpMetadata": false }, { - "$id": "3590", + "$id": "3658", "kind": "property", "name": "calculate_output", "serializedName": "calculate_output", "doc": "A formula to calculate the output based on grader results.", "type": { - "$id": "3591", + "$id": "3659", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42228,19 +43040,19 @@ ] }, "label_model": { - "$ref": "3580" + "$ref": "3648" } } }, "properties": [ { - "$id": "3592", + "$id": "3660", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `string_check`.", "type": { - "$id": "3593", + "$id": "3661", "kind": "enumvalue", "name": "string_check", "value": "string_check", @@ -42248,7 +43060,7 @@ "$ref": "250" }, "enumType": { - "$ref": "3513" + "$ref": "3581" }, "decorators": [] }, @@ -42266,13 +43078,13 @@ "isHttpMetadata": false }, { - "$id": "3594", + "$id": "3662", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3595", + "$id": "3663", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42292,13 +43104,13 @@ "isHttpMetadata": false }, { - "$id": "3596", + "$id": "3664", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$id": "3597", + "$id": "3665", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42318,13 +43130,13 @@ "isHttpMetadata": false }, { - "$id": "3598", + "$id": "3666", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The reference text. This may include template strings.", "type": { - "$id": "3599", + "$id": "3667", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42344,7 +43156,7 @@ "isHttpMetadata": false }, { - "$id": "3600", + "$id": "3668", "kind": "property", "name": "operation", "serializedName": "operation", @@ -42368,16 +43180,16 @@ ] }, { - "$ref": "3510" + "$ref": "3578" }, { - "$ref": "3528" + "$ref": "3596" }, { - "$ref": "3537" + "$ref": "3605" }, { - "$ref": "3573" + "$ref": "3641" } ], "namespace": "OpenAI", @@ -42397,12 +43209,12 @@ "isHttpMetadata": false }, { - "$id": "3601", + "$id": "3669", "kind": "property", "name": "hyperparameters", "serializedName": "hyperparameters", "type": { - "$id": "3602", + "$id": "3670", "kind": "model", "name": "FineTuneReinforcementHyperparameters", "namespace": "OpenAI", @@ -42417,21 +43229,21 @@ }, "properties": [ { - "$id": "3603", + "$id": "3671", "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": "3604", + "$id": "3672", "kind": "union", "name": "FineTuneReinforcementHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1757" + "$ref": "1821" }, { - "$id": "3605", + "$id": "3673", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -42455,21 +43267,21 @@ "isHttpMetadata": false }, { - "$id": "3606", + "$id": "3674", "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": "3607", + "$id": "3675", "kind": "union", "name": "FineTuneReinforcementHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1759" + "$ref": "1823" }, { - "$id": "3608", + "$id": "3676", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -42493,21 +43305,21 @@ "isHttpMetadata": false }, { - "$id": "3609", + "$id": "3677", "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": "3610", + "$id": "3678", "kind": "union", "name": "FineTuneReinforcementHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1761" + "$ref": "1825" }, { - "$id": "3611", + "$id": "3679", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -42531,7 +43343,7 @@ "isHttpMetadata": false }, { - "$id": "3612", + "$id": "3680", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", @@ -42553,21 +43365,21 @@ "isHttpMetadata": false }, { - "$id": "3613", + "$id": "3681", "kind": "property", "name": "compute_multiplier", "serializedName": "compute_multiplier", "doc": "Multiplier on amount of compute used for exploring search space during training.", "type": { - "$id": "3614", + "$id": "3682", "kind": "union", "name": "FineTuneReinforcementHyperparametersComputeMultiplier", "variantTypes": [ { - "$ref": "1763" + "$ref": "1827" }, { - "$id": "3615", + "$id": "3683", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -42591,21 +43403,21 @@ "isHttpMetadata": false }, { - "$id": "3616", + "$id": "3684", "kind": "property", "name": "eval_interval", "serializedName": "eval_interval", "doc": "The number of training steps between evaluation runs.", "type": { - "$id": "3617", + "$id": "3685", "kind": "union", "name": "FineTuneReinforcementHyperparametersEvalInterval", "variantTypes": [ { - "$ref": "1765" + "$ref": "1829" }, { - "$id": "3618", + "$id": "3686", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -42629,21 +43441,21 @@ "isHttpMetadata": false }, { - "$id": "3619", + "$id": "3687", "kind": "property", "name": "eval_samples", "serializedName": "eval_samples", "doc": "Number of evaluation samples to generate per training step.", "type": { - "$id": "3620", + "$id": "3688", "kind": "union", "name": "FineTuneReinforcementHyperparametersEvalSamples", "variantTypes": [ { - "$ref": "1767" + "$ref": "1831" }, { - "$id": "3621", + "$id": "3689", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -42712,13 +43524,13 @@ "isHttpMetadata": false }, { - "$id": "3622", + "$id": "3690", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -42736,73 +43548,73 @@ ] }, { - "$ref": "3430" + "$ref": "3498" }, { - "$ref": "3449" + "$ref": "3517" }, { - "$ref": "3451" + "$ref": "3519" }, { - "$ref": "3458" + "$ref": "3526" }, { - "$ref": "3472" + "$ref": "3540" }, { - "$ref": "3475" + "$ref": "3543" }, { - "$ref": "3477" + "$ref": "3545" }, { - "$ref": "3488" + "$ref": "3556" }, { - "$ref": "3490" + "$ref": "3558" }, { - "$ref": "3504" + "$ref": "3572" }, { - "$ref": "3507" + "$ref": "3575" }, { - "$ref": "3508" + "$ref": "3576" }, { - "$ref": "3510" + "$ref": "3578" }, { - "$ref": "3528" + "$ref": "3596" }, { - "$ref": "3537" + "$ref": "3605" }, { - "$ref": "3548" + "$ref": "3616" }, { - "$ref": "3553" + "$ref": "3621" }, { - "$ref": "3555" + "$ref": "3623" }, { - "$ref": "3564" + "$ref": "3632" }, { - "$ref": "3573" + "$ref": "3641" }, { - "$ref": "3580" + "$ref": "3648" }, { - "$ref": "3602" + "$ref": "3670" }, { - "$id": "3623", + "$id": "3691", "kind": "model", "name": "FineTuningJob", "namespace": "OpenAI", @@ -42817,16 +43629,16 @@ }, "properties": [ { - "$id": "3624", + "$id": "3692", "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": "3625", + "$id": "3693", "kind": "nullable", "type": { - "$id": "3626", + "$id": "3694", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42848,13 +43660,13 @@ "isHttpMetadata": false }, { - "$id": "3627", + "$id": "3695", "kind": "property", "name": "id", "serializedName": "id", "doc": "The object identifier, which can be referenced in the API endpoints.", "type": { - "$id": "3628", + "$id": "3696", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42874,18 +43686,18 @@ "isHttpMetadata": false }, { - "$id": "3629", + "$id": "3697", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the fine-tuning job was created.", "type": { - "$id": "3630", + "$id": "3698", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3631", + "$id": "3699", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -42908,16 +43720,16 @@ "isHttpMetadata": false }, { - "$id": "3632", + "$id": "3700", "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": "3633", + "$id": "3701", "kind": "nullable", "type": { - "$id": "3634", + "$id": "3702", "kind": "model", "name": "FineTuningJobError1", "namespace": "OpenAI", @@ -42931,13 +43743,13 @@ }, "properties": [ { - "$id": "3635", + "$id": "3703", "kind": "property", "name": "code", "serializedName": "code", "doc": "A machine-readable error code.", "type": { - "$id": "3636", + "$id": "3704", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42957,13 +43769,13 @@ "isHttpMetadata": false }, { - "$id": "3637", + "$id": "3705", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "3638", + "$id": "3706", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42983,16 +43795,16 @@ "isHttpMetadata": false }, { - "$id": "3639", + "$id": "3707", "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": "3640", + "$id": "3708", "kind": "nullable", "type": { - "$id": "3641", + "$id": "3709", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43031,16 +43843,16 @@ "isHttpMetadata": false }, { - "$id": "3642", + "$id": "3710", "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": "3643", + "$id": "3711", "kind": "nullable", "type": { - "$id": "3644", + "$id": "3712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43062,21 +43874,21 @@ "isHttpMetadata": false }, { - "$id": "3645", + "$id": "3713", "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": "3646", + "$id": "3714", "kind": "nullable", "type": { - "$id": "3647", + "$id": "3715", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3648", + "$id": "3716", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43101,13 +43913,13 @@ "isHttpMetadata": false }, { - "$id": "3649", + "$id": "3717", "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": "3650", + "$id": "3718", "kind": "model", "name": "FineTuningJobHyperparameters", "namespace": "OpenAI", @@ -43121,24 +43933,24 @@ }, "properties": [ { - "$id": "3651", + "$id": "3719", "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": "3652", + "$id": "3720", "kind": "nullable", "type": { - "$id": "3653", + "$id": "3721", "kind": "union", "name": "FineTuningJobHyperparametersBatchSize", "variantTypes": [ { - "$ref": "1769" + "$ref": "1833" }, { - "$id": "3654", + "$id": "3722", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43164,21 +43976,21 @@ "isHttpMetadata": false }, { - "$id": "3655", + "$id": "3723", "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": "3656", + "$id": "3724", "kind": "union", "name": "FineTuningJobHyperparametersLearningRateMultiplier", "variantTypes": [ { - "$ref": "1771" + "$ref": "1835" }, { - "$id": "3657", + "$id": "3725", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -43202,21 +44014,21 @@ "isHttpMetadata": false }, { - "$id": "3658", + "$id": "3726", "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": "3659", + "$id": "3727", "kind": "union", "name": "FineTuningJobHyperparametersNEpochs", "variantTypes": [ { - "$ref": "1773" + "$ref": "1837" }, { - "$id": "3660", + "$id": "3728", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43255,13 +44067,13 @@ "isHttpMetadata": false }, { - "$id": "3661", + "$id": "3729", "kind": "property", "name": "model", "serializedName": "model", "doc": "The base model that is being fine-tuned.", "type": { - "$id": "3662", + "$id": "3730", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43281,13 +44093,13 @@ "isHttpMetadata": false }, { - "$id": "3663", + "$id": "3731", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"fine_tuning.job\".", "type": { - "$ref": "1775" + "$ref": "1839" }, "optional": false, "readOnly": false, @@ -43303,13 +44115,13 @@ "isHttpMetadata": false }, { - "$id": "3664", + "$id": "3732", "kind": "property", "name": "organization_id", "serializedName": "organization_id", "doc": "The organization that owns the fine-tuning job.", "type": { - "$id": "3665", + "$id": "3733", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43329,13 +44141,13 @@ "isHttpMetadata": false }, { - "$id": "3666", + "$id": "3734", "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": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -43351,7 +44163,7 @@ "isHttpMetadata": false }, { - "$id": "3667", + "$id": "3735", "kind": "property", "name": "status", "serializedName": "status", @@ -43373,16 +44185,16 @@ "isHttpMetadata": false }, { - "$id": "3668", + "$id": "3736", "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": "3669", + "$id": "3737", "kind": "nullable", "type": { - "$id": "3670", + "$id": "3738", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43404,13 +44216,13 @@ "isHttpMetadata": false }, { - "$id": "3671", + "$id": "3739", "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": "3672", + "$id": "3740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43430,16 +44242,16 @@ "isHttpMetadata": false }, { - "$id": "3673", + "$id": "3741", "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": "3674", + "$id": "3742", "kind": "nullable", "type": { - "$id": "3675", + "$id": "3743", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43461,20 +44273,20 @@ "isHttpMetadata": false }, { - "$id": "3676", + "$id": "3744", "kind": "property", "name": "integrations", "serializedName": "integrations", "doc": "A list of integrations to enable for this fine-tuning job.", "type": { - "$id": "3677", + "$id": "3745", "kind": "nullable", "type": { - "$id": "3678", + "$id": "3746", "kind": "array", "name": "ArrayFineTuningIntegration", "valueType": { - "$id": "3679", + "$id": "3747", "kind": "model", "name": "FineTuningIntegration", "namespace": "OpenAI", @@ -43487,7 +44299,7 @@ } }, "discriminatorProperty": { - "$id": "3680", + "$id": "3748", "kind": "property", "name": "type", "serializedName": "type", @@ -43509,12 +44321,12 @@ }, "properties": [ { - "$ref": "3680" + "$ref": "3748" } ], "discriminatedSubtypes": { "wandb": { - "$id": "3681", + "$id": "3749", "kind": "model", "name": "FineTuningIntegrationWandb", "namespace": "OpenAI", @@ -43528,17 +44340,17 @@ } }, "baseModel": { - "$ref": "3679" + "$ref": "3747" }, "properties": [ { - "$id": "3682", + "$id": "3750", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the integration being enabled for the fine-tuning job", "type": { - "$id": "3683", + "$id": "3751", "kind": "enumvalue", "name": "wandb", "value": "wandb", @@ -43546,14 +44358,14 @@ "$ref": "298" }, "enumType": { - "$id": "3684", + "$id": "3752", "kind": "enum", "decorators": [], "name": "FineTuningIntegrationType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "3685", + "$id": "3753", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -43562,16 +44374,16 @@ }, "values": [ { - "$id": "3686", + "$id": "3754", "kind": "enumvalue", "decorators": [], "name": "wandb", "value": "wandb", "valueType": { - "$ref": "3685" + "$ref": "3753" }, "enumType": { - "$ref": "3684" + "$ref": "3752" } } ], @@ -43600,13 +44412,13 @@ "isHttpMetadata": false }, { - "$id": "3687", + "$id": "3755", "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": "3688", + "$id": "3756", "kind": "model", "name": "FineTuningIntegrationWandbWandb", "namespace": "OpenAI", @@ -43620,13 +44432,13 @@ }, "properties": [ { - "$id": "3689", + "$id": "3757", "kind": "property", "name": "project", "serializedName": "project", "doc": "The name of the project that the new run will be created under.", "type": { - "$id": "3690", + "$id": "3758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43646,16 +44458,16 @@ "isHttpMetadata": false }, { - "$id": "3691", + "$id": "3759", "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": "3692", + "$id": "3760", "kind": "nullable", "type": { - "$id": "3693", + "$id": "3761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43677,16 +44489,16 @@ "isHttpMetadata": false }, { - "$id": "3694", + "$id": "3762", "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": "3695", + "$id": "3763", "kind": "nullable", "type": { - "$id": "3696", + "$id": "3764", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43708,13 +44520,13 @@ "isHttpMetadata": false }, { - "$id": "3697", + "$id": "3765", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -43767,13 +44579,13 @@ "isHttpMetadata": false }, { - "$id": "3698", + "$id": "3766", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "The seed used for the fine-tuning job.", "type": { - "$id": "3699", + "$id": "3767", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43793,21 +44605,21 @@ "isHttpMetadata": false }, { - "$id": "3700", + "$id": "3768", "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": "3701", + "$id": "3769", "kind": "nullable", "type": { - "$id": "3702", + "$id": "3770", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3703", + "$id": "3771", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43832,12 +44644,12 @@ "isHttpMetadata": false }, { - "$id": "3704", + "$id": "3772", "kind": "property", "name": "method", "serializedName": "method", "type": { - "$ref": "3472" + "$ref": "3540" }, "optional": true, "readOnly": false, @@ -43853,13 +44665,13 @@ "isHttpMetadata": false }, { - "$id": "3705", + "$id": "3773", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -43877,22 +44689,22 @@ ] }, { - "$ref": "3634" + "$ref": "3702" }, { - "$ref": "3650" + "$ref": "3718" }, { - "$ref": "3679" + "$ref": "3747" }, { - "$ref": "3681" + "$ref": "3749" }, { - "$ref": "3688" + "$ref": "3756" }, { - "$id": "3706", + "$id": "3774", "kind": "model", "name": "ListPaginatedFineTuningJobsResponse", "namespace": "OpenAI", @@ -43906,16 +44718,16 @@ }, "properties": [ { - "$id": "3707", + "$id": "3775", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "3708", + "$id": "3776", "kind": "array", "name": "ArrayFineTuningJob", "valueType": { - "$ref": "3623" + "$ref": "3691" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -43934,12 +44746,12 @@ "isHttpMetadata": false }, { - "$id": "3709", + "$id": "3777", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3710", + "$id": "3778", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -43959,12 +44771,12 @@ "isHttpMetadata": false }, { - "$id": "3711", + "$id": "3779", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1777" + "$ref": "1841" }, "optional": false, "readOnly": false, @@ -43982,7 +44794,7 @@ ] }, { - "$id": "3712", + "$id": "3780", "kind": "model", "name": "ListFineTuningJobCheckpointsResponse", "namespace": "OpenAI", @@ -43996,16 +44808,16 @@ }, "properties": [ { - "$id": "3713", + "$id": "3781", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "3714", + "$id": "3782", "kind": "array", "name": "ArrayFineTuningJobCheckpoint", "valueType": { - "$id": "3715", + "$id": "3783", "kind": "model", "name": "FineTuningJobCheckpoint", "namespace": "OpenAI", @@ -44020,13 +44832,13 @@ }, "properties": [ { - "$id": "3716", + "$id": "3784", "kind": "property", "name": "id", "serializedName": "id", "doc": "The checkpoint identifier, which can be referenced in the API endpoints.", "type": { - "$id": "3717", + "$id": "3785", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44046,18 +44858,18 @@ "isHttpMetadata": false }, { - "$id": "3718", + "$id": "3786", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the checkpoint was created.", "type": { - "$id": "3719", + "$id": "3787", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3720", + "$id": "3788", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -44080,13 +44892,13 @@ "isHttpMetadata": false }, { - "$id": "3721", + "$id": "3789", "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": "3722", + "$id": "3790", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44106,13 +44918,13 @@ "isHttpMetadata": false }, { - "$id": "3723", + "$id": "3791", "kind": "property", "name": "step_number", "serializedName": "step_number", "doc": "The step number that the checkpoint was created at.", "type": { - "$id": "3724", + "$id": "3792", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -44132,13 +44944,13 @@ "isHttpMetadata": false }, { - "$id": "3725", + "$id": "3793", "kind": "property", "name": "metrics", "serializedName": "metrics", "doc": "Metrics at the step number during the fine-tuning job.", "type": { - "$id": "3726", + "$id": "3794", "kind": "model", "name": "FineTuningJobCheckpointMetrics", "namespace": "OpenAI", @@ -44152,12 +44964,12 @@ }, "properties": [ { - "$id": "3727", + "$id": "3795", "kind": "property", "name": "step", "serializedName": "step", "type": { - "$id": "3728", + "$id": "3796", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44177,12 +44989,12 @@ "isHttpMetadata": false }, { - "$id": "3729", + "$id": "3797", "kind": "property", "name": "train_loss", "serializedName": "train_loss", "type": { - "$id": "3730", + "$id": "3798", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44202,12 +45014,12 @@ "isHttpMetadata": false }, { - "$id": "3731", + "$id": "3799", "kind": "property", "name": "train_mean_token_accuracy", "serializedName": "train_mean_token_accuracy", "type": { - "$id": "3732", + "$id": "3800", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44227,12 +45039,12 @@ "isHttpMetadata": false }, { - "$id": "3733", + "$id": "3801", "kind": "property", "name": "valid_loss", "serializedName": "valid_loss", "type": { - "$id": "3734", + "$id": "3802", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44252,12 +45064,12 @@ "isHttpMetadata": false }, { - "$id": "3735", + "$id": "3803", "kind": "property", "name": "valid_mean_token_accuracy", "serializedName": "valid_mean_token_accuracy", "type": { - "$id": "3736", + "$id": "3804", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44277,12 +45089,12 @@ "isHttpMetadata": false }, { - "$id": "3737", + "$id": "3805", "kind": "property", "name": "full_valid_loss", "serializedName": "full_valid_loss", "type": { - "$id": "3738", + "$id": "3806", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44302,12 +45114,12 @@ "isHttpMetadata": false }, { - "$id": "3739", + "$id": "3807", "kind": "property", "name": "full_valid_mean_token_accuracy", "serializedName": "full_valid_mean_token_accuracy", "type": { - "$id": "3740", + "$id": "3808", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44342,13 +45154,13 @@ "isHttpMetadata": false }, { - "$id": "3741", + "$id": "3809", "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": "3742", + "$id": "3810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44368,13 +45180,13 @@ "isHttpMetadata": false }, { - "$id": "3743", + "$id": "3811", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"fine_tuning.job.checkpoint\".", "type": { - "$ref": "1779" + "$ref": "1843" }, "optional": false, "readOnly": false, @@ -44408,12 +45220,12 @@ "isHttpMetadata": false }, { - "$id": "3744", + "$id": "3812", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1781" + "$ref": "1845" }, "optional": false, "readOnly": false, @@ -44429,15 +45241,15 @@ "isHttpMetadata": false }, { - "$id": "3745", + "$id": "3813", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "3746", + "$id": "3814", "kind": "nullable", "type": { - "$id": "3747", + "$id": "3815", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44459,15 +45271,15 @@ "isHttpMetadata": false }, { - "$id": "3748", + "$id": "3816", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "3749", + "$id": "3817", "kind": "nullable", "type": { - "$id": "3750", + "$id": "3818", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44489,12 +45301,12 @@ "isHttpMetadata": false }, { - "$id": "3751", + "$id": "3819", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3752", + "$id": "3820", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -44516,13 +45328,13 @@ ] }, { - "$ref": "3715" + "$ref": "3783" }, { - "$ref": "3726" + "$ref": "3794" }, { - "$id": "3753", + "$id": "3821", "kind": "model", "name": "ListFineTuningJobEventsResponse", "namespace": "OpenAI", @@ -44536,16 +45348,16 @@ }, "properties": [ { - "$id": "3754", + "$id": "3822", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "3755", + "$id": "3823", "kind": "array", "name": "ArrayFineTuningJobEvent", "valueType": { - "$id": "3756", + "$id": "3824", "kind": "model", "name": "FineTuningJobEvent", "namespace": "OpenAI", @@ -44560,13 +45372,13 @@ }, "properties": [ { - "$id": "3757", + "$id": "3825", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"fine_tuning.job.event\".", "type": { - "$ref": "1783" + "$ref": "1847" }, "optional": false, "readOnly": false, @@ -44582,13 +45394,13 @@ "isHttpMetadata": false }, { - "$id": "3758", + "$id": "3826", "kind": "property", "name": "id", "serializedName": "id", "doc": "The object identifier.", "type": { - "$id": "3759", + "$id": "3827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44608,18 +45420,18 @@ "isHttpMetadata": false }, { - "$id": "3760", + "$id": "3828", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the fine-tuning job was created.", "type": { - "$id": "3761", + "$id": "3829", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3762", + "$id": "3830", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -44642,7 +45454,7 @@ "isHttpMetadata": false }, { - "$id": "3763", + "$id": "3831", "kind": "property", "name": "level", "serializedName": "level", @@ -44664,13 +45476,13 @@ "isHttpMetadata": false }, { - "$id": "3764", + "$id": "3832", "kind": "property", "name": "message", "serializedName": "message", "doc": "The message of the event.", "type": { - "$id": "3765", + "$id": "3833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44690,7 +45502,7 @@ "isHttpMetadata": false }, { - "$id": "3766", + "$id": "3834", "kind": "property", "name": "type", "serializedName": "type", @@ -44712,13 +45524,13 @@ "isHttpMetadata": false }, { - "$id": "3767", + "$id": "3835", "kind": "property", "name": "data", "serializedName": "data", "doc": "The data associated with the event.", "type": { - "$id": "3768", + "$id": "3836", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -44756,12 +45568,12 @@ "isHttpMetadata": false }, { - "$id": "3769", + "$id": "3837", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1785" + "$ref": "1849" }, "optional": false, "readOnly": false, @@ -44777,12 +45589,12 @@ "isHttpMetadata": false }, { - "$id": "3770", + "$id": "3838", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "3771", + "$id": "3839", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -44804,10 +45616,10 @@ ] }, { - "$ref": "3756" + "$ref": "3824" }, { - "$id": "3772", + "$id": "3840", "kind": "model", "name": "RunGraderRequest", "namespace": "OpenAI", @@ -44821,30 +45633,30 @@ }, "properties": [ { - "$id": "3773", + "$id": "3841", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "3774", + "$id": "3842", "kind": "union", "name": "RunGraderRequestGrader", "variantTypes": [ { - "$ref": "3507" + "$ref": "3575" }, { - "$ref": "3510" + "$ref": "3578" }, { - "$ref": "3528" + "$ref": "3596" }, { - "$ref": "3537" + "$ref": "3605" }, { - "$ref": "3573" + "$ref": "3641" } ], "namespace": "OpenAI", @@ -44864,13 +45676,13 @@ "isHttpMetadata": false }, { - "$id": "3775", + "$id": "3843", "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": "3776", + "$id": "3844", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -44890,13 +45702,13 @@ "isHttpMetadata": false }, { - "$id": "3777", + "$id": "3845", "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": "3778", + "$id": "3846", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44918,7 +45730,7 @@ ] }, { - "$id": "3779", + "$id": "3847", "kind": "model", "name": "RunGraderResponse", "namespace": "OpenAI", @@ -44928,11 +45740,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "3780", + "$id": "3848", "kind": "property", "name": "reward", "type": { - "$id": "3781", + "$id": "3849", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44948,11 +45760,11 @@ "isHttpMetadata": false }, { - "$id": "3782", + "$id": "3850", "kind": "property", "name": "metadata", "type": { - "$id": "3783", + "$id": "3851", "kind": "model", "name": "RunGraderResponseMetadata", "namespace": "OpenAI", @@ -44962,11 +45774,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "3784", + "$id": "3852", "kind": "property", "name": "name", "type": { - "$id": "3785", + "$id": "3853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44982,11 +45794,11 @@ "isHttpMetadata": false }, { - "$id": "3786", + "$id": "3854", "kind": "property", "name": "type", "type": { - "$id": "3787", + "$id": "3855", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45002,11 +45814,11 @@ "isHttpMetadata": false }, { - "$id": "3788", + "$id": "3856", "kind": "property", "name": "errors", "type": { - "$id": "3789", + "$id": "3857", "kind": "model", "name": "RunGraderResponseMetadataErrors", "namespace": "OpenAI", @@ -45016,11 +45828,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "3790", + "$id": "3858", "kind": "property", "name": "formula_parse_error", "type": { - "$id": "3791", + "$id": "3859", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45036,11 +45848,11 @@ "isHttpMetadata": false }, { - "$id": "3792", + "$id": "3860", "kind": "property", "name": "sample_parse_error", "type": { - "$id": "3793", + "$id": "3861", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45056,11 +45868,11 @@ "isHttpMetadata": false }, { - "$id": "3794", + "$id": "3862", "kind": "property", "name": "truncated_observation_error", "type": { - "$id": "3795", + "$id": "3863", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45076,11 +45888,11 @@ "isHttpMetadata": false }, { - "$id": "3796", + "$id": "3864", "kind": "property", "name": "unresponsive_reward_error", "type": { - "$id": "3797", + "$id": "3865", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45096,11 +45908,11 @@ "isHttpMetadata": false }, { - "$id": "3798", + "$id": "3866", "kind": "property", "name": "invalid_variable_error", "type": { - "$id": "3799", + "$id": "3867", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45116,11 +45928,11 @@ "isHttpMetadata": false }, { - "$id": "3800", + "$id": "3868", "kind": "property", "name": "other_error", "type": { - "$id": "3801", + "$id": "3869", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45136,11 +45948,11 @@ "isHttpMetadata": false }, { - "$id": "3802", + "$id": "3870", "kind": "property", "name": "python_grader_server_error", "type": { - "$id": "3803", + "$id": "3871", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45156,14 +45968,14 @@ "isHttpMetadata": false }, { - "$id": "3804", + "$id": "3872", "kind": "property", "name": "python_grader_server_error_type", "type": { - "$id": "3805", + "$id": "3873", "kind": "nullable", "type": { - "$id": "3806", + "$id": "3874", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45181,11 +45993,11 @@ "isHttpMetadata": false }, { - "$id": "3807", + "$id": "3875", "kind": "property", "name": "python_grader_runtime_error", "type": { - "$id": "3808", + "$id": "3876", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45201,14 +46013,14 @@ "isHttpMetadata": false }, { - "$id": "3809", + "$id": "3877", "kind": "property", "name": "python_grader_runtime_error_details", "type": { - "$id": "3810", + "$id": "3878", "kind": "nullable", "type": { - "$id": "3811", + "$id": "3879", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45226,11 +46038,11 @@ "isHttpMetadata": false }, { - "$id": "3812", + "$id": "3880", "kind": "property", "name": "model_grader_server_error", "type": { - "$id": "3813", + "$id": "3881", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45246,11 +46058,11 @@ "isHttpMetadata": false }, { - "$id": "3814", + "$id": "3882", "kind": "property", "name": "model_grader_refusal_error", "type": { - "$id": "3815", + "$id": "3883", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45266,11 +46078,11 @@ "isHttpMetadata": false }, { - "$id": "3816", + "$id": "3884", "kind": "property", "name": "model_grader_parse_error", "type": { - "$id": "3817", + "$id": "3885", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45286,14 +46098,14 @@ "isHttpMetadata": false }, { - "$id": "3818", + "$id": "3886", "kind": "property", "name": "model_grader_server_error_details", "type": { - "$id": "3819", + "$id": "3887", "kind": "nullable", "type": { - "$id": "3820", + "$id": "3888", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45322,11 +46134,11 @@ "isHttpMetadata": false }, { - "$id": "3821", + "$id": "3889", "kind": "property", "name": "execution_time", "type": { - "$id": "3822", + "$id": "3890", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -45342,11 +46154,11 @@ "isHttpMetadata": false }, { - "$id": "3823", + "$id": "3891", "kind": "property", "name": "scores", "type": { - "$id": "3824", + "$id": "3892", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -45362,14 +46174,14 @@ "isHttpMetadata": false }, { - "$id": "3825", + "$id": "3893", "kind": "property", "name": "token_usage", "type": { - "$id": "3826", + "$id": "3894", "kind": "nullable", "type": { - "$id": "3827", + "$id": "3895", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45387,14 +46199,14 @@ "isHttpMetadata": false }, { - "$id": "3828", + "$id": "3896", "kind": "property", "name": "sampled_model_name", "type": { - "$id": "3829", + "$id": "3897", "kind": "nullable", "type": { - "$id": "3830", + "$id": "3898", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45423,11 +46235,11 @@ "isHttpMetadata": false }, { - "$id": "3831", + "$id": "3899", "kind": "property", "name": "sub_rewards", "type": { - "$id": "3832", + "$id": "3900", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -45443,11 +46255,11 @@ "isHttpMetadata": false }, { - "$id": "3833", + "$id": "3901", "kind": "property", "name": "model_grader_token_usage_per_model", "type": { - "$id": "3834", + "$id": "3902", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -45465,13 +46277,13 @@ ] }, { - "$ref": "3783" + "$ref": "3851" }, { - "$ref": "3789" + "$ref": "3857" }, { - "$id": "3835", + "$id": "3903", "kind": "model", "name": "ValidateGraderRequest", "namespace": "OpenAI", @@ -45485,30 +46297,30 @@ }, "properties": [ { - "$id": "3836", + "$id": "3904", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "3837", + "$id": "3905", "kind": "union", "name": "ValidateGraderRequestGrader", "variantTypes": [ { - "$ref": "3507" + "$ref": "3575" }, { - "$ref": "3510" + "$ref": "3578" }, { - "$ref": "3528" + "$ref": "3596" }, { - "$ref": "3537" + "$ref": "3605" }, { - "$ref": "3573" + "$ref": "3641" } ], "namespace": "OpenAI", @@ -45530,7 +46342,7 @@ ] }, { - "$id": "3838", + "$id": "3906", "kind": "model", "name": "ValidateGraderResponse", "namespace": "OpenAI", @@ -45540,29 +46352,29 @@ "serializationOptions": {}, "properties": [ { - "$id": "3839", + "$id": "3907", "kind": "property", "name": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "3840", + "$id": "3908", "kind": "union", "name": "ValidateGraderResponseGrader", "variantTypes": [ { - "$ref": "3507" + "$ref": "3575" }, { - "$ref": "3510" + "$ref": "3578" }, { - "$ref": "3528" + "$ref": "3596" }, { - "$ref": "3537" + "$ref": "3605" }, { - "$ref": "3573" + "$ref": "3641" } ], "namespace": "OpenAI", @@ -45580,7 +46392,7 @@ ] }, { - "$id": "3841", + "$id": "3909", "kind": "model", "name": "EvalList", "namespace": "OpenAI", @@ -45595,13 +46407,13 @@ }, "properties": [ { - "$id": "3842", + "$id": "3910", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1787" + "$ref": "1851" }, "optional": false, "readOnly": false, @@ -45617,17 +46429,17 @@ "isHttpMetadata": false }, { - "$id": "3843", + "$id": "3911", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of eval objects.", "type": { - "$id": "3844", + "$id": "3912", "kind": "array", "name": "ArrayEval", "valueType": { - "$id": "3845", + "$id": "3913", "kind": "model", "name": "Eval", "namespace": "OpenAI", @@ -45642,13 +46454,13 @@ }, "properties": [ { - "$id": "3846", + "$id": "3914", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type.", "type": { - "$ref": "1789" + "$ref": "1853" }, "optional": false, "readOnly": false, @@ -45664,13 +46476,13 @@ "isHttpMetadata": false }, { - "$id": "3847", + "$id": "3915", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the evaluation.", "type": { - "$id": "3848", + "$id": "3916", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45690,13 +46502,13 @@ "isHttpMetadata": false }, { - "$id": "3849", + "$id": "3917", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the evaluation.", "type": { - "$id": "3850", + "$id": "3918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45716,13 +46528,13 @@ "isHttpMetadata": false }, { - "$id": "3851", + "$id": "3919", "kind": "property", "name": "data_source_config", "serializedName": "data_source_config", "doc": "Configuration of data sources used in runs of the evaluation.", "type": { - "$id": "3852", + "$id": "3920", "kind": "model", "name": "EvalDataSourceConfigResource", "namespace": "OpenAI", @@ -45735,7 +46547,7 @@ } }, "discriminatorProperty": { - "$id": "3853", + "$id": "3921", "kind": "property", "name": "type", "serializedName": "type", @@ -45757,12 +46569,12 @@ }, "properties": [ { - "$ref": "3853" + "$ref": "3921" } ], "discriminatedSubtypes": { "custom": { - "$id": "3854", + "$id": "3922", "kind": "model", "name": "EvalCustomDataSourceConfigResource", "namespace": "OpenAI", @@ -45777,17 +46589,17 @@ } }, "baseModel": { - "$ref": "3852" + "$ref": "3920" }, "properties": [ { - "$id": "3855", + "$id": "3923", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `custom`.", "type": { - "$id": "3856", + "$id": "3924", "kind": "enumvalue", "name": "custom", "value": "custom", @@ -45795,14 +46607,14 @@ "$ref": "310" }, "enumType": { - "$id": "3857", + "$id": "3925", "kind": "enum", "decorators": [], "name": "EvalDataSourceConfigType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "3858", + "$id": "3926", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -45811,42 +46623,42 @@ }, "values": [ { - "$id": "3859", + "$id": "3927", "kind": "enumvalue", "decorators": [], "name": "custom", "value": "custom", "valueType": { - "$ref": "3858" + "$ref": "3926" }, "enumType": { - "$ref": "3857" + "$ref": "3925" } }, { - "$id": "3860", + "$id": "3928", "kind": "enumvalue", "decorators": [], "name": "logs", "value": "logs", "valueType": { - "$ref": "3858" + "$ref": "3926" }, "enumType": { - "$ref": "3857" + "$ref": "3925" } }, { - "$id": "3861", + "$id": "3929", "kind": "enumvalue", "decorators": [], "name": "stored_completions", "value": "stored_completions", "valueType": { - "$ref": "3858" + "$ref": "3926" }, "enumType": { - "$ref": "3857" + "$ref": "3925" } } ], @@ -45875,23 +46687,23 @@ "isHttpMetadata": false }, { - "$id": "3862", + "$id": "3930", "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": "3863", + "$id": "3931", "kind": "dict", "keyType": { - "$id": "3864", + "$id": "3932", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "3865", + "$id": "3933", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -45915,7 +46727,7 @@ ] }, "stored_completions": { - "$id": "3866", + "$id": "3934", "kind": "model", "name": "EvalStoredCompletionsDataSourceConfigResource", "namespace": "OpenAI", @@ -45931,17 +46743,17 @@ } }, "baseModel": { - "$ref": "3852" + "$ref": "3920" }, "properties": [ { - "$id": "3867", + "$id": "3935", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `stored_completions`.", "type": { - "$id": "3868", + "$id": "3936", "kind": "enumvalue", "name": "stored_completions", "value": "stored_completions", @@ -45949,7 +46761,7 @@ "$ref": "310" }, "enumType": { - "$ref": "3857" + "$ref": "3925" }, "decorators": [] }, @@ -45967,13 +46779,13 @@ "isHttpMetadata": false }, { - "$id": "3869", + "$id": "3937", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -45989,13 +46801,13 @@ "isHttpMetadata": false }, { - "$id": "3870", + "$id": "3938", "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": "3863" + "$ref": "3931" }, "optional": false, "readOnly": false, @@ -46013,7 +46825,7 @@ ] }, "logs": { - "$id": "3871", + "$id": "3939", "kind": "model", "name": "EvalLogsDataSourceConfigResource", "namespace": "OpenAI", @@ -46028,17 +46840,17 @@ } }, "baseModel": { - "$ref": "3852" + "$ref": "3920" }, "properties": [ { - "$id": "3872", + "$id": "3940", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `logs`.", "type": { - "$id": "3873", + "$id": "3941", "kind": "enumvalue", "name": "logs", "value": "logs", @@ -46046,7 +46858,7 @@ "$ref": "310" }, "enumType": { - "$ref": "3857" + "$ref": "3925" }, "decorators": [] }, @@ -46064,13 +46876,13 @@ "isHttpMetadata": false }, { - "$id": "3874", + "$id": "3942", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -46086,13 +46898,13 @@ "isHttpMetadata": false }, { - "$id": "3875", + "$id": "3943", "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": "3863" + "$ref": "3931" }, "optional": false, "readOnly": false, @@ -46125,20 +46937,20 @@ "isHttpMetadata": false }, { - "$id": "3876", + "$id": "3944", "kind": "property", "name": "testing_criteria", "serializedName": "testing_criteria", "doc": "A list of testing criteria.", "type": { - "$id": "3877", + "$id": "3945", "kind": "nullable", "type": { - "$id": "3878", + "$id": "3946", "kind": "array", "name": "ArrayEvalGraderResource", "valueType": { - "$id": "3879", + "$id": "3947", "kind": "model", "name": "EvalGraderResource", "namespace": "OpenAI", @@ -46151,7 +46963,7 @@ } }, "discriminatorProperty": { - "$id": "3880", + "$id": "3948", "kind": "property", "name": "type", "serializedName": "type", @@ -46173,12 +46985,12 @@ }, "properties": [ { - "$ref": "3880" + "$ref": "3948" } ], "discriminatedSubtypes": { "label_model": { - "$id": "3881", + "$id": "3949", "kind": "model", "name": "EvalGraderLabelModelResource", "namespace": "OpenAI", @@ -46192,17 +47004,17 @@ } }, "baseModel": { - "$ref": "3879" + "$ref": "3947" }, "properties": [ { - "$id": "3882", + "$id": "3950", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `label_model`.", "type": { - "$ref": "3582" + "$ref": "3650" }, "optional": false, "readOnly": false, @@ -46218,13 +47030,13 @@ "isHttpMetadata": false }, { - "$id": "3883", + "$id": "3951", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3884", + "$id": "3952", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46244,13 +47056,13 @@ "isHttpMetadata": false }, { - "$id": "3885", + "$id": "3953", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation. Must support structured outputs.", "type": { - "$id": "3886", + "$id": "3954", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46270,12 +47082,12 @@ "isHttpMetadata": false }, { - "$id": "3887", + "$id": "3955", "kind": "property", "name": "input", "serializedName": "input", "type": { - "$ref": "3547" + "$ref": "3615" }, "optional": false, "readOnly": false, @@ -46291,13 +47103,13 @@ "isHttpMetadata": false }, { - "$id": "3888", + "$id": "3956", "kind": "property", "name": "labels", "serializedName": "labels", "doc": "The labels to assign to each item in the evaluation.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -46313,13 +47125,13 @@ "isHttpMetadata": false }, { - "$id": "3889", + "$id": "3957", "kind": "property", "name": "passing_labels", "serializedName": "passing_labels", "doc": "The labels that indicate a passing result. Must be a subset of labels.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -46337,7 +47149,7 @@ ] }, "text_similarity": { - "$id": "3890", + "$id": "3958", "kind": "model", "name": "EvalGraderTextSimilarityResource", "namespace": "OpenAI", @@ -46351,17 +47163,17 @@ } }, "baseModel": { - "$ref": "3879" + "$ref": "3947" }, "properties": [ { - "$id": "3891", + "$id": "3959", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of grader.", "type": { - "$ref": "3512" + "$ref": "3580" }, "optional": false, "readOnly": false, @@ -46377,13 +47189,13 @@ "isHttpMetadata": false }, { - "$id": "3892", + "$id": "3960", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3893", + "$id": "3961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46403,13 +47215,13 @@ "isHttpMetadata": false }, { - "$id": "3894", + "$id": "3962", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text being graded.", "type": { - "$id": "3895", + "$id": "3963", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46429,13 +47241,13 @@ "isHttpMetadata": false }, { - "$id": "3896", + "$id": "3964", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The text being graded against.", "type": { - "$id": "3897", + "$id": "3965", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46455,7 +47267,7 @@ "isHttpMetadata": false }, { - "$id": "3898", + "$id": "3966", "kind": "property", "name": "evaluation_metric", "serializedName": "evaluation_metric", @@ -46477,13 +47289,13 @@ "isHttpMetadata": false }, { - "$id": "3899", + "$id": "3967", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3900", + "$id": "3968", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -46505,7 +47317,7 @@ ] }, "python": { - "$id": "3901", + "$id": "3969", "kind": "model", "name": "EvalGraderPythonResource", "namespace": "OpenAI", @@ -46519,17 +47331,17 @@ } }, "baseModel": { - "$ref": "3879" + "$ref": "3947" }, "properties": [ { - "$id": "3902", + "$id": "3970", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `python`.", "type": { - "$ref": "3530" + "$ref": "3598" }, "optional": false, "readOnly": false, @@ -46545,13 +47357,13 @@ "isHttpMetadata": false }, { - "$id": "3903", + "$id": "3971", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3904", + "$id": "3972", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46571,13 +47383,13 @@ "isHttpMetadata": false }, { - "$id": "3905", + "$id": "3973", "kind": "property", "name": "source", "serializedName": "source", "doc": "The source code of the python script.", "type": { - "$id": "3906", + "$id": "3974", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46597,13 +47409,13 @@ "isHttpMetadata": false }, { - "$id": "3907", + "$id": "3975", "kind": "property", "name": "image_tag", "serializedName": "image_tag", "doc": "The image tag to use for the python script.", "type": { - "$id": "3908", + "$id": "3976", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46623,13 +47435,13 @@ "isHttpMetadata": false }, { - "$id": "3909", + "$id": "3977", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3910", + "$id": "3978", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -46651,7 +47463,7 @@ ] }, "score_model": { - "$id": "3911", + "$id": "3979", "kind": "model", "name": "EvalGraderScoreModelResource", "namespace": "OpenAI", @@ -46665,17 +47477,17 @@ } }, "baseModel": { - "$ref": "3879" + "$ref": "3947" }, "properties": [ { - "$id": "3912", + "$id": "3980", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `score_model`.", "type": { - "$ref": "3539" + "$ref": "3607" }, "optional": false, "readOnly": false, @@ -46691,13 +47503,13 @@ "isHttpMetadata": false }, { - "$id": "3913", + "$id": "3981", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3914", + "$id": "3982", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46717,13 +47529,13 @@ "isHttpMetadata": false }, { - "$id": "3915", + "$id": "3983", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation.", "type": { - "$id": "3916", + "$id": "3984", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46743,13 +47555,13 @@ "isHttpMetadata": false }, { - "$id": "3917", + "$id": "3985", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "doc": "The sampling parameters for the model.", "type": { - "$id": "3918", + "$id": "3986", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -46769,13 +47581,13 @@ "isHttpMetadata": false }, { - "$id": "3919", + "$id": "3987", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$ref": "3547" + "$ref": "3615" }, "optional": false, "readOnly": false, @@ -46791,13 +47603,13 @@ "isHttpMetadata": false }, { - "$id": "3920", + "$id": "3988", "kind": "property", "name": "range", "serializedName": "range", "doc": "The range of the score. Defaults to `[0, 1]`.", "type": { - "$ref": "3571" + "$ref": "3639" }, "optional": true, "readOnly": false, @@ -46813,13 +47625,13 @@ "isHttpMetadata": false }, { - "$id": "3921", + "$id": "3989", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3922", + "$id": "3990", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -46861,18 +47673,18 @@ "isHttpMetadata": false }, { - "$id": "3923", + "$id": "3991", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the eval was created.", "type": { - "$id": "3924", + "$id": "3992", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3925", + "$id": "3993", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -46895,13 +47707,13 @@ "isHttpMetadata": false }, { - "$id": "3926", + "$id": "3994", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -46935,13 +47747,13 @@ "isHttpMetadata": false }, { - "$id": "3927", + "$id": "3995", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval in the data array.", "type": { - "$id": "3928", + "$id": "3996", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46961,13 +47773,13 @@ "isHttpMetadata": false }, { - "$id": "3929", + "$id": "3997", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval in the data array.", "type": { - "$id": "3930", + "$id": "3998", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46987,13 +47799,13 @@ "isHttpMetadata": false }, { - "$id": "3931", + "$id": "3999", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more evals available.", "type": { - "$id": "3932", + "$id": "4000", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -47015,37 +47827,37 @@ ] }, { - "$ref": "3845" + "$ref": "3913" }, { - "$ref": "3852" + "$ref": "3920" }, { - "$ref": "3854" + "$ref": "3922" }, { - "$ref": "3866" + "$ref": "3934" }, { - "$ref": "3871" + "$ref": "3939" }, { - "$ref": "3879" + "$ref": "3947" }, { - "$ref": "3881" + "$ref": "3949" }, { - "$ref": "3890" + "$ref": "3958" }, { - "$ref": "3901" + "$ref": "3969" }, { - "$ref": "3911" + "$ref": "3979" }, { - "$id": "3933", + "$id": "4001", "kind": "model", "name": "CreateEvalRequest", "namespace": "OpenAI", @@ -47059,13 +47871,13 @@ }, "properties": [ { - "$id": "3934", + "$id": "4002", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the evaluation.", "type": { - "$id": "3935", + "$id": "4003", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47085,13 +47897,13 @@ "isHttpMetadata": false }, { - "$id": "3936", + "$id": "4004", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -47107,13 +47919,13 @@ "isHttpMetadata": false }, { - "$id": "3937", + "$id": "4005", "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": "3938", + "$id": "4006", "kind": "model", "name": "EvalDataSourceConfigParams", "namespace": "OpenAI", @@ -47126,7 +47938,7 @@ } }, "discriminatorProperty": { - "$id": "3939", + "$id": "4007", "kind": "property", "name": "type", "serializedName": "type", @@ -47148,12 +47960,12 @@ }, "properties": [ { - "$ref": "3939" + "$ref": "4007" } ], "discriminatedSubtypes": { "custom": { - "$id": "3940", + "$id": "4008", "kind": "model", "name": "EvalCustomDataSourceConfigParams", "namespace": "OpenAI", @@ -47168,17 +47980,17 @@ } }, "baseModel": { - "$ref": "3938" + "$ref": "4006" }, "properties": [ { - "$id": "3941", + "$id": "4009", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `custom`.", "type": { - "$ref": "3856" + "$ref": "3924" }, "optional": false, "readOnly": false, @@ -47194,13 +48006,13 @@ "isHttpMetadata": false }, { - "$id": "3942", + "$id": "4010", "kind": "property", "name": "item_schema", "serializedName": "item_schema", "doc": "The json schema for each row in the data source.", "type": { - "$ref": "3863" + "$ref": "3931" }, "optional": false, "readOnly": false, @@ -47216,13 +48028,13 @@ "isHttpMetadata": false }, { - "$id": "3943", + "$id": "4011", "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": "3944", + "$id": "4012", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -47244,7 +48056,7 @@ ] }, "logs": { - "$id": "3945", + "$id": "4013", "kind": "model", "name": "EvalLogsDataSourceConfigParams", "namespace": "OpenAI", @@ -47259,17 +48071,17 @@ } }, "baseModel": { - "$ref": "3938" + "$ref": "4006" }, "properties": [ { - "$id": "3946", + "$id": "4014", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `logs`.", "type": { - "$ref": "3873" + "$ref": "3941" }, "optional": false, "readOnly": false, @@ -47285,13 +48097,13 @@ "isHttpMetadata": false }, { - "$id": "3947", + "$id": "4015", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -47309,7 +48121,7 @@ ] }, "stored_completions": { - "$id": "3948", + "$id": "4016", "kind": "model", "name": "EvalStoredCompletionsDataSourceConfigParams", "namespace": "OpenAI", @@ -47325,17 +48137,17 @@ } }, "baseModel": { - "$ref": "3938" + "$ref": "4006" }, "properties": [ { - "$id": "3949", + "$id": "4017", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `stored_completions`.", "type": { - "$ref": "3868" + "$ref": "3936" }, "optional": false, "readOnly": false, @@ -47351,13 +48163,13 @@ "isHttpMetadata": false }, { - "$id": "3950", + "$id": "4018", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Metadata filters for the stored completions data source.", "type": { - "$ref": "3863" + "$ref": "3931" }, "optional": true, "readOnly": false, @@ -47390,17 +48202,17 @@ "isHttpMetadata": false }, { - "$id": "3951", + "$id": "4019", "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": "3952", + "$id": "4020", "kind": "array", "name": "ArrayEvalGraderParams", "valueType": { - "$id": "3953", + "$id": "4021", "kind": "model", "name": "EvalGraderParams", "namespace": "OpenAI", @@ -47413,7 +48225,7 @@ } }, "discriminatorProperty": { - "$id": "3954", + "$id": "4022", "kind": "property", "name": "type", "serializedName": "type", @@ -47435,12 +48247,12 @@ }, "properties": [ { - "$ref": "3954" + "$ref": "4022" } ], "discriminatedSubtypes": { "label_model": { - "$id": "3955", + "$id": "4023", "kind": "model", "name": "EvalGraderLabelModelParams", "namespace": "OpenAI", @@ -47455,17 +48267,17 @@ } }, "baseModel": { - "$ref": "3953" + "$ref": "4021" }, "properties": [ { - "$id": "3956", + "$id": "4024", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `label_model`.", "type": { - "$ref": "3582" + "$ref": "3650" }, "optional": false, "readOnly": false, @@ -47481,13 +48293,13 @@ "isHttpMetadata": false }, { - "$id": "3957", + "$id": "4025", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3958", + "$id": "4026", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47507,13 +48319,13 @@ "isHttpMetadata": false }, { - "$id": "3959", + "$id": "4027", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation. Must support structured outputs.", "type": { - "$id": "3960", + "$id": "4028", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47533,22 +48345,22 @@ "isHttpMetadata": false }, { - "$id": "3961", + "$id": "4029", "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": "3962", + "$id": "4030", "kind": "array", "name": "ArrayCreateEvalItem", "valueType": { - "$id": "3963", + "$id": "4031", "kind": "union", "name": "CreateEvalItem", "variantTypes": [ { - "$id": "3964", + "$id": "4032", "kind": "model", "name": "EvalGraderLabelModelParamsInput", "namespace": "OpenAI", @@ -47562,13 +48374,13 @@ }, "properties": [ { - "$id": "3965", + "$id": "4033", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "3966", + "$id": "4034", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47588,13 +48400,13 @@ "isHttpMetadata": false }, { - "$id": "3967", + "$id": "4035", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "3968", + "$id": "4036", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47616,7 +48428,7 @@ ] }, { - "$ref": "3548" + "$ref": "3616" } ], "namespace": "OpenAI", @@ -47639,13 +48451,13 @@ "isHttpMetadata": false }, { - "$id": "3969", + "$id": "4037", "kind": "property", "name": "labels", "serializedName": "labels", "doc": "The labels to classify to each item in the evaluation.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -47661,13 +48473,13 @@ "isHttpMetadata": false }, { - "$id": "3970", + "$id": "4038", "kind": "property", "name": "passing_labels", "serializedName": "passing_labels", "doc": "The labels that indicate a passing result. Must be a subset of labels.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -47685,7 +48497,7 @@ ] }, "string_check": { - "$id": "3971", + "$id": "4039", "kind": "model", "name": "EvalGraderStringCheckParams", "namespace": "OpenAI", @@ -47699,17 +48511,17 @@ } }, "baseModel": { - "$ref": "3953" + "$ref": "4021" }, "properties": [ { - "$id": "3972", + "$id": "4040", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `string_check`.", "type": { - "$ref": "3593" + "$ref": "3661" }, "optional": false, "readOnly": false, @@ -47725,13 +48537,13 @@ "isHttpMetadata": false }, { - "$id": "3973", + "$id": "4041", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3974", + "$id": "4042", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47751,13 +48563,13 @@ "isHttpMetadata": false }, { - "$id": "3975", + "$id": "4043", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$id": "3976", + "$id": "4044", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47777,13 +48589,13 @@ "isHttpMetadata": false }, { - "$id": "3977", + "$id": "4045", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The reference text. This may include template strings.", "type": { - "$id": "3978", + "$id": "4046", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47803,7 +48615,7 @@ "isHttpMetadata": false }, { - "$id": "3979", + "$id": "4047", "kind": "property", "name": "operation", "serializedName": "operation", @@ -47827,7 +48639,7 @@ ] }, "text_similarity": { - "$id": "3980", + "$id": "4048", "kind": "model", "name": "EvalGraderTextSimilarityParams", "namespace": "OpenAI", @@ -47841,17 +48653,17 @@ } }, "baseModel": { - "$ref": "3953" + "$ref": "4021" }, "properties": [ { - "$id": "3981", + "$id": "4049", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of grader.", "type": { - "$ref": "3512" + "$ref": "3580" }, "optional": false, "readOnly": false, @@ -47867,13 +48679,13 @@ "isHttpMetadata": false }, { - "$id": "3982", + "$id": "4050", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3983", + "$id": "4051", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47893,13 +48705,13 @@ "isHttpMetadata": false }, { - "$id": "3984", + "$id": "4052", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text being graded.", "type": { - "$id": "3985", + "$id": "4053", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47919,13 +48731,13 @@ "isHttpMetadata": false }, { - "$id": "3986", + "$id": "4054", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The text being graded against.", "type": { - "$id": "3987", + "$id": "4055", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47945,7 +48757,7 @@ "isHttpMetadata": false }, { - "$id": "3988", + "$id": "4056", "kind": "property", "name": "evaluation_metric", "serializedName": "evaluation_metric", @@ -47967,13 +48779,13 @@ "isHttpMetadata": false }, { - "$id": "3989", + "$id": "4057", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3990", + "$id": "4058", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -47995,7 +48807,7 @@ ] }, "python": { - "$id": "3991", + "$id": "4059", "kind": "model", "name": "EvalGraderPythonParams", "namespace": "OpenAI", @@ -48009,17 +48821,17 @@ } }, "baseModel": { - "$ref": "3953" + "$ref": "4021" }, "properties": [ { - "$id": "3992", + "$id": "4060", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `python`.", "type": { - "$ref": "3530" + "$ref": "3598" }, "optional": false, "readOnly": false, @@ -48035,13 +48847,13 @@ "isHttpMetadata": false }, { - "$id": "3993", + "$id": "4061", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3994", + "$id": "4062", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48061,13 +48873,13 @@ "isHttpMetadata": false }, { - "$id": "3995", + "$id": "4063", "kind": "property", "name": "source", "serializedName": "source", "doc": "The source code of the python script.", "type": { - "$id": "3996", + "$id": "4064", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48087,13 +48899,13 @@ "isHttpMetadata": false }, { - "$id": "3997", + "$id": "4065", "kind": "property", "name": "image_tag", "serializedName": "image_tag", "doc": "The image tag to use for the python script.", "type": { - "$id": "3998", + "$id": "4066", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48113,13 +48925,13 @@ "isHttpMetadata": false }, { - "$id": "3999", + "$id": "4067", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "4000", + "$id": "4068", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -48141,7 +48953,7 @@ ] }, "score_model": { - "$id": "4001", + "$id": "4069", "kind": "model", "name": "EvalGraderScoreModelParams", "namespace": "OpenAI", @@ -48155,17 +48967,17 @@ } }, "baseModel": { - "$ref": "3953" + "$ref": "4021" }, "properties": [ { - "$id": "4002", + "$id": "4070", "kind": "property", "name": "type", "serializedName": "type", "doc": "The object type, which is always `score_model`.", "type": { - "$ref": "3539" + "$ref": "3607" }, "optional": false, "readOnly": false, @@ -48181,13 +48993,13 @@ "isHttpMetadata": false }, { - "$id": "4003", + "$id": "4071", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "4004", + "$id": "4072", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48207,13 +49019,13 @@ "isHttpMetadata": false }, { - "$id": "4005", + "$id": "4073", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation.", "type": { - "$id": "4006", + "$id": "4074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48233,13 +49045,13 @@ "isHttpMetadata": false }, { - "$id": "4007", + "$id": "4075", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "doc": "The sampling parameters for the model.", "type": { - "$id": "4008", + "$id": "4076", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -48259,13 +49071,13 @@ "isHttpMetadata": false }, { - "$id": "4009", + "$id": "4077", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$ref": "3547" + "$ref": "3615" }, "optional": false, "readOnly": false, @@ -48281,13 +49093,13 @@ "isHttpMetadata": false }, { - "$id": "4010", + "$id": "4078", "kind": "property", "name": "range", "serializedName": "range", "doc": "The range of the score. Defaults to `[0, 1]`.", "type": { - "$ref": "3571" + "$ref": "3639" }, "optional": true, "readOnly": false, @@ -48303,13 +49115,13 @@ "isHttpMetadata": false }, { - "$id": "4011", + "$id": "4079", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "4012", + "$id": "4080", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -48351,40 +49163,40 @@ ] }, { - "$ref": "3938" + "$ref": "4006" }, { - "$ref": "3940" + "$ref": "4008" }, { - "$ref": "3945" + "$ref": "4013" }, { - "$ref": "3948" + "$ref": "4016" }, { - "$ref": "3953" + "$ref": "4021" }, { - "$ref": "3955" + "$ref": "4023" }, { - "$ref": "3964" + "$ref": "4032" }, { - "$ref": "3971" + "$ref": "4039" }, { - "$ref": "3980" + "$ref": "4048" }, { - "$ref": "3991" + "$ref": "4059" }, { - "$ref": "4001" + "$ref": "4069" }, { - "$id": "4013", + "$id": "4081", "kind": "model", "name": "UpdateEvalRequest", "namespace": "OpenAI", @@ -48398,12 +49210,12 @@ }, "properties": [ { - "$id": "4014", + "$id": "4082", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "4015", + "$id": "4083", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48423,12 +49235,12 @@ "isHttpMetadata": false }, { - "$id": "4016", + "$id": "4084", "kind": "property", "name": "metadata", "serializedName": "metadata", "type": { - "$id": "4017", + "$id": "4085", "kind": "model", "name": "MetadataPropertyForRequest", "namespace": "OpenAI", @@ -48443,13 +49255,13 @@ }, "properties": [ { - "$id": "4018", + "$id": "4086", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -48482,10 +49294,10 @@ ] }, { - "$ref": "4017" + "$ref": "4085" }, { - "$id": "4019", + "$id": "4087", "kind": "model", "name": "DeleteEvalResponse", "namespace": "OpenAI", @@ -48499,12 +49311,12 @@ }, "properties": [ { - "$id": "4020", + "$id": "4088", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1791" + "$ref": "1855" }, "optional": false, "readOnly": false, @@ -48520,12 +49332,12 @@ "isHttpMetadata": false }, { - "$id": "4021", + "$id": "4089", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "4022", + "$id": "4090", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -48545,12 +49357,12 @@ "isHttpMetadata": false }, { - "$id": "4023", + "$id": "4091", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "4024", + "$id": "4092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48572,7 +49384,7 @@ ] }, { - "$id": "4025", + "$id": "4093", "kind": "model", "name": "EvalRunList", "namespace": "OpenAI", @@ -48587,13 +49399,13 @@ }, "properties": [ { - "$id": "4026", + "$id": "4094", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1793" + "$ref": "1857" }, "optional": false, "readOnly": false, @@ -48609,17 +49421,17 @@ "isHttpMetadata": false }, { - "$id": "4027", + "$id": "4095", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of eval run objects.", "type": { - "$id": "4028", + "$id": "4096", "kind": "array", "name": "ArrayEvalRun", "valueType": { - "$id": "4029", + "$id": "4097", "kind": "model", "name": "EvalRun", "namespace": "OpenAI", @@ -48634,13 +49446,13 @@ }, "properties": [ { - "$id": "4030", + "$id": "4098", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of the object. Always \"eval.run\".", "type": { - "$ref": "1795" + "$ref": "1859" }, "optional": false, "readOnly": false, @@ -48656,13 +49468,13 @@ "isHttpMetadata": false }, { - "$id": "4031", + "$id": "4099", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the evaluation run.", "type": { - "$id": "4032", + "$id": "4100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48682,13 +49494,13 @@ "isHttpMetadata": false }, { - "$id": "4033", + "$id": "4101", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "doc": "The identifier of the associated evaluation.", "type": { - "$id": "4034", + "$id": "4102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48708,13 +49520,13 @@ "isHttpMetadata": false }, { - "$id": "4035", + "$id": "4103", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the evaluation run.", "type": { - "$id": "4036", + "$id": "4104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48734,13 +49546,13 @@ "isHttpMetadata": false }, { - "$id": "4037", + "$id": "4105", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model that is evaluated, if applicable.", "type": { - "$id": "4038", + "$id": "4106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48760,13 +49572,13 @@ "isHttpMetadata": false }, { - "$id": "4039", + "$id": "4107", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the evaluation run.", "type": { - "$id": "4040", + "$id": "4108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48786,18 +49598,18 @@ "isHttpMetadata": false }, { - "$id": "4041", + "$id": "4109", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the evaluation run was created.", "type": { - "$id": "4042", + "$id": "4110", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "4043", + "$id": "4111", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -48820,13 +49632,13 @@ "isHttpMetadata": false }, { - "$id": "4044", + "$id": "4112", "kind": "property", "name": "report_url", "serializedName": "report_url", "doc": "The URL to the rendered evaluation run report on the UI dashboard.", "type": { - "$id": "4045", + "$id": "4113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48846,13 +49658,13 @@ "isHttpMetadata": false }, { - "$id": "4046", + "$id": "4114", "kind": "property", "name": "result_counts", "serializedName": "result_counts", "doc": "Counters summarizing the outcomes of the evaluation run.", "type": { - "$id": "4047", + "$id": "4115", "kind": "model", "name": "EvalRunResultCounts", "namespace": "OpenAI", @@ -48866,13 +49678,13 @@ }, "properties": [ { - "$id": "4048", + "$id": "4116", "kind": "property", "name": "total", "serializedName": "total", "doc": "Total number of executed output items.", "type": { - "$id": "4049", + "$id": "4117", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -48892,13 +49704,13 @@ "isHttpMetadata": false }, { - "$id": "4050", + "$id": "4118", "kind": "property", "name": "errored", "serializedName": "errored", "doc": "Number of output items that resulted in an error.", "type": { - "$id": "4051", + "$id": "4119", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -48918,13 +49730,13 @@ "isHttpMetadata": false }, { - "$id": "4052", + "$id": "4120", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "Number of output items that failed to pass the evaluation.", "type": { - "$id": "4053", + "$id": "4121", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -48944,13 +49756,13 @@ "isHttpMetadata": false }, { - "$id": "4054", + "$id": "4122", "kind": "property", "name": "passed", "serializedName": "passed", "doc": "Number of output items that passed the evaluation.", "type": { - "$id": "4055", + "$id": "4123", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -48985,17 +49797,17 @@ "isHttpMetadata": false }, { - "$id": "4056", + "$id": "4124", "kind": "property", "name": "per_model_usage", "serializedName": "per_model_usage", "doc": "Usage statistics for each model during the evaluation run.", "type": { - "$id": "4057", + "$id": "4125", "kind": "array", "name": "Array10", "valueType": { - "$id": "4058", + "$id": "4126", "kind": "model", "name": "EvalRunPerModelUsage", "namespace": "OpenAI", @@ -49009,13 +49821,13 @@ }, "properties": [ { - "$id": "4059", + "$id": "4127", "kind": "property", "name": "model_name", "serializedName": "model_name", "doc": "The name of the model.", "type": { - "$id": "4060", + "$id": "4128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49035,13 +49847,13 @@ "isHttpMetadata": false }, { - "$id": "4061", + "$id": "4129", "kind": "property", "name": "invocation_count", "serializedName": "invocation_count", "doc": "The number of invocations.", "type": { - "$id": "4062", + "$id": "4130", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49061,13 +49873,13 @@ "isHttpMetadata": false }, { - "$id": "4063", + "$id": "4131", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "The number of prompt tokens used.", "type": { - "$id": "4064", + "$id": "4132", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49087,13 +49899,13 @@ "isHttpMetadata": false }, { - "$id": "4065", + "$id": "4133", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "The number of completion tokens generated.", "type": { - "$id": "4066", + "$id": "4134", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49113,13 +49925,13 @@ "isHttpMetadata": false }, { - "$id": "4067", + "$id": "4135", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "4068", + "$id": "4136", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49139,13 +49951,13 @@ "isHttpMetadata": false }, { - "$id": "4069", + "$id": "4137", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of tokens retrieved from cache.", "type": { - "$id": "4070", + "$id": "4138", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49183,17 +49995,17 @@ "isHttpMetadata": false }, { - "$id": "4071", + "$id": "4139", "kind": "property", "name": "per_testing_criteria_results", "serializedName": "per_testing_criteria_results", "doc": "Results per testing criteria applied during the evaluation run.", "type": { - "$id": "4072", + "$id": "4140", "kind": "array", "name": "Array11", "valueType": { - "$id": "4073", + "$id": "4141", "kind": "model", "name": "EvalRunPerTestingCriteriaResult", "namespace": "OpenAI", @@ -49207,13 +50019,13 @@ }, "properties": [ { - "$id": "4074", + "$id": "4142", "kind": "property", "name": "testing_criteria", "serializedName": "testing_criteria", "doc": "A description of the testing criteria.", "type": { - "$id": "4075", + "$id": "4143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49233,13 +50045,13 @@ "isHttpMetadata": false }, { - "$id": "4076", + "$id": "4144", "kind": "property", "name": "passed", "serializedName": "passed", "doc": "Number of tests passed for this criteria.", "type": { - "$id": "4077", + "$id": "4145", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49259,13 +50071,13 @@ "isHttpMetadata": false }, { - "$id": "4078", + "$id": "4146", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "Number of tests failed for this criteria.", "type": { - "$id": "4079", + "$id": "4147", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49303,13 +50115,13 @@ "isHttpMetadata": false }, { - "$id": "4080", + "$id": "4148", "kind": "property", "name": "data_source", "serializedName": "data_source", "doc": "Information about the run's data source.", "type": { - "$id": "4081", + "$id": "4149", "kind": "model", "name": "EvalRunDataSourceResource", "namespace": "OpenAI", @@ -49323,7 +50135,7 @@ }, "properties": [ { - "$id": "4082", + "$id": "4150", "kind": "property", "name": "type", "serializedName": "type", @@ -49359,13 +50171,13 @@ "isHttpMetadata": false }, { - "$id": "4083", + "$id": "4151", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -49381,12 +50193,12 @@ "isHttpMetadata": false }, { - "$id": "4084", + "$id": "4152", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "4085", + "$id": "4153", "kind": "model", "name": "EvalApiError", "namespace": "OpenAI", @@ -49401,13 +50213,13 @@ }, "properties": [ { - "$id": "4086", + "$id": "4154", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "4087", + "$id": "4155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49427,13 +50239,13 @@ "isHttpMetadata": false }, { - "$id": "4088", + "$id": "4156", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "4089", + "$id": "4157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49486,13 +50298,13 @@ "isHttpMetadata": false }, { - "$id": "4090", + "$id": "4158", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval run in the data array.", "type": { - "$id": "4091", + "$id": "4159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49512,13 +50324,13 @@ "isHttpMetadata": false }, { - "$id": "4092", + "$id": "4160", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval run in the data array.", "type": { - "$id": "4093", + "$id": "4161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49538,13 +50350,13 @@ "isHttpMetadata": false }, { - "$id": "4094", + "$id": "4162", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more evals available.", "type": { - "$id": "4095", + "$id": "4163", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -49566,25 +50378,25 @@ ] }, { - "$ref": "4029" + "$ref": "4097" }, { - "$ref": "4047" + "$ref": "4115" }, { - "$ref": "4058" + "$ref": "4126" }, { - "$ref": "4073" + "$ref": "4141" }, { - "$ref": "4081" + "$ref": "4149" }, { - "$ref": "4085" + "$ref": "4153" }, { - "$id": "4096", + "$id": "4164", "kind": "model", "name": "CreateEvalRunRequest", "namespace": "OpenAI", @@ -49598,13 +50410,13 @@ }, "properties": [ { - "$id": "4097", + "$id": "4165", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the run.", "type": { - "$id": "4098", + "$id": "4166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49624,13 +50436,13 @@ "isHttpMetadata": false }, { - "$id": "4099", + "$id": "4167", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -49646,13 +50458,13 @@ "isHttpMetadata": false }, { - "$id": "4100", + "$id": "4168", "kind": "property", "name": "data_source", "serializedName": "data_source", "doc": "Details about the run's data source.", "type": { - "$id": "4101", + "$id": "4169", "kind": "model", "name": "EvalRunDataSourceParams", "namespace": "OpenAI", @@ -49665,7 +50477,7 @@ } }, "discriminatorProperty": { - "$id": "4102", + "$id": "4170", "kind": "property", "name": "type", "serializedName": "type", @@ -49687,12 +50499,12 @@ }, "properties": [ { - "$ref": "4102" + "$ref": "4170" } ], "discriminatedSubtypes": { "jsonl": { - "$id": "4103", + "$id": "4171", "kind": "model", "name": "EvalJsonlRunDataSourceParams", "namespace": "OpenAI", @@ -49707,17 +50519,17 @@ } }, "baseModel": { - "$ref": "4101" + "$ref": "4169" }, "properties": [ { - "$id": "4104", + "$id": "4172", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of data source. Always `jsonl`.", "type": { - "$id": "4105", + "$id": "4173", "kind": "enumvalue", "name": "jsonl", "value": "jsonl", @@ -49725,14 +50537,14 @@ "$ref": "315" }, "enumType": { - "$id": "4106", + "$id": "4174", "kind": "enum", "decorators": [], "name": "EvalRunDataSourceType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4107", + "$id": "4175", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -49741,42 +50553,42 @@ }, "values": [ { - "$id": "4108", + "$id": "4176", "kind": "enumvalue", "decorators": [], "name": "jsonl", "value": "jsonl", "valueType": { - "$ref": "4107" + "$ref": "4175" }, "enumType": { - "$ref": "4106" + "$ref": "4174" } }, { - "$id": "4109", + "$id": "4177", "kind": "enumvalue", "decorators": [], "name": "completions", "value": "completions", "valueType": { - "$ref": "4107" + "$ref": "4175" }, "enumType": { - "$ref": "4106" + "$ref": "4174" } }, { - "$id": "4110", + "$id": "4178", "kind": "enumvalue", "decorators": [], "name": "responses", "value": "responses", "valueType": { - "$ref": "4107" + "$ref": "4175" }, "enumType": { - "$ref": "4106" + "$ref": "4174" } } ], @@ -49805,18 +50617,18 @@ "isHttpMetadata": false }, { - "$id": "4111", + "$id": "4179", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in the data source.", "type": { - "$id": "4112", + "$id": "4180", "kind": "union", "name": "EvalJsonlRunDataSourceParamsSource", "variantTypes": [ { - "$id": "4113", + "$id": "4181", "kind": "model", "name": "EvalRunFileContentDataContentSource", "namespace": "OpenAI", @@ -49830,7 +50642,7 @@ } }, "baseModel": { - "$id": "4114", + "$id": "4182", "kind": "model", "name": "EvalRunDataContentSource", "namespace": "OpenAI", @@ -49843,7 +50655,7 @@ } }, "discriminatorProperty": { - "$id": "4115", + "$id": "4183", "kind": "property", "name": "type", "serializedName": "type", @@ -49865,15 +50677,15 @@ }, "properties": [ { - "$ref": "4115" + "$ref": "4183" } ], "discriminatedSubtypes": { "file_content": { - "$ref": "4113" + "$ref": "4181" }, "file_id": { - "$id": "4116", + "$id": "4184", "kind": "model", "name": "EvalRunFileIdDataContentSource", "namespace": "OpenAI", @@ -49887,17 +50699,17 @@ } }, "baseModel": { - "$ref": "4114" + "$ref": "4182" }, "properties": [ { - "$id": "4117", + "$id": "4185", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of jsonl source. Always `file_id`.", "type": { - "$id": "4118", + "$id": "4186", "kind": "enumvalue", "name": "file_id", "value": "file_id", @@ -49905,14 +50717,14 @@ "$ref": "320" }, "enumType": { - "$id": "4119", + "$id": "4187", "kind": "enum", "decorators": [], "name": "EvalRunDataContentSourceType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4120", + "$id": "4188", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -49921,55 +50733,55 @@ }, "values": [ { - "$id": "4121", + "$id": "4189", "kind": "enumvalue", "decorators": [], "name": "file_id", "value": "file_id", "valueType": { - "$ref": "4120" + "$ref": "4188" }, "enumType": { - "$ref": "4119" + "$ref": "4187" } }, { - "$id": "4122", + "$id": "4190", "kind": "enumvalue", "decorators": [], "name": "file_content", "value": "file_content", "valueType": { - "$ref": "4120" + "$ref": "4188" }, "enumType": { - "$ref": "4119" + "$ref": "4187" } }, { - "$id": "4123", + "$id": "4191", "kind": "enumvalue", "decorators": [], "name": "stored_completions", "value": "stored_completions", "valueType": { - "$ref": "4120" + "$ref": "4188" }, "enumType": { - "$ref": "4119" + "$ref": "4187" } }, { - "$id": "4124", + "$id": "4192", "kind": "enumvalue", "decorators": [], "name": "responses", "value": "responses", "valueType": { - "$ref": "4120" + "$ref": "4188" }, "enumType": { - "$ref": "4119" + "$ref": "4187" } } ], @@ -49998,13 +50810,13 @@ "isHttpMetadata": false }, { - "$id": "4125", + "$id": "4193", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier of the file.", "type": { - "$id": "4126", + "$id": "4194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50026,7 +50838,7 @@ ] }, "stored_completions": { - "$id": "4127", + "$id": "4195", "kind": "model", "name": "EvalRunStoredCompletionsDataContentSource", "namespace": "OpenAI", @@ -50041,17 +50853,17 @@ } }, "baseModel": { - "$ref": "4114" + "$ref": "4182" }, "properties": [ { - "$id": "4128", + "$id": "4196", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of source. Always `stored_completions`.", "type": { - "$id": "4129", + "$id": "4197", "kind": "enumvalue", "name": "stored_completions", "value": "stored_completions", @@ -50059,7 +50871,7 @@ "$ref": "320" }, "enumType": { - "$ref": "4119" + "$ref": "4187" }, "decorators": [] }, @@ -50077,13 +50889,13 @@ "isHttpMetadata": false }, { - "$id": "4130", + "$id": "4198", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -50099,16 +50911,16 @@ "isHttpMetadata": false }, { - "$id": "4131", + "$id": "4199", "kind": "property", "name": "model", "serializedName": "model", "doc": "An optional model to filter by (e.g., 'gpt-4o').", "type": { - "$id": "4132", + "$id": "4200", "kind": "nullable", "type": { - "$id": "4133", + "$id": "4201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50130,16 +50942,16 @@ "isHttpMetadata": false }, { - "$id": "4134", + "$id": "4202", "kind": "property", "name": "created_after", "serializedName": "created_after", "doc": "An optional Unix timestamp to filter items created after this time.", "type": { - "$id": "4135", + "$id": "4203", "kind": "nullable", "type": { - "$id": "4136", + "$id": "4204", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50161,16 +50973,16 @@ "isHttpMetadata": false }, { - "$id": "4137", + "$id": "4205", "kind": "property", "name": "created_before", "serializedName": "created_before", "doc": "An optional Unix timestamp to filter items created before this time.", "type": { - "$id": "4138", + "$id": "4206", "kind": "nullable", "type": { - "$id": "4139", + "$id": "4207", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50192,16 +51004,16 @@ "isHttpMetadata": false }, { - "$id": "4140", + "$id": "4208", "kind": "property", "name": "limit", "serializedName": "limit", "doc": "An optional maximum number of items to return.", "type": { - "$id": "4141", + "$id": "4209", "kind": "nullable", "type": { - "$id": "4142", + "$id": "4210", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50225,7 +51037,7 @@ ] }, "responses": { - "$id": "4143", + "$id": "4211", "kind": "model", "name": "EvalRunResponsesDataContentSource", "namespace": "OpenAI", @@ -50240,17 +51052,17 @@ } }, "baseModel": { - "$ref": "4114" + "$ref": "4182" }, "properties": [ { - "$id": "4144", + "$id": "4212", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of run data source. Always `responses`.", "type": { - "$id": "4145", + "$id": "4213", "kind": "enumvalue", "name": "responses", "value": "responses", @@ -50258,7 +51070,7 @@ "$ref": "320" }, "enumType": { - "$ref": "4119" + "$ref": "4187" }, "decorators": [] }, @@ -50276,13 +51088,13 @@ "isHttpMetadata": false }, { - "$id": "4146", + "$id": "4214", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -50298,16 +51110,16 @@ "isHttpMetadata": false }, { - "$id": "4147", + "$id": "4215", "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": "4148", + "$id": "4216", "kind": "nullable", "type": { - "$id": "4149", + "$id": "4217", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50329,16 +51141,16 @@ "isHttpMetadata": false }, { - "$id": "4150", + "$id": "4218", "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": "4151", + "$id": "4219", "kind": "nullable", "type": { - "$id": "4152", + "$id": "4220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50360,16 +51172,16 @@ "isHttpMetadata": false }, { - "$id": "4153", + "$id": "4221", "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": "4154", + "$id": "4222", "kind": "nullable", "type": { - "$id": "4155", + "$id": "4223", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50391,16 +51203,16 @@ "isHttpMetadata": false }, { - "$id": "4156", + "$id": "4224", "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": "4157", + "$id": "4225", "kind": "nullable", "type": { - "$id": "4158", + "$id": "4226", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50422,13 +51234,13 @@ "isHttpMetadata": false }, { - "$id": "4159", + "$id": "4227", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "doc": "Optional reasoning effort parameter. This is a query parameter used to select responses.", "type": { - "$id": "4160", + "$id": "4228", "kind": "nullable", "type": { "$ref": "53" @@ -50449,16 +51261,16 @@ "isHttpMetadata": false }, { - "$id": "4161", + "$id": "4229", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature. This is a query parameter used to select responses.", "type": { - "$id": "4162", + "$id": "4230", "kind": "nullable", "type": { - "$id": "4163", + "$id": "4231", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -50480,16 +51292,16 @@ "isHttpMetadata": false }, { - "$id": "4164", + "$id": "4232", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "Nucleus sampling parameter. This is a query parameter used to select responses.", "type": { - "$id": "4165", + "$id": "4233", "kind": "nullable", "type": { - "$id": "4166", + "$id": "4234", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -50511,16 +51323,16 @@ "isHttpMetadata": false }, { - "$id": "4167", + "$id": "4235", "kind": "property", "name": "users", "serializedName": "users", "doc": "List of user identifiers. This is a query parameter used to select responses.", "type": { - "$id": "4168", + "$id": "4236", "kind": "nullable", "type": { - "$ref": "2573" + "$ref": "2641" }, "namespace": "OpenAI" }, @@ -50538,16 +51350,16 @@ "isHttpMetadata": false }, { - "$id": "4169", + "$id": "4237", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "List of tool names. This is a query parameter used to select responses.", "type": { - "$id": "4170", + "$id": "4238", "kind": "nullable", "type": { - "$ref": "2573" + "$ref": "2641" }, "namespace": "OpenAI" }, @@ -50570,13 +51382,13 @@ }, "properties": [ { - "$id": "4171", + "$id": "4239", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of jsonl source. Always `file_content`.", "type": { - "$id": "4172", + "$id": "4240", "kind": "enumvalue", "name": "file_content", "value": "file_content", @@ -50584,7 +51396,7 @@ "$ref": "320" }, "enumType": { - "$ref": "4119" + "$ref": "4187" }, "decorators": [] }, @@ -50602,17 +51414,17 @@ "isHttpMetadata": false }, { - "$id": "4173", + "$id": "4241", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the jsonl file.", "type": { - "$id": "4174", + "$id": "4242", "kind": "array", "name": "Array12", "valueType": { - "$id": "4175", + "$id": "4243", "kind": "model", "name": "EvalRunFileContentDataContentSourceContent", "namespace": "OpenAI", @@ -50626,12 +51438,12 @@ }, "properties": [ { - "$id": "4176", + "$id": "4244", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "3863" + "$ref": "3931" }, "optional": false, "readOnly": false, @@ -50647,12 +51459,12 @@ "isHttpMetadata": false }, { - "$id": "4177", + "$id": "4245", "kind": "property", "name": "sample", "serializedName": "sample", "type": { - "$ref": "3863" + "$ref": "3931" }, "optional": true, "readOnly": false, @@ -50688,7 +51500,7 @@ ] }, { - "$ref": "4116" + "$ref": "4184" } ], "namespace": "OpenAI", @@ -50710,7 +51522,7 @@ ] }, "completions": { - "$id": "4178", + "$id": "4246", "kind": "model", "name": "EvalCompletionsRunDataSourceParams", "namespace": "OpenAI", @@ -50725,17 +51537,17 @@ } }, "baseModel": { - "$ref": "4101" + "$ref": "4169" }, "properties": [ { - "$id": "4179", + "$id": "4247", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of run data source. Always `completions`.", "type": { - "$id": "4180", + "$id": "4248", "kind": "enumvalue", "name": "completions", "value": "completions", @@ -50743,7 +51555,7 @@ "$ref": "315" }, "enumType": { - "$ref": "4106" + "$ref": "4174" }, "decorators": [] }, @@ -50761,18 +51573,18 @@ "isHttpMetadata": false }, { - "$id": "4181", + "$id": "4249", "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": "4182", + "$id": "4250", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsInputMessages", "variantTypes": [ { - "$id": "4183", + "$id": "4251", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsInputMessages1", "namespace": "OpenAI", @@ -50786,13 +51598,13 @@ }, "properties": [ { - "$id": "4184", + "$id": "4252", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of input messages. Always `template`.", "type": { - "$ref": "1797" + "$ref": "1861" }, "optional": false, "readOnly": false, @@ -50808,29 +51620,29 @@ "isHttpMetadata": false }, { - "$id": "4185", + "$id": "4253", "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": "4186", + "$id": "4254", "kind": "array", "name": "Array13", "valueType": { - "$id": "4187", + "$id": "4255", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsInputMessagesTemplate", "variantTypes": [ { - "$id": "4188", + "$id": "4256", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", "decorators": [] }, { - "$ref": "3548" + "$ref": "3616" } ], "namespace": "OpenAI", @@ -50855,7 +51667,7 @@ ] }, { - "$id": "4189", + "$id": "4257", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsInputMessages2", "namespace": "OpenAI", @@ -50869,13 +51681,13 @@ }, "properties": [ { - "$id": "4190", + "$id": "4258", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of input messages. Always `item_reference`.", "type": { - "$ref": "1799" + "$ref": "1863" }, "optional": false, "readOnly": false, @@ -50891,13 +51703,13 @@ "isHttpMetadata": false }, { - "$id": "4191", + "$id": "4259", "kind": "property", "name": "item_reference", "serializedName": "item_reference", "doc": "A reference to a variable in the `item` namespace. Ie, \"item.input_trajectory\"", "type": { - "$id": "4192", + "$id": "4260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50936,12 +51748,12 @@ "isHttpMetadata": false }, { - "$id": "4193", + "$id": "4261", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "type": { - "$id": "4194", + "$id": "4262", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsSamplingParams", "namespace": "OpenAI", @@ -50955,13 +51767,13 @@ }, "properties": [ { - "$id": "4195", + "$id": "4263", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "A higher temperature increases randomness in the outputs.", "type": { - "$id": "4196", + "$id": "4264", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -50981,13 +51793,13 @@ "isHttpMetadata": false }, { - "$id": "4197", + "$id": "4265", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens in the generated output.", "type": { - "$id": "4198", + "$id": "4266", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -51007,13 +51819,13 @@ "isHttpMetadata": false }, { - "$id": "4199", + "$id": "4267", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to temperature for nucleus sampling; 1.0 includes all tokens.", "type": { - "$id": "4200", + "$id": "4268", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -51033,13 +51845,13 @@ "isHttpMetadata": false }, { - "$id": "4201", + "$id": "4269", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "A seed value to initialize the randomness, during sampling.", "type": { - "$id": "4202", + "$id": "4270", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -51059,13 +51871,13 @@ "isHttpMetadata": false }, { - "$id": "4203", + "$id": "4271", "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": "4204", + "$id": "4272", "kind": "model", "name": "ResponseTextFormatConfiguration", "namespace": "OpenAI", @@ -51083,7 +51895,7 @@ } }, "discriminatorProperty": { - "$id": "4205", + "$id": "4273", "kind": "property", "name": "type", "serializedName": "type", @@ -51105,12 +51917,12 @@ }, "properties": [ { - "$ref": "4205" + "$ref": "4273" } ], "discriminatedSubtypes": { "text": { - "$id": "4206", + "$id": "4274", "kind": "model", "name": "ResponseTextFormatConfigurationText", "namespace": "OpenAI", @@ -51129,16 +51941,16 @@ } }, "baseModel": { - "$ref": "4204" + "$ref": "4272" }, "properties": [ { - "$id": "4207", + "$id": "4275", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4208", + "$id": "4276", "kind": "enumvalue", "name": "text", "value": "text", @@ -51146,7 +51958,7 @@ "$ref": "326" }, "enumType": { - "$id": "4209", + "$id": "4277", "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.", @@ -51154,7 +51966,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4210", + "$id": "4278", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -51163,42 +51975,68 @@ }, "values": [ { - "$id": "4211", + "$id": "4279", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "4210" + "$ref": "4278" }, "enumType": { - "$ref": "4209" + "$ref": "4277" } }, { - "$id": "4212", + "$id": "4280", "kind": "enumvalue", "decorators": [], "name": "json_schema", "value": "json_schema", "valueType": { - "$ref": "4210" + "$ref": "4278" }, "enumType": { - "$ref": "4209" + "$ref": "4277" } }, { - "$id": "4213", + "$id": "4281", "kind": "enumvalue", "decorators": [], "name": "json_object", "value": "json_object", "valueType": { - "$ref": "4210" + "$ref": "4278" + }, + "enumType": { + "$ref": "4277" + } + }, + { + "$id": "4282", + "kind": "enumvalue", + "decorators": [], + "name": "grammar", + "value": "grammar", + "valueType": { + "$ref": "4278" + }, + "enumType": { + "$ref": "4277" + } + }, + { + "$id": "4283", + "kind": "enumvalue", + "decorators": [], + "name": "python", + "value": "python", + "valueType": { + "$ref": "4278" }, "enumType": { - "$ref": "4209" + "$ref": "4277" } } ], @@ -51229,7 +52067,7 @@ ] }, "json_object": { - "$id": "4214", + "$id": "4284", "kind": "model", "name": "ResponseTextFormatConfigurationJsonObject", "namespace": "OpenAI", @@ -51248,16 +52086,16 @@ } }, "baseModel": { - "$ref": "4204" + "$ref": "4272" }, "properties": [ { - "$id": "4215", + "$id": "4285", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4216", + "$id": "4286", "kind": "enumvalue", "name": "json_object", "value": "json_object", @@ -51265,7 +52103,7 @@ "$ref": "326" }, "enumType": { - "$ref": "4209" + "$ref": "4277" }, "decorators": [] }, @@ -51284,8 +52122,150 @@ } ] }, + "grammar": { + "$id": "4287", + "kind": "model", + "name": "ResponseTextFormatConfigurationGrammar", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ResponseTextFormatConfigurationGrammar", + "usage": "Input,Output,Json", + "doc": "Grammar response format. Uses a grammar definition to constrain the model output.", + "discriminatorValue": "grammar", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ResponseTextFormatConfigurationGrammar" + } + }, + "baseModel": { + "$ref": "4272" + }, + "properties": [ + { + "$id": "4288", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of response format being defined. Always `grammar`.", + "type": { + "$id": "4289", + "kind": "enumvalue", + "name": "grammar", + "value": "grammar", + "valueType": { + "$ref": "326" + }, + "enumType": { + "$ref": "4277" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseTextFormatConfigurationGrammar.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4290", + "kind": "property", + "name": "grammar", + "serializedName": "grammar", + "doc": "The grammar definition string.", + "type": { + "$id": "4291", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseTextFormatConfigurationGrammar.grammar", + "serializationOptions": { + "json": { + "name": "grammar" + } + }, + "isHttpMetadata": false + } + ] + }, + "python": { + "$id": "4292", + "kind": "model", + "name": "ResponseTextFormatConfigurationPython", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ResponseTextFormatConfigurationPython", + "usage": "Input,Output,Json", + "doc": "Python response format. Constrains the model output to valid Python code.", + "discriminatorValue": "python", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ResponseTextFormatConfigurationPython" + } + }, + "baseModel": { + "$ref": "4272" + }, + "properties": [ + { + "$id": "4293", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of response format being defined. Always `python`.", + "type": { + "$id": "4294", + "kind": "enumvalue", + "name": "python", + "value": "python", + "valueType": { + "$ref": "326" + }, + "enumType": { + "$ref": "4277" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseTextFormatConfigurationPython.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] + }, "json_schema": { - "$id": "4217", + "$id": "4295", "kind": "model", "name": "ResponseTextFormatConfigurationJsonSchema", "namespace": "OpenAI", @@ -51305,17 +52285,17 @@ } }, "baseModel": { - "$ref": "4204" + "$ref": "4272" }, "properties": [ { - "$id": "4218", + "$id": "4296", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of response format being defined. Always `json_schema`.", "type": { - "$id": "4219", + "$id": "4297", "kind": "enumvalue", "name": "json_schema", "value": "json_schema", @@ -51323,7 +52303,7 @@ "$ref": "326" }, "enumType": { - "$ref": "4209" + "$ref": "4277" }, "decorators": [] }, @@ -51341,13 +52321,13 @@ "isHttpMetadata": false }, { - "$id": "4220", + "$id": "4298", "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": "4221", + "$id": "4299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51367,13 +52347,13 @@ "isHttpMetadata": false }, { - "$id": "4222", + "$id": "4300", "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": "4223", + "$id": "4301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51393,12 +52373,12 @@ "isHttpMetadata": false }, { - "$id": "4224", + "$id": "4302", "kind": "property", "name": "schema", "serializedName": "schema", "type": { - "$ref": "2613" + "$ref": "2681" }, "optional": false, "readOnly": false, @@ -51414,16 +52394,16 @@ "isHttpMetadata": false }, { - "$id": "4225", + "$id": "4303", "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": "4226", + "$id": "4304", "kind": "nullable", "type": { - "$id": "4227", + "$id": "4305", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -51462,13 +52442,13 @@ "isHttpMetadata": false }, { - "$id": "4228", + "$id": "4306", "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": "3187" + "$ref": "3255" }, "optional": true, "readOnly": false, @@ -51499,13 +52479,13 @@ "isHttpMetadata": false }, { - "$id": "4229", + "$id": "4307", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to use for generating completions (e.g. \"o3-mini\").", "type": { - "$id": "4230", + "$id": "4308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51525,24 +52505,24 @@ "isHttpMetadata": false }, { - "$id": "4231", + "$id": "4309", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in this run's data source.", "type": { - "$id": "4232", + "$id": "4310", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsSource", "variantTypes": [ { - "$ref": "4113" + "$ref": "4181" }, { - "$ref": "4116" + "$ref": "4184" }, { - "$ref": "4127" + "$ref": "4195" } ], "namespace": "OpenAI", @@ -51564,7 +52544,7 @@ ] }, "responses": { - "$id": "4233", + "$id": "4311", "kind": "model", "name": "EvalResponsesRunDataSourceParams", "namespace": "OpenAI", @@ -51579,17 +52559,17 @@ } }, "baseModel": { - "$ref": "4101" + "$ref": "4169" }, "properties": [ { - "$id": "4234", + "$id": "4312", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of run data source. Always `responses`.", "type": { - "$id": "4235", + "$id": "4313", "kind": "enumvalue", "name": "responses", "value": "responses", @@ -51597,7 +52577,7 @@ "$ref": "315" }, "enumType": { - "$ref": "4106" + "$ref": "4174" }, "decorators": [] }, @@ -51615,18 +52595,18 @@ "isHttpMetadata": false }, { - "$id": "4236", + "$id": "4314", "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": "4237", + "$id": "4315", "kind": "union", "name": "EvalResponsesRunDataSourceParamsInputMessages", "variantTypes": [ { - "$id": "4238", + "$id": "4316", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessages1", "namespace": "OpenAI", @@ -51640,13 +52620,13 @@ }, "properties": [ { - "$id": "4239", + "$id": "4317", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of input messages. Always `template`.", "type": { - "$ref": "1801" + "$ref": "1865" }, "optional": false, "readOnly": false, @@ -51662,22 +52642,22 @@ "isHttpMetadata": false }, { - "$id": "4240", + "$id": "4318", "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": "4241", + "$id": "4319", "kind": "array", "name": "Array14", "valueType": { - "$id": "4242", + "$id": "4320", "kind": "union", "name": "EvalResponsesRunDataSourceParamsInputMessagesTemplate", "variantTypes": [ { - "$id": "4243", + "$id": "4321", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessagesTemplate1", "namespace": "OpenAI", @@ -51691,13 +52671,13 @@ }, "properties": [ { - "$id": "4244", + "$id": "4322", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "4245", + "$id": "4323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51717,13 +52697,13 @@ "isHttpMetadata": false }, { - "$id": "4246", + "$id": "4324", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4247", + "$id": "4325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51745,7 +52725,7 @@ ] }, { - "$ref": "3548" + "$ref": "3616" } ], "namespace": "OpenAI", @@ -51770,7 +52750,7 @@ ] }, { - "$id": "4248", + "$id": "4326", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessages2", "namespace": "OpenAI", @@ -51784,13 +52764,13 @@ }, "properties": [ { - "$id": "4249", + "$id": "4327", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of input messages. Always `item_reference`.", "type": { - "$ref": "1803" + "$ref": "1867" }, "optional": false, "readOnly": false, @@ -51806,13 +52786,13 @@ "isHttpMetadata": false }, { - "$id": "4250", + "$id": "4328", "kind": "property", "name": "item_reference", "serializedName": "item_reference", "doc": "A reference to a variable in the `item` namespace. Ie, \"item.name\"", "type": { - "$id": "4251", + "$id": "4329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51851,12 +52831,12 @@ "isHttpMetadata": false }, { - "$id": "4252", + "$id": "4330", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "type": { - "$id": "4253", + "$id": "4331", "kind": "model", "name": "EvalResponsesRunDataSourceParamsSamplingParams", "namespace": "OpenAI", @@ -51870,13 +52850,13 @@ }, "properties": [ { - "$id": "4254", + "$id": "4332", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "A higher temperature increases randomness in the outputs.", "type": { - "$id": "4255", + "$id": "4333", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -51896,13 +52876,13 @@ "isHttpMetadata": false }, { - "$id": "4256", + "$id": "4334", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens in the generated output.", "type": { - "$id": "4257", + "$id": "4335", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -51922,13 +52902,13 @@ "isHttpMetadata": false }, { - "$id": "4258", + "$id": "4336", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to temperature for nucleus sampling; 1.0 includes all tokens.", "type": { - "$id": "4259", + "$id": "4337", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -51948,13 +52928,13 @@ "isHttpMetadata": false }, { - "$id": "4260", + "$id": "4338", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "A seed value to initialize the randomness, during sampling.", "type": { - "$id": "4261", + "$id": "4339", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -51974,17 +52954,17 @@ "isHttpMetadata": false }, { - "$id": "4262", + "$id": "4340", "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": "4263", + "$id": "4341", "kind": "array", "name": "ArrayTool", "valueType": { - "$id": "4264", + "$id": "4342", "kind": "model", "name": "Tool", "namespace": "OpenAI", @@ -52002,12 +52982,12 @@ } }, "discriminatorProperty": { - "$id": "4265", + "$id": "4343", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "330" + "$ref": "332" }, "optional": false, "readOnly": false, @@ -52024,12 +53004,12 @@ }, "properties": [ { - "$ref": "4265" + "$ref": "4343" } ], "discriminatedSubtypes": { "function": { - "$id": "4266", + "$id": "4344", "kind": "model", "name": "FunctionTool", "namespace": "OpenAI", @@ -52049,25 +53029,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4267", + "$id": "4345", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the function tool. Always `function`.", "type": { - "$id": "4268", + "$id": "4346", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$id": "4269", + "$id": "4347", "kind": "enum", "decorators": [], "doc": "A tool that can be used to generate a response.", @@ -52075,7 +53055,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4270", + "$id": "4348", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -52084,120 +53064,159 @@ }, "values": [ { - "$id": "4271", + "$id": "4349", "kind": "enumvalue", "decorators": [], "name": "file_search", "value": "file_search", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" } }, { - "$id": "4272", + "$id": "4350", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" } }, { - "$id": "4273", + "$id": "4351", "kind": "enumvalue", "decorators": [], "name": "computer_use_preview", "value": "computer_use_preview", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" } }, { - "$id": "4274", + "$id": "4352", "kind": "enumvalue", "decorators": [], "name": "web_search", "value": "web_search", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" } }, { - "$id": "4275", + "$id": "4353", "kind": "enumvalue", "decorators": [], "name": "web_search_preview", "value": "web_search_preview", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" } }, { - "$id": "4276", + "$id": "4354", "kind": "enumvalue", "decorators": [], "name": "mcp", "value": "mcp", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" } }, { - "$id": "4277", + "$id": "4355", "kind": "enumvalue", "decorators": [], "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" } }, { - "$id": "4278", + "$id": "4356", "kind": "enumvalue", "decorators": [], "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" } }, { - "$id": "4279", + "$id": "4357", "kind": "enumvalue", "decorators": [], "name": "local_shell", "value": "local_shell", "valueType": { - "$ref": "4270" + "$ref": "4348" }, "enumType": { - "$ref": "4269" + "$ref": "4347" + } + }, + { + "$id": "4358", + "kind": "enumvalue", + "decorators": [], + "name": "shell", + "value": "shell", + "valueType": { + "$ref": "4348" + }, + "enumType": { + "$ref": "4347" + } + }, + { + "$id": "4359", + "kind": "enumvalue", + "decorators": [], + "name": "apply_patch", + "value": "apply_patch", + "valueType": { + "$ref": "4348" + }, + "enumType": { + "$ref": "4347" + } + }, + { + "$id": "4360", + "kind": "enumvalue", + "decorators": [], + "name": "custom", + "value": "custom", + "valueType": { + "$ref": "4348" + }, + "enumType": { + "$ref": "4347" } } ], @@ -52226,13 +53245,13 @@ "isHttpMetadata": false }, { - "$id": "4280", + "$id": "4361", "kind": "property", "name": "FunctionName", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "4281", + "$id": "4362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52252,16 +53271,16 @@ "isHttpMetadata": false }, { - "$id": "4282", + "$id": "4363", "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": "4283", + "$id": "4364", "kind": "nullable", "type": { - "$id": "4284", + "$id": "4365", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52283,16 +53302,16 @@ "isHttpMetadata": false }, { - "$id": "4285", + "$id": "4366", "kind": "property", "name": "FunctionParameters", "serializedName": "parameters", "doc": "A JSON schema object describing the parameters of the function.", "type": { - "$id": "4286", + "$id": "4367", "kind": "nullable", "type": { - "$id": "4287", + "$id": "4368", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -52314,16 +53333,16 @@ "isHttpMetadata": false }, { - "$id": "4288", + "$id": "4369", "kind": "property", "name": "StrictModeEnabled", "serializedName": "strict", "doc": "Whether to enforce strict parameter validation. Default `true`.", "type": { - "$id": "4289", + "$id": "4370", "kind": "nullable", "type": { - "$id": "4290", + "$id": "4371", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -52347,7 +53366,7 @@ ] }, "file_search": { - "$id": "4291", + "$id": "4372", "kind": "model", "name": "FileSearchTool", "namespace": "OpenAI", @@ -52367,25 +53386,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4292", + "$id": "4373", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the file search tool. Always `file_search`.", "type": { - "$id": "4293", + "$id": "4374", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "4269" + "$ref": "4347" }, "decorators": [] }, @@ -52403,13 +53422,13 @@ "isHttpMetadata": false }, { - "$id": "4294", + "$id": "4375", "kind": "property", "name": "vector_store_ids", "serializedName": "vector_store_ids", "doc": "The IDs of the vector stores to search.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -52425,13 +53444,13 @@ "isHttpMetadata": false }, { - "$id": "4295", + "$id": "4376", "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": "4296", + "$id": "4377", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -52451,13 +53470,13 @@ "isHttpMetadata": false }, { - "$id": "4297", + "$id": "4378", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "doc": "Ranking options for search.", "type": { - "$id": "4298", + "$id": "4379", "kind": "model", "name": "RankingOptions", "namespace": "OpenAI", @@ -52476,13 +53495,13 @@ }, "properties": [ { - "$id": "4299", + "$id": "4380", "kind": "property", "name": "ranker", "serializedName": "ranker", "doc": "The ranker to use for the file search.", "type": { - "$ref": "341" + "$ref": "346" }, "optional": true, "readOnly": false, @@ -52498,13 +53517,13 @@ "isHttpMetadata": false }, { - "$id": "4300", + "$id": "4381", "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": "4301", + "$id": "4382", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -52539,21 +53558,21 @@ "isHttpMetadata": false }, { - "$id": "4302", + "$id": "4383", "kind": "property", "name": "filters", "serializedName": "filters", "doc": "A filter to apply.", "type": { - "$id": "4303", + "$id": "4384", "kind": "nullable", "type": { - "$id": "4304", + "$id": "4385", "kind": "union", "name": "Filters", "variantTypes": [ { - "$id": "4305", + "$id": "4386", "kind": "model", "name": "ComparisonFilter", "namespace": "OpenAI", @@ -52571,12 +53590,12 @@ } }, "discriminatorProperty": { - "$id": "4306", + "$id": "4387", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "345" + "$ref": "350" }, "optional": false, "readOnly": false, @@ -52593,15 +53612,15 @@ }, "properties": [ { - "$ref": "4306" + "$ref": "4387" }, { - "$id": "4307", + "$id": "4388", "kind": "property", "name": "key", "serializedName": "key", "type": { - "$id": "4308", + "$id": "4389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52621,31 +53640,31 @@ "isHttpMetadata": false }, { - "$id": "4309", + "$id": "4390", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "4310", + "$id": "4391", "kind": "union", "name": "ComparisonFilterValue", "variantTypes": [ { - "$id": "4311", + "$id": "4392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4312", + "$id": "4393", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, { - "$id": "4313", + "$id": "4394", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -52671,7 +53690,7 @@ ], "discriminatedSubtypes": { "eq": { - "$id": "4314", + "$id": "4395", "kind": "model", "name": "ComparisonFilterEquals", "namespace": "OpenAI", @@ -52690,31 +53709,31 @@ } }, "baseModel": { - "$ref": "4305" + "$ref": "4386" }, "properties": [ { - "$id": "4315", + "$id": "4396", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4316", + "$id": "4397", "kind": "enumvalue", "name": "eq", "value": "eq", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$id": "4317", + "$id": "4398", "kind": "enum", "decorators": [], "name": "ComparisonFilterType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "4318", + "$id": "4399", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -52723,81 +53742,81 @@ }, "values": [ { - "$id": "4319", + "$id": "4400", "kind": "enumvalue", "decorators": [], "name": "eq", "value": "eq", "valueType": { - "$ref": "4318" + "$ref": "4399" }, "enumType": { - "$ref": "4317" + "$ref": "4398" } }, { - "$id": "4320", + "$id": "4401", "kind": "enumvalue", "decorators": [], "name": "ne", "value": "ne", "valueType": { - "$ref": "4318" + "$ref": "4399" }, "enumType": { - "$ref": "4317" + "$ref": "4398" } }, { - "$id": "4321", + "$id": "4402", "kind": "enumvalue", "decorators": [], "name": "gt", "value": "gt", "valueType": { - "$ref": "4318" + "$ref": "4399" }, "enumType": { - "$ref": "4317" + "$ref": "4398" } }, { - "$id": "4322", + "$id": "4403", "kind": "enumvalue", "decorators": [], "name": "gte", "value": "gte", "valueType": { - "$ref": "4318" + "$ref": "4399" }, "enumType": { - "$ref": "4317" + "$ref": "4398" } }, { - "$id": "4323", + "$id": "4404", "kind": "enumvalue", "decorators": [], "name": "lt", "value": "lt", "valueType": { - "$ref": "4318" + "$ref": "4399" }, "enumType": { - "$ref": "4317" + "$ref": "4398" } }, { - "$id": "4324", + "$id": "4405", "kind": "enumvalue", "decorators": [], "name": "lte", "value": "lte", "valueType": { - "$ref": "4318" + "$ref": "4399" }, "enumType": { - "$ref": "4317" + "$ref": "4398" } } ], @@ -52828,7 +53847,7 @@ ] }, "ne": { - "$id": "4325", + "$id": "4406", "kind": "model", "name": "ComparisonFilterNotEquals", "namespace": "OpenAI", @@ -52847,24 +53866,24 @@ } }, "baseModel": { - "$ref": "4305" + "$ref": "4386" }, "properties": [ { - "$id": "4326", + "$id": "4407", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4327", + "$id": "4408", "kind": "enumvalue", "name": "ne", "value": "ne", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "4317" + "$ref": "4398" }, "decorators": [] }, @@ -52884,7 +53903,7 @@ ] }, "gt": { - "$id": "4328", + "$id": "4409", "kind": "model", "name": "ComparisonFilterGreaterThan", "namespace": "OpenAI", @@ -52903,24 +53922,24 @@ } }, "baseModel": { - "$ref": "4305" + "$ref": "4386" }, "properties": [ { - "$id": "4329", + "$id": "4410", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4330", + "$id": "4411", "kind": "enumvalue", "name": "gt", "value": "gt", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "4317" + "$ref": "4398" }, "decorators": [] }, @@ -52940,7 +53959,7 @@ ] }, "gte": { - "$id": "4331", + "$id": "4412", "kind": "model", "name": "ComparisonFilterGreaterThanOrEquals", "namespace": "OpenAI", @@ -52959,24 +53978,24 @@ } }, "baseModel": { - "$ref": "4305" + "$ref": "4386" }, "properties": [ { - "$id": "4332", + "$id": "4413", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4333", + "$id": "4414", "kind": "enumvalue", "name": "gte", "value": "gte", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "4317" + "$ref": "4398" }, "decorators": [] }, @@ -52996,7 +54015,7 @@ ] }, "lt": { - "$id": "4334", + "$id": "4415", "kind": "model", "name": "ComparisonFilterLessThan", "namespace": "OpenAI", @@ -53015,24 +54034,24 @@ } }, "baseModel": { - "$ref": "4305" + "$ref": "4386" }, "properties": [ { - "$id": "4335", + "$id": "4416", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4336", + "$id": "4417", "kind": "enumvalue", "name": "lt", "value": "lt", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "4317" + "$ref": "4398" }, "decorators": [] }, @@ -53052,7 +54071,7 @@ ] }, "lte": { - "$id": "4337", + "$id": "4418", "kind": "model", "name": "ComparisonFilterLessThanOrEquals", "namespace": "OpenAI", @@ -53071,24 +54090,24 @@ } }, "baseModel": { - "$ref": "4305" + "$ref": "4386" }, "properties": [ { - "$id": "4338", + "$id": "4419", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4339", + "$id": "4420", "kind": "enumvalue", "name": "lte", "value": "lte", "valueType": { - "$ref": "346" + "$ref": "351" }, "enumType": { - "$ref": "4317" + "$ref": "4398" }, "decorators": [] }, @@ -53110,7 +54129,7 @@ } }, { - "$id": "4340", + "$id": "4421", "kind": "model", "name": "CompoundFilter", "namespace": "OpenAI", @@ -53128,12 +54147,12 @@ } }, "discriminatorProperty": { - "$id": "4341", + "$id": "4422", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "353" + "$ref": "358" }, "optional": false, "readOnly": false, @@ -53150,27 +54169,27 @@ }, "properties": [ { - "$ref": "4341" + "$ref": "4422" }, { - "$id": "4342", + "$id": "4423", "kind": "property", "name": "filters", "serializedName": "filters", "type": { - "$id": "4343", + "$id": "4424", "kind": "array", "name": "Array15", "valueType": { - "$id": "4344", + "$id": "4425", "kind": "union", "name": "CompoundFilterFilter", "variantTypes": [ { - "$ref": "4305" + "$ref": "4386" }, { - "$ref": "4340" + "$ref": "4421" } ], "namespace": "OpenAI", @@ -53195,7 +54214,7 @@ ], "discriminatedSubtypes": { "and": { - "$id": "4345", + "$id": "4426", "kind": "model", "name": "CompoundFilterAnd", "namespace": "OpenAI", @@ -53214,31 +54233,31 @@ } }, "baseModel": { - "$ref": "4340" + "$ref": "4421" }, "properties": [ { - "$id": "4346", + "$id": "4427", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4347", + "$id": "4428", "kind": "enumvalue", "name": "and", "value": "and", "valueType": { - "$ref": "354" + "$ref": "359" }, "enumType": { - "$id": "4348", + "$id": "4429", "kind": "enum", "decorators": [], "name": "CompoundFilterType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "4349", + "$id": "4430", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -53247,29 +54266,29 @@ }, "values": [ { - "$id": "4350", + "$id": "4431", "kind": "enumvalue", "decorators": [], "name": "and", "value": "and", "valueType": { - "$ref": "4349" + "$ref": "4430" }, "enumType": { - "$ref": "4348" + "$ref": "4429" } }, { - "$id": "4351", + "$id": "4432", "kind": "enumvalue", "decorators": [], "name": "or", "value": "or", "valueType": { - "$ref": "4349" + "$ref": "4430" }, "enumType": { - "$ref": "4348" + "$ref": "4429" } } ], @@ -53300,7 +54319,7 @@ ] }, "or": { - "$id": "4352", + "$id": "4433", "kind": "model", "name": "CompoundFilterOr", "namespace": "OpenAI", @@ -53319,24 +54338,24 @@ } }, "baseModel": { - "$ref": "4340" + "$ref": "4421" }, "properties": [ { - "$id": "4353", + "$id": "4434", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4354", + "$id": "4435", "kind": "enumvalue", "name": "or", "value": "or", "valueType": { - "$ref": "354" + "$ref": "359" }, "enumType": { - "$ref": "4348" + "$ref": "4429" }, "decorators": [] }, @@ -53379,7 +54398,7 @@ ] }, "computer_use_preview": { - "$id": "4355", + "$id": "4436", "kind": "model", "name": "ComputerUsePreviewTool", "namespace": "OpenAI", @@ -53399,25 +54418,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4356", + "$id": "4437", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the computer use tool. Always `computer_use_preview`.", "type": { - "$id": "4357", + "$id": "4438", "kind": "enumvalue", "name": "computer_use_preview", "value": "computer_use_preview", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "4269" + "$ref": "4347" }, "decorators": [] }, @@ -53435,13 +54454,13 @@ "isHttpMetadata": false }, { - "$id": "4358", + "$id": "4439", "kind": "property", "name": "environment", "serializedName": "environment", "doc": "The type of computer environment to control.", "type": { - "$ref": "357" + "$ref": "362" }, "optional": false, "readOnly": false, @@ -53457,13 +54476,13 @@ "isHttpMetadata": false }, { - "$id": "4359", + "$id": "4440", "kind": "property", "name": "display_width", "serializedName": "display_width", "doc": "The width of the computer display.", "type": { - "$id": "4360", + "$id": "4441", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53483,13 +54502,13 @@ "isHttpMetadata": false }, { - "$id": "4361", + "$id": "4442", "kind": "property", "name": "display_height", "serializedName": "display_height", "doc": "The height of the computer display.", "type": { - "$id": "4362", + "$id": "4443", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53511,7 +54530,7 @@ ] }, "web_search_preview": { - "$id": "4363", + "$id": "4444", "kind": "model", "name": "WebSearchPreviewTool", "namespace": "OpenAI", @@ -53531,25 +54550,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4364", + "$id": "4445", "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": "4365", + "$id": "4446", "kind": "enumvalue", "name": "web_search_preview", "value": "web_search_preview", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "4269" + "$ref": "4347" }, "decorators": [] }, @@ -53567,16 +54586,16 @@ "isHttpMetadata": false }, { - "$id": "4366", + "$id": "4447", "kind": "property", "name": "user_location", "serializedName": "user_location", "doc": "The user's location.", "type": { - "$id": "4367", + "$id": "4448", "kind": "nullable", "type": { - "$id": "4368", + "$id": "4449", "kind": "model", "name": "Location", "namespace": "OpenAI", @@ -53594,12 +54613,12 @@ } }, "discriminatorProperty": { - "$id": "4369", + "$id": "4450", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "364" + "$ref": "369" }, "optional": false, "readOnly": false, @@ -53616,12 +54635,12 @@ }, "properties": [ { - "$ref": "4369" + "$ref": "4450" } ], "discriminatedSubtypes": { "approximate": { - "$id": "4370", + "$id": "4451", "kind": "model", "name": "ApproximateLocation", "namespace": "OpenAI", @@ -53640,31 +54659,31 @@ } }, "baseModel": { - "$ref": "4368" + "$ref": "4449" }, "properties": [ { - "$id": "4371", + "$id": "4452", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4372", + "$id": "4453", "kind": "enumvalue", "name": "approximate", "value": "approximate", "valueType": { - "$ref": "365" + "$ref": "370" }, "enumType": { - "$id": "4373", + "$id": "4454", "kind": "enum", "decorators": [], "name": "LocationType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4374", + "$id": "4455", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -53673,16 +54692,16 @@ }, "values": [ { - "$id": "4375", + "$id": "4456", "kind": "enumvalue", "decorators": [], "name": "approximate", "value": "approximate", "valueType": { - "$ref": "4374" + "$ref": "4455" }, "enumType": { - "$ref": "4373" + "$ref": "4454" } } ], @@ -53711,15 +54730,15 @@ "isHttpMetadata": false }, { - "$id": "4376", + "$id": "4457", "kind": "property", "name": "country", "serializedName": "country", "type": { - "$id": "4377", + "$id": "4458", "kind": "nullable", "type": { - "$id": "4378", + "$id": "4459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53741,15 +54760,15 @@ "isHttpMetadata": false }, { - "$id": "4379", + "$id": "4460", "kind": "property", "name": "region", "serializedName": "region", "type": { - "$id": "4380", + "$id": "4461", "kind": "nullable", "type": { - "$id": "4381", + "$id": "4462", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53771,15 +54790,15 @@ "isHttpMetadata": false }, { - "$id": "4382", + "$id": "4463", "kind": "property", "name": "city", "serializedName": "city", "type": { - "$id": "4383", + "$id": "4464", "kind": "nullable", "type": { - "$id": "4384", + "$id": "4465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53801,15 +54820,15 @@ "isHttpMetadata": false }, { - "$id": "4385", + "$id": "4466", "kind": "property", "name": "timezone", "serializedName": "timezone", "type": { - "$id": "4386", + "$id": "4467", "kind": "nullable", "type": { - "$id": "4387", + "$id": "4468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53850,13 +54869,13 @@ "isHttpMetadata": false }, { - "$id": "4388", + "$id": "4469", "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": "367" + "$ref": "372" }, "optional": true, "readOnly": false, @@ -53874,7 +54893,7 @@ ] }, "web_search": { - "$id": "4389", + "$id": "4470", "kind": "model", "name": "WebSearchTool", "namespace": "OpenAI", @@ -53889,25 +54908,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4390", + "$id": "4471", "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": "4391", + "$id": "4472", "kind": "enumvalue", "name": "web_search", "value": "web_search", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "4269" + "$ref": "4347" }, "decorators": [] }, @@ -53925,15 +54944,15 @@ "isHttpMetadata": false }, { - "$id": "4392", + "$id": "4473", "kind": "property", "name": "filters", "serializedName": "filters", "type": { - "$id": "4393", + "$id": "4474", "kind": "nullable", "type": { - "$id": "4394", + "$id": "4475", "kind": "model", "name": "WebSearchToolFilters", "namespace": "OpenAI", @@ -53952,15 +54971,15 @@ }, "properties": [ { - "$id": "4395", + "$id": "4476", "kind": "property", "name": "allowed_domains", "serializedName": "allowed_domains", "type": { - "$id": "4396", + "$id": "4477", "kind": "nullable", "type": { - "$ref": "2573" + "$ref": "2641" }, "namespace": "OpenAI" }, @@ -53995,15 +55014,15 @@ "isHttpMetadata": false }, { - "$id": "4397", + "$id": "4478", "kind": "property", "name": "user_location", "serializedName": "user_location", "type": { - "$id": "4398", + "$id": "4479", "kind": "nullable", "type": { - "$ref": "4368" + "$ref": "4449" }, "namespace": "OpenAI" }, @@ -54021,13 +55040,13 @@ "isHttpMetadata": false }, { - "$id": "4399", + "$id": "4480", "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": "367" + "$ref": "372" }, "optional": true, "readOnly": false, @@ -54045,7 +55064,7 @@ ] }, "code_interpreter": { - "$id": "4400", + "$id": "4481", "kind": "model", "name": "CodeInterpreterTool", "namespace": "OpenAI", @@ -54065,25 +55084,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4401", + "$id": "4482", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the code interpreter tool. Always `code_interpreter`.", "type": { - "$id": "4402", + "$id": "4483", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "4269" + "$ref": "4347" }, "decorators": [] }, @@ -54101,25 +55120,25 @@ "isHttpMetadata": false }, { - "$id": "4403", + "$id": "4484", "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": "4404", + "$id": "4485", "kind": "union", "name": "CodeInterpreterToolContainer", "variantTypes": [ { - "$id": "4405", + "$id": "4486", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4406", + "$id": "4487", "kind": "model", "name": "CodeInterpreterToolAuto", "namespace": "OpenAI", @@ -54139,7 +55158,7 @@ } }, "baseModel": { - "$id": "4407", + "$id": "4488", "kind": "model", "name": "CodeInterpreterContainerConfiguration", "namespace": "OpenAI", @@ -54157,13 +55176,13 @@ } }, "discriminatorProperty": { - "$id": "4408", + "$id": "4489", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output.", "type": { - "$ref": "372" + "$ref": "377" }, "optional": false, "readOnly": false, @@ -54180,32 +55199,32 @@ }, "properties": [ { - "$ref": "4408" + "$ref": "4489" } ], "discriminatedSubtypes": { "auto": { - "$ref": "4406" + "$ref": "4487" } } }, "properties": [ { - "$id": "4409", + "$id": "4490", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `auto`.", "type": { - "$id": "4410", + "$id": "4491", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "373" + "$ref": "378" }, "enumType": { - "$id": "4411", + "$id": "4492", "kind": "enum", "decorators": [ { @@ -54217,7 +55236,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4412", + "$id": "4493", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -54226,16 +55245,16 @@ }, "values": [ { - "$id": "4413", + "$id": "4494", "kind": "enumvalue", "decorators": [], "name": "auto", "value": "auto", "valueType": { - "$ref": "4412" + "$ref": "4493" }, "enumType": { - "$ref": "4411" + "$ref": "4492" } } ], @@ -54264,13 +55283,13 @@ "isHttpMetadata": false }, { - "$id": "4414", + "$id": "4495", "kind": "property", "name": "file_ids", "serializedName": "file_ids", "doc": "An optional list of uploaded files to make available to your code.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -54307,7 +55326,7 @@ ] }, "image_generation": { - "$id": "4415", + "$id": "4496", "kind": "model", "name": "ImageGenTool", "namespace": "OpenAI", @@ -54327,25 +55346,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4416", + "$id": "4497", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the image generation tool. Always `image_generation`.", "type": { - "$id": "4417", + "$id": "4498", "kind": "enumvalue", "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "4269" + "$ref": "4347" }, "decorators": [] }, @@ -54363,13 +55382,13 @@ "isHttpMetadata": false }, { - "$id": "4418", + "$id": "4499", "kind": "property", "name": "model", "serializedName": "model", "doc": "The image generation model to use. Default: `gpt-image-1`.", "type": { - "$ref": "375" + "$ref": "380" }, "optional": true, "readOnly": false, @@ -54385,13 +55404,13 @@ "isHttpMetadata": false }, { - "$id": "4419", + "$id": "4500", "kind": "property", "name": "quality", "serializedName": "quality", "doc": "The quality of the generated image. One of `low`, `medium`, `high`,\nor `auto`. Default: `auto`.", "type": { - "$ref": "379" + "$ref": "384" }, "optional": true, "readOnly": false, @@ -54407,13 +55426,13 @@ "isHttpMetadata": false }, { - "$id": "4420", + "$id": "4501", "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": "385" + "$ref": "390" }, "optional": true, "readOnly": false, @@ -54429,13 +55448,13 @@ "isHttpMetadata": false }, { - "$id": "4421", + "$id": "4502", "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": "391" + "$ref": "396" }, "optional": true, "readOnly": false, @@ -54451,13 +55470,13 @@ "isHttpMetadata": false }, { - "$id": "4422", + "$id": "4503", "kind": "property", "name": "output_compression", "serializedName": "output_compression", "doc": "Compression level for the output image. Default: 100.", "type": { - "$id": "4423", + "$id": "4504", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54477,13 +55496,13 @@ "isHttpMetadata": false }, { - "$id": "4424", + "$id": "4505", "kind": "property", "name": "moderation", "serializedName": "moderation", "doc": "Moderation level for the generated image. Default: `auto`.", "type": { - "$ref": "396" + "$ref": "401" }, "optional": true, "readOnly": false, @@ -54499,13 +55518,13 @@ "isHttpMetadata": false }, { - "$id": "4425", + "$id": "4506", "kind": "property", "name": "background", "serializedName": "background", "doc": "Background type for the generated image. One of `transparent`,\n`opaque`, or `auto`. Default: `auto`.", "type": { - "$ref": "400" + "$ref": "405" }, "optional": true, "readOnly": false, @@ -54521,13 +55540,13 @@ "isHttpMetadata": false }, { - "$id": "4426", + "$id": "4507", "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": "405" + "$ref": "410" }, "optional": true, "readOnly": false, @@ -54543,13 +55562,13 @@ "isHttpMetadata": false }, { - "$id": "4427", + "$id": "4508", "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": "4428", + "$id": "4509", "kind": "model", "name": "ImageGenToolInputImageMask", "namespace": "OpenAI", @@ -54563,13 +55582,13 @@ }, "properties": [ { - "$id": "4429", + "$id": "4510", "kind": "property", "name": "image_url", "serializedName": "image_url", "doc": "Base64-encoded mask image.", "type": { - "$id": "4430", + "$id": "4511", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -54589,13 +55608,13 @@ "isHttpMetadata": false }, { - "$id": "4431", + "$id": "4512", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "File ID for the mask image.", "type": { - "$id": "4432", + "$id": "4513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54630,13 +55649,13 @@ "isHttpMetadata": false }, { - "$id": "4433", + "$id": "4514", "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": "4434", + "$id": "4515", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54658,7 +55677,7 @@ ] }, "local_shell": { - "$id": "4435", + "$id": "4516", "kind": "model", "name": "LocalShellTool", "namespace": "OpenAI", @@ -54678,25 +55697,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4436", + "$id": "4517", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the local shell tool. Always `local_shell`.", "type": { - "$id": "4437", + "$id": "4518", "kind": "enumvalue", "name": "local_shell", "value": "local_shell", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "4269" + "$ref": "4347" }, "decorators": [] }, @@ -54715,8 +55734,523 @@ } ] }, + "shell": { + "$id": "4519", + "kind": "model", + "name": "FunctionShellToolParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellToolParam", + "usage": "Input,Output,Json", + "doc": "A tool that allows the model to execute shell commands in a sandboxed environment.", + "summary": "Shell tool", + "discriminatorValue": "shell", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "FunctionShellToolParam" + } + }, + "baseModel": { + "$ref": "4342" + }, + "properties": [ + { + "$id": "4520", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the shell tool. Always `shell`.", + "type": { + "$id": "4521", + "kind": "enumvalue", + "name": "shell", + "value": "shell", + "valueType": { + "$ref": "333" + }, + "enumType": { + "$ref": "4347" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellToolParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] + }, + "apply_patch": { + "$id": "4522", + "kind": "model", + "name": "ApplyPatchToolParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolParam", + "usage": "Input,Output,Json", + "doc": "A tool that allows the model to apply patches to files.", + "summary": "Apply patch tool", + "discriminatorValue": "apply_patch", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ApplyPatchToolParam" + } + }, + "baseModel": { + "$ref": "4342" + }, + "properties": [ + { + "$id": "4523", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the apply patch tool. Always `apply_patch`.", + "type": { + "$id": "4524", + "kind": "enumvalue", + "name": "apply_patch", + "value": "apply_patch", + "valueType": { + "$ref": "333" + }, + "enumType": { + "$ref": "4347" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] + }, + "custom": { + "$id": "4525", + "kind": "model", + "name": "CustomToolParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CustomToolParam", + "usage": "Input,Output,Json", + "doc": "A custom tool that the model can call.", + "summary": "Custom tool", + "discriminatorValue": "custom", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "CustomToolParam" + } + }, + "baseModel": { + "$ref": "4342" + }, + "properties": [ + { + "$id": "4526", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the custom tool. Always `custom`.", + "type": { + "$id": "4527", + "kind": "enumvalue", + "name": "custom", + "value": "custom", + "valueType": { + "$ref": "333" + }, + "enumType": { + "$ref": "4347" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4528", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the custom tool.", + "type": { + "$id": "4529", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolParam.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4530", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "A description of the custom tool.", + "type": { + "$id": "4531", + "kind": "nullable", + "type": { + "$id": "4532", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolParam.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4533", + "kind": "property", + "name": "format", + "serializedName": "format", + "doc": "The format of the custom tool's input schema.", + "type": { + "$id": "4534", + "kind": "model", + "name": "CustomToolParamFormat", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CustomToolParamFormat", + "usage": "Input,Output,Json", + "doc": "The format of a custom tool parameter.", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "CustomToolParamFormat" + } + }, + "discriminatorProperty": { + "$id": "4535", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "414" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolParamFormat.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "4535" + } + ], + "discriminatedSubtypes": { + "text": { + "$id": "4536", + "kind": "model", + "name": "CustomTextFormatParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CustomTextFormatParam", + "usage": "Input,Output,Json", + "doc": "A text format for a custom tool parameter.", + "discriminatorValue": "text", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "CustomTextFormatParam" + } + }, + "baseModel": { + "$ref": "4534" + }, + "properties": [ + { + "$id": "4537", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the format. Always `text`.", + "type": { + "$id": "4538", + "kind": "enumvalue", + "name": "text", + "value": "text", + "valueType": { + "$ref": "415" + }, + "enumType": { + "$id": "4539", + "kind": "enum", + "decorators": [], + "doc": "The type of the custom tool parameter format.", + "name": "CustomToolParamFormatType", + "isGeneratedName": false, + "namespace": "OpenAI", + "valueType": { + "$id": "4540", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "4541", + "kind": "enumvalue", + "decorators": [], + "name": "text", + "value": "text", + "valueType": { + "$ref": "4540" + }, + "enumType": { + "$ref": "4539" + } + }, + { + "$id": "4542", + "kind": "enumvalue", + "decorators": [], + "name": "grammar", + "value": "grammar", + "valueType": { + "$ref": "4540" + }, + "enumType": { + "$ref": "4539" + } + } + ], + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "access": "public", + "crossLanguageDefinitionId": "OpenAI.CustomToolParamFormatType", + "apiVersions": [], + "isUnionAsEnum": true, + "__accessSet": true + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomTextFormatParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] + }, + "grammar": { + "$id": "4543", + "kind": "model", + "name": "CustomGrammarFormatParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CustomGrammarFormatParam", + "usage": "Input,Output,Json", + "doc": "A grammar format for a custom tool parameter.", + "discriminatorValue": "grammar", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "CustomGrammarFormatParam" + } + }, + "baseModel": { + "$ref": "4534" + }, + "properties": [ + { + "$id": "4544", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the format. Always `grammar`.", + "type": { + "$id": "4545", + "kind": "enumvalue", + "name": "grammar", + "value": "grammar", + "valueType": { + "$ref": "415" + }, + "enumType": { + "$ref": "4539" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomGrammarFormatParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4546", + "kind": "property", + "name": "syntax", + "serializedName": "syntax", + "doc": "The syntax of the grammar.", + "type": { + "$ref": "418" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomGrammarFormatParam.syntax", + "serializationOptions": { + "json": { + "name": "syntax" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4547", + "kind": "property", + "name": "definition", + "serializedName": "definition", + "doc": "The grammar definition string.", + "type": { + "$id": "4548", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomGrammarFormatParam.definition", + "serializationOptions": { + "json": { + "name": "definition" + } + }, + "isHttpMetadata": false + } + ] + } + } + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolParam.format", + "serializationOptions": { + "json": { + "name": "format" + } + }, + "isHttpMetadata": false + } + ] + }, "mcp": { - "$id": "4438", + "$id": "4549", "kind": "model", "name": "MCPTool", "namespace": "OpenAI", @@ -54736,25 +56270,25 @@ } }, "baseModel": { - "$ref": "4264" + "$ref": "4342" }, "properties": [ { - "$id": "4439", + "$id": "4550", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the MCP tool. Always `mcp`.", "type": { - "$id": "4440", + "$id": "4551", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "331" + "$ref": "333" }, "enumType": { - "$ref": "4269" + "$ref": "4347" }, "decorators": [] }, @@ -54772,13 +56306,13 @@ "isHttpMetadata": false }, { - "$id": "4441", + "$id": "4552", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "A label for this MCP server, used to identify it in tool calls.", "type": { - "$id": "4442", + "$id": "4553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54798,13 +56332,13 @@ "isHttpMetadata": false }, { - "$id": "4443", + "$id": "4554", "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": "4444", + "$id": "4555", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -54824,13 +56358,13 @@ "isHttpMetadata": false }, { - "$id": "4445", + "$id": "4556", "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": "409" + "$ref": "422" }, "optional": true, "readOnly": false, @@ -54846,13 +56380,13 @@ "isHttpMetadata": false }, { - "$id": "4446", + "$id": "4557", "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": "4447", + "$id": "4558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54872,13 +56406,13 @@ "isHttpMetadata": false }, { - "$id": "4448", + "$id": "4559", "kind": "property", "name": "server_description", "serializedName": "server_description", "doc": "Optional description of the MCP server, used to provide more context.", "type": { - "$id": "4449", + "$id": "4560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54898,16 +56432,16 @@ "isHttpMetadata": false }, { - "$id": "4450", + "$id": "4561", "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": "4451", + "$id": "4562", "kind": "nullable", "type": { - "$ref": "2580" + "$ref": "2648" }, "namespace": "OpenAI" }, @@ -54925,16 +56459,16 @@ "isHttpMetadata": false }, { - "$id": "4452", + "$id": "4563", "kind": "property", "name": "allowed_tools", "serializedName": "allowed_tools", "doc": "List of allowed tool names or a filter object.", "type": { - "$id": "4453", + "$id": "4564", "kind": "nullable", "type": { - "$id": "4454", + "$id": "4565", "kind": "model", "name": "MCPToolFilter", "namespace": "OpenAI", @@ -54955,14 +56489,14 @@ }, "properties": [ { - "$id": "4455", + "$id": "4566", "kind": "property", "name": "tool_names", "serializedName": "tool_names", "summary": "MCP allowed tools", "doc": "List of allowed tool names.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -54978,13 +56512,13 @@ "isHttpMetadata": false }, { - "$id": "4456", + "$id": "4567", "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": "4457", + "$id": "4568", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -55021,21 +56555,21 @@ "isHttpMetadata": false }, { - "$id": "4458", + "$id": "4569", "kind": "property", "name": "require_approval", "serializedName": "require_approval", "doc": "Specify which of the MCP server's tools require approval.", "type": { - "$id": "4459", + "$id": "4570", "kind": "nullable", "type": { - "$id": "4460", + "$id": "4571", "kind": "union", "name": "MCPToolRequireApproval", "variantTypes": [ { - "$id": "4461", + "$id": "4572", "kind": "model", "name": "MCPToolRequireApproval1", "namespace": "OpenAI", @@ -55049,12 +56583,12 @@ }, "properties": [ { - "$id": "4462", + "$id": "4573", "kind": "property", "name": "always", "serializedName": "always", "type": { - "$ref": "4454" + "$ref": "4565" }, "optional": true, "readOnly": false, @@ -55070,12 +56604,12 @@ "isHttpMetadata": false }, { - "$id": "4463", + "$id": "4574", "kind": "property", "name": "never", "serializedName": "never", "type": { - "$ref": "4454" + "$ref": "4565" }, "optional": true, "readOnly": false, @@ -55093,10 +56627,10 @@ ] }, { - "$ref": "1805" + "$ref": "1869" }, { - "$ref": "1807" + "$ref": "1871" } ], "namespace": "OpenAI", @@ -55138,13 +56672,13 @@ "isHttpMetadata": false }, { - "$id": "4464", + "$id": "4575", "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": "4465", + "$id": "4576", "kind": "model", "name": "EvalResponsesRunDataSourceParamsSamplingParamsText", "namespace": "OpenAI", @@ -55158,12 +56692,12 @@ }, "properties": [ { - "$id": "4466", + "$id": "4577", "kind": "property", "name": "format", "serializedName": "format", "type": { - "$ref": "4204" + "$ref": "4272" }, "optional": true, "readOnly": false, @@ -55209,13 +56743,13 @@ "isHttpMetadata": false }, { - "$id": "4467", + "$id": "4578", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to use for generating completions (e.g. \"o3-mini\").", "type": { - "$id": "4468", + "$id": "4579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55235,24 +56769,24 @@ "isHttpMetadata": false }, { - "$id": "4469", + "$id": "4580", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in this run's data source.", "type": { - "$id": "4470", + "$id": "4581", "kind": "union", "name": "EvalResponsesRunDataSourceParamsSource", "variantTypes": [ { - "$ref": "4113" + "$ref": "4181" }, { - "$ref": "4116" + "$ref": "4184" }, { - "$ref": "4143" + "$ref": "4211" } ], "namespace": "OpenAI", @@ -55291,160 +56825,184 @@ ] }, { - "$ref": "4101" + "$ref": "4169" }, { - "$ref": "4103" + "$ref": "4171" }, { - "$ref": "4113" + "$ref": "4181" }, { - "$ref": "4175" + "$ref": "4243" }, { - "$ref": "4114" + "$ref": "4182" }, { - "$ref": "4116" + "$ref": "4184" }, { - "$ref": "4127" + "$ref": "4195" }, { - "$ref": "4143" + "$ref": "4211" }, { - "$ref": "4178" + "$ref": "4246" }, { - "$ref": "4183" + "$ref": "4251" }, { - "$ref": "4189" + "$ref": "4257" }, { - "$ref": "4194" + "$ref": "4262" }, { - "$ref": "4204" + "$ref": "4272" }, { - "$ref": "4206" + "$ref": "4274" }, { - "$ref": "4214" + "$ref": "4284" }, { - "$ref": "4217" + "$ref": "4287" }, { - "$ref": "4233" + "$ref": "4292" }, { - "$ref": "4238" + "$ref": "4295" }, { - "$ref": "4243" + "$ref": "4311" }, { - "$ref": "4248" + "$ref": "4316" }, { - "$ref": "4253" + "$ref": "4321" }, { - "$ref": "4264" + "$ref": "4326" }, { - "$ref": "4266" + "$ref": "4331" }, { - "$ref": "4291" + "$ref": "4342" }, { - "$ref": "4298" + "$ref": "4344" }, { - "$ref": "4305" + "$ref": "4372" }, { - "$ref": "4314" + "$ref": "4379" }, { - "$ref": "4325" + "$ref": "4386" }, { - "$ref": "4328" + "$ref": "4395" }, { - "$ref": "4331" + "$ref": "4406" }, { - "$ref": "4334" + "$ref": "4409" }, { - "$ref": "4337" + "$ref": "4412" }, { - "$ref": "4340" + "$ref": "4415" }, { - "$ref": "4345" + "$ref": "4418" }, { - "$ref": "4352" + "$ref": "4421" }, { - "$ref": "4355" + "$ref": "4426" }, { - "$ref": "4363" + "$ref": "4433" }, { - "$ref": "4368" + "$ref": "4436" }, { - "$ref": "4370" + "$ref": "4444" }, { - "$ref": "4389" + "$ref": "4449" }, { - "$ref": "4394" + "$ref": "4451" }, { - "$ref": "4400" + "$ref": "4470" }, { - "$ref": "4406" + "$ref": "4475" + }, + { + "$ref": "4481" }, { - "$ref": "4407" + "$ref": "4487" }, { - "$ref": "4415" + "$ref": "4488" + }, + { + "$ref": "4496" + }, + { + "$ref": "4509" + }, + { + "$ref": "4516" + }, + { + "$ref": "4519" }, { - "$ref": "4428" + "$ref": "4522" }, { - "$ref": "4435" + "$ref": "4525" }, { - "$ref": "4438" + "$ref": "4534" }, { - "$ref": "4454" + "$ref": "4536" }, { - "$ref": "4461" + "$ref": "4543" }, { - "$ref": "4465" + "$ref": "4549" }, { - "$id": "4471", + "$ref": "4565" + }, + { + "$ref": "4572" + }, + { + "$ref": "4576" + }, + { + "$id": "4582", "kind": "model", "name": "DeleteEvalRunResponse", "namespace": "OpenAI", @@ -55458,12 +57016,12 @@ }, "properties": [ { - "$id": "4472", + "$id": "4583", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1809" + "$ref": "1873" }, "optional": false, "readOnly": false, @@ -55479,12 +57037,12 @@ "isHttpMetadata": false }, { - "$id": "4473", + "$id": "4584", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "4474", + "$id": "4585", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -55504,12 +57062,12 @@ "isHttpMetadata": false }, { - "$id": "4475", + "$id": "4586", "kind": "property", "name": "eval_run_id", "serializedName": "eval_run_id", "type": { - "$id": "4476", + "$id": "4587", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55531,7 +57089,7 @@ ] }, { - "$id": "4477", + "$id": "4588", "kind": "model", "name": "EvalRunOutputItemList", "namespace": "OpenAI", @@ -55546,13 +57104,13 @@ }, "properties": [ { - "$id": "4478", + "$id": "4589", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object. It is always set to \"list\".", "type": { - "$ref": "1811" + "$ref": "1875" }, "optional": false, "readOnly": false, @@ -55568,17 +57126,17 @@ "isHttpMetadata": false }, { - "$id": "4479", + "$id": "4590", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of eval run output item objects.", "type": { - "$id": "4480", + "$id": "4591", "kind": "array", "name": "ArrayEvalRunOutputItem", "valueType": { - "$id": "4481", + "$id": "4592", "kind": "model", "name": "EvalRunOutputItem", "namespace": "OpenAI", @@ -55593,13 +57151,13 @@ }, "properties": [ { - "$id": "4482", + "$id": "4593", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of the object. Always \"eval.run.output_item\".", "type": { - "$ref": "1813" + "$ref": "1877" }, "optional": false, "readOnly": false, @@ -55615,13 +57173,13 @@ "isHttpMetadata": false }, { - "$id": "4483", + "$id": "4594", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the evaluation run output item.", "type": { - "$id": "4484", + "$id": "4595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55641,13 +57199,13 @@ "isHttpMetadata": false }, { - "$id": "4485", + "$id": "4596", "kind": "property", "name": "run_id", "serializedName": "run_id", "doc": "The identifier of the evaluation run associated with this output item.", "type": { - "$id": "4486", + "$id": "4597", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55667,13 +57225,13 @@ "isHttpMetadata": false }, { - "$id": "4487", + "$id": "4598", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "doc": "The identifier of the evaluation group.", "type": { - "$id": "4488", + "$id": "4599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55693,18 +57251,18 @@ "isHttpMetadata": false }, { - "$id": "4489", + "$id": "4600", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the evaluation run was created.", "type": { - "$id": "4490", + "$id": "4601", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "4491", + "$id": "4602", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -55727,13 +57285,13 @@ "isHttpMetadata": false }, { - "$id": "4492", + "$id": "4603", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the evaluation run.", "type": { - "$id": "4493", + "$id": "4604", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55753,13 +57311,13 @@ "isHttpMetadata": false }, { - "$id": "4494", + "$id": "4605", "kind": "property", "name": "datasource_item_id", "serializedName": "datasource_item_id", "doc": "The identifier for the data source item.", "type": { - "$id": "4495", + "$id": "4606", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -55779,13 +57337,13 @@ "isHttpMetadata": false }, { - "$id": "4496", + "$id": "4607", "kind": "property", "name": "datasource_item", "serializedName": "datasource_item", "doc": "Details of the input data source item.", "type": { - "$ref": "3863" + "$ref": "3931" }, "optional": false, "readOnly": false, @@ -55801,17 +57359,17 @@ "isHttpMetadata": false }, { - "$id": "4497", + "$id": "4608", "kind": "property", "name": "results", "serializedName": "results", "doc": "A list of results from the evaluation run.", "type": { - "$id": "4498", + "$id": "4609", "kind": "array", "name": "ArrayRecord", "valueType": { - "$ref": "3863" + "$ref": "3931" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -55830,13 +57388,13 @@ "isHttpMetadata": false }, { - "$id": "4499", + "$id": "4610", "kind": "property", "name": "sample", "serializedName": "sample", "doc": "A sample containing the input and output of the evaluation run.", "type": { - "$id": "4500", + "$id": "4611", "kind": "model", "name": "EvalRunOutputItemSample", "namespace": "OpenAI", @@ -55850,17 +57408,17 @@ }, "properties": [ { - "$id": "4501", + "$id": "4612", "kind": "property", "name": "input", "serializedName": "input", "doc": "An array of input messages.", "type": { - "$id": "4502", + "$id": "4613", "kind": "array", "name": "Array16", "valueType": { - "$id": "4503", + "$id": "4614", "kind": "model", "name": "EvalRunOutputItemSampleInput", "namespace": "OpenAI", @@ -55874,13 +57432,13 @@ }, "properties": [ { - "$id": "4504", + "$id": "4615", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message sender (e.g., system, user, developer).", "type": { - "$id": "4505", + "$id": "4616", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55900,13 +57458,13 @@ "isHttpMetadata": false }, { - "$id": "4506", + "$id": "4617", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4507", + "$id": "4618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55944,17 +57502,17 @@ "isHttpMetadata": false }, { - "$id": "4508", + "$id": "4619", "kind": "property", "name": "output", "serializedName": "output", "doc": "An array of output messages.", "type": { - "$id": "4509", + "$id": "4620", "kind": "array", "name": "Array17", "valueType": { - "$id": "4510", + "$id": "4621", "kind": "model", "name": "EvalRunOutputItemSampleOutput", "namespace": "OpenAI", @@ -55968,13 +57526,13 @@ }, "properties": [ { - "$id": "4511", + "$id": "4622", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "4512", + "$id": "4623", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55994,13 +57552,13 @@ "isHttpMetadata": false }, { - "$id": "4513", + "$id": "4624", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4514", + "$id": "4625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56038,13 +57596,13 @@ "isHttpMetadata": false }, { - "$id": "4515", + "$id": "4626", "kind": "property", "name": "finish_reason", "serializedName": "finish_reason", "doc": "The reason why the sample generation was finished.", "type": { - "$id": "4516", + "$id": "4627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56064,13 +57622,13 @@ "isHttpMetadata": false }, { - "$id": "4517", + "$id": "4628", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used for generating the sample.", "type": { - "$id": "4518", + "$id": "4629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56090,13 +57648,13 @@ "isHttpMetadata": false }, { - "$id": "4519", + "$id": "4630", "kind": "property", "name": "usage", "serializedName": "usage", "doc": "Token usage details for the sample.", "type": { - "$id": "4520", + "$id": "4631", "kind": "model", "name": "EvalRunOutputItemSampleUsage", "namespace": "OpenAI", @@ -56110,13 +57668,13 @@ }, "properties": [ { - "$id": "4521", + "$id": "4632", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "4522", + "$id": "4633", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56136,13 +57694,13 @@ "isHttpMetadata": false }, { - "$id": "4523", + "$id": "4634", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "The number of completion tokens generated.", "type": { - "$id": "4524", + "$id": "4635", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56162,13 +57720,13 @@ "isHttpMetadata": false }, { - "$id": "4525", + "$id": "4636", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "The number of prompt tokens used.", "type": { - "$id": "4526", + "$id": "4637", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56188,13 +57746,13 @@ "isHttpMetadata": false }, { - "$id": "4527", + "$id": "4638", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of tokens retrieved from cache.", "type": { - "$id": "4528", + "$id": "4639", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56229,12 +57787,12 @@ "isHttpMetadata": false }, { - "$id": "4529", + "$id": "4640", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$ref": "4085" + "$ref": "4153" }, "optional": false, "readOnly": false, @@ -56250,13 +57808,13 @@ "isHttpMetadata": false }, { - "$id": "4530", + "$id": "4641", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "The sampling temperature used.", "type": { - "$id": "4531", + "$id": "4642", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -56276,13 +57834,13 @@ "isHttpMetadata": false }, { - "$id": "4532", + "$id": "4643", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens allowed for completion.", "type": { - "$id": "4533", + "$id": "4644", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56302,13 +57860,13 @@ "isHttpMetadata": false }, { - "$id": "4534", + "$id": "4645", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "The top_p value used for sampling.", "type": { - "$id": "4535", + "$id": "4646", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -56328,13 +57886,13 @@ "isHttpMetadata": false }, { - "$id": "4536", + "$id": "4647", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "The seed used for generating the sample.", "type": { - "$id": "4537", + "$id": "4648", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56387,13 +57945,13 @@ "isHttpMetadata": false }, { - "$id": "4538", + "$id": "4649", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval run output item in the data array.", "type": { - "$id": "4539", + "$id": "4650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56413,13 +57971,13 @@ "isHttpMetadata": false }, { - "$id": "4540", + "$id": "4651", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval run output item in the data array.", "type": { - "$id": "4541", + "$id": "4652", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56439,13 +57997,13 @@ "isHttpMetadata": false }, { - "$id": "4542", + "$id": "4653", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more eval run output items available.", "type": { - "$id": "4543", + "$id": "4654", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -56467,22 +58025,22 @@ ] }, { - "$ref": "4481" + "$ref": "4592" }, { - "$ref": "4500" + "$ref": "4611" }, { - "$ref": "4503" + "$ref": "4614" }, { - "$ref": "4510" + "$ref": "4621" }, { - "$ref": "4520" + "$ref": "4631" }, { - "$id": "4544", + "$id": "4655", "kind": "model", "name": "CreateResponse", "namespace": "OpenAI", @@ -56501,13 +58059,13 @@ }, "properties": [ { - "$id": "4545", + "$id": "4656", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -56523,13 +58081,13 @@ "isHttpMetadata": false }, { - "$id": "4546", + "$id": "4657", "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": "2961" + "$ref": "3029" }, "optional": true, "readOnly": false, @@ -56545,13 +58103,13 @@ "isHttpMetadata": false }, { - "$id": "4547", + "$id": "4658", "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": "2964" + "$ref": "3032" }, "optional": true, "readOnly": false, @@ -56567,13 +58125,13 @@ "isHttpMetadata": false }, { - "$id": "4548", + "$id": "4659", "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": "2967" + "$ref": "3035" }, "optional": true, "readOnly": false, @@ -56589,13 +58147,13 @@ "isHttpMetadata": false }, { - "$id": "4549", + "$id": "4660", "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": "4550", + "$id": "4661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56615,13 +58173,13 @@ "isHttpMetadata": false }, { - "$id": "4551", + "$id": "4662", "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": "4552", + "$id": "4663", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56641,12 +58199,12 @@ "isHttpMetadata": false }, { - "$id": "4553", + "$id": "4664", "kind": "property", "name": "service_tier", "serializedName": "service_tier", "type": { - "$ref": "419" + "$ref": "432" }, "optional": true, "readOnly": false, @@ -56662,16 +58220,16 @@ "isHttpMetadata": false }, { - "$id": "4554", + "$id": "4665", "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": "4555", + "$id": "4666", "kind": "nullable", "type": { - "$id": "4556", + "$id": "4667", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56693,13 +58251,13 @@ "isHttpMetadata": false }, { - "$id": "4557", + "$id": "4668", "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": { - "$id": "4558", + "$id": "4669", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56719,15 +58277,15 @@ "isHttpMetadata": false }, { - "$id": "4559", + "$id": "4670", "kind": "property", "name": "reasoning", "serializedName": "reasoning", "type": { - "$id": "4560", + "$id": "4671", "kind": "nullable", "type": { - "$id": "4561", + "$id": "4672", "kind": "model", "name": "Reasoning", "namespace": "OpenAI", @@ -56747,12 +58305,12 @@ }, "properties": [ { - "$id": "4562", + "$id": "4673", "kind": "property", "name": "effort", "serializedName": "effort", "type": { - "$id": "4563", + "$id": "4674", "kind": "nullable", "type": { "$ref": "53" @@ -56773,16 +58331,16 @@ "isHttpMetadata": false }, { - "$id": "4564", + "$id": "4675", "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": "4565", + "$id": "4676", "kind": "nullable", "type": { - "$ref": "425" + "$ref": "438" }, "namespace": "OpenAI" }, @@ -56800,16 +58358,16 @@ "isHttpMetadata": false }, { - "$id": "4566", + "$id": "4677", "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": "4567", + "$id": "4678", "kind": "nullable", "type": { - "$ref": "430" + "$ref": "443" }, "namespace": "OpenAI" }, @@ -56844,16 +58402,16 @@ "isHttpMetadata": false }, { - "$id": "4568", + "$id": "4679", "kind": "property", "name": "background", "serializedName": "background", "doc": "Whether to run the model response in the background.\n[Learn more](/docs/guides/background).", "type": { - "$id": "4569", + "$id": "4680", "kind": "nullable", "type": { - "$id": "4570", + "$id": "4681", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -56875,16 +58433,16 @@ "isHttpMetadata": false }, { - "$id": "4571", + "$id": "4682", "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": "4572", + "$id": "4683", "kind": "nullable", "type": { - "$id": "4573", + "$id": "4684", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56906,16 +58464,16 @@ "isHttpMetadata": false }, { - "$id": "4574", + "$id": "4685", "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": "4575", + "$id": "4686", "kind": "nullable", "type": { - "$id": "4576", + "$id": "4687", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -56937,16 +58495,16 @@ "isHttpMetadata": false }, { - "$id": "4577", + "$id": "4688", "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": "4578", + "$id": "4689", "kind": "nullable", "type": { - "$id": "4579", + "$id": "4690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56968,13 +58526,13 @@ "isHttpMetadata": false }, { - "$id": "4580", + "$id": "4691", "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": "4581", + "$id": "4692", "kind": "model", "name": "CreateResponseText", "namespace": "OpenAI", @@ -56988,12 +58546,12 @@ }, "properties": [ { - "$id": "4582", + "$id": "4693", "kind": "property", "name": "format", "serializedName": "format", "type": { - "$ref": "4204" + "$ref": "4272" }, "optional": true, "readOnly": false, @@ -57024,13 +58582,13 @@ "isHttpMetadata": false }, { - "$id": "4583", + "$id": "4694", "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": "4263" + "$ref": "4341" }, "optional": true, "readOnly": false, @@ -57046,21 +58604,21 @@ "isHttpMetadata": false }, { - "$id": "4584", + "$id": "4695", "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": "4585", + "$id": "4696", "kind": "union", "name": "CreateResponseToolChoice", "variantTypes": [ { - "$ref": "435" + "$ref": "448" }, { - "$id": "4586", + "$id": "4697", "kind": "model", "name": "ToolChoiceObject", "namespace": "OpenAI", @@ -57078,12 +58636,12 @@ } }, "discriminatorProperty": { - "$id": "4587", + "$id": "4698", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "440" + "$ref": "453" }, "optional": false, "readOnly": false, @@ -57100,12 +58658,12 @@ }, "properties": [ { - "$ref": "4587" + "$ref": "4698" } ], "discriminatedSubtypes": { "file_search": { - "$id": "4588", + "$id": "4699", "kind": "model", "name": "ToolChoiceObjectFileSearch", "namespace": "OpenAI", @@ -57124,24 +58682,24 @@ } }, "baseModel": { - "$ref": "4586" + "$ref": "4697" }, "properties": [ { - "$id": "4589", + "$id": "4700", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4590", + "$id": "4701", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$id": "4591", + "$id": "4702", "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).", @@ -57149,7 +58707,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4592", + "$id": "4703", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -57158,94 +58716,146 @@ }, "values": [ { - "$id": "4593", + "$id": "4704", "kind": "enumvalue", "decorators": [], "name": "file_search", "value": "file_search", "valueType": { - "$ref": "4592" + "$ref": "4703" }, "enumType": { - "$ref": "4591" + "$ref": "4702" } }, { - "$id": "4594", + "$id": "4705", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "4592" + "$ref": "4703" }, "enumType": { - "$ref": "4591" + "$ref": "4702" } }, { - "$id": "4595", + "$id": "4706", "kind": "enumvalue", "decorators": [], "name": "computer", "value": "computer_use_preview", "valueType": { - "$ref": "4592" + "$ref": "4703" }, "enumType": { - "$ref": "4591" + "$ref": "4702" } }, { - "$id": "4596", + "$id": "4707", "kind": "enumvalue", "decorators": [], "name": "web_search", "value": "web_search_preview", "valueType": { - "$ref": "4592" + "$ref": "4703" }, "enumType": { - "$ref": "4591" + "$ref": "4702" } }, { - "$id": "4597", + "$id": "4708", "kind": "enumvalue", "decorators": [], "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "4592" + "$ref": "4703" }, "enumType": { - "$ref": "4591" + "$ref": "4702" } }, { - "$id": "4598", + "$id": "4709", "kind": "enumvalue", "decorators": [], "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "4592" + "$ref": "4703" }, "enumType": { - "$ref": "4591" + "$ref": "4702" } }, { - "$id": "4599", + "$id": "4710", "kind": "enumvalue", "decorators": [], "name": "mcp", "value": "mcp", "valueType": { - "$ref": "4592" + "$ref": "4703" + }, + "enumType": { + "$ref": "4702" + } + }, + { + "$id": "4711", + "kind": "enumvalue", + "decorators": [], + "name": "shell", + "value": "shell", + "valueType": { + "$ref": "4703" + }, + "enumType": { + "$ref": "4702" + } + }, + { + "$id": "4712", + "kind": "enumvalue", + "decorators": [], + "name": "apply_patch", + "value": "apply_patch", + "valueType": { + "$ref": "4703" }, "enumType": { - "$ref": "4591" + "$ref": "4702" + } + }, + { + "$id": "4713", + "kind": "enumvalue", + "decorators": [], + "name": "custom", + "value": "custom", + "valueType": { + "$ref": "4703" + }, + "enumType": { + "$ref": "4702" + } + }, + { + "$id": "4714", + "kind": "enumvalue", + "decorators": [], + "name": "allowed_tools", + "value": "allowed_tools", + "valueType": { + "$ref": "4703" + }, + "enumType": { + "$ref": "4702" } } ], @@ -57276,7 +58886,7 @@ ] }, "computer_use_preview": { - "$id": "4600", + "$id": "4715", "kind": "model", "name": "ToolChoiceObjectComputer", "namespace": "OpenAI", @@ -57295,24 +58905,24 @@ } }, "baseModel": { - "$ref": "4586" + "$ref": "4697" }, "properties": [ { - "$id": "4601", + "$id": "4716", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4602", + "$id": "4717", "kind": "enumvalue", "name": "computer", "value": "computer_use_preview", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "4591" + "$ref": "4702" }, "decorators": [] }, @@ -57332,7 +58942,7 @@ ] }, "web_search_preview": { - "$id": "4603", + "$id": "4718", "kind": "model", "name": "ToolChoiceObjectWebSearch", "namespace": "OpenAI", @@ -57351,24 +58961,24 @@ } }, "baseModel": { - "$ref": "4586" + "$ref": "4697" }, "properties": [ { - "$id": "4604", + "$id": "4719", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4605", + "$id": "4720", "kind": "enumvalue", "name": "web_search", "value": "web_search_preview", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "4591" + "$ref": "4702" }, "decorators": [] }, @@ -57388,7 +58998,7 @@ ] }, "image_generation": { - "$id": "4606", + "$id": "4721", "kind": "model", "name": "ToolChoiceObjectImageGen", "namespace": "OpenAI", @@ -57407,24 +59017,24 @@ } }, "baseModel": { - "$ref": "4586" + "$ref": "4697" }, "properties": [ { - "$id": "4607", + "$id": "4722", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4608", + "$id": "4723", "kind": "enumvalue", "name": "image_generation", "value": "image_generation", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "4591" + "$ref": "4702" }, "decorators": [] }, @@ -57444,7 +59054,7 @@ ] }, "code_interpreter": { - "$id": "4609", + "$id": "4724", "kind": "model", "name": "ToolChoiceObjectCodeInterpreter", "namespace": "OpenAI", @@ -57463,24 +59073,24 @@ } }, "baseModel": { - "$ref": "4586" + "$ref": "4697" }, "properties": [ { - "$id": "4610", + "$id": "4725", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4611", + "$id": "4726", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "4591" + "$ref": "4702" }, "decorators": [] }, @@ -57500,7 +59110,7 @@ ] }, "mcp": { - "$id": "4612", + "$id": "4727", "kind": "model", "name": "ToolChoiceObjectMCP", "namespace": "OpenAI", @@ -57519,24 +59129,24 @@ } }, "baseModel": { - "$ref": "4586" + "$ref": "4697" }, "properties": [ { - "$id": "4613", + "$id": "4728", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4614", + "$id": "4729", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "4591" + "$ref": "4702" }, "decorators": [] }, @@ -57552,11 +59162,372 @@ } }, "isHttpMetadata": false + }, + { + "$id": "4730", + "kind": "property", + "name": "server_label", + "serializedName": "server_label", + "doc": "The label of the MCP server to use.", + "type": { + "$id": "4731", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectMCP.server_label", + "serializationOptions": { + "json": { + "name": "server_label" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4732", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Optional name of a specific MCP tool to use.", + "type": { + "$id": "4733", + "kind": "nullable", + "type": { + "$id": "4734", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectMCP.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + } + ] + }, + "shell": { + "$id": "4735", + "kind": "model", + "name": "ToolChoiceObjectShell", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectShell", + "usage": "Input,Output,Json", + "doc": "Use this option to force the model to call the shell tool.", + "discriminatorValue": "shell", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ToolChoiceObjectShell" + } + }, + "baseModel": { + "$ref": "4697" + }, + "properties": [ + { + "$id": "4736", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "For shell tool calling, the type is always `shell`.", + "type": { + "$id": "4737", + "kind": "enumvalue", + "name": "shell", + "value": "shell", + "valueType": { + "$ref": "454" + }, + "enumType": { + "$ref": "4702" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectShell.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] + }, + "apply_patch": { + "$id": "4738", + "kind": "model", + "name": "ToolChoiceObjectApplyPatch", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectApplyPatch", + "usage": "Input,Output,Json", + "doc": "Use this option to force the model to call the apply_patch tool.", + "discriminatorValue": "apply_patch", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ToolChoiceObjectApplyPatch" + } + }, + "baseModel": { + "$ref": "4697" + }, + "properties": [ + { + "$id": "4739", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "For apply_patch tool calling, the type is always `apply_patch`.", + "type": { + "$id": "4740", + "kind": "enumvalue", + "name": "apply_patch", + "value": "apply_patch", + "valueType": { + "$ref": "454" + }, + "enumType": { + "$ref": "4702" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectApplyPatch.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] + }, + "custom": { + "$id": "4741", + "kind": "model", + "name": "ToolChoiceObjectCustom", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectCustom", + "usage": "Input,Output,Json", + "doc": "Use this option to force the model to call a specific custom tool.", + "summary": "Custom tool", + "discriminatorValue": "custom", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ToolChoiceObjectCustom" + } + }, + "baseModel": { + "$ref": "4697" + }, + "properties": [ + { + "$id": "4742", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "For custom tool calling, the type is always `custom`.", + "type": { + "$id": "4743", + "kind": "enumvalue", + "name": "custom", + "value": "custom", + "valueType": { + "$ref": "454" + }, + "enumType": { + "$ref": "4702" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectCustom.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4744", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the custom tool to call.", + "type": { + "$id": "4745", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectCustom.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + } + ] + }, + "allowed_tools": { + "$id": "4746", + "kind": "model", + "name": "ToolChoiceObjectAllowed", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectAllowed", + "usage": "Input,Output,Json", + "doc": "Constrains the tools available to the model to a pre-defined set.", + "summary": "Allowed tools", + "discriminatorValue": "allowed_tools", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ToolChoiceObjectAllowed" + } + }, + "baseModel": { + "$ref": "4697" + }, + "properties": [ + { + "$id": "4747", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Allowed tool configuration type. Always `allowed_tools`.", + "type": { + "$id": "4748", + "kind": "enumvalue", + "name": "allowed_tools", + "value": "allowed_tools", + "valueType": { + "$ref": "454" + }, + "enumType": { + "$ref": "4702" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectAllowed.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4749", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "Constrains the tools available to the model to a pre-defined set.\n `auto` allows the model to pick from among the allowed tools and generate a\n message.\n `required` requires the model to call one or more of the allowed tools.", + "type": { + "$ref": "466" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectAllowed.mode", + "serializationOptions": { + "json": { + "name": "mode" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4750", + "kind": "property", + "name": "tools", + "serializedName": "tools", + "doc": "A list of tool definitions that the model should be allowed to call.", + "type": { + "$ref": "4609" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ToolChoiceObjectAllowed.tools", + "serializationOptions": { + "json": { + "name": "tools" + } + }, + "isHttpMetadata": false } ] }, "function": { - "$id": "4615", + "$id": "4751", "kind": "model", "name": "ToolChoiceObjectFunction", "namespace": "OpenAI", @@ -57576,25 +59547,25 @@ } }, "baseModel": { - "$ref": "4586" + "$ref": "4697" }, "properties": [ { - "$id": "4616", + "$id": "4752", "kind": "property", "name": "type", "serializedName": "type", "doc": "For function calling, the type is always `function`.", "type": { - "$id": "4617", + "$id": "4753", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "441" + "$ref": "454" }, "enumType": { - "$ref": "4591" + "$ref": "4702" }, "decorators": [] }, @@ -57612,13 +59583,13 @@ "isHttpMetadata": false }, { - "$id": "4618", + "$id": "4754", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "4619", + "$id": "4755", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -57659,568 +59630,990 @@ "isHttpMetadata": false }, { - "$id": "4620", + "$id": "4756", "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.", + "name": "prompt", + "serializedName": "prompt", + "doc": "Reference to a prompt template and its variables.\n[Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).", "type": { - "$id": "4621", - "kind": "nullable", - "type": { - "$ref": "449" + "$id": "4757", + "kind": "model", + "name": "Prompt", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.Prompt", + "usage": "Input,Output,Json", + "doc": "Reference to a prompt template and its variables.\n[Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "Prompt" + } }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.CreateResponse.truncation", - "serializationOptions": { - "json": { - "name": "truncation" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4622", - "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": "4623", - "kind": "union", - "name": "CreateResponseInput", - "variantTypes": [ + "properties": [ { - "$id": "4624", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "4758", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The unique identifier of the prompt template to use.", + "type": { + "$id": "4759", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Prompt.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false }, { - "$id": "4625", - "kind": "array", - "name": "Array18", - "valueType": { - "$id": "4626", - "kind": "union", - "name": "CreateResponseInput1", - "variantTypes": [ + "$id": "4760", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "The version of the prompt template to use.", + "type": { + "$id": "4761", + "kind": "nullable", + "type": { + "$id": "4762", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Prompt.version", + "serializationOptions": { + "json": { + "name": "version" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4763", + "kind": "property", + "name": "variables", + "serializedName": "variables", + "doc": "The variables to substitute into the prompt template.", + "type": { + "$id": "4764", + "kind": "model", + "name": "ResponsePromptVariables", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ResponsePromptVariables", + "usage": "Input,Output,Json", + "doc": "Variables to substitute into a prompt template.", + "decorators": [ { - "$id": "4627", - "kind": "model", - "name": "ImplicitUserMessage", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ImplicitUserMessage", - "usage": "Input,Json", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "ImplicitUserMessage" - } + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ResponsePromptVariables" + } + }, + "additionalProperties": { + "$id": "4765", + "kind": "union", + "name": "ResponsePromptVariablesAdditionalProperty", + "variantTypes": [ + { + "$id": "4766", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "properties": [ - { - "$id": "4628", - "kind": "property", - "name": "content", - "serializedName": "content", - "type": { - "$id": "4629", - "kind": "union", - "name": "ImplicitUserMessageContent", - "variantTypes": [ - { - "$id": "4630", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + { + "$id": "4767", + "kind": "model", + "name": "ItemContentInputText", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ItemContentInputText", + "usage": "Input,Output,Json", + "doc": "A text input to the model.", + "discriminatorValue": "input_text", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ItemContentInputText" + } + }, + "baseModel": { + "$id": "4768", + "kind": "model", + "name": "ItemContent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ItemContent", + "usage": "Input,Output,Json", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ItemContent" + } + }, + "discriminatorProperty": { + "$id": "4769", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "470" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContent.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "4769" + } + ], + "discriminatedSubtypes": { + "input_text": { + "$ref": "4767" + }, + "input_image": { + "$id": "4770", + "kind": "model", + "name": "ItemContentInputImage", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage", + "usage": "Input,Output,Json", + "doc": "An image input to the model. Learn about [image inputs](/docs/guides/vision).", + "discriminatorValue": "input_image", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ItemContentInputImage" + } }, - { - "$id": "4631", - "kind": "array", - "name": "ArrayItemContent", - "valueType": { - "$id": "4632", - "kind": "model", - "name": "ItemContent", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ItemContent", - "usage": "Input,Output,Json", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "ItemContent" - } - }, - "discriminatorProperty": { - "$id": "4633", - "kind": "property", - "name": "type", - "serializedName": "type", - "type": { - "$ref": "453" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContent.type", - "serializationOptions": { - "json": { - "name": "type" - } + "baseModel": { + "$ref": "4768" + }, + "properties": [ + { + "$id": "4771", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the input item. Always `input_image`.", + "type": { + "$id": "4772", + "kind": "enumvalue", + "name": "input_image", + "value": "input_image", + "valueType": { + "$ref": "471" }, - "isHttpMetadata": false - }, - "properties": [ - { - "$ref": "4633" - } - ], - "discriminatedSubtypes": { - "input_audio": { - "$id": "4634", - "kind": "model", - "name": "ItemContentInputAudio", + "enumType": { + "$id": "4773", + "kind": "enum", + "decorators": [], + "doc": "Multi-modal input and output contents.", + "name": "ItemContentType", + "isGeneratedName": false, "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio", - "usage": "Input,Output,Json", - "doc": "An audio input to the model.", - "discriminatorValue": "input_audio", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "ItemContentInputAudio" - } - }, - "baseModel": { - "$ref": "4632" + "valueType": { + "$id": "4774", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" }, - "properties": [ + "values": [ { - "$id": "4635", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the input item. Always `input_audio`.", - "type": { - "$id": "4636", - "kind": "enumvalue", - "name": "input_audio", - "value": "input_audio", - "valueType": { - "$ref": "454" - }, - "enumType": { - "$id": "4637", - "kind": "enum", - "decorators": [], - "doc": "Multi-modal input and output contents.", - "name": "ItemContentType", - "isGeneratedName": false, - "namespace": "OpenAI", - "valueType": { - "$id": "4638", - "kind": "string", - "decorators": [], - "doc": "A sequence of textual characters.", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "values": [ - { - "$id": "4639", - "kind": "enumvalue", - "decorators": [], - "name": "input_text", - "value": "input_text", - "valueType": { - "$ref": "4638" - }, - "enumType": { - "$ref": "4637" - } - }, - { - "$id": "4640", - "kind": "enumvalue", - "decorators": [], - "name": "input_audio", - "value": "input_audio", - "valueType": { - "$ref": "4638" - }, - "enumType": { - "$ref": "4637" - } - }, - { - "$id": "4641", - "kind": "enumvalue", - "decorators": [], - "name": "input_image", - "value": "input_image", - "valueType": { - "$ref": "4638" - }, - "enumType": { - "$ref": "4637" - } - }, - { - "$id": "4642", - "kind": "enumvalue", - "decorators": [], - "name": "input_file", - "value": "input_file", - "valueType": { - "$ref": "4638" - }, - "enumType": { - "$ref": "4637" - } - }, - { - "$id": "4643", - "kind": "enumvalue", - "decorators": [], - "name": "output_text", - "value": "output_text", - "valueType": { - "$ref": "4638" - }, - "enumType": { - "$ref": "4637" - } - }, - { - "$id": "4644", - "kind": "enumvalue", - "decorators": [], - "name": "output_audio", - "value": "output_audio", - "valueType": { - "$ref": "4638" - }, - "enumType": { - "$ref": "4637" - } - }, - { - "$id": "4645", - "kind": "enumvalue", - "decorators": [], - "name": "refusal", - "value": "refusal", - "valueType": { - "$ref": "4638" - }, - "enumType": { - "$ref": "4637" - } - } - ], - "isFixed": true, - "isFlags": false, - "usage": "Input,Output,Json", - "access": "public", - "crossLanguageDefinitionId": "OpenAI.ItemContentType", - "apiVersions": [], - "isUnionAsEnum": true, - "__accessSet": true - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, + "$id": "4775", + "kind": "enumvalue", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.type", - "serializationOptions": { - "json": { - "name": "type" - } + "name": "input_text", + "value": "input_text", + "valueType": { + "$ref": "4774" }, - "isHttpMetadata": false + "enumType": { + "$ref": "4773" + } }, { - "$id": "4646", - "kind": "property", - "name": "data", - "serializedName": "data", - "doc": "Base64-encoded audio data.", - "type": { - "$id": "4647", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, + "$id": "4776", + "kind": "enumvalue", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.data", - "serializationOptions": { - "json": { - "name": "data" - } + "name": "input_audio", + "value": "input_audio", + "valueType": { + "$ref": "4774" }, - "isHttpMetadata": false + "enumType": { + "$ref": "4773" + } }, { - "$id": "4648", - "kind": "property", - "name": "format", - "serializedName": "format", - "doc": "The format of the audio data. Currently supported formats are `mp3` and\n`wav`.", - "type": { - "$ref": "462" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.format", - "serializationOptions": { - "json": { - "name": "format" - } - }, - "isHttpMetadata": false - } - ] - }, - "output_audio": { - "$id": "4649", - "kind": "model", - "name": "ItemContentOutputAudio", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputAudio", - "usage": "Input,Output,Json", - "doc": "An audio output from the model.", - "discriminatorValue": "output_audio", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "ItemContentOutputAudio" - } - }, - "baseModel": { - "$ref": "4632" - }, - "properties": [ - { - "$id": "4650", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the output audio. Always `output_audio`.", - "type": { - "$id": "4651", - "kind": "enumvalue", - "name": "output_audio", - "value": "output_audio", - "valueType": { - "$ref": "454" - }, - "enumType": { - "$ref": "4637" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, + "$id": "4777", + "kind": "enumvalue", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputAudio.type", - "serializationOptions": { - "json": { - "name": "type" - } + "name": "input_image", + "value": "input_image", + "valueType": { + "$ref": "4774" }, - "isHttpMetadata": false + "enumType": { + "$ref": "4773" + } }, { - "$id": "4652", - "kind": "property", - "name": "data", - "serializedName": "data", - "doc": "Base64-encoded audio data from the model.", - "type": { - "$id": "4653", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, + "$id": "4778", + "kind": "enumvalue", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputAudio.data", - "serializationOptions": { - "json": { - "name": "data" - } + "name": "input_file", + "value": "input_file", + "valueType": { + "$ref": "4774" }, - "isHttpMetadata": false + "enumType": { + "$ref": "4773" + } }, { - "$id": "4654", - "kind": "property", - "name": "transcript", - "serializedName": "transcript", - "doc": "The transcript of the audio data from the model.", - "type": { - "$id": "4655", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, + "$id": "4779", + "kind": "enumvalue", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputAudio.transcript", - "serializationOptions": { - "json": { - "name": "transcript" - } + "name": "output_text", + "value": "output_text", + "valueType": { + "$ref": "4774" }, - "isHttpMetadata": false - } - ] - }, - "refusal": { - "$id": "4656", - "kind": "model", - "name": "ItemContentRefusal", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ItemContentRefusal", - "usage": "Input,Output,Json", - "doc": "A refusal from the model.", - "discriminatorValue": "refusal", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "ItemContentRefusal" - } - }, - "baseModel": { - "$ref": "4632" - }, - "properties": [ + "enumType": { + "$ref": "4773" + } + }, { - "$id": "4657", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the refusal. Always `refusal`.", - "type": { - "$id": "4658", - "kind": "enumvalue", - "name": "refusal", - "value": "refusal", - "valueType": { - "$ref": "454" - }, - "enumType": { - "$ref": "4637" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, + "$id": "4780", + "kind": "enumvalue", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentRefusal.type", - "serializationOptions": { - "json": { - "name": "type" - } + "name": "output_audio", + "value": "output_audio", + "valueType": { + "$ref": "4774" }, - "isHttpMetadata": false + "enumType": { + "$ref": "4773" + } }, { - "$id": "4659", - "kind": "property", - "name": "refusal", - "serializedName": "refusal", - "doc": "The refusal explanationfrom the model.", - "type": { - "$id": "4660", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, + "$id": "4781", + "kind": "enumvalue", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentRefusal.refusal", - "serializationOptions": { - "json": { - "name": "refusal" - } + "name": "refusal", + "value": "refusal", + "valueType": { + "$ref": "4774" }, - "isHttpMetadata": false + "enumType": { + "$ref": "4773" + } } - ] + ], + "isFixed": true, + "isFlags": false, + "usage": "Input,Output,Json", + "access": "public", + "crossLanguageDefinitionId": "OpenAI.ItemContentType", + "apiVersions": [], + "isUnionAsEnum": true, + "__accessSet": true }, - "input_text": { - "$id": "4661", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4782", + "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": "4783", + "kind": "nullable", + "type": { + "$id": "4784", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.image_url", + "serializationOptions": { + "json": { + "name": "image_url" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4785", + "kind": "property", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file to be sent to the model.", + "type": { + "$id": "4786", + "kind": "nullable", + "type": { + "$id": "4787", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.file_id", + "serializationOptions": { + "json": { + "name": "file_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4788", + "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": "479" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.detail", + "serializationOptions": { + "json": { + "name": "detail" + } + }, + "isHttpMetadata": false + } + ] + }, + "input_file": { + "$id": "4789", + "kind": "model", + "name": "ItemContentInputFile", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile", + "usage": "Input,Output,Json", + "doc": "A file input to the model.", + "discriminatorValue": "input_file", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ItemContentInputFile" + } + }, + "baseModel": { + "$ref": "4768" + }, + "properties": [ + { + "$id": "4790", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the input item. Always `input_file`.", + "type": { + "$id": "4791", + "kind": "enumvalue", + "name": "input_file", + "value": "input_file", + "valueType": { + "$ref": "471" + }, + "enumType": { + "$ref": "4773" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4792", + "kind": "property", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file to be sent to the model.", + "type": { + "$id": "4793", + "kind": "nullable", + "type": { + "$id": "4794", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile.file_id", + "serializationOptions": { + "json": { + "name": "file_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4795", + "kind": "property", + "name": "filename", + "serializedName": "filename", + "doc": "The name of the file to be sent to the model.", + "type": { + "$id": "4796", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile.filename", + "serializationOptions": { + "json": { + "name": "filename" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4797", + "kind": "property", + "name": "file_data", + "serializedName": "file_data", + "doc": "The content of the file to be sent to the model.", + "type": { + "$id": "4798", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile.file_data", + "serializationOptions": { + "json": { + "name": "file_data" + } + }, + "isHttpMetadata": false + } + ] + }, + "input_audio": { + "$id": "4799", + "kind": "model", + "name": "ItemContentInputAudio", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio", + "usage": "Input,Output,Json", + "doc": "An audio input to the model.", + "discriminatorValue": "input_audio", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ItemContentInputAudio" + } + }, + "baseModel": { + "$ref": "4768" + }, + "properties": [ + { + "$id": "4800", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the input item. Always `input_audio`.", + "type": { + "$id": "4801", + "kind": "enumvalue", + "name": "input_audio", + "value": "input_audio", + "valueType": { + "$ref": "471" + }, + "enumType": { + "$ref": "4773" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4802", + "kind": "property", + "name": "data", + "serializedName": "data", + "doc": "Base64-encoded audio data.", + "type": { + "$id": "4803", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.data", + "serializationOptions": { + "json": { + "name": "data" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4804", + "kind": "property", + "name": "format", + "serializedName": "format", + "doc": "The format of the audio data. Currently supported formats are `mp3` and\n`wav`.", + "type": { + "$ref": "484" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputAudio.format", + "serializationOptions": { + "json": { + "name": "format" + } + }, + "isHttpMetadata": false + } + ] + }, + "output_audio": { + "$id": "4805", + "kind": "model", + "name": "ItemContentOutputAudio", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputAudio", + "usage": "Input,Output,Json", + "doc": "An audio output from the model.", + "discriminatorValue": "output_audio", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ItemContentOutputAudio" + } + }, + "baseModel": { + "$ref": "4768" + }, + "properties": [ + { + "$id": "4806", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the output audio. Always `output_audio`.", + "type": { + "$id": "4807", + "kind": "enumvalue", + "name": "output_audio", + "value": "output_audio", + "valueType": { + "$ref": "471" + }, + "enumType": { + "$ref": "4773" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputAudio.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4808", + "kind": "property", + "name": "data", + "serializedName": "data", + "doc": "Base64-encoded audio data from the model.", + "type": { + "$id": "4809", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputAudio.data", + "serializationOptions": { + "json": { + "name": "data" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4810", + "kind": "property", + "name": "transcript", + "serializedName": "transcript", + "doc": "The transcript of the audio data from the model.", + "type": { + "$id": "4811", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputAudio.transcript", + "serializationOptions": { + "json": { + "name": "transcript" + } + }, + "isHttpMetadata": false + } + ] + }, + "refusal": { + "$id": "4812", + "kind": "model", + "name": "ItemContentRefusal", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ItemContentRefusal", + "usage": "Input,Output,Json", + "doc": "A refusal from the model.", + "discriminatorValue": "refusal", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ItemContentRefusal" + } + }, + "baseModel": { + "$ref": "4768" + }, + "properties": [ + { + "$id": "4813", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the refusal. Always `refusal`.", + "type": { + "$id": "4814", + "kind": "enumvalue", + "name": "refusal", + "value": "refusal", + "valueType": { + "$ref": "471" + }, + "enumType": { + "$ref": "4773" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentRefusal.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4815", + "kind": "property", + "name": "refusal", + "serializedName": "refusal", + "doc": "The refusal explanationfrom the model.", + "type": { + "$id": "4816", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentRefusal.refusal", + "serializationOptions": { + "json": { + "name": "refusal" + } + }, + "isHttpMetadata": false + } + ] + }, + "output_text": { + "$id": "4817", + "kind": "model", + "name": "ItemContentOutputText", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText", + "usage": "Input,Output,Json", + "doc": "A text output from the model.", + "discriminatorValue": "output_text", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ItemContentOutputText" + } + }, + "baseModel": { + "$ref": "4768" + }, + "properties": [ + { + "$id": "4818", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the output text. Always `output_text`.", + "type": { + "$id": "4819", + "kind": "enumvalue", + "name": "output_text", + "value": "output_text", + "valueType": { + "$ref": "471" + }, + "enumType": { + "$ref": "4773" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4820", + "kind": "property", + "name": "text", + "serializedName": "text", + "doc": "The text output from the model.", + "type": { + "$id": "4821", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText.text", + "serializationOptions": { + "json": { + "name": "text" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4822", + "kind": "property", + "name": "annotations", + "serializedName": "annotations", + "doc": "The annotations of the text output.", + "type": { + "$id": "4823", + "kind": "array", + "name": "ArrayAnnotation", + "valueType": { + "$id": "4824", "kind": "model", - "name": "ItemContentInputText", + "name": "Annotation", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ItemContentInputText", + "crossLanguageDefinitionId": "OpenAI.Annotation", "usage": "Input,Output,Json", - "doc": "A text input to the model.", - "discriminatorValue": "input_text", "decorators": [ { "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", @@ -58229,365 +60622,742 @@ ], "serializationOptions": { "json": { - "name": "ItemContentInputText" + "name": "Annotation" } }, - "baseModel": { - "$ref": "4632" + "discriminatorProperty": { + "$id": "4825", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "488" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Annotation.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false }, "properties": [ { - "$id": "4662", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the input item. Always `input_text`.", - "type": { - "$id": "4663", - "kind": "enumvalue", - "name": "input_text", - "value": "input_text", - "valueType": { - "$ref": "454" - }, - "enumType": { - "$ref": "4637" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputText.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4664", - "kind": "property", - "name": "text", - "serializedName": "text", - "doc": "The text input to the model.", - "type": { - "$id": "4665", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputText.text", - "serializationOptions": { - "json": { - "name": "text" - } - }, - "isHttpMetadata": false - } - ] - }, - "input_image": { - "$id": "4666", - "kind": "model", - "name": "ItemContentInputImage", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage", - "usage": "Input,Output,Json", - "doc": "An image input to the model. Learn about [image inputs](/docs/guides/vision).", - "discriminatorValue": "input_image", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} + "$ref": "4825" } ], - "serializationOptions": { - "json": { - "name": "ItemContentInputImage" - } - }, - "baseModel": { - "$ref": "4632" - }, - "properties": [ - { - "$id": "4667", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the input item. Always `input_image`.", - "type": { - "$id": "4668", - "kind": "enumvalue", - "name": "input_image", - "value": "input_image", - "valueType": { - "$ref": "454" - }, - "enumType": { - "$ref": "4637" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.type", - "serializationOptions": { - "json": { - "name": "type" + "discriminatedSubtypes": { + "file_citation": { + "$id": "4826", + "kind": "model", + "name": "AnnotationFileCitation", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation", + "usage": "Input,Output,Json", + "doc": "A citation to a file.", + "discriminatorValue": "file_citation", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} } - }, - "isHttpMetadata": false - }, - { - "$id": "4669", - "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": "4670", - "kind": "nullable", - "type": { - "$id": "4671", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.image_url", + ], "serializationOptions": { "json": { - "name": "image_url" + "name": "AnnotationFileCitation" } }, - "isHttpMetadata": false - }, - { - "$id": "4672", - "kind": "property", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file to be sent to the model.", - "type": { - "$id": "4673", - "kind": "nullable", - "type": { - "$id": "4674", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "namespace": "OpenAI" + "baseModel": { + "$ref": "4824" }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.file_id", - "serializationOptions": { - "json": { - "name": "file_id" + "properties": [ + { + "$id": "4827", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the file citation. Always `file_citation`.", + "type": { + "$id": "4828", + "kind": "enumvalue", + "name": "file_citation", + "value": "file_citation", + "valueType": { + "$ref": "489" + }, + "enumType": { + "$id": "4829", + "kind": "enum", + "decorators": [], + "name": "AnnotationType", + "isGeneratedName": false, + "namespace": "OpenAI", + "valueType": { + "$id": "4830", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "4831", + "kind": "enumvalue", + "decorators": [], + "name": "file_citation", + "value": "file_citation", + "valueType": { + "$ref": "4830" + }, + "enumType": { + "$ref": "4829" + } + }, + { + "$id": "4832", + "kind": "enumvalue", + "decorators": [], + "name": "url_citation", + "value": "url_citation", + "valueType": { + "$ref": "4830" + }, + "enumType": { + "$ref": "4829" + } + }, + { + "$id": "4833", + "kind": "enumvalue", + "decorators": [], + "name": "file_path", + "value": "file_path", + "valueType": { + "$ref": "4830" + }, + "enumType": { + "$ref": "4829" + } + }, + { + "$id": "4834", + "kind": "enumvalue", + "decorators": [], + "name": "container_file_citation", + "value": "container_file_citation", + "valueType": { + "$ref": "4830" + }, + "enumType": { + "$ref": "4829" + } + } + ], + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "access": "public", + "crossLanguageDefinitionId": "OpenAI.AnnotationType", + "apiVersions": [], + "isUnionAsEnum": true, + "__accessSet": true + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4835", + "kind": "property", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file.", + "type": { + "$id": "4836", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation.file_id", + "serializationOptions": { + "json": { + "name": "file_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4837", + "kind": "property", + "name": "index", + "serializedName": "index", + "doc": "The index of the file in the list of files.", + "type": { + "$id": "4838", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation.index", + "serializationOptions": { + "json": { + "name": "index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4839", + "kind": "property", + "name": "filename", + "serializedName": "filename", + "doc": "The filename of the file cited.", + "type": { + "$id": "4840", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation.filename", + "serializationOptions": { + "json": { + "name": "filename" + } + }, + "isHttpMetadata": false } - }, - "isHttpMetadata": false + ] }, - { - "$id": "4675", - "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": "466" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputImage.detail", + "url_citation": { + "$id": "4841", + "kind": "model", + "name": "AnnotationUrlCitation", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation", + "usage": "Input,Output,Json", + "doc": "A citation for a web resource used to generate a model response.", + "discriminatorValue": "url_citation", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], "serializationOptions": { "json": { - "name": "detail" + "name": "AnnotationUrlCitation" } }, - "isHttpMetadata": false - } - ] - }, - "input_file": { - "$id": "4676", - "kind": "model", - "name": "ItemContentInputFile", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile", - "usage": "Input,Output,Json", - "doc": "A file input to the model.", - "discriminatorValue": "input_file", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "ItemContentInputFile" - } - }, - "baseModel": { - "$ref": "4632" - }, - "properties": [ - { - "$id": "4677", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the input item. Always `input_file`.", - "type": { - "$id": "4678", - "kind": "enumvalue", - "name": "input_file", - "value": "input_file", - "valueType": { - "$ref": "454" + "baseModel": { + "$ref": "4824" + }, + "properties": [ + { + "$id": "4842", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the URL citation. Always `url_citation`.", + "type": { + "$id": "4843", + "kind": "enumvalue", + "name": "url_citation", + "value": "url_citation", + "valueType": { + "$ref": "489" + }, + "enumType": { + "$ref": "4829" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false }, - "enumType": { - "$ref": "4637" + { + "$id": "4844", + "kind": "property", + "name": "url", + "serializedName": "url", + "doc": "The URL of the web resource.", + "type": { + "$id": "4845", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.url", + "serializationOptions": { + "json": { + "name": "url" + } + }, + "isHttpMetadata": false }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile.type", - "serializationOptions": { - "json": { - "name": "type" + { + "$id": "4846", + "kind": "property", + "name": "start_index", + "serializedName": "start_index", + "doc": "The index of the first character of the URL citation in the message.", + "type": { + "$id": "4847", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.start_index", + "serializationOptions": { + "json": { + "name": "start_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4848", + "kind": "property", + "name": "end_index", + "serializedName": "end_index", + "doc": "The index of the last character of the URL citation in the message.", + "type": { + "$id": "4849", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.end_index", + "serializationOptions": { + "json": { + "name": "end_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4850", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "The title of the web resource.", + "type": { + "$id": "4851", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.title", + "serializationOptions": { + "json": { + "name": "title" + } + }, + "isHttpMetadata": false } - }, - "isHttpMetadata": false + ] }, - { - "$id": "4679", - "kind": "property", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file to be sent to the model.", - "type": { - "$id": "4680", - "kind": "nullable", - "type": { - "$id": "4681", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile.file_id", + "container_file_citation": { + "$id": "4852", + "kind": "model", + "name": "ContainerFileCitationBody", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody", + "usage": "Input,Output,Json", + "doc": "A citation for a container file used to generate a model response.", + "discriminatorValue": "container_file_citation", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], "serializationOptions": { "json": { - "name": "file_id" + "name": "ContainerFileCitationBody" } }, - "isHttpMetadata": false - }, - { - "$id": "4682", - "kind": "property", - "name": "filename", - "serializedName": "filename", - "doc": "The name of the file to be sent to the model.", - "type": { - "$id": "4683", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "baseModel": { + "$ref": "4824" }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile.filename", - "serializationOptions": { - "json": { - "name": "filename" + "properties": [ + { + "$id": "4853", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the container file citation. Always `container_file_citation`.", + "type": { + "$id": "4854", + "kind": "enumvalue", + "name": "container_file_citation", + "value": "container_file_citation", + "valueType": { + "$ref": "489" + }, + "enumType": { + "$ref": "4829" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4855", + "kind": "property", + "name": "container_id", + "serializedName": "container_id", + "doc": "The ID of the container file.", + "type": { + "$id": "4856", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.container_id", + "serializationOptions": { + "json": { + "name": "container_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4857", + "kind": "property", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file.", + "type": { + "$id": "4858", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.file_id", + "serializationOptions": { + "json": { + "name": "file_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4859", + "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": "4860", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.start_index", + "serializationOptions": { + "json": { + "name": "start_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4861", + "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": "4862", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.end_index", + "serializationOptions": { + "json": { + "name": "end_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4863", + "kind": "property", + "name": "filename", + "serializedName": "filename", + "doc": "The filename of the container file cited.", + "type": { + "$id": "4864", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.filename", + "serializationOptions": { + "json": { + "name": "filename" + } + }, + "isHttpMetadata": false } - }, - "isHttpMetadata": false + ] }, - { - "$id": "4684", - "kind": "property", - "name": "file_data", - "serializedName": "file_data", - "doc": "The content of the file to be sent to the model.", - "type": { - "$id": "4685", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentInputFile.file_data", + "file_path": { + "$id": "4865", + "kind": "model", + "name": "AnnotationFilePath", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.AnnotationFilePath", + "usage": "Input,Output,Json", + "doc": "A path to a file.", + "discriminatorValue": "file_path", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], "serializationOptions": { "json": { - "name": "file_data" + "name": "AnnotationFilePath" } }, - "isHttpMetadata": false + "baseModel": { + "$ref": "4824" + }, + "properties": [ + { + "$id": "4866", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the file path. Always `file_path`.", + "type": { + "$id": "4867", + "kind": "enumvalue", + "name": "file_path", + "value": "file_path", + "valueType": { + "$ref": "489" + }, + "enumType": { + "$ref": "4829" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationFilePath.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4868", + "kind": "property", + "name": "file_id", + "serializedName": "file_id", + "doc": "The ID of the file.", + "type": { + "$id": "4869", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationFilePath.file_id", + "serializationOptions": { + "json": { + "name": "file_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4870", + "kind": "property", + "name": "index", + "serializedName": "index", + "doc": "The index of the file in the list of files.", + "type": { + "$id": "4871", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.AnnotationFilePath.index", + "serializationOptions": { + "json": { + "name": "index" + } + }, + "isHttpMetadata": false + } + ] } - ] + } }, - "output_text": { - "$id": "4686", + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText.annotations", + "serializationOptions": { + "json": { + "name": "annotations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4872", + "kind": "property", + "name": "logprobs", + "serializedName": "logprobs", + "type": { + "$id": "4873", + "kind": "array", + "name": "ArrayLogProb", + "valueType": { + "$id": "4874", "kind": "model", - "name": "ItemContentOutputText", + "name": "LogProb", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText", + "crossLanguageDefinitionId": "OpenAI.LogProb", "usage": "Input,Output,Json", - "doc": "A text output from the model.", - "discriminatorValue": "output_text", + "doc": "The log probability of a token.", "decorators": [ { "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", @@ -58596,56 +61366,45 @@ ], "serializationOptions": { "json": { - "name": "ItemContentOutputText" + "name": "LogProb" } }, - "baseModel": { - "$ref": "4632" - }, "properties": [ { - "$id": "4687", + "$id": "4875", "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the output text. Always `output_text`.", + "name": "token", + "serializedName": "token", "type": { - "$id": "4688", - "kind": "enumvalue", - "name": "output_text", - "value": "output_text", - "valueType": { - "$ref": "454" - }, - "enumType": { - "$ref": "4637" - }, + "$id": "4876", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "optional": false, "readOnly": false, - "discriminator": true, + "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText.type", + "crossLanguageDefinitionId": "OpenAI.LogProb.token", "serializationOptions": { "json": { - "name": "type" + "name": "token" } }, "isHttpMetadata": false }, { - "$id": "4689", + "$id": "4877", "kind": "property", - "name": "text", - "serializedName": "text", - "doc": "The text output from the model.", + "name": "logprob", + "serializedName": "logprob", "type": { - "$id": "4690", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "4878", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, "optional": false, @@ -58653,775 +61412,52 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText.text", + "crossLanguageDefinitionId": "OpenAI.LogProb.logprob", "serializationOptions": { "json": { - "name": "text" + "name": "logprob" } }, "isHttpMetadata": false }, { - "$id": "4691", + "$id": "4879", "kind": "property", - "name": "annotations", - "serializedName": "annotations", - "doc": "The annotations of the text output.", + "name": "bytes", + "serializedName": "bytes", "type": { - "$id": "4692", - "kind": "array", - "name": "ArrayAnnotation", - "valueType": { - "$id": "4693", - "kind": "model", - "name": "Annotation", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.Annotation", - "usage": "Input,Output,Json", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "Annotation" - } - }, - "discriminatorProperty": { - "$id": "4694", - "kind": "property", - "name": "type", - "serializedName": "type", - "type": { - "$ref": "471" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Annotation.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - "properties": [ - { - "$ref": "4694" - } - ], - "discriminatedSubtypes": { - "file_citation": { - "$id": "4695", - "kind": "model", - "name": "AnnotationFileCitation", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation", - "usage": "Input,Output,Json", - "doc": "A citation to a file.", - "discriminatorValue": "file_citation", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "AnnotationFileCitation" - } - }, - "baseModel": { - "$ref": "4693" - }, - "properties": [ - { - "$id": "4696", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the file citation. Always `file_citation`.", - "type": { - "$id": "4697", - "kind": "enumvalue", - "name": "file_citation", - "value": "file_citation", - "valueType": { - "$ref": "472" - }, - "enumType": { - "$id": "4698", - "kind": "enum", - "decorators": [], - "name": "AnnotationType", - "isGeneratedName": false, - "namespace": "OpenAI", - "valueType": { - "$id": "4699", - "kind": "string", - "decorators": [], - "doc": "A sequence of textual characters.", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "values": [ - { - "$id": "4700", - "kind": "enumvalue", - "decorators": [], - "name": "file_citation", - "value": "file_citation", - "valueType": { - "$ref": "4699" - }, - "enumType": { - "$ref": "4698" - } - }, - { - "$id": "4701", - "kind": "enumvalue", - "decorators": [], - "name": "url_citation", - "value": "url_citation", - "valueType": { - "$ref": "4699" - }, - "enumType": { - "$ref": "4698" - } - }, - { - "$id": "4702", - "kind": "enumvalue", - "decorators": [], - "name": "file_path", - "value": "file_path", - "valueType": { - "$ref": "4699" - }, - "enumType": { - "$ref": "4698" - } - }, - { - "$id": "4703", - "kind": "enumvalue", - "decorators": [], - "name": "container_file_citation", - "value": "container_file_citation", - "valueType": { - "$ref": "4699" - }, - "enumType": { - "$ref": "4698" - } - } - ], - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json", - "access": "public", - "crossLanguageDefinitionId": "OpenAI.AnnotationType", - "apiVersions": [], - "isUnionAsEnum": true, - "__accessSet": true - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4704", - "kind": "property", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file.", - "type": { - "$id": "4705", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation.file_id", - "serializationOptions": { - "json": { - "name": "file_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4706", - "kind": "property", - "name": "index", - "serializedName": "index", - "doc": "The index of the file in the list of files.", - "type": { - "$id": "4707", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation.index", - "serializationOptions": { - "json": { - "name": "index" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4708", - "kind": "property", - "name": "filename", - "serializedName": "filename", - "doc": "The filename of the file cited.", - "type": { - "$id": "4709", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationFileCitation.filename", - "serializationOptions": { - "json": { - "name": "filename" - } - }, - "isHttpMetadata": false - } - ] - }, - "url_citation": { - "$id": "4710", - "kind": "model", - "name": "AnnotationUrlCitation", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation", - "usage": "Input,Output,Json", - "doc": "A citation for a web resource used to generate a model response.", - "discriminatorValue": "url_citation", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "AnnotationUrlCitation" - } - }, - "baseModel": { - "$ref": "4693" - }, - "properties": [ - { - "$id": "4711", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the URL citation. Always `url_citation`.", - "type": { - "$id": "4712", - "kind": "enumvalue", - "name": "url_citation", - "value": "url_citation", - "valueType": { - "$ref": "472" - }, - "enumType": { - "$ref": "4698" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4713", - "kind": "property", - "name": "url", - "serializedName": "url", - "doc": "The URL of the web resource.", - "type": { - "$id": "4714", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.url", - "serializationOptions": { - "json": { - "name": "url" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4715", - "kind": "property", - "name": "start_index", - "serializedName": "start_index", - "doc": "The index of the first character of the URL citation in the message.", - "type": { - "$id": "4716", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.start_index", - "serializationOptions": { - "json": { - "name": "start_index" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4717", - "kind": "property", - "name": "end_index", - "serializedName": "end_index", - "doc": "The index of the last character of the URL citation in the message.", - "type": { - "$id": "4718", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.end_index", - "serializationOptions": { - "json": { - "name": "end_index" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4719", - "kind": "property", - "name": "title", - "serializedName": "title", - "doc": "The title of the web resource.", - "type": { - "$id": "4720", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationUrlCitation.title", - "serializationOptions": { - "json": { - "name": "title" - } - }, - "isHttpMetadata": false - } - ] - }, - "container_file_citation": { - "$id": "4721", - "kind": "model", - "name": "ContainerFileCitationBody", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody", - "usage": "Input,Output,Json", - "doc": "A citation for a container file used to generate a model response.", - "discriminatorValue": "container_file_citation", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "ContainerFileCitationBody" - } - }, - "baseModel": { - "$ref": "4693" - }, - "properties": [ - { - "$id": "4722", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the container file citation. Always `container_file_citation`.", - "type": { - "$id": "4723", - "kind": "enumvalue", - "name": "container_file_citation", - "value": "container_file_citation", - "valueType": { - "$ref": "472" - }, - "enumType": { - "$ref": "4698" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4724", - "kind": "property", - "name": "container_id", - "serializedName": "container_id", - "doc": "The ID of the container file.", - "type": { - "$id": "4725", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.container_id", - "serializationOptions": { - "json": { - "name": "container_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4726", - "kind": "property", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file.", - "type": { - "$id": "4727", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.file_id", - "serializationOptions": { - "json": { - "name": "file_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4728", - "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": "4729", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.start_index", - "serializationOptions": { - "json": { - "name": "start_index" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4730", - "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": "4731", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.end_index", - "serializationOptions": { - "json": { - "name": "end_index" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4732", - "kind": "property", - "name": "filename", - "serializedName": "filename", - "doc": "The filename of the container file cited.", - "type": { - "$id": "4733", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ContainerFileCitationBody.filename", - "serializationOptions": { - "json": { - "name": "filename" - } - }, - "isHttpMetadata": false - } - ] - }, - "file_path": { - "$id": "4734", - "kind": "model", - "name": "AnnotationFilePath", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.AnnotationFilePath", - "usage": "Input,Output,Json", - "doc": "A path to a file.", - "discriminatorValue": "file_path", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "AnnotationFilePath" - } - }, - "baseModel": { - "$ref": "4693" - }, - "properties": [ - { - "$id": "4735", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the file path. Always `file_path`.", - "type": { - "$id": "4736", - "kind": "enumvalue", - "name": "file_path", - "value": "file_path", - "valueType": { - "$ref": "472" - }, - "enumType": { - "$ref": "4698" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationFilePath.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4737", - "kind": "property", - "name": "file_id", - "serializedName": "file_id", - "doc": "The ID of the file.", - "type": { - "$id": "4738", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationFilePath.file_id", - "serializationOptions": { - "json": { - "name": "file_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4739", - "kind": "property", - "name": "index", - "serializedName": "index", - "doc": "The index of the file in the list of files.", - "type": { - "$id": "4740", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.AnnotationFilePath.index", - "serializationOptions": { - "json": { - "name": "index" - } - }, - "isHttpMetadata": false - } - ] - } - } - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] + "$ref": "2974" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText.annotations", + "crossLanguageDefinitionId": "OpenAI.LogProb.bytes", "serializationOptions": { "json": { - "name": "annotations" + "name": "bytes" } }, "isHttpMetadata": false }, { - "$id": "4741", + "$id": "4880", "kind": "property", - "name": "logprobs", - "serializedName": "logprobs", + "name": "top_logprobs", + "serializedName": "top_logprobs", "type": { - "$id": "4742", + "$id": "4881", "kind": "array", - "name": "ArrayLogProb", + "name": "ArrayTopLogProb", "valueType": { - "$id": "4743", + "$id": "4882", "kind": "model", - "name": "LogProb", + "name": "TopLogProb", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.LogProb", + "crossLanguageDefinitionId": "OpenAI.TopLogProb", "usage": "Input,Output,Json", - "doc": "The log probability of a token.", + "doc": "The top log probability of a token.", "decorators": [ { "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", @@ -59430,17 +61466,17 @@ ], "serializationOptions": { "json": { - "name": "LogProb" + "name": "TopLogProb" } }, "properties": [ { - "$id": "4744", + "$id": "4883", "kind": "property", "name": "token", "serializedName": "token", "type": { - "$id": "4745", + "$id": "4884", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59451,7 +61487,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LogProb.token", + "crossLanguageDefinitionId": "OpenAI.TopLogProb.token", "serializationOptions": { "json": { "name": "token" @@ -59460,12 +61496,12 @@ "isHttpMetadata": false }, { - "$id": "4746", + "$id": "4885", "kind": "property", "name": "logprob", "serializedName": "logprob", "type": { - "$id": "4747", + "$id": "4886", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -59476,7 +61512,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LogProb.logprob", + "crossLanguageDefinitionId": "OpenAI.TopLogProb.logprob", "serializationOptions": { "json": { "name": "logprob" @@ -59485,165 +61521,263 @@ "isHttpMetadata": false }, { - "$id": "4748", + "$id": "4887", "kind": "property", "name": "bytes", "serializedName": "bytes", "type": { - "$ref": "2906" + "$ref": "2974" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LogProb.bytes", + "crossLanguageDefinitionId": "OpenAI.TopLogProb.bytes", "serializationOptions": { "json": { "name": "bytes" } }, "isHttpMetadata": false - }, - { - "$id": "4749", - "kind": "property", - "name": "top_logprobs", - "serializedName": "top_logprobs", - "type": { - "$id": "4750", - "kind": "array", - "name": "ArrayTopLogProb", - "valueType": { - "$id": "4751", - "kind": "model", - "name": "TopLogProb", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.TopLogProb", - "usage": "Input,Output,Json", - "doc": "The top log probability of a token.", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "TopLogProb" - } - }, - "properties": [ - { - "$id": "4752", - "kind": "property", - "name": "token", - "serializedName": "token", - "type": { - "$id": "4753", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.TopLogProb.token", - "serializationOptions": { - "json": { - "name": "token" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4754", - "kind": "property", - "name": "logprob", - "serializedName": "logprob", - "type": { - "$id": "4755", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.TopLogProb.logprob", - "serializationOptions": { - "json": { - "name": "logprob" - } - }, - "isHttpMetadata": false - }, - { - "$id": "4756", - "kind": "property", - "name": "bytes", - "serializedName": "bytes", - "type": { - "$ref": "2906" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.TopLogProb.bytes", - "serializationOptions": { - "json": { - "name": "bytes" - } - }, - "isHttpMetadata": false - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LogProb.top_logprobs", - "serializationOptions": { - "json": { - "name": "top_logprobs" - } - }, - "isHttpMetadata": false } ] }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText.logprobs", + "crossLanguageDefinitionId": "OpenAI.LogProb.top_logprobs", "serializationOptions": { "json": { - "name": "logprobs" + "name": "top_logprobs" } }, "isHttpMetadata": false } ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentOutputText.logprobs", + "serializationOptions": { + "json": { + "name": "logprobs" } - } + }, + "isHttpMetadata": false + } + ] + } + } + }, + "properties": [ + { + "$id": "4888", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the input item. Always `input_text`.", + "type": { + "$id": "4889", + "kind": "enumvalue", + "name": "input_text", + "value": "input_text", + "valueType": { + "$ref": "471" + }, + "enumType": { + "$ref": "4773" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputText.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4890", + "kind": "property", + "name": "text", + "serializedName": "text", + "doc": "The text input to the model.", + "type": { + "$id": "4891", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ItemContentInputText.text", + "serializationOptions": { + "json": { + "name": "text" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "4770" + }, + { + "$ref": "4789" + } + ], + "namespace": "OpenAI", + "decorators": [] + }, + "properties": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Prompt.variables", + "serializationOptions": { + "json": { + "name": "variables" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateResponse.prompt", + "serializationOptions": { + "json": { + "name": "prompt" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4892", + "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": "4893", + "kind": "nullable", + "type": { + "$ref": "494" + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CreateResponse.truncation", + "serializationOptions": { + "json": { + "name": "truncation" + } + }, + "isHttpMetadata": false + }, + { + "$id": "4894", + "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": "4895", + "kind": "union", + "name": "CreateResponseInput", + "variantTypes": [ + { + "$id": "4896", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + { + "$id": "4897", + "kind": "array", + "name": "Array18", + "valueType": { + "$id": "4898", + "kind": "union", + "name": "CreateResponseInput1", + "variantTypes": [ + { + "$id": "4899", + "kind": "model", + "name": "ImplicitUserMessage", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ImplicitUserMessage", + "usage": "Input,Json", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ImplicitUserMessage" + } + }, + "properties": [ + { + "$id": "4900", + "kind": "property", + "name": "content", + "serializedName": "content", + "type": { + "$id": "4901", + "kind": "union", + "name": "ImplicitUserMessageContent", + "variantTypes": [ + { + "$id": "4902", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + { + "$id": "4903", + "kind": "array", + "name": "ArrayItemContent", + "valueType": { + "$ref": "4768" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -59668,7 +61802,7 @@ ] }, { - "$id": "4757", + "$id": "4904", "kind": "model", "name": "ItemParam", "namespace": "OpenAI", @@ -59687,12 +61821,12 @@ } }, "discriminatorProperty": { - "$id": "4758", + "$id": "4905", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "477" + "$ref": "498" }, "optional": false, "readOnly": false, @@ -59709,12 +61843,12 @@ }, "properties": [ { - "$ref": "4758" + "$ref": "4905" } ], "discriminatedSubtypes": { "message": { - "$id": "4759", + "$id": "4906", "kind": "model", "name": "ResponsesMessageItemParam", "namespace": "OpenAI", @@ -59734,13 +61868,13 @@ } }, "discriminatorProperty": { - "$id": "4760", + "$id": "4907", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role associated with the message.", "type": { - "$ref": "496" + "$ref": "523" }, "optional": false, "readOnly": false, @@ -59756,32 +61890,32 @@ "isHttpMetadata": false }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4761", + "$id": "4908", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the responses item, which is always 'message'.", "type": { - "$id": "4762", + "$id": "4909", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$id": "4763", + "$id": "4910", "kind": "enum", "decorators": [], "name": "ItemType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4764", + "$id": "4911", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -59790,224 +61924,302 @@ }, "values": [ { - "$id": "4765", + "$id": "4912", "kind": "enumvalue", "decorators": [], "name": "message", "value": "message", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4766", + "$id": "4913", "kind": "enumvalue", "decorators": [], "name": "file_search_call", "value": "file_search_call", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4767", + "$id": "4914", "kind": "enumvalue", "decorators": [], "name": "function_call", "value": "function_call", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4768", + "$id": "4915", "kind": "enumvalue", "decorators": [], "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4769", + "$id": "4916", "kind": "enumvalue", "decorators": [], "name": "computer_call", "value": "computer_call", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4770", + "$id": "4917", "kind": "enumvalue", "decorators": [], "name": "computer_call_output", "value": "computer_call_output", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4771", + "$id": "4918", "kind": "enumvalue", "decorators": [], "name": "web_search_call", "value": "web_search_call", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4772", + "$id": "4919", "kind": "enumvalue", "decorators": [], "name": "reasoning", "value": "reasoning", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4773", + "$id": "4920", "kind": "enumvalue", "decorators": [], "name": "item_reference", "value": "item_reference", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4774", + "$id": "4921", "kind": "enumvalue", "decorators": [], "name": "image_generation_call", "value": "image_generation_call", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4775", + "$id": "4922", "kind": "enumvalue", "decorators": [], "name": "code_interpreter_call", "value": "code_interpreter_call", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4776", + "$id": "4923", "kind": "enumvalue", "decorators": [], "name": "local_shell_call", "value": "local_shell_call", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4777", + "$id": "4924", "kind": "enumvalue", "decorators": [], "name": "local_shell_call_output", "value": "local_shell_call_output", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4778", + "$id": "4925", "kind": "enumvalue", "decorators": [], "name": "mcp_list_tools", "value": "mcp_list_tools", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4779", + "$id": "4926", "kind": "enumvalue", "decorators": [], "name": "mcp_approval_request", "value": "mcp_approval_request", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4780", + "$id": "4927", "kind": "enumvalue", "decorators": [], "name": "mcp_approval_response", "value": "mcp_approval_response", "valueType": { - "$ref": "4764" + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" } }, { - "$id": "4781", + "$id": "4928", "kind": "enumvalue", "decorators": [], "name": "mcp_call", "value": "mcp_call", "valueType": { - "$ref": "4764" + "$ref": "4911" + }, + "enumType": { + "$ref": "4910" + } + }, + { + "$id": "4929", + "kind": "enumvalue", + "decorators": [], + "name": "shell_call", + "value": "shell_call", + "valueType": { + "$ref": "4911" + }, + "enumType": { + "$ref": "4910" + } + }, + { + "$id": "4930", + "kind": "enumvalue", + "decorators": [], + "name": "shell_call_output", + "value": "shell_call_output", + "valueType": { + "$ref": "4911" }, "enumType": { - "$ref": "4763" + "$ref": "4910" + } + }, + { + "$id": "4931", + "kind": "enumvalue", + "decorators": [], + "name": "apply_patch_call", + "value": "apply_patch_call", + "valueType": { + "$ref": "4911" + }, + "enumType": { + "$ref": "4910" + } + }, + { + "$id": "4932", + "kind": "enumvalue", + "decorators": [], + "name": "apply_patch_call_output", + "value": "apply_patch_call_output", + "valueType": { + "$ref": "4911" + }, + "enumType": { + "$ref": "4910" + } + }, + { + "$id": "4933", + "kind": "enumvalue", + "decorators": [], + "name": "custom_tool_call", + "value": "custom_tool_call", + "valueType": { + "$ref": "4911" + }, + "enumType": { + "$ref": "4910" + } + }, + { + "$id": "4934", + "kind": "enumvalue", + "decorators": [], + "name": "custom_tool_call_output", + "value": "custom_tool_call_output", + "valueType": { + "$ref": "4911" + }, + "enumType": { + "$ref": "4910" } } ], @@ -60036,12 +62248,12 @@ "isHttpMetadata": false }, { - "$ref": "4760" + "$ref": "4907" } ], "discriminatedSubtypes": { "user": { - "$id": "4782", + "$id": "4935", "kind": "model", "name": "ResponsesUserMessageItemParam", "namespace": "OpenAI", @@ -60061,25 +62273,25 @@ } }, "baseModel": { - "$ref": "4759" + "$ref": "4906" }, "properties": [ { - "$id": "4783", + "$id": "4936", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `user`.", "type": { - "$id": "4784", + "$id": "4937", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "497" + "$ref": "524" }, "enumType": { - "$id": "4785", + "$id": "4938", "kind": "enum", "decorators": [], "doc": "The collection of valid roles for responses message items.", @@ -60087,7 +62299,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4786", + "$id": "4939", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -60096,55 +62308,55 @@ }, "values": [ { - "$id": "4787", + "$id": "4940", "kind": "enumvalue", "decorators": [], "name": "system", "value": "system", "valueType": { - "$ref": "4786" + "$ref": "4939" }, "enumType": { - "$ref": "4785" + "$ref": "4938" } }, { - "$id": "4788", + "$id": "4941", "kind": "enumvalue", "decorators": [], "name": "developer", "value": "developer", "valueType": { - "$ref": "4786" + "$ref": "4939" }, "enumType": { - "$ref": "4785" + "$ref": "4938" } }, { - "$id": "4789", + "$id": "4942", "kind": "enumvalue", "decorators": [], "name": "user", "value": "user", "valueType": { - "$ref": "4786" + "$ref": "4939" }, "enumType": { - "$ref": "4785" + "$ref": "4938" } }, { - "$id": "4790", + "$id": "4943", "kind": "enumvalue", "decorators": [], "name": "assistant", "value": "assistant", "valueType": { - "$ref": "4786" + "$ref": "4939" }, "enumType": { - "$ref": "4785" + "$ref": "4938" } } ], @@ -60173,13 +62385,13 @@ "isHttpMetadata": false }, { - "$id": "4791", + "$id": "4944", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4631" + "$ref": "4903" }, "optional": false, "readOnly": false, @@ -60197,7 +62409,7 @@ ] }, "system": { - "$id": "4792", + "$id": "4945", "kind": "model", "name": "ResponsesSystemMessageItemParam", "namespace": "OpenAI", @@ -60217,25 +62429,25 @@ } }, "baseModel": { - "$ref": "4759" + "$ref": "4906" }, "properties": [ { - "$id": "4793", + "$id": "4946", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `system`.", "type": { - "$id": "4794", + "$id": "4947", "kind": "enumvalue", "name": "system", "value": "system", "valueType": { - "$ref": "497" + "$ref": "524" }, "enumType": { - "$ref": "4785" + "$ref": "4938" }, "decorators": [] }, @@ -60253,13 +62465,13 @@ "isHttpMetadata": false }, { - "$id": "4795", + "$id": "4948", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4631" + "$ref": "4903" }, "optional": false, "readOnly": false, @@ -60277,7 +62489,7 @@ ] }, "developer": { - "$id": "4796", + "$id": "4949", "kind": "model", "name": "ResponsesDeveloperMessageItemParam", "namespace": "OpenAI", @@ -60297,25 +62509,25 @@ } }, "baseModel": { - "$ref": "4759" + "$ref": "4906" }, "properties": [ { - "$id": "4797", + "$id": "4950", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `developer`.", "type": { - "$id": "4798", + "$id": "4951", "kind": "enumvalue", "name": "developer", "value": "developer", "valueType": { - "$ref": "497" + "$ref": "524" }, "enumType": { - "$ref": "4785" + "$ref": "4938" }, "decorators": [] }, @@ -60333,13 +62545,13 @@ "isHttpMetadata": false }, { - "$id": "4799", + "$id": "4952", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4631" + "$ref": "4903" }, "optional": false, "readOnly": false, @@ -60357,7 +62569,7 @@ ] }, "assistant": { - "$id": "4800", + "$id": "4953", "kind": "model", "name": "ResponsesAssistantMessageItemParam", "namespace": "OpenAI", @@ -60377,25 +62589,25 @@ } }, "baseModel": { - "$ref": "4759" + "$ref": "4906" }, "properties": [ { - "$id": "4801", + "$id": "4954", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `assistant`.", "type": { - "$id": "4802", + "$id": "4955", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "497" + "$ref": "524" }, "enumType": { - "$ref": "4785" + "$ref": "4938" }, "decorators": [] }, @@ -60413,13 +62625,13 @@ "isHttpMetadata": false }, { - "$id": "4803", + "$id": "4956", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4631" + "$ref": "4903" }, "optional": false, "readOnly": false, @@ -60439,7 +62651,7 @@ } }, "function_call_output": { - "$id": "4804", + "$id": "4957", "kind": "model", "name": "FunctionToolCallOutputItemParam", "namespace": "OpenAI", @@ -60459,24 +62671,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4805", + "$id": "4958", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4806", + "$id": "4959", "kind": "enumvalue", "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -60494,13 +62706,13 @@ "isHttpMetadata": false }, { - "$id": "4807", + "$id": "4960", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "4808", + "$id": "4961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60520,13 +62732,13 @@ "isHttpMetadata": false }, { - "$id": "4809", + "$id": "4962", "kind": "property", "name": "output", "serializedName": "output", "doc": "A JSON string of the output of the function tool call.", "type": { - "$id": "4810", + "$id": "4963", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60548,7 +62760,7 @@ ] }, "file_search_call": { - "$id": "4811", + "$id": "4964", "kind": "model", "name": "FileSearchToolCallItemParam", "namespace": "OpenAI", @@ -60568,24 +62780,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4812", + "$id": "4965", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4813", + "$id": "4966", "kind": "enumvalue", "name": "file_search_call", "value": "file_search_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -60603,13 +62815,13 @@ "isHttpMetadata": false }, { - "$id": "4814", + "$id": "4967", "kind": "property", "name": "queries", "serializedName": "queries", "doc": "The queries used to search for files.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -60625,20 +62837,20 @@ "isHttpMetadata": false }, { - "$id": "4815", + "$id": "4968", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search tool call.", "type": { - "$id": "4816", + "$id": "4969", "kind": "nullable", "type": { - "$id": "4817", + "$id": "4970", "kind": "array", "name": "Array19", "valueType": { - "$id": "4818", + "$id": "4971", "kind": "model", "name": "FileSearchToolCallItemResourceResult", "namespace": "OpenAI", @@ -60652,13 +62864,13 @@ }, "properties": [ { - "$id": "4819", + "$id": "4972", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The unique ID of the file.", "type": { - "$id": "4820", + "$id": "4973", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60678,13 +62890,13 @@ "isHttpMetadata": false }, { - "$id": "4821", + "$id": "4974", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text that was retrieved from the file.", "type": { - "$id": "4822", + "$id": "4975", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60704,13 +62916,13 @@ "isHttpMetadata": false }, { - "$id": "4823", + "$id": "4976", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file.", "type": { - "$id": "4824", + "$id": "4977", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60730,12 +62942,12 @@ "isHttpMetadata": false }, { - "$id": "4825", + "$id": "4978", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$ref": "3863" + "$ref": "3931" }, "optional": true, "readOnly": false, @@ -60751,13 +62963,13 @@ "isHttpMetadata": false }, { - "$id": "4826", + "$id": "4979", "kind": "property", "name": "score", "serializedName": "score", "doc": "The relevance score of the file - a value between 0 and 1.", "type": { - "$id": "4827", + "$id": "4980", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -60799,7 +63011,7 @@ ] }, "computer_call": { - "$id": "4828", + "$id": "4981", "kind": "model", "name": "ComputerToolCallItemParam", "namespace": "OpenAI", @@ -60819,24 +63031,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4829", + "$id": "4982", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4830", + "$id": "4983", "kind": "enumvalue", "name": "computer_call", "value": "computer_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -60854,13 +63066,13 @@ "isHttpMetadata": false }, { - "$id": "4831", + "$id": "4984", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "An identifier used when responding to the tool call with output.", "type": { - "$id": "4832", + "$id": "4985", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60880,12 +63092,12 @@ "isHttpMetadata": false }, { - "$id": "4833", + "$id": "4986", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$id": "4834", + "$id": "4987", "kind": "model", "name": "ComputerAction", "namespace": "OpenAI", @@ -60903,12 +63115,12 @@ } }, "discriminatorProperty": { - "$id": "4835", + "$id": "4988", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "502" + "$ref": "529" }, "optional": false, "readOnly": false, @@ -60925,12 +63137,12 @@ }, "properties": [ { - "$ref": "4835" + "$ref": "4988" } ], "discriminatedSubtypes": { "click": { - "$id": "4836", + "$id": "4989", "kind": "model", "name": "ComputerActionClick", "namespace": "OpenAI", @@ -60950,32 +63162,32 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4837", + "$id": "4990", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a click action, this property is\nalways set to `click`.", "type": { - "$id": "4838", + "$id": "4991", "kind": "enumvalue", "name": "click", "value": "click", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$id": "4839", + "$id": "4992", "kind": "enum", "decorators": [], "name": "ComputerActionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4840", + "$id": "4993", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -60984,120 +63196,120 @@ }, "values": [ { - "$id": "4841", + "$id": "4994", "kind": "enumvalue", "decorators": [], "name": "screenshot", "value": "screenshot", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } }, { - "$id": "4842", + "$id": "4995", "kind": "enumvalue", "decorators": [], "name": "click", "value": "click", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } }, { - "$id": "4843", + "$id": "4996", "kind": "enumvalue", "decorators": [], "name": "double_click", "value": "double_click", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } }, { - "$id": "4844", + "$id": "4997", "kind": "enumvalue", "decorators": [], "name": "scroll", "value": "scroll", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } }, { - "$id": "4845", + "$id": "4998", "kind": "enumvalue", "decorators": [], "name": "type", "value": "type", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } }, { - "$id": "4846", + "$id": "4999", "kind": "enumvalue", "decorators": [], "name": "wait", "value": "wait", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } }, { - "$id": "4847", + "$id": "5000", "kind": "enumvalue", "decorators": [], "name": "keypress", "value": "keypress", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } }, { - "$id": "4848", + "$id": "5001", "kind": "enumvalue", "decorators": [], "name": "drag", "value": "drag", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } }, { - "$id": "4849", + "$id": "5002", "kind": "enumvalue", "decorators": [], "name": "move", "value": "move", "valueType": { - "$ref": "4840" + "$ref": "4993" }, "enumType": { - "$ref": "4839" + "$ref": "4992" } } ], @@ -61126,13 +63338,13 @@ "isHttpMetadata": false }, { - "$id": "4850", + "$id": "5003", "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": "513" + "$ref": "540" }, "optional": false, "readOnly": false, @@ -61148,13 +63360,13 @@ "isHttpMetadata": false }, { - "$id": "4851", + "$id": "5004", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the click occurred.", "type": { - "$id": "4852", + "$id": "5005", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61174,13 +63386,13 @@ "isHttpMetadata": false }, { - "$id": "4853", + "$id": "5006", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the click occurred.", "type": { - "$id": "4854", + "$id": "5007", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61202,7 +63414,7 @@ ] }, "double_click": { - "$id": "4855", + "$id": "5008", "kind": "model", "name": "ComputerActionDoubleClick", "namespace": "OpenAI", @@ -61222,25 +63434,25 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4856", + "$id": "5009", "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": "4857", + "$id": "5010", "kind": "enumvalue", "name": "double_click", "value": "double_click", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "4839" + "$ref": "4992" }, "decorators": [] }, @@ -61258,13 +63470,13 @@ "isHttpMetadata": false }, { - "$id": "4858", + "$id": "5011", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the double click occurred.", "type": { - "$id": "4859", + "$id": "5012", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61284,13 +63496,13 @@ "isHttpMetadata": false }, { - "$id": "4860", + "$id": "5013", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the double click occurred.", "type": { - "$id": "4861", + "$id": "5014", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61312,7 +63524,7 @@ ] }, "drag": { - "$id": "4862", + "$id": "5015", "kind": "model", "name": "ComputerActionDrag", "namespace": "OpenAI", @@ -61332,25 +63544,25 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4863", + "$id": "5016", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a drag action, this property is\nalways set to `drag`.", "type": { - "$id": "4864", + "$id": "5017", "kind": "enumvalue", "name": "drag", "value": "drag", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "4839" + "$ref": "4992" }, "decorators": [] }, @@ -61368,17 +63580,17 @@ "isHttpMetadata": false }, { - "$id": "4865", + "$id": "5018", "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": "4866", + "$id": "5019", "kind": "array", "name": "ArrayCoordinate", "valueType": { - "$id": "4867", + "$id": "5020", "kind": "model", "name": "Coordinate", "namespace": "OpenAI", @@ -61398,13 +63610,13 @@ }, "properties": [ { - "$id": "4868", + "$id": "5021", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate.", "type": { - "$id": "4869", + "$id": "5022", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61424,13 +63636,13 @@ "isHttpMetadata": false }, { - "$id": "4870", + "$id": "5023", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate.", "type": { - "$id": "4871", + "$id": "5024", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61470,7 +63682,7 @@ ] }, "move": { - "$id": "4872", + "$id": "5025", "kind": "model", "name": "ComputerActionMove", "namespace": "OpenAI", @@ -61490,25 +63702,25 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4873", + "$id": "5026", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a move action, this property is\nalways set to `move`.", "type": { - "$id": "4874", + "$id": "5027", "kind": "enumvalue", "name": "move", "value": "move", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "4839" + "$ref": "4992" }, "decorators": [] }, @@ -61526,13 +63738,13 @@ "isHttpMetadata": false }, { - "$id": "4875", + "$id": "5028", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate to move to.", "type": { - "$id": "4876", + "$id": "5029", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61552,13 +63764,13 @@ "isHttpMetadata": false }, { - "$id": "4877", + "$id": "5030", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate to move to.", "type": { - "$id": "4878", + "$id": "5031", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61580,7 +63792,7 @@ ] }, "screenshot": { - "$id": "4879", + "$id": "5032", "kind": "model", "name": "ComputerActionScreenshot", "namespace": "OpenAI", @@ -61600,25 +63812,25 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4880", + "$id": "5033", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a screenshot action, this property is\nalways set to `screenshot`.", "type": { - "$id": "4881", + "$id": "5034", "kind": "enumvalue", "name": "screenshot", "value": "screenshot", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "4839" + "$ref": "4992" }, "decorators": [] }, @@ -61638,7 +63850,7 @@ ] }, "scroll": { - "$id": "4882", + "$id": "5035", "kind": "model", "name": "ComputerActionScroll", "namespace": "OpenAI", @@ -61658,25 +63870,25 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4883", + "$id": "5036", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a scroll action, this property is\nalways set to `scroll`.", "type": { - "$id": "4884", + "$id": "5037", "kind": "enumvalue", "name": "scroll", "value": "scroll", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "4839" + "$ref": "4992" }, "decorators": [] }, @@ -61694,13 +63906,13 @@ "isHttpMetadata": false }, { - "$id": "4885", + "$id": "5038", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the scroll occurred.", "type": { - "$id": "4886", + "$id": "5039", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61720,13 +63932,13 @@ "isHttpMetadata": false }, { - "$id": "4887", + "$id": "5040", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the scroll occurred.", "type": { - "$id": "4888", + "$id": "5041", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61746,13 +63958,13 @@ "isHttpMetadata": false }, { - "$id": "4889", + "$id": "5042", "kind": "property", "name": "scroll_x", "serializedName": "scroll_x", "doc": "The horizontal scroll distance.", "type": { - "$id": "4890", + "$id": "5043", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61772,13 +63984,13 @@ "isHttpMetadata": false }, { - "$id": "4891", + "$id": "5044", "kind": "property", "name": "scroll_y", "serializedName": "scroll_y", "doc": "The vertical scroll distance.", "type": { - "$id": "4892", + "$id": "5045", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61800,7 +64012,7 @@ ] }, "type": { - "$id": "4893", + "$id": "5046", "kind": "model", "name": "ComputerActionTypeKeys", "namespace": "OpenAI", @@ -61820,25 +64032,25 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4894", + "$id": "5047", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a type action, this property is\nalways set to `type`.", "type": { - "$id": "4895", + "$id": "5048", "kind": "enumvalue", "name": "type", "value": "type", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "4839" + "$ref": "4992" }, "decorators": [] }, @@ -61856,13 +64068,13 @@ "isHttpMetadata": false }, { - "$id": "4896", + "$id": "5049", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text to type.", "type": { - "$id": "4897", + "$id": "5050", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61884,7 +64096,7 @@ ] }, "wait": { - "$id": "4898", + "$id": "5051", "kind": "model", "name": "ComputerActionWait", "namespace": "OpenAI", @@ -61904,25 +64116,25 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4899", + "$id": "5052", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a wait action, this property is\nalways set to `wait`.", "type": { - "$id": "4900", + "$id": "5053", "kind": "enumvalue", "name": "wait", "value": "wait", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "4839" + "$ref": "4992" }, "decorators": [] }, @@ -61942,7 +64154,7 @@ ] }, "keypress": { - "$id": "4901", + "$id": "5054", "kind": "model", "name": "ComputerActionKeyPress", "namespace": "OpenAI", @@ -61962,25 +64174,25 @@ } }, "baseModel": { - "$ref": "4834" + "$ref": "4987" }, "properties": [ { - "$id": "4902", + "$id": "5055", "kind": "property", "name": "type", "serializedName": "type", "doc": "Specifies the event type. For a keypress action, this property is\nalways set to `keypress`.", "type": { - "$id": "4903", + "$id": "5056", "kind": "enumvalue", "name": "keypress", "value": "keypress", "valueType": { - "$ref": "503" + "$ref": "530" }, "enumType": { - "$ref": "4839" + "$ref": "4992" }, "decorators": [] }, @@ -61998,13 +64210,13 @@ "isHttpMetadata": false }, { - "$id": "4904", + "$id": "5057", "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": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -62037,17 +64249,17 @@ "isHttpMetadata": false }, { - "$id": "4905", + "$id": "5058", "kind": "property", "name": "pending_safety_checks", "serializedName": "pending_safety_checks", "doc": "The pending safety checks for the computer call.", "type": { - "$id": "4906", + "$id": "5059", "kind": "array", "name": "ArrayComputerToolCallSafetyCheck", "valueType": { - "$id": "4907", + "$id": "5060", "kind": "model", "name": "ComputerToolCallSafetyCheck", "namespace": "OpenAI", @@ -62067,13 +64279,13 @@ }, "properties": [ { - "$id": "4908", + "$id": "5061", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the pending safety check.", "type": { - "$id": "4909", + "$id": "5062", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62093,13 +64305,13 @@ "isHttpMetadata": false }, { - "$id": "4910", + "$id": "5063", "kind": "property", "name": "code", "serializedName": "code", "doc": "The type of the pending safety check.", "type": { - "$id": "4911", + "$id": "5064", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62119,13 +64331,13 @@ "isHttpMetadata": false }, { - "$id": "4912", + "$id": "5065", "kind": "property", "name": "message", "serializedName": "message", "doc": "Details about the pending safety check.", "type": { - "$id": "4913", + "$id": "5066", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62165,7 +64377,7 @@ ] }, "computer_call_output": { - "$id": "4914", + "$id": "5067", "kind": "model", "name": "ComputerToolCallOutputItemParam", "namespace": "OpenAI", @@ -62185,24 +64397,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4915", + "$id": "5068", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4916", + "$id": "5069", "kind": "enumvalue", "name": "computer_call_output", "value": "computer_call_output", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -62220,13 +64432,13 @@ "isHttpMetadata": false }, { - "$id": "4917", + "$id": "5070", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the computer tool call that produced the output.", "type": { - "$id": "4918", + "$id": "5071", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62246,13 +64458,13 @@ "isHttpMetadata": false }, { - "$id": "4919", + "$id": "5072", "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": "4906" + "$ref": "5059" }, "optional": true, "readOnly": false, @@ -62268,12 +64480,12 @@ "isHttpMetadata": false }, { - "$id": "4920", + "$id": "5073", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "4921", + "$id": "5074", "kind": "model", "name": "ComputerToolCallOutputItemOutput", "namespace": "OpenAI", @@ -62291,12 +64503,12 @@ } }, "discriminatorProperty": { - "$id": "4922", + "$id": "5075", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "520" + "$ref": "547" }, "optional": false, "readOnly": false, @@ -62313,12 +64525,12 @@ }, "properties": [ { - "$ref": "4922" + "$ref": "5075" } ], "discriminatedSubtypes": { "computer_screenshot": { - "$id": "4923", + "$id": "5076", "kind": "model", "name": "ComputerToolCallOutputItemOutputComputerScreenshot", "namespace": "OpenAI", @@ -62337,24 +64549,24 @@ } }, "baseModel": { - "$ref": "4921" + "$ref": "5074" }, "properties": [ { - "$id": "4924", + "$id": "5077", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4925", + "$id": "5078", "kind": "enumvalue", "name": "screenshot", "value": "computer_screenshot", "valueType": { - "$ref": "521" + "$ref": "548" }, "enumType": { - "$id": "4926", + "$id": "5079", "kind": "enum", "decorators": [], "doc": "A computer screenshot image used with the computer use tool.", @@ -62362,7 +64574,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4927", + "$id": "5080", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -62371,16 +64583,16 @@ }, "values": [ { - "$id": "4928", + "$id": "5081", "kind": "enumvalue", "decorators": [], "name": "screenshot", "value": "computer_screenshot", "valueType": { - "$ref": "4927" + "$ref": "5080" }, "enumType": { - "$ref": "4926" + "$ref": "5079" } } ], @@ -62409,12 +64621,12 @@ "isHttpMetadata": false }, { - "$id": "4929", + "$id": "5082", "kind": "property", "name": "image_url", "serializedName": "image_url", "type": { - "$id": "4930", + "$id": "5083", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62434,12 +64646,12 @@ "isHttpMetadata": false }, { - "$id": "4931", + "$id": "5084", "kind": "property", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "4932", + "$id": "5085", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62478,7 +64690,7 @@ ] }, "web_search_call": { - "$id": "4933", + "$id": "5086", "kind": "model", "name": "WebSearchToolCallItemParam", "namespace": "OpenAI", @@ -62498,24 +64710,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4934", + "$id": "5087", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4935", + "$id": "5088", "kind": "enumvalue", "name": "web_search_call", "value": "web_search_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -62535,7 +64747,7 @@ ] }, "function_call": { - "$id": "4936", + "$id": "5089", "kind": "model", "name": "FunctionToolCallItemParam", "namespace": "OpenAI", @@ -62555,24 +64767,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4937", + "$id": "5090", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4938", + "$id": "5091", "kind": "enumvalue", "name": "function_call", "value": "function_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -62590,13 +64802,13 @@ "isHttpMetadata": false }, { - "$id": "4939", + "$id": "5092", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "4940", + "$id": "5093", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62616,13 +64828,13 @@ "isHttpMetadata": false }, { - "$id": "4941", + "$id": "5094", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to run.", "type": { - "$id": "4942", + "$id": "5095", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62642,13 +64854,13 @@ "isHttpMetadata": false }, { - "$id": "4943", + "$id": "5096", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of the arguments to pass to the function.", "type": { - "$id": "4944", + "$id": "5097", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62670,7 +64882,7 @@ ] }, "reasoning": { - "$id": "4945", + "$id": "5098", "kind": "model", "name": "ReasoningItemParam", "namespace": "OpenAI", @@ -62690,24 +64902,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4946", + "$id": "5099", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4947", + "$id": "5100", "kind": "enumvalue", "name": "reasoning", "value": "reasoning", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -62725,16 +64937,16 @@ "isHttpMetadata": false }, { - "$id": "4948", + "$id": "5101", "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": "4949", + "$id": "5102", "kind": "nullable", "type": { - "$id": "4950", + "$id": "5103", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62756,17 +64968,17 @@ "isHttpMetadata": false }, { - "$id": "4951", + "$id": "5104", "kind": "property", "name": "summary", "serializedName": "summary", "doc": "Reasoning text contents.", "type": { - "$id": "4952", + "$id": "5105", "kind": "array", "name": "ArrayReasoningItemSummaryPart", "valueType": { - "$id": "4953", + "$id": "5106", "kind": "model", "name": "ReasoningItemSummaryPart", "namespace": "OpenAI", @@ -62784,12 +64996,12 @@ } }, "discriminatorProperty": { - "$id": "4954", + "$id": "5107", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "523" + "$ref": "550" }, "optional": false, "readOnly": false, @@ -62806,12 +65018,12 @@ }, "properties": [ { - "$ref": "4954" + "$ref": "5107" } ], "discriminatedSubtypes": { "summary_text": { - "$id": "4955", + "$id": "5108", "kind": "model", "name": "ReasoningItemSummaryTextPart", "namespace": "OpenAI", @@ -62830,24 +65042,24 @@ } }, "baseModel": { - "$ref": "4953" + "$ref": "5106" }, "properties": [ { - "$id": "4956", + "$id": "5109", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4957", + "$id": "5110", "kind": "enumvalue", "name": "summary_text", "value": "summary_text", "valueType": { - "$ref": "524" + "$ref": "551" }, "enumType": { - "$id": "4958", + "$id": "5111", "kind": "enum", "decorators": [ { @@ -62859,7 +65071,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4959", + "$id": "5112", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -62868,16 +65080,16 @@ }, "values": [ { - "$id": "4960", + "$id": "5113", "kind": "enumvalue", "decorators": [], "name": "summary_text", "value": "summary_text", "valueType": { - "$ref": "4959" + "$ref": "5112" }, "enumType": { - "$ref": "4958" + "$ref": "5111" } } ], @@ -62906,12 +65118,12 @@ "isHttpMetadata": false }, { - "$id": "4961", + "$id": "5114", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "4962", + "$id": "5115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62953,7 +65165,7 @@ ] }, "item_reference": { - "$id": "4963", + "$id": "5116", "kind": "model", "name": "ItemReferenceItemParam", "namespace": "OpenAI", @@ -62973,24 +65185,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4964", + "$id": "5117", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4965", + "$id": "5118", "kind": "enumvalue", "name": "item_reference", "value": "item_reference", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -63008,13 +65220,13 @@ "isHttpMetadata": false }, { - "$id": "4966", + "$id": "5119", "kind": "property", "name": "id", "serializedName": "id", "doc": "The service-originated ID of the previously generated response item being referenced.", "type": { - "$id": "4967", + "$id": "5120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63036,7 +65248,7 @@ ] }, "image_generation_call": { - "$id": "4968", + "$id": "5121", "kind": "model", "name": "ImageGenToolCallItemParam", "namespace": "OpenAI", @@ -63056,24 +65268,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4969", + "$id": "5122", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4970", + "$id": "5123", "kind": "enumvalue", "name": "image_generation_call", "value": "image_generation_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -63091,16 +65303,16 @@ "isHttpMetadata": false }, { - "$id": "4971", + "$id": "5124", "kind": "property", "name": "result", "serializedName": "result", "doc": "The generated image encoded in base64.", "type": { - "$id": "4972", + "$id": "5125", "kind": "nullable", "type": { - "$id": "4973", + "$id": "5126", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -63125,7 +65337,7 @@ ] }, "code_interpreter_call": { - "$id": "4974", + "$id": "5127", "kind": "model", "name": "CodeInterpreterToolCallItemParam", "namespace": "OpenAI", @@ -63145,24 +65357,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "4975", + "$id": "5128", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "4976", + "$id": "5129", "kind": "enumvalue", "name": "code_interpreter_call", "value": "code_interpreter_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -63180,13 +65392,13 @@ "isHttpMetadata": false }, { - "$id": "4977", + "$id": "5130", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The ID of the container used to run the code.", "type": { - "$id": "4978", + "$id": "5131", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63206,13 +65418,13 @@ "isHttpMetadata": false }, { - "$id": "4979", + "$id": "5132", "kind": "property", "name": "code", "serializedName": "code", "doc": "The code to run.", "type": { - "$id": "4980", + "$id": "5133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63232,17 +65444,17 @@ "isHttpMetadata": false }, { - "$id": "4981", + "$id": "5134", "kind": "property", "name": "outputs", "serializedName": "outputs", "doc": "The outputs of the code interpreter tool call.", "type": { - "$id": "4982", + "$id": "5135", "kind": "array", "name": "ArrayCodeInterpreterToolOutput", "valueType": { - "$id": "4983", + "$id": "5136", "kind": "model", "name": "CodeInterpreterToolOutput", "namespace": "OpenAI", @@ -63260,13 +65472,13 @@ } }, "discriminatorProperty": { - "$id": "4984", + "$id": "5137", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output.", "type": { - "$ref": "526" + "$ref": "553" }, "optional": false, "readOnly": false, @@ -63283,12 +65495,12 @@ }, "properties": [ { - "$ref": "4984" + "$ref": "5137" } ], "discriminatedSubtypes": { "logs": { - "$id": "4985", + "$id": "5138", "kind": "model", "name": "CodeInterpreterToolLogsOutput", "namespace": "OpenAI", @@ -63307,25 +65519,25 @@ } }, "baseModel": { - "$ref": "4983" + "$ref": "5136" }, "properties": [ { - "$id": "4986", + "$id": "5139", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output. Always 'logs'.", "type": { - "$id": "4987", + "$id": "5140", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "527" + "$ref": "554" }, "enumType": { - "$id": "4988", + "$id": "5141", "kind": "enum", "decorators": [ { @@ -63337,7 +65549,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "4989", + "$id": "5142", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -63346,29 +65558,29 @@ }, "values": [ { - "$id": "4990", + "$id": "5143", "kind": "enumvalue", "decorators": [], "name": "logs", "value": "logs", "valueType": { - "$ref": "4989" + "$ref": "5142" }, "enumType": { - "$ref": "4988" + "$ref": "5141" } }, { - "$id": "4991", + "$id": "5144", "kind": "enumvalue", "decorators": [], "name": "image", "value": "image", "valueType": { - "$ref": "4989" + "$ref": "5142" }, "enumType": { - "$ref": "4988" + "$ref": "5141" } } ], @@ -63397,13 +65609,13 @@ "isHttpMetadata": false }, { - "$id": "4992", + "$id": "5145", "kind": "property", "name": "logs", "serializedName": "logs", "doc": "The logs output from the code interpreter.", "type": { - "$id": "4993", + "$id": "5146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63425,7 +65637,7 @@ ] }, "image": { - "$id": "4994", + "$id": "5147", "kind": "model", "name": "CodeInterpreterToolImageOutput", "namespace": "OpenAI", @@ -63444,25 +65656,25 @@ } }, "baseModel": { - "$ref": "4983" + "$ref": "5136" }, "properties": [ { - "$id": "4995", + "$id": "5148", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the output. Always 'image'.", "type": { - "$id": "4996", + "$id": "5149", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "527" + "$ref": "554" }, "enumType": { - "$ref": "4988" + "$ref": "5141" }, "decorators": [] }, @@ -63480,13 +65692,13 @@ "isHttpMetadata": false }, { - "$id": "4997", + "$id": "5150", "kind": "property", "name": "ImageUri", "serializedName": "url", "doc": "The URL of the image output from the code interpreter.", "type": { - "$id": "4998", + "$id": "5151", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -63528,7 +65740,7 @@ ] }, "local_shell_call": { - "$id": "4999", + "$id": "5152", "kind": "model", "name": "LocalShellToolCallItemParam", "namespace": "OpenAI", @@ -63548,24 +65760,24 @@ } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "5000", + "$id": "5153", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5001", + "$id": "5154", "kind": "enumvalue", "name": "local_shell_call", "value": "local_shell_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -63583,13 +65795,13 @@ "isHttpMetadata": false }, { - "$id": "5002", + "$id": "5155", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the local shell tool call generated by the model.", "type": { - "$id": "5003", + "$id": "5156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63609,12 +65821,12 @@ "isHttpMetadata": false }, { - "$id": "5004", + "$id": "5157", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$id": "5005", + "$id": "5158", "kind": "model", "name": "LocalShellExecAction", "namespace": "OpenAI", @@ -63634,13 +65846,13 @@ }, "properties": [ { - "$id": "5006", + "$id": "5159", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the local shell action. Always `exec`.", "type": { - "$ref": "1815" + "$ref": "1879" }, "optional": false, "readOnly": false, @@ -63656,13 +65868,13 @@ "isHttpMetadata": false }, { - "$id": "5007", + "$id": "5160", "kind": "property", "name": "command", "serializedName": "command", "doc": "The command to run.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -63678,16 +65890,16 @@ "isHttpMetadata": false }, { - "$id": "5008", + "$id": "5161", "kind": "property", "name": "timeout_ms", "serializedName": "timeout_ms", "doc": "Optional timeout in milliseconds for the command.", "type": { - "$id": "5009", + "$id": "5162", "kind": "nullable", "type": { - "$id": "5010", + "$id": "5163", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63709,16 +65921,16 @@ "isHttpMetadata": false }, { - "$id": "5011", + "$id": "5164", "kind": "property", "name": "working_directory", "serializedName": "working_directory", "doc": "Optional working directory to run the command in.", "type": { - "$id": "5012", + "$id": "5165", "kind": "nullable", "type": { - "$id": "5013", + "$id": "5166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63731,47 +65943,1086 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LocalShellExecAction.working_directory", + "crossLanguageDefinitionId": "OpenAI.LocalShellExecAction.working_directory", + "serializationOptions": { + "json": { + "name": "working_directory" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5167", + "kind": "property", + "name": "env", + "serializedName": "env", + "doc": "Environment variables to set for the command.", + "type": { + "$ref": "2648" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.LocalShellExecAction.env", + "serializationOptions": { + "json": { + "name": "env" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5168", + "kind": "property", + "name": "user", + "serializedName": "user", + "doc": "Optional user to run the command as.", + "type": { + "$id": "5169", + "kind": "nullable", + "type": { + "$id": "5170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.LocalShellExecAction.user", + "serializationOptions": { + "json": { + "name": "user" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallItemParam.action", + "serializationOptions": { + "json": { + "name": "action" + } + }, + "isHttpMetadata": false + } + ] + }, + "local_shell_call_output": { + "$id": "5171", + "kind": "model", + "name": "LocalShellToolCallOutputItemParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemParam", + "usage": "Input,Json", + "doc": "The output of a local shell tool call.\n", + "discriminatorValue": "local_shell_call_output", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "LocalShellToolCallOutputItemParam" + } + }, + "baseModel": { + "$ref": "4904" + }, + "properties": [ + { + "$id": "5172", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$id": "5173", + "kind": "enumvalue", + "name": "local_shell_call_output", + "value": "local_shell_call_output", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "4910" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5174", + "kind": "property", + "name": "output", + "serializedName": "output", + "doc": "A JSON string of the output of the local shell tool call.", + "type": { + "$id": "5175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemParam.output", + "serializationOptions": { + "json": { + "name": "output" + } + }, + "isHttpMetadata": false + } + ] + }, + "mcp_list_tools": { + "$id": "5176", + "kind": "model", + "name": "MCPListToolsItemParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam", + "usage": "Input,Json", + "doc": "A list of tools available on an MCP server.\n", + "discriminatorValue": "mcp_list_tools", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "MCPListToolsItemParam" + } + }, + "baseModel": { + "$ref": "4904" + }, + "properties": [ + { + "$id": "5177", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$id": "5178", + "kind": "enumvalue", + "name": "mcp_list_tools", + "value": "mcp_list_tools", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "4910" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5179", + "kind": "property", + "name": "server_label", + "serializedName": "server_label", + "doc": "The label of the MCP server.", + "type": { + "$id": "5180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam.server_label", + "serializationOptions": { + "json": { + "name": "server_label" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5181", + "kind": "property", + "name": "tools", + "serializedName": "tools", + "doc": "The tools available on the server.", + "type": { + "$id": "5182", + "kind": "array", + "name": "ArrayMcpListToolsTool", + "valueType": { + "$id": "5183", + "kind": "model", + "name": "MCPListToolsTool", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool", + "usage": "Input,Output,Json", + "doc": "A tool available on an MCP server.", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "MCPListToolsTool" + } + }, + "properties": [ + { + "$id": "5184", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the tool.", + "type": { + "$id": "5185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5186", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The description of the tool.", + "type": { + "$id": "5187", + "kind": "nullable", + "type": { + "$id": "5188", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5189", + "kind": "property", + "name": "input_schema", + "serializedName": "input_schema", + "doc": "The JSON schema describing the tool's input.", + "type": { + "$id": "5190", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool.input_schema", + "serializationOptions": { + "json": { + "name": "input_schema" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5191", + "kind": "property", + "name": "annotations", + "serializedName": "annotations", + "doc": "Additional annotations about the tool.", + "type": { + "$id": "5192", + "kind": "nullable", + "type": { + "$id": "5193", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool.annotations", + "serializationOptions": { + "json": { + "name": "annotations" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam.tools", + "serializationOptions": { + "json": { + "name": "tools" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5194", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Error message if the server could not list tools.", + "type": { + "$id": "5195", + "kind": "nullable", + "type": { + "$id": "5196", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "mcp_approval_request": { + "$id": "5197", + "kind": "model", + "name": "MCPApprovalRequestItemParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam", + "usage": "Input,Json", + "doc": "A request for human approval of a tool invocation.\n", + "discriminatorValue": "mcp_approval_request", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "MCPApprovalRequestItemParam" + } + }, + "baseModel": { + "$ref": "4904" + }, + "properties": [ + { + "$id": "5198", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$id": "5199", + "kind": "enumvalue", + "name": "mcp_approval_request", + "value": "mcp_approval_request", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "4910" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5200", + "kind": "property", + "name": "server_label", + "serializedName": "server_label", + "doc": "The label of the MCP server making the request.", + "type": { + "$id": "5201", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam.server_label", + "serializationOptions": { + "json": { + "name": "server_label" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5202", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the tool to run.", + "type": { + "$id": "5203", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5204", + "kind": "property", + "name": "arguments", + "serializedName": "arguments", + "doc": "A JSON string of arguments for the tool.", + "type": { + "$id": "5205", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam.arguments", + "serializationOptions": { + "json": { + "name": "arguments" + } + }, + "isHttpMetadata": false + } + ] + }, + "mcp_approval_response": { + "$id": "5206", + "kind": "model", + "name": "MCPApprovalResponseItemParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam", + "usage": "Input,Json", + "doc": "A response to an MCP approval request.\n", + "discriminatorValue": "mcp_approval_response", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "MCPApprovalResponseItemParam" + } + }, + "baseModel": { + "$ref": "4904" + }, + "properties": [ + { + "$id": "5207", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$id": "5208", + "kind": "enumvalue", + "name": "mcp_approval_response", + "value": "mcp_approval_response", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "4910" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5209", + "kind": "property", + "name": "approval_request_id", + "serializedName": "approval_request_id", + "doc": "The ID of the approval request being answered.", + "type": { + "$id": "5210", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam.approval_request_id", + "serializationOptions": { + "json": { + "name": "approval_request_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5211", + "kind": "property", + "name": "approve", + "serializedName": "approve", + "doc": "Whether the request was approved.", + "type": { + "$id": "5212", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam.approve", + "serializationOptions": { + "json": { + "name": "approve" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5213", + "kind": "property", + "name": "reason", + "serializedName": "reason", + "doc": "Optional reason for the decision.", + "type": { + "$id": "5214", + "kind": "nullable", + "type": { + "$id": "5215", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam.reason", + "serializationOptions": { + "json": { + "name": "reason" + } + }, + "isHttpMetadata": false + } + ] + }, + "mcp_call": { + "$id": "5216", + "kind": "model", + "name": "MCPCallItemParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam", + "usage": "Input,Json", + "doc": "An invocation of a tool on an MCP server.\n", + "discriminatorValue": "mcp_call", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "MCPCallItemParam" + } + }, + "baseModel": { + "$ref": "4904" + }, + "properties": [ + { + "$id": "5217", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$id": "5218", + "kind": "enumvalue", + "name": "mcp_call", + "value": "mcp_call", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "4910" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5219", + "kind": "property", + "name": "server_label", + "serializedName": "server_label", + "doc": "The label of the MCP server running the tool.", + "type": { + "$id": "5220", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.server_label", + "serializationOptions": { + "json": { + "name": "server_label" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5221", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the tool that was run.", + "type": { + "$id": "5222", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5223", + "kind": "property", + "name": "arguments", + "serializedName": "arguments", + "doc": "A JSON string of the arguments passed to the tool.", + "type": { + "$id": "5224", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.arguments", + "serializationOptions": { + "json": { + "name": "arguments" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5225", + "kind": "property", + "name": "output", + "serializedName": "output", + "doc": "The output from the tool call.", + "type": { + "$id": "5226", + "kind": "nullable", + "type": { + "$id": "5227", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.output", + "serializationOptions": { + "json": { + "name": "output" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5228", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error from the tool call, if any.", + "type": { + "$id": "5229", + "kind": "nullable", + "type": { + "$id": "5230", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "shell_call": { + "$id": "5231", + "kind": "model", + "name": "FunctionShellCallItemParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemParam", + "usage": "Input,Json", + "doc": "A shell tool call initiated by the model.\n", + "discriminatorValue": "shell_call", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "FunctionShellCallItemParam" + } + }, + "baseModel": { + "$ref": "4904" + }, + "properties": [ + { + "$id": "5232", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$id": "5233", + "kind": "enumvalue", + "name": "shell_call", + "value": "shell_call", + "valueType": { + "$ref": "499" + }, + "enumType": { + "$ref": "4910" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5234", + "kind": "property", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the shell tool call.", + "type": { + "$id": "5235", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemParam.call_id", + "serializationOptions": { + "json": { + "name": "call_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5236", + "kind": "property", + "name": "action", + "serializedName": "action", + "doc": "The action performed by the shell tool.", + "type": { + "$id": "5237", + "kind": "model", + "name": "FunctionShellActionParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellActionParam", + "usage": "Input,Output,Json", + "doc": "The action to perform with the shell tool.", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "FunctionShellActionParam" + } + }, + "properties": [ + { + "$id": "5238", + "kind": "property", + "name": "commands", + "serializedName": "commands", + "doc": "The shell commands to execute.", + "type": { + "$ref": "2641" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellActionParam.commands", "serializationOptions": { "json": { - "name": "working_directory" + "name": "commands" } }, "isHttpMetadata": false }, { - "$id": "5014", + "$id": "5239", "kind": "property", - "name": "env", - "serializedName": "env", - "doc": "Environment variables to set for the command.", + "name": "timeout_ms", + "serializedName": "timeout_ms", + "doc": "Optional timeout in milliseconds for the command.", "type": { - "$ref": "2580" + "$id": "5240", + "kind": "nullable", + "type": { + "$id": "5241", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "namespace": "OpenAI" }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LocalShellExecAction.env", + "crossLanguageDefinitionId": "OpenAI.FunctionShellActionParam.timeout_ms", "serializationOptions": { "json": { - "name": "env" + "name": "timeout_ms" } }, "isHttpMetadata": false }, { - "$id": "5015", + "$id": "5242", "kind": "property", - "name": "user", - "serializedName": "user", - "doc": "Optional user to run the command as.", + "name": "working_directory", + "serializedName": "working_directory", + "doc": "Optional working directory to run the command in.", "type": { - "$id": "5016", + "$id": "5243", "kind": "nullable", "type": { - "$id": "5017", + "$id": "5244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63784,10 +67035,10 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LocalShellExecAction.user", + "crossLanguageDefinitionId": "OpenAI.FunctionShellActionParam.working_directory", "serializationOptions": { "json": { - "name": "user" + "name": "working_directory" } }, "isHttpMetadata": false @@ -63799,7 +67050,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallItemParam.action", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemParam.action", "serializationOptions": { "json": { "name": "action" @@ -63809,98 +67060,15 @@ } ] }, - "local_shell_call_output": { - "$id": "5018", - "kind": "model", - "name": "LocalShellToolCallOutputItemParam", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemParam", - "usage": "Input,Json", - "doc": "The output of a local shell tool call.\n", - "discriminatorValue": "local_shell_call_output", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "LocalShellToolCallOutputItemParam" - } - }, - "baseModel": { - "$ref": "4757" - }, - "properties": [ - { - "$id": "5019", - "kind": "property", - "name": "type", - "serializedName": "type", - "type": { - "$id": "5020", - "kind": "enumvalue", - "name": "local_shell_call_output", - "value": "local_shell_call_output", - "valueType": { - "$ref": "478" - }, - "enumType": { - "$ref": "4763" - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemParam.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5021", - "kind": "property", - "name": "output", - "serializedName": "output", - "doc": "A JSON string of the output of the local shell tool call.", - "type": { - "$id": "5022", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.LocalShellToolCallOutputItemParam.output", - "serializationOptions": { - "json": { - "name": "output" - } - }, - "isHttpMetadata": false - } - ] - }, - "mcp_list_tools": { - "$id": "5023", + "shell_call_output": { + "$id": "5245", "kind": "model", - "name": "MCPListToolsItemParam", + "name": "FunctionShellCallOutputItemParam", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemParam", "usage": "Input,Json", - "doc": "A list of tools available on an MCP server.\n", - "discriminatorValue": "mcp_list_tools", + "doc": "The output of a shell tool call.\n", + "discriminatorValue": "shell_call_output", "decorators": [ { "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", @@ -63909,28 +67077,28 @@ ], "serializationOptions": { "json": { - "name": "MCPListToolsItemParam" + "name": "FunctionShellCallOutputItemParam" } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "5024", + "$id": "5246", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5025", + "$id": "5247", "kind": "enumvalue", - "name": "mcp_list_tools", - "value": "mcp_list_tools", + "name": "shell_call_output", + "value": "shell_call_output", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -63939,7 +67107,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam.type", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemParam.type", "serializationOptions": { "json": { "name": "type" @@ -63948,13 +67116,13 @@ "isHttpMetadata": false }, { - "$id": "5026", + "$id": "5248", "kind": "property", - "name": "server_label", - "serializedName": "server_label", - "doc": "The label of the MCP server.", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the shell tool call this output is for.", "type": { - "$id": "5027", + "$id": "5249", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63965,190 +67133,324 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam.server_label", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemParam.call_id", "serializationOptions": { "json": { - "name": "server_label" + "name": "call_id" } }, "isHttpMetadata": false }, { - "$id": "5028", + "$id": "5250", "kind": "property", - "name": "tools", - "serializedName": "tools", - "doc": "The tools available on the server.", + "name": "output", + "serializedName": "output", + "doc": "The output content from the shell command.", "type": { - "$id": "5029", - "kind": "array", - "name": "ArrayMcpListToolsTool", - "valueType": { - "$id": "5030", - "kind": "model", - "name": "MCPListToolsTool", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool", - "usage": "Input,Output,Json", - "doc": "A tool available on an MCP server.", - "decorators": [ - { - "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", - "arguments": {} - } - ], - "serializationOptions": { - "json": { - "name": "MCPListToolsTool" - } + "$id": "5251", + "kind": "model", + "name": "FunctionShellCallOutputContentParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputContentParam", + "usage": "Input,Output,Json", + "doc": "The content from a shell tool call output.", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "FunctionShellCallOutputContentParam" + } + }, + "properties": [ + { + "$id": "5252", + "kind": "property", + "name": "stdout", + "serializedName": "stdout", + "doc": "Standard output from the shell command.", + "type": { + "$id": "5253", + "kind": "nullable", + "type": { + "$id": "5254", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputContentParam.stdout", + "serializationOptions": { + "json": { + "name": "stdout" + } + }, + "isHttpMetadata": false }, - "properties": [ - { - "$id": "5031", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the tool.", + { + "$id": "5255", + "kind": "property", + "name": "stderr", + "serializedName": "stderr", + "doc": "Standard error from the shell command.", + "type": { + "$id": "5256", + "kind": "nullable", "type": { - "$id": "5032", + "$id": "5257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool.name", + "namespace": "OpenAI" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputContentParam.stderr", + "serializationOptions": { + "json": { + "name": "stderr" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5258", + "kind": "property", + "name": "outcome", + "serializedName": "outcome", + "doc": "The outcome of the shell command execution.", + "type": { + "$id": "5259", + "kind": "model", + "name": "FunctionShellCallOutputOutcomeParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputOutcomeParam", + "usage": "Input,Output,Json", + "doc": "The outcome of a shell tool call.", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], "serializationOptions": { "json": { - "name": "name" + "name": "FunctionShellCallOutputOutcomeParam" } }, - "isHttpMetadata": false - }, - { - "$id": "5033", - "kind": "property", - "name": "description", - "serializedName": "description", - "doc": "The description of the tool.", - "type": { - "$id": "5034", - "kind": "nullable", + "discriminatorProperty": { + "$id": "5260", + "kind": "property", + "name": "type", + "serializedName": "type", "type": { - "$id": "5035", + "$id": "5261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool.description", - "serializationOptions": { - "json": { - "name": "description" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5036", - "kind": "property", - "name": "input_schema", - "serializedName": "input_schema", - "doc": "The JSON schema describing the tool's input.", - "type": { - "$id": "5037", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", - "decorators": [] + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputOutcomeParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool.input_schema", - "serializationOptions": { - "json": { - "name": "input_schema" + "properties": [ + { + "$ref": "5260" } - }, - "isHttpMetadata": false - }, - { - "$id": "5038", - "kind": "property", - "name": "annotations", - "serializedName": "annotations", - "doc": "Additional annotations about the tool.", - "type": { - "$id": "5039", - "kind": "nullable", - "type": { - "$id": "5040", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", - "decorators": [] + ], + "discriminatedSubtypes": { + "timeout": { + "$id": "5262", + "kind": "model", + "name": "FunctionShellCallOutputOutcomeTimeout", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputOutcomeTimeout", + "usage": "Input,Output,Json", + "doc": "A timeout outcome for a shell tool call.", + "discriminatorValue": "timeout", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "FunctionShellCallOutputOutcomeTimeout" + } + }, + "baseModel": { + "$ref": "5259" + }, + "properties": [ + { + "$id": "5263", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the outcome. Always `timeout`.", + "type": { + "$ref": "1881" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputOutcomeTimeout.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] }, - "namespace": "OpenAI" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPListToolsTool.annotations", - "serializationOptions": { - "json": { - "name": "annotations" + "exit": { + "$id": "5264", + "kind": "model", + "name": "FunctionShellCallOutputOutcomeExit", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputOutcomeExit", + "usage": "Input,Output,Json", + "doc": "An exit outcome for a shell tool call.", + "discriminatorValue": "exit", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "FunctionShellCallOutputOutcomeExit" + } + }, + "baseModel": { + "$ref": "5259" + }, + "properties": [ + { + "$id": "5265", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the outcome. Always `exit`.", + "type": { + "$ref": "1883" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputOutcomeExit.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5266", + "kind": "property", + "name": "exit_code", + "serializedName": "exit_code", + "doc": "The exit code of the shell command.", + "type": { + "$id": "5267", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputOutcomeExit.exit_code", + "serializationOptions": { + "json": { + "name": "exit_code" + } + }, + "isHttpMetadata": false + } + ] } - }, - "isHttpMetadata": false - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] + } + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputContentParam.outcome", + "serializationOptions": { + "json": { + "name": "outcome" + } + }, + "isHttpMetadata": false + } + ] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam.tools", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemParam.output", "serializationOptions": { "json": { - "name": "tools" + "name": "output" } }, "isHttpMetadata": false }, { - "$id": "5041", + "$id": "5268", "kind": "property", - "name": "error", - "serializedName": "error", - "doc": "Error message if the server could not list tools.", + "name": "max_output_length", + "serializedName": "max_output_length", + "doc": "Maximum output length requested.", "type": { - "$id": "5042", + "$id": "5269", "kind": "nullable", "type": { - "$id": "5043", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "5270", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, "namespace": "OpenAI" @@ -64158,25 +67460,25 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPListToolsItemParam.error", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemParam.max_output_length", "serializationOptions": { "json": { - "name": "error" + "name": "max_output_length" } }, "isHttpMetadata": false } ] }, - "mcp_approval_request": { - "$id": "5044", + "apply_patch_call": { + "$id": "5271", "kind": "model", - "name": "MCPApprovalRequestItemParam", + "name": "ApplyPatchToolCallItemParam", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemParam", "usage": "Input,Json", - "doc": "A request for human approval of a tool invocation.\n", - "discriminatorValue": "mcp_approval_request", + "doc": "An apply_patch tool call initiated by the model.\n", + "discriminatorValue": "apply_patch_call", "decorators": [ { "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", @@ -64185,28 +67487,28 @@ ], "serializationOptions": { "json": { - "name": "MCPApprovalRequestItemParam" + "name": "ApplyPatchToolCallItemParam" } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "5045", + "$id": "5272", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5046", + "$id": "5273", "kind": "enumvalue", - "name": "mcp_approval_request", - "value": "mcp_approval_request", + "name": "apply_patch_call", + "value": "apply_patch_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -64215,7 +67517,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam.type", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemParam.type", "serializationOptions": { "json": { "name": "type" @@ -64224,13 +67526,13 @@ "isHttpMetadata": false }, { - "$id": "5047", + "$id": "5274", "kind": "property", - "name": "server_label", - "serializedName": "server_label", - "doc": "The label of the MCP server making the request.", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the apply_patch tool call.", "type": { - "$id": "5048", + "$id": "5275", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64241,77 +67543,433 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam.server_label", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemParam.call_id", "serializationOptions": { "json": { - "name": "server_label" + "name": "call_id" } }, "isHttpMetadata": false }, { - "$id": "5049", + "$id": "5276", "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the tool to run.", + "name": "operation", + "serializedName": "operation", + "doc": "The patch operation to apply.", "type": { - "$id": "5050", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam.name", - "serializationOptions": { - "json": { - "name": "name" + "$id": "5277", + "kind": "model", + "name": "ApplyPatchOperationParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchOperationParam", + "usage": "Input,Output,Json", + "doc": "A file operation for the apply_patch tool.", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ApplyPatchOperationParam" + } + }, + "discriminatorProperty": { + "$id": "5278", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "557" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchOperationParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "5278" + } + ], + "discriminatedSubtypes": { + "create_file": { + "$id": "5279", + "kind": "model", + "name": "ApplyPatchCreateFileOperation", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchCreateFileOperation", + "usage": "Input,Output,Json", + "doc": "Create a new file with the apply_patch tool.", + "discriminatorValue": "create_file", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ApplyPatchCreateFileOperation" + } + }, + "baseModel": { + "$ref": "5277" + }, + "properties": [ + { + "$id": "5280", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type. Always `create_file`.", + "type": { + "$id": "5281", + "kind": "enumvalue", + "name": "create_file", + "value": "create_file", + "valueType": { + "$ref": "558" + }, + "enumType": { + "$id": "5282", + "kind": "enum", + "decorators": [], + "doc": "The type of an apply_patch file operation.", + "name": "ApplyPatchOperationType", + "isGeneratedName": false, + "namespace": "OpenAI", + "valueType": { + "$id": "5283", + "kind": "string", + "decorators": [], + "doc": "A sequence of textual characters.", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "values": [ + { + "$id": "5284", + "kind": "enumvalue", + "decorators": [], + "name": "create_file", + "value": "create_file", + "valueType": { + "$ref": "5283" + }, + "enumType": { + "$ref": "5282" + } + }, + { + "$id": "5285", + "kind": "enumvalue", + "decorators": [], + "name": "delete_file", + "value": "delete_file", + "valueType": { + "$ref": "5283" + }, + "enumType": { + "$ref": "5282" + } + }, + { + "$id": "5286", + "kind": "enumvalue", + "decorators": [], + "name": "update_file", + "value": "update_file", + "valueType": { + "$ref": "5283" + }, + "enumType": { + "$ref": "5282" + } + } + ], + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json", + "access": "public", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchOperationType", + "apiVersions": [], + "isUnionAsEnum": true, + "__accessSet": true + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchCreateFileOperation.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5287", + "kind": "property", + "name": "path", + "serializedName": "path", + "doc": "The path of the file to create.", + "type": { + "$id": "5288", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchCreateFileOperation.path", + "serializationOptions": { + "json": { + "name": "path" + } + }, + "isHttpMetadata": false + } + ] + }, + "delete_file": { + "$id": "5289", + "kind": "model", + "name": "ApplyPatchDeleteFileOperation", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchDeleteFileOperation", + "usage": "Input,Output,Json", + "doc": "Delete a file with the apply_patch tool.", + "discriminatorValue": "delete_file", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ApplyPatchDeleteFileOperation" + } + }, + "baseModel": { + "$ref": "5277" + }, + "properties": [ + { + "$id": "5290", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type. Always `delete_file`.", + "type": { + "$id": "5291", + "kind": "enumvalue", + "name": "delete_file", + "value": "delete_file", + "valueType": { + "$ref": "558" + }, + "enumType": { + "$ref": "5282" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchDeleteFileOperation.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5292", + "kind": "property", + "name": "path", + "serializedName": "path", + "doc": "The path of the file to delete.", + "type": { + "$id": "5293", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchDeleteFileOperation.path", + "serializationOptions": { + "json": { + "name": "path" + } + }, + "isHttpMetadata": false + } + ] + }, + "update_file": { + "$id": "5294", + "kind": "model", + "name": "ApplyPatchUpdateFileOperation", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchUpdateFileOperation", + "usage": "Input,Output,Json", + "doc": "Update an existing file with the apply_patch tool.", + "discriminatorValue": "update_file", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ApplyPatchUpdateFileOperation" + } + }, + "baseModel": { + "$ref": "5277" + }, + "properties": [ + { + "$id": "5295", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type. Always `update_file`.", + "type": { + "$id": "5296", + "kind": "enumvalue", + "name": "update_file", + "value": "update_file", + "valueType": { + "$ref": "558" + }, + "enumType": { + "$ref": "5282" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchUpdateFileOperation.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5297", + "kind": "property", + "name": "path", + "serializedName": "path", + "doc": "The path of the file to update.", + "type": { + "$id": "5298", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchUpdateFileOperation.path", + "serializationOptions": { + "json": { + "name": "path" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5299", + "kind": "property", + "name": "diff", + "serializedName": "diff", + "doc": "The unified diff to apply to the file.", + "type": { + "$id": "5300", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchUpdateFileOperation.diff", + "serializationOptions": { + "json": { + "name": "diff" + } + }, + "isHttpMetadata": false + } + ] + } } }, - "isHttpMetadata": false - }, - { - "$id": "5051", - "kind": "property", - "name": "arguments", - "serializedName": "arguments", - "doc": "A JSON string of arguments for the tool.", - "type": { - "$id": "5052", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPApprovalRequestItemParam.arguments", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemParam.operation", "serializationOptions": { "json": { - "name": "arguments" + "name": "operation" } }, "isHttpMetadata": false } ] }, - "mcp_approval_response": { - "$id": "5053", + "apply_patch_call_output": { + "$id": "5301", "kind": "model", - "name": "MCPApprovalResponseItemParam", + "name": "ApplyPatchToolCallOutputItemParam", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemParam", "usage": "Input,Json", - "doc": "A response to an MCP approval request.\n", - "discriminatorValue": "mcp_approval_response", + "doc": "The output of an apply_patch tool call.\n", + "discriminatorValue": "apply_patch_call_output", "decorators": [ { "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", @@ -64320,28 +67978,28 @@ ], "serializationOptions": { "json": { - "name": "MCPApprovalResponseItemParam" + "name": "ApplyPatchToolCallOutputItemParam" } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "5054", + "$id": "5302", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5055", + "$id": "5303", "kind": "enumvalue", - "name": "mcp_approval_response", - "value": "mcp_approval_response", + "name": "apply_patch_call_output", + "value": "apply_patch_call_output", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -64350,7 +68008,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam.type", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemParam.type", "serializationOptions": { "json": { "name": "type" @@ -64359,13 +68017,13 @@ "isHttpMetadata": false }, { - "$id": "5056", + "$id": "5304", "kind": "property", - "name": "approval_request_id", - "serializedName": "approval_request_id", - "doc": "The ID of the approval request being answered.", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the apply_patch tool call this output is for.", "type": { - "$id": "5057", + "$id": "5305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64376,51 +68034,25 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam.approval_request_id", - "serializationOptions": { - "json": { - "name": "approval_request_id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "5058", - "kind": "property", - "name": "approve", - "serializedName": "approve", - "doc": "Whether the request was approved.", - "type": { - "$id": "5059", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam.approve", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemParam.call_id", "serializationOptions": { "json": { - "name": "approve" + "name": "call_id" } }, "isHttpMetadata": false }, { - "$id": "5060", + "$id": "5306", "kind": "property", - "name": "reason", - "serializedName": "reason", - "doc": "Optional reason for the decision.", + "name": "output", + "serializedName": "output", + "doc": "A JSON string of the output of the apply_patch tool call.", "type": { - "$id": "5061", + "$id": "5307", "kind": "nullable", "type": { - "$id": "5062", + "$id": "5308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64433,25 +68065,25 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPApprovalResponseItemParam.reason", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemParam.output", "serializationOptions": { "json": { - "name": "reason" + "name": "output" } }, "isHttpMetadata": false } ] }, - "mcp_call": { - "$id": "5063", + "custom_tool_call": { + "$id": "5309", "kind": "model", - "name": "MCPCallItemParam", + "name": "CustomToolCallItemParam", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemParam", "usage": "Input,Json", - "doc": "An invocation of a tool on an MCP server.\n", - "discriminatorValue": "mcp_call", + "doc": "A custom tool call initiated by the model.\n", + "discriminatorValue": "custom_tool_call", "decorators": [ { "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", @@ -64460,28 +68092,28 @@ ], "serializationOptions": { "json": { - "name": "MCPCallItemParam" + "name": "CustomToolCallItemParam" } }, "baseModel": { - "$ref": "4757" + "$ref": "4904" }, "properties": [ { - "$id": "5064", + "$id": "5310", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5065", + "$id": "5311", "kind": "enumvalue", - "name": "mcp_call", - "value": "mcp_call", + "name": "custom_tool_call", + "value": "custom_tool_call", "valueType": { - "$ref": "478" + "$ref": "499" }, "enumType": { - "$ref": "4763" + "$ref": "4910" }, "decorators": [] }, @@ -64490,7 +68122,7 @@ "discriminator": true, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.type", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemParam.type", "serializationOptions": { "json": { "name": "type" @@ -64499,13 +68131,13 @@ "isHttpMetadata": false }, { - "$id": "5066", + "$id": "5312", "kind": "property", - "name": "server_label", - "serializedName": "server_label", - "doc": "The label of the MCP server running the tool.", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the custom tool call.", "type": { - "$id": "5067", + "$id": "5313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64516,22 +68148,22 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.server_label", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemParam.call_id", "serializationOptions": { "json": { - "name": "server_label" + "name": "call_id" } }, "isHttpMetadata": false }, { - "$id": "5068", + "$id": "5314", "kind": "property", "name": "name", "serializedName": "name", - "doc": "The name of the tool that was run.", + "doc": "The name of the custom tool that was called.", "type": { - "$id": "5069", + "$id": "5315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64542,7 +68174,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.name", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemParam.name", "serializationOptions": { "json": { "name": "name" @@ -64551,13 +68183,13 @@ "isHttpMetadata": false }, { - "$id": "5070", + "$id": "5316", "kind": "property", - "name": "arguments", - "serializedName": "arguments", - "doc": "A JSON string of the arguments passed to the tool.", + "name": "input", + "serializedName": "input", + "doc": "The input provided by the model for the custom tool call.", "type": { - "$id": "5071", + "$id": "5317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64568,56 +68200,108 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.arguments", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemParam.input", "serializationOptions": { "json": { - "name": "arguments" + "name": "input" } }, "isHttpMetadata": false - }, + } + ] + }, + "custom_tool_call_output": { + "$id": "5318", + "kind": "model", + "name": "CustomToolCallOutputItemParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemParam", + "usage": "Input,Json", + "doc": "The output of a custom tool call.\n", + "discriminatorValue": "custom_tool_call_output", + "decorators": [ { - "$id": "5072", + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "CustomToolCallOutputItemParam" + } + }, + "baseModel": { + "$ref": "4904" + }, + "properties": [ + { + "$id": "5319", "kind": "property", - "name": "output", - "serializedName": "output", - "doc": "The output from the tool call.", + "name": "type", + "serializedName": "type", "type": { - "$id": "5073", - "kind": "nullable", - "type": { - "$id": "5074", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "5320", + "kind": "enumvalue", + "name": "custom_tool_call_output", + "value": "custom_tool_call_output", + "valueType": { + "$ref": "499" }, - "namespace": "OpenAI" + "enumType": { + "$ref": "4910" + }, + "decorators": [] }, - "optional": true, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemParam.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5321", + "kind": "property", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the custom tool call this output is for.", + "type": { + "$id": "5322", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.output", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemParam.call_id", "serializationOptions": { "json": { - "name": "output" + "name": "call_id" } }, "isHttpMetadata": false }, { - "$id": "5075", + "$id": "5323", "kind": "property", - "name": "error", - "serializedName": "error", - "doc": "The error from the tool call, if any.", + "name": "output", + "serializedName": "output", + "doc": "The output from the custom tool call.", "type": { - "$id": "5076", + "$id": "5324", "kind": "nullable", "type": { - "$id": "5077", + "$id": "5325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64630,10 +68314,10 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.MCPCallItemParam.error", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemParam.output", "serializationOptions": { "json": { - "name": "error" + "name": "output" } }, "isHttpMetadata": false @@ -64667,20 +68351,20 @@ "isHttpMetadata": false }, { - "$id": "5078", + "$id": "5326", "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": "5079", + "$id": "5327", "kind": "nullable", "type": { - "$id": "5080", + "$id": "5328", "kind": "array", "name": "ArrayIncludable", "valueType": { - "$ref": "530" + "$ref": "562" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -64701,16 +68385,16 @@ "isHttpMetadata": false }, { - "$id": "5081", + "$id": "5329", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "doc": "Whether to allow the model to run tool calls in parallel.", "type": { - "$id": "5082", + "$id": "5330", "kind": "nullable", "type": { - "$id": "5083", + "$id": "5331", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -64732,16 +68416,16 @@ "isHttpMetadata": false }, { - "$id": "5084", + "$id": "5332", "kind": "property", "name": "store", "serializedName": "store", "doc": "Whether to store the generated model response for later retrieval via\nAPI.", "type": { - "$id": "5085", + "$id": "5333", "kind": "nullable", "type": { - "$id": "5086", + "$id": "5334", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -64763,16 +68447,16 @@ "isHttpMetadata": false }, { - "$id": "5087", + "$id": "5335", "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": "5088", + "$id": "5336", "kind": "nullable", "type": { - "$id": "5089", + "$id": "5337", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -64794,13 +68478,13 @@ "isHttpMetadata": false }, { - "$id": "5090", + "$id": "5338", "kind": "property", "name": "conversation", "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": "5091", + "$id": "5339", "kind": "model", "name": "ConversationParam-2", "namespace": "OpenAI", @@ -64816,13 +68500,13 @@ }, "properties": [ { - "$id": "5092", + "$id": "5340", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the conversation.", "type": { - "$id": "5093", + "$id": "5341", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64859,220 +68543,283 @@ ] }, { - "$ref": "4561" + "$ref": "4672" }, { - "$ref": "4581" + "$ref": "4692" }, { - "$ref": "4586" + "$ref": "4697" }, { - "$ref": "4588" + "$ref": "4699" }, { - "$ref": "4600" + "$ref": "4715" }, { - "$ref": "4603" + "$ref": "4718" }, { - "$ref": "4606" + "$ref": "4721" }, { - "$ref": "4609" + "$ref": "4724" }, { - "$ref": "4612" + "$ref": "4727" }, { - "$ref": "4615" + "$ref": "4735" }, { - "$ref": "4627" + "$ref": "4738" }, { - "$ref": "4632" + "$ref": "4741" }, { - "$ref": "4634" + "$ref": "4746" }, { - "$ref": "4649" + "$ref": "4751" }, { - "$ref": "4656" + "$ref": "4757" }, { - "$ref": "4661" + "$ref": "4764" }, { - "$ref": "4666" + "$ref": "4767" }, { - "$ref": "4676" + "$ref": "4768" }, { - "$ref": "4686" + "$ref": "4770" }, { - "$ref": "4693" + "$ref": "4789" }, { - "$ref": "4695" + "$ref": "4799" }, { - "$ref": "4710" + "$ref": "4805" }, { - "$ref": "4721" + "$ref": "4812" }, { - "$ref": "4734" + "$ref": "4817" }, { - "$ref": "4743" + "$ref": "4824" }, { - "$ref": "4751" + "$ref": "4826" }, { - "$ref": "4757" + "$ref": "4841" }, { - "$ref": "4759" + "$ref": "4852" }, { - "$ref": "4782" + "$ref": "4865" }, { - "$ref": "4792" + "$ref": "4874" }, { - "$ref": "4796" + "$ref": "4882" }, { - "$ref": "4800" + "$ref": "4899" }, { - "$ref": "4804" + "$ref": "4904" }, { - "$ref": "4811" + "$ref": "4906" }, { - "$ref": "4818" + "$ref": "4935" }, { - "$ref": "4828" + "$ref": "4945" }, { - "$ref": "4834" + "$ref": "4949" }, { - "$ref": "4836" + "$ref": "4953" }, { - "$ref": "4855" + "$ref": "4957" }, { - "$ref": "4862" + "$ref": "4964" }, { - "$ref": "4867" + "$ref": "4971" }, { - "$ref": "4872" + "$ref": "4981" }, { - "$ref": "4879" + "$ref": "4987" }, { - "$ref": "4882" + "$ref": "4989" }, { - "$ref": "4893" + "$ref": "5008" }, { - "$ref": "4898" + "$ref": "5015" }, { - "$ref": "4901" + "$ref": "5020" }, { - "$ref": "4907" + "$ref": "5025" }, { - "$ref": "4914" + "$ref": "5032" }, { - "$ref": "4921" + "$ref": "5035" }, { - "$ref": "4923" + "$ref": "5046" }, { - "$ref": "4933" + "$ref": "5051" }, { - "$ref": "4936" + "$ref": "5054" }, { - "$ref": "4945" + "$ref": "5060" }, { - "$ref": "4953" + "$ref": "5067" + }, + { + "$ref": "5074" + }, + { + "$ref": "5076" + }, + { + "$ref": "5086" + }, + { + "$ref": "5089" + }, + { + "$ref": "5098" + }, + { + "$ref": "5106" + }, + { + "$ref": "5108" + }, + { + "$ref": "5116" + }, + { + "$ref": "5121" + }, + { + "$ref": "5127" + }, + { + "$ref": "5136" + }, + { + "$ref": "5138" + }, + { + "$ref": "5147" + }, + { + "$ref": "5152" + }, + { + "$ref": "5158" }, { - "$ref": "4955" + "$ref": "5171" }, { - "$ref": "4963" + "$ref": "5176" }, { - "$ref": "4968" + "$ref": "5183" }, { - "$ref": "4974" + "$ref": "5197" + }, + { + "$ref": "5206" + }, + { + "$ref": "5216" + }, + { + "$ref": "5231" }, { - "$ref": "4983" + "$ref": "5237" }, { - "$ref": "4985" + "$ref": "5245" }, { - "$ref": "4994" + "$ref": "5251" + }, + { + "$ref": "5259" + }, + { + "$ref": "5262" + }, + { + "$ref": "5264" }, { - "$ref": "4999" + "$ref": "5271" }, { - "$ref": "5005" + "$ref": "5277" }, { - "$ref": "5018" + "$ref": "5279" }, { - "$ref": "5023" + "$ref": "5289" }, { - "$ref": "5030" + "$ref": "5294" }, { - "$ref": "5044" + "$ref": "5301" }, { - "$ref": "5053" + "$ref": "5309" }, { - "$ref": "5063" + "$ref": "5318" }, { - "$ref": "5091" + "$ref": "5339" }, { - "$id": "5094", + "$id": "5342", "kind": "model", "name": "Response", "namespace": "OpenAI", @@ -65091,13 +68838,13 @@ }, "properties": [ { - "$id": "5095", + "$id": "5343", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -65113,16 +68860,16 @@ "isHttpMetadata": false }, { - "$id": "5096", + "$id": "5344", "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": "5097", + "$id": "5345", "kind": "nullable", "type": { - "$id": "5098", + "$id": "5346", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -65144,16 +68891,16 @@ "isHttpMetadata": false }, { - "$id": "5099", + "$id": "5347", "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": "5100", + "$id": "5348", "kind": "nullable", "type": { - "$id": "5101", + "$id": "5349", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65175,16 +68922,16 @@ "isHttpMetadata": false }, { - "$id": "5102", + "$id": "5350", "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": "5103", + "$id": "5351", "kind": "nullable", "type": { - "$id": "5104", + "$id": "5352", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -65206,16 +68953,16 @@ "isHttpMetadata": false }, { - "$id": "5105", + "$id": "5353", "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": "5106", + "$id": "5354", "kind": "nullable", "type": { - "$id": "5107", + "$id": "5355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65237,13 +68984,13 @@ "isHttpMetadata": false }, { - "$id": "5108", + "$id": "5356", "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": "5109", + "$id": "5357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65263,12 +69010,12 @@ "isHttpMetadata": false }, { - "$id": "5110", + "$id": "5358", "kind": "property", "name": "service_tier", "serializedName": "service_tier", "type": { - "$ref": "419" + "$ref": "432" }, "optional": true, "readOnly": false, @@ -65284,13 +69031,13 @@ "isHttpMetadata": false }, { - "$id": "5111", + "$id": "5359", "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": "4555" + "$ref": "4666" }, "optional": true, "readOnly": false, @@ -65306,13 +69053,13 @@ "isHttpMetadata": false }, { - "$id": "5112", + "$id": "5360", "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": { - "$id": "5113", + "$id": "5361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65332,12 +69079,12 @@ "isHttpMetadata": false }, { - "$id": "5114", + "$id": "5362", "kind": "property", "name": "reasoning", "serializedName": "reasoning", "type": { - "$ref": "4560" + "$ref": "4671" }, "optional": true, "readOnly": false, @@ -65353,13 +69100,13 @@ "isHttpMetadata": false }, { - "$id": "5115", + "$id": "5363", "kind": "property", "name": "background", "serializedName": "background", "doc": "Whether to run the model response in the background.\n[Learn more](/docs/guides/background).", "type": { - "$ref": "4569" + "$ref": "4680" }, "optional": true, "readOnly": false, @@ -65375,13 +69122,13 @@ "isHttpMetadata": false }, { - "$id": "5116", + "$id": "5364", "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": "4572" + "$ref": "4683" }, "optional": true, "readOnly": false, @@ -65397,13 +69144,13 @@ "isHttpMetadata": false }, { - "$id": "5117", + "$id": "5365", "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": "4575" + "$ref": "4686" }, "optional": true, "readOnly": false, @@ -65419,13 +69166,13 @@ "isHttpMetadata": false }, { - "$id": "5118", + "$id": "5366", "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": "4578" + "$ref": "4689" }, "optional": true, "readOnly": false, @@ -65441,13 +69188,13 @@ "isHttpMetadata": false }, { - "$id": "5119", + "$id": "5367", "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": "4581" + "$ref": "4692" }, "optional": true, "readOnly": false, @@ -65463,13 +69210,13 @@ "isHttpMetadata": false }, { - "$id": "5120", + "$id": "5368", "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": "4263" + "$ref": "4341" }, "optional": true, "readOnly": false, @@ -65485,13 +69232,13 @@ "isHttpMetadata": false }, { - "$id": "5121", + "$id": "5369", "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": "4585" + "$ref": "4696" }, "optional": true, "readOnly": false, @@ -65507,13 +69254,35 @@ "isHttpMetadata": false }, { - "$id": "5122", + "$id": "5370", + "kind": "property", + "name": "prompt", + "serializedName": "prompt", + "doc": "Reference to a prompt template and its variables.\n[Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).", + "type": { + "$ref": "4757" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Response.prompt", + "serializationOptions": { + "json": { + "name": "prompt" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5371", "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": "4621" + "$ref": "4893" }, "optional": true, "readOnly": false, @@ -65529,13 +69298,13 @@ "isHttpMetadata": false }, { - "$id": "5123", + "$id": "5372", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for this Response.", "type": { - "$id": "5124", + "$id": "5373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65555,13 +69324,13 @@ "isHttpMetadata": false }, { - "$id": "5125", + "$id": "5374", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type of this resource - always set to `response`.", "type": { - "$ref": "1817" + "$ref": "1885" }, "optional": false, "readOnly": false, @@ -65577,13 +69346,13 @@ "isHttpMetadata": false }, { - "$id": "5126", + "$id": "5375", "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": "537" + "$ref": "569" }, "optional": true, "readOnly": false, @@ -65599,18 +69368,18 @@ "isHttpMetadata": false }, { - "$id": "5127", + "$id": "5376", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) of when this Response was created.", "type": { - "$id": "5128", + "$id": "5377", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5129", + "$id": "5378", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65633,15 +69402,15 @@ "isHttpMetadata": false }, { - "$id": "5130", + "$id": "5379", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "5131", + "$id": "5380", "kind": "nullable", "type": { - "$id": "5132", + "$id": "5381", "kind": "model", "name": "ResponseError", "namespace": "OpenAI", @@ -65661,12 +69430,12 @@ }, "properties": [ { - "$id": "5133", + "$id": "5382", "kind": "property", "name": "code", "serializedName": "code", "type": { - "$ref": "545" + "$ref": "577" }, "optional": false, "readOnly": false, @@ -65682,13 +69451,13 @@ "isHttpMetadata": false }, { - "$id": "5134", + "$id": "5383", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "5135", + "$id": "5384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65725,16 +69494,16 @@ "isHttpMetadata": false }, { - "$id": "5136", + "$id": "5385", "kind": "property", "name": "incomplete_details", "serializedName": "incomplete_details", "doc": "Details about why the response is incomplete.", "type": { - "$id": "5137", + "$id": "5386", "kind": "nullable", "type": { - "$id": "5138", + "$id": "5387", "kind": "model", "name": "ResponseIncompleteDetails1", "namespace": "OpenAI", @@ -65748,13 +69517,13 @@ }, "properties": [ { - "$id": "5139", + "$id": "5388", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason why the response is incomplete.", "type": { - "$ref": "565" + "$ref": "597" }, "optional": true, "readOnly": false, @@ -65787,17 +69556,17 @@ "isHttpMetadata": false }, { - "$id": "5140", + "$id": "5389", "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": "5141", + "$id": "5390", "kind": "array", "name": "ArrayItemResource", "valueType": { - "$id": "5142", + "$id": "5391", "kind": "model", "name": "ItemResource", "namespace": "OpenAI", @@ -65816,12 +69585,12 @@ } }, "discriminatorProperty": { - "$id": "5143", + "$id": "5392", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "477" + "$ref": "498" }, "optional": false, "readOnly": false, @@ -65838,15 +69607,15 @@ }, "properties": [ { - "$ref": "5143" + "$ref": "5392" }, { - "$id": "5144", + "$id": "5393", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5145", + "$id": "5394", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65868,7 +69637,7 @@ ], "discriminatedSubtypes": { "message": { - "$id": "5146", + "$id": "5395", "kind": "model", "name": "ResponsesMessageItemResource", "namespace": "OpenAI", @@ -65888,13 +69657,13 @@ } }, "discriminatorProperty": { - "$id": "5147", + "$id": "5396", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role associated with the message.", "type": { - "$ref": "496" + "$ref": "523" }, "optional": false, "readOnly": false, @@ -65910,17 +69679,17 @@ "isHttpMetadata": false }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5148", + "$id": "5397", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the responses item, which is always 'message'.", "type": { - "$ref": "4762" + "$ref": "4909" }, "optional": false, "readOnly": false, @@ -65936,13 +69705,13 @@ "isHttpMetadata": false }, { - "$id": "5149", + "$id": "5398", "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": "569" + "$ref": "601" }, "optional": false, "readOnly": true, @@ -65958,12 +69727,12 @@ "isHttpMetadata": false }, { - "$ref": "5147" + "$ref": "5396" } ], "discriminatedSubtypes": { "user": { - "$id": "5150", + "$id": "5399", "kind": "model", "name": "ResponsesUserMessageItemResource", "namespace": "OpenAI", @@ -65983,17 +69752,17 @@ } }, "baseModel": { - "$ref": "5146" + "$ref": "5395" }, "properties": [ { - "$id": "5151", + "$id": "5400", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `user`.", "type": { - "$ref": "4784" + "$ref": "4937" }, "optional": false, "readOnly": false, @@ -66009,13 +69778,13 @@ "isHttpMetadata": false }, { - "$id": "5152", + "$id": "5401", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4631" + "$ref": "4903" }, "optional": false, "readOnly": false, @@ -66033,7 +69802,7 @@ ] }, "system": { - "$id": "5153", + "$id": "5402", "kind": "model", "name": "ResponsesSystemMessageItemResource", "namespace": "OpenAI", @@ -66053,17 +69822,17 @@ } }, "baseModel": { - "$ref": "5146" + "$ref": "5395" }, "properties": [ { - "$id": "5154", + "$id": "5403", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `system`.", "type": { - "$ref": "4794" + "$ref": "4947" }, "optional": false, "readOnly": false, @@ -66079,13 +69848,13 @@ "isHttpMetadata": false }, { - "$id": "5155", + "$id": "5404", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4631" + "$ref": "4903" }, "optional": false, "readOnly": false, @@ -66103,7 +69872,7 @@ ] }, "developer": { - "$id": "5156", + "$id": "5405", "kind": "model", "name": "ResponsesDeveloperMessageItemResource", "namespace": "OpenAI", @@ -66123,17 +69892,17 @@ } }, "baseModel": { - "$ref": "5146" + "$ref": "5395" }, "properties": [ { - "$id": "5157", + "$id": "5406", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `developer`.", "type": { - "$ref": "4798" + "$ref": "4951" }, "optional": false, "readOnly": false, @@ -66149,13 +69918,13 @@ "isHttpMetadata": false }, { - "$id": "5158", + "$id": "5407", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4631" + "$ref": "4903" }, "optional": false, "readOnly": false, @@ -66173,7 +69942,7 @@ ] }, "assistant": { - "$id": "5159", + "$id": "5408", "kind": "model", "name": "ResponsesAssistantMessageItemResource", "namespace": "OpenAI", @@ -66193,17 +69962,17 @@ } }, "baseModel": { - "$ref": "5146" + "$ref": "5395" }, "properties": [ { - "$id": "5160", + "$id": "5409", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message, which is always `assistant`.", "type": { - "$ref": "4802" + "$ref": "4955" }, "optional": false, "readOnly": false, @@ -66219,13 +69988,13 @@ "isHttpMetadata": false }, { - "$id": "5161", + "$id": "5410", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4631" + "$ref": "4903" }, "optional": false, "readOnly": false, @@ -66245,7 +70014,7 @@ } }, "computer_call_output": { - "$id": "5162", + "$id": "5411", "kind": "model", "name": "ComputerToolCallOutputItemResource", "namespace": "OpenAI", @@ -66265,16 +70034,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5163", + "$id": "5412", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4916" + "$ref": "5069" }, "optional": false, "readOnly": false, @@ -66290,13 +70059,13 @@ "isHttpMetadata": false }, { - "$id": "5164", + "$id": "5413", "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": "574" + "$ref": "606" }, "optional": false, "readOnly": true, @@ -66312,13 +70081,13 @@ "isHttpMetadata": false }, { - "$id": "5165", + "$id": "5414", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the computer tool call that produced the output.", "type": { - "$id": "5166", + "$id": "5415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66338,13 +70107,13 @@ "isHttpMetadata": false }, { - "$id": "5167", + "$id": "5416", "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": "4906" + "$ref": "5059" }, "optional": true, "readOnly": false, @@ -66360,12 +70129,12 @@ "isHttpMetadata": false }, { - "$id": "5168", + "$id": "5417", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$ref": "4921" + "$ref": "5074" }, "optional": false, "readOnly": false, @@ -66383,7 +70152,7 @@ ] }, "function_call": { - "$id": "5169", + "$id": "5418", "kind": "model", "name": "FunctionToolCallItemResource", "namespace": "OpenAI", @@ -66403,16 +70172,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5170", + "$id": "5419", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4938" + "$ref": "5091" }, "optional": false, "readOnly": false, @@ -66428,13 +70197,13 @@ "isHttpMetadata": false }, { - "$id": "5171", + "$id": "5420", "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": "579" + "$ref": "611" }, "optional": false, "readOnly": true, @@ -66450,13 +70219,13 @@ "isHttpMetadata": false }, { - "$id": "5172", + "$id": "5421", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "5173", + "$id": "5422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66476,13 +70245,13 @@ "isHttpMetadata": false }, { - "$id": "5174", + "$id": "5423", "kind": "property", "name": "FunctionName", "serializedName": "name", "doc": "The name of the function to run.", "type": { - "$id": "5175", + "$id": "5424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66502,13 +70271,13 @@ "isHttpMetadata": false }, { - "$id": "5176", + "$id": "5425", "kind": "property", "name": "FunctionArguments", "serializedName": "arguments", "doc": "A JSON string of the arguments to pass to the function.", "type": { - "$id": "5177", + "$id": "5426", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -66530,7 +70299,7 @@ ] }, "function_call_output": { - "$id": "5178", + "$id": "5427", "kind": "model", "name": "FunctionToolCallOutputItemResource", "namespace": "OpenAI", @@ -66550,16 +70319,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5179", + "$id": "5428", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4806" + "$ref": "4959" }, "optional": false, "readOnly": false, @@ -66575,13 +70344,13 @@ "isHttpMetadata": false }, { - "$id": "5180", + "$id": "5429", "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": "584" + "$ref": "616" }, "optional": false, "readOnly": true, @@ -66597,13 +70366,13 @@ "isHttpMetadata": false }, { - "$id": "5181", + "$id": "5430", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "5182", + "$id": "5431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66623,13 +70392,13 @@ "isHttpMetadata": false }, { - "$id": "5183", + "$id": "5432", "kind": "property", "name": "FunctionOutput", "serializedName": "output", "doc": "A JSON string of the output of the function tool call.", "type": { - "$id": "5184", + "$id": "5433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66651,7 +70420,7 @@ ] }, "mcp_approval_response": { - "$id": "5185", + "$id": "5434", "kind": "model", "name": "MCPApprovalResponseItemResource", "namespace": "OpenAI", @@ -66671,16 +70440,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5186", + "$id": "5435", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5055" + "$ref": "5208" }, "optional": false, "readOnly": false, @@ -66696,13 +70465,13 @@ "isHttpMetadata": false }, { - "$id": "5187", + "$id": "5436", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request being answered.", "type": { - "$id": "5188", + "$id": "5437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66722,13 +70491,13 @@ "isHttpMetadata": false }, { - "$id": "5189", + "$id": "5438", "kind": "property", "name": "Approved", "serializedName": "approve", "doc": "Whether the request was approved.", "type": { - "$id": "5190", + "$id": "5439", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -66748,13 +70517,13 @@ "isHttpMetadata": false }, { - "$id": "5191", + "$id": "5440", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "Optional reason for the decision.", "type": { - "$ref": "5061" + "$ref": "5214" }, "optional": true, "readOnly": false, @@ -66772,7 +70541,7 @@ ] }, "file_search_call": { - "$id": "5192", + "$id": "5441", "kind": "model", "name": "FileSearchToolCallItemResource", "namespace": "OpenAI", @@ -66792,16 +70561,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5193", + "$id": "5442", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4813" + "$ref": "4966" }, "optional": false, "readOnly": false, @@ -66817,13 +70586,13 @@ "isHttpMetadata": false }, { - "$id": "5194", + "$id": "5443", "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": "589" + "$ref": "621" }, "optional": false, "readOnly": true, @@ -66839,13 +70608,13 @@ "isHttpMetadata": false }, { - "$id": "5195", + "$id": "5444", "kind": "property", "name": "queries", "serializedName": "queries", "doc": "The queries used to search for files.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -66861,13 +70630,13 @@ "isHttpMetadata": false }, { - "$id": "5196", + "$id": "5445", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search tool call.", "type": { - "$ref": "4816" + "$ref": "4969" }, "optional": true, "readOnly": false, @@ -66885,7 +70654,7 @@ ] }, "computer_call": { - "$id": "5197", + "$id": "5446", "kind": "model", "name": "ComputerToolCallItemResource", "namespace": "OpenAI", @@ -66905,16 +70674,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5198", + "$id": "5447", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4830" + "$ref": "4983" }, "optional": false, "readOnly": false, @@ -66930,13 +70699,13 @@ "isHttpMetadata": false }, { - "$id": "5199", + "$id": "5448", "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": "596" + "$ref": "628" }, "optional": false, "readOnly": true, @@ -66952,13 +70721,13 @@ "isHttpMetadata": false }, { - "$id": "5200", + "$id": "5449", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "An identifier used when responding to the tool call with output.", "type": { - "$id": "5201", + "$id": "5450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66978,12 +70747,12 @@ "isHttpMetadata": false }, { - "$id": "5202", + "$id": "5451", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$ref": "4834" + "$ref": "4987" }, "optional": false, "readOnly": false, @@ -66999,13 +70768,13 @@ "isHttpMetadata": false }, { - "$id": "5203", + "$id": "5452", "kind": "property", "name": "pending_safety_checks", "serializedName": "pending_safety_checks", "doc": "The pending safety checks for the computer call.", "type": { - "$ref": "4906" + "$ref": "5059" }, "optional": false, "readOnly": false, @@ -67023,7 +70792,7 @@ ] }, "web_search_call": { - "$id": "5204", + "$id": "5453", "kind": "model", "name": "WebSearchToolCallItemResource", "namespace": "OpenAI", @@ -67043,16 +70812,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5205", + "$id": "5454", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4935" + "$ref": "5088" }, "optional": false, "readOnly": false, @@ -67068,13 +70837,13 @@ "isHttpMetadata": false }, { - "$id": "5206", + "$id": "5455", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the web search tool call.", "type": { - "$ref": "601" + "$ref": "633" }, "optional": false, "readOnly": true, @@ -67092,7 +70861,7 @@ ] }, "reasoning": { - "$id": "5207", + "$id": "5456", "kind": "model", "name": "ReasoningItemResource", "namespace": "OpenAI", @@ -67112,16 +70881,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5208", + "$id": "5457", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4947" + "$ref": "5100" }, "optional": false, "readOnly": false, @@ -67137,13 +70906,13 @@ "isHttpMetadata": false }, { - "$id": "5209", + "$id": "5458", "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": "607" + "$ref": "639" }, "optional": false, "readOnly": true, @@ -67159,13 +70928,13 @@ "isHttpMetadata": false }, { - "$id": "5210", + "$id": "5459", "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": "4949" + "$ref": "5102" }, "optional": true, "readOnly": false, @@ -67181,13 +70950,13 @@ "isHttpMetadata": false }, { - "$id": "5211", + "$id": "5460", "kind": "property", "name": "SummaryParts", "serializedName": "summary", "doc": "Reasoning text contents.", "type": { - "$ref": "4952" + "$ref": "5105" }, "optional": false, "readOnly": false, @@ -67205,7 +70974,7 @@ ] }, "image_generation_call": { - "$id": "5212", + "$id": "5461", "kind": "model", "name": "ImageGenToolCallItemResource", "namespace": "OpenAI", @@ -67225,16 +70994,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5213", + "$id": "5462", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4970" + "$ref": "5123" }, "optional": false, "readOnly": false, @@ -67250,12 +71019,12 @@ "isHttpMetadata": false }, { - "$id": "5214", + "$id": "5463", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "612" + "$ref": "644" }, "optional": false, "readOnly": true, @@ -67271,13 +71040,13 @@ "isHttpMetadata": false }, { - "$id": "5215", + "$id": "5464", "kind": "property", "name": "ImageResultBytes", "serializedName": "result", "doc": "The generated image encoded in base64.", "type": { - "$ref": "4972" + "$ref": "5125" }, "optional": false, "readOnly": false, @@ -67295,7 +71064,7 @@ ] }, "code_interpreter_call": { - "$id": "5216", + "$id": "5465", "kind": "model", "name": "CodeInterpreterToolCallItemResource", "namespace": "OpenAI", @@ -67315,16 +71084,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5217", + "$id": "5466", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4976" + "$ref": "5129" }, "optional": false, "readOnly": false, @@ -67340,12 +71109,12 @@ "isHttpMetadata": false }, { - "$id": "5218", + "$id": "5467", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "618" + "$ref": "650" }, "optional": false, "readOnly": true, @@ -67361,13 +71130,13 @@ "isHttpMetadata": false }, { - "$id": "5219", + "$id": "5468", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The ID of the container used to run the code.", "type": { - "$id": "5220", + "$id": "5469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67387,13 +71156,13 @@ "isHttpMetadata": false }, { - "$id": "5221", + "$id": "5470", "kind": "property", "name": "code", "serializedName": "code", "doc": "The code to run.", "type": { - "$id": "5222", + "$id": "5471", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67413,13 +71182,13 @@ "isHttpMetadata": false }, { - "$id": "5223", + "$id": "5472", "kind": "property", "name": "outputs", "serializedName": "outputs", "doc": "The outputs of the code interpreter tool call.", "type": { - "$ref": "4982" + "$ref": "5135" }, "optional": true, "readOnly": false, @@ -67437,7 +71206,7 @@ ] }, "local_shell_call": { - "$id": "5224", + "$id": "5473", "kind": "model", "name": "LocalShellToolCallItemResource", "namespace": "OpenAI", @@ -67457,16 +71226,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5225", + "$id": "5474", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5001" + "$ref": "5154" }, "optional": false, "readOnly": false, @@ -67482,12 +71251,12 @@ "isHttpMetadata": false }, { - "$id": "5226", + "$id": "5475", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "623" + "$ref": "655" }, "optional": false, "readOnly": false, @@ -67503,13 +71272,13 @@ "isHttpMetadata": false }, { - "$id": "5227", + "$id": "5476", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the local shell tool call generated by the model.", "type": { - "$id": "5228", + "$id": "5477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67529,12 +71298,12 @@ "isHttpMetadata": false }, { - "$id": "5229", + "$id": "5478", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$ref": "5005" + "$ref": "5158" }, "optional": false, "readOnly": false, @@ -67552,7 +71321,7 @@ ] }, "local_shell_call_output": { - "$id": "5230", + "$id": "5479", "kind": "model", "name": "LocalShellToolCallOutputItemResource", "namespace": "OpenAI", @@ -67572,16 +71341,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5231", + "$id": "5480", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5020" + "$ref": "5173" }, "optional": false, "readOnly": false, @@ -67597,12 +71366,12 @@ "isHttpMetadata": false }, { - "$id": "5232", + "$id": "5481", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "628" + "$ref": "660" }, "optional": false, "readOnly": false, @@ -67618,13 +71387,13 @@ "isHttpMetadata": false }, { - "$id": "5233", + "$id": "5482", "kind": "property", "name": "output", "serializedName": "output", "doc": "A JSON string of the output of the local shell tool call.", "type": { - "$id": "5234", + "$id": "5483", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67646,7 +71415,7 @@ ] }, "mcp_list_tools": { - "$id": "5235", + "$id": "5484", "kind": "model", "name": "MCPListToolsItemResource", "namespace": "OpenAI", @@ -67666,16 +71435,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5236", + "$id": "5485", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5025" + "$ref": "5178" }, "optional": false, "readOnly": false, @@ -67691,13 +71460,13 @@ "isHttpMetadata": false }, { - "$id": "5237", + "$id": "5486", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server.", "type": { - "$id": "5238", + "$id": "5487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67717,13 +71486,13 @@ "isHttpMetadata": false }, { - "$id": "5239", + "$id": "5488", "kind": "property", "name": "ToolDefinitions", "serializedName": "tools", "doc": "The tools available on the server.", "type": { - "$ref": "5029" + "$ref": "5182" }, "optional": false, "readOnly": false, @@ -67739,16 +71508,16 @@ "isHttpMetadata": false }, { - "$id": "5240", + "$id": "5489", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error message if the server could not list tools.", "type": { - "$id": "5241", + "$id": "5490", "kind": "nullable", "type": { - "$id": "5242", + "$id": "5491", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -67772,7 +71541,7 @@ ] }, "mcp_approval_request": { - "$id": "5243", + "$id": "5492", "kind": "model", "name": "MCPApprovalRequestItemResource", "namespace": "OpenAI", @@ -67792,16 +71561,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5244", + "$id": "5493", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5046" + "$ref": "5199" }, "optional": false, "readOnly": false, @@ -67817,13 +71586,13 @@ "isHttpMetadata": false }, { - "$id": "5245", + "$id": "5494", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server making the request.", "type": { - "$id": "5246", + "$id": "5495", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67843,13 +71612,13 @@ "isHttpMetadata": false }, { - "$id": "5247", + "$id": "5496", "kind": "property", "name": "ToolName", "serializedName": "name", "doc": "The name of the tool to run.", "type": { - "$id": "5248", + "$id": "5497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67869,13 +71638,13 @@ "isHttpMetadata": false }, { - "$id": "5249", + "$id": "5498", "kind": "property", "name": "ToolArguments", "serializedName": "arguments", "doc": "A JSON string of arguments for the tool.", "type": { - "$id": "5250", + "$id": "5499", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -67897,7 +71666,7 @@ ] }, "mcp_call": { - "$id": "5251", + "$id": "5500", "kind": "model", "name": "MCPCallItemResource", "namespace": "OpenAI", @@ -67917,16 +71686,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5252", + "$id": "5501", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "5065" + "$ref": "5218" }, "optional": false, "readOnly": false, @@ -67942,13 +71711,13 @@ "isHttpMetadata": false }, { - "$id": "5253", + "$id": "5502", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server running the tool.", "type": { - "$id": "5254", + "$id": "5503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67968,13 +71737,13 @@ "isHttpMetadata": false }, { - "$id": "5255", + "$id": "5504", "kind": "property", "name": "ToolName", "serializedName": "name", "doc": "The name of the tool that was run.", "type": { - "$id": "5256", + "$id": "5505", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67994,13 +71763,13 @@ "isHttpMetadata": false }, { - "$id": "5257", + "$id": "5506", "kind": "property", "name": "ToolArguments", "serializedName": "arguments", "doc": "A JSON string of the arguments passed to the tool.", "type": { - "$id": "5258", + "$id": "5507", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -68020,13 +71789,13 @@ "isHttpMetadata": false }, { - "$id": "5259", + "$id": "5508", "kind": "property", "name": "ToolOutput", "serializedName": "output", "doc": "The output from the tool call.", "type": { - "$ref": "5073" + "$ref": "5226" }, "optional": true, "readOnly": false, @@ -68042,16 +71811,16 @@ "isHttpMetadata": false }, { - "$id": "5260", + "$id": "5509", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error from the tool call, if any.", "type": { - "$id": "5261", + "$id": "5510", "kind": "nullable", "type": { - "$id": "5262", + "$id": "5511", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -68074,8 +71843,756 @@ } ] }, + "shell_call": { + "$id": "5512", + "kind": "model", + "name": "FunctionShellCallItemResource", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemResource", + "usage": "Input,Output,Json", + "doc": "A shell tool call initiated by the model.\n", + "discriminatorValue": "shell_call", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "FunctionShellCallItemResource" + } + }, + "baseModel": { + "$ref": "5391" + }, + "properties": [ + { + "$id": "5513", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "5233" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemResource.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5514", + "kind": "property", + "name": "status", + "serializedName": "status", + "type": { + "$ref": "665" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemResource.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5515", + "kind": "property", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the shell tool call.", + "type": { + "$id": "5516", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemResource.call_id", + "serializationOptions": { + "json": { + "name": "call_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5517", + "kind": "property", + "name": "action", + "serializedName": "action", + "doc": "The action performed by the shell tool.", + "type": { + "$ref": "5237" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallItemResource.action", + "serializationOptions": { + "json": { + "name": "action" + } + }, + "isHttpMetadata": false + } + ] + }, + "shell_call_output": { + "$id": "5518", + "kind": "model", + "name": "FunctionShellCallOutputItemResource", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemResource", + "usage": "Input,Output,Json", + "doc": "The output of a shell tool call.\n", + "discriminatorValue": "shell_call_output", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "FunctionShellCallOutputItemResource" + } + }, + "baseModel": { + "$ref": "5391" + }, + "properties": [ + { + "$id": "5519", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "5247" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemResource.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5520", + "kind": "property", + "name": "status", + "serializedName": "status", + "type": { + "$ref": "670" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemResource.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5521", + "kind": "property", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the shell tool call this output is for.", + "type": { + "$id": "5522", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemResource.call_id", + "serializationOptions": { + "json": { + "name": "call_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5523", + "kind": "property", + "name": "output", + "serializedName": "output", + "doc": "The output content from the shell command.", + "type": { + "$ref": "5251" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemResource.output", + "serializationOptions": { + "json": { + "name": "output" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5524", + "kind": "property", + "name": "max_output_length", + "serializedName": "max_output_length", + "doc": "Maximum output length requested.", + "type": { + "$ref": "5269" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.FunctionShellCallOutputItemResource.max_output_length", + "serializationOptions": { + "json": { + "name": "max_output_length" + } + }, + "isHttpMetadata": false + } + ] + }, + "apply_patch_call": { + "$id": "5525", + "kind": "model", + "name": "ApplyPatchToolCallItemResource", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemResource", + "usage": "Input,Output,Json", + "doc": "An apply_patch tool call initiated by the model.\n", + "discriminatorValue": "apply_patch_call", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ApplyPatchToolCallItemResource" + } + }, + "baseModel": { + "$ref": "5391" + }, + "properties": [ + { + "$id": "5526", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "5273" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemResource.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5527", + "kind": "property", + "name": "status", + "serializedName": "status", + "type": { + "$ref": "675" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemResource.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5528", + "kind": "property", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the apply_patch tool call.", + "type": { + "$id": "5529", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemResource.call_id", + "serializationOptions": { + "json": { + "name": "call_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5530", + "kind": "property", + "name": "operation", + "serializedName": "operation", + "doc": "The patch operation to apply.", + "type": { + "$ref": "5277" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallItemResource.operation", + "serializationOptions": { + "json": { + "name": "operation" + } + }, + "isHttpMetadata": false + } + ] + }, + "apply_patch_call_output": { + "$id": "5531", + "kind": "model", + "name": "ApplyPatchToolCallOutputItemResource", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemResource", + "usage": "Input,Output,Json", + "doc": "The output of an apply_patch tool call.\n", + "discriminatorValue": "apply_patch_call_output", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ApplyPatchToolCallOutputItemResource" + } + }, + "baseModel": { + "$ref": "5391" + }, + "properties": [ + { + "$id": "5532", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "5303" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemResource.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5533", + "kind": "property", + "name": "status", + "serializedName": "status", + "type": { + "$ref": "680" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemResource.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5534", + "kind": "property", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the apply_patch tool call this output is for.", + "type": { + "$id": "5535", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemResource.call_id", + "serializationOptions": { + "json": { + "name": "call_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5536", + "kind": "property", + "name": "output", + "serializedName": "output", + "doc": "A JSON string of the output of the apply_patch tool call.", + "type": { + "$ref": "5307" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ApplyPatchToolCallOutputItemResource.output", + "serializationOptions": { + "json": { + "name": "output" + } + }, + "isHttpMetadata": false + } + ] + }, + "custom_tool_call": { + "$id": "5537", + "kind": "model", + "name": "CustomToolCallItemResource", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemResource", + "usage": "Input,Output,Json", + "doc": "A custom tool call initiated by the model.\n", + "discriminatorValue": "custom_tool_call", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "CustomToolCallItemResource" + } + }, + "baseModel": { + "$ref": "5391" + }, + "properties": [ + { + "$id": "5538", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "5311" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemResource.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5539", + "kind": "property", + "name": "status", + "serializedName": "status", + "type": { + "$ref": "685" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemResource.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5540", + "kind": "property", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the custom tool call.", + "type": { + "$id": "5541", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemResource.call_id", + "serializationOptions": { + "json": { + "name": "call_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5542", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the custom tool that was called.", + "type": { + "$id": "5543", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemResource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5544", + "kind": "property", + "name": "input", + "serializedName": "input", + "doc": "The input provided by the model for the custom tool call.", + "type": { + "$id": "5545", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallItemResource.input", + "serializationOptions": { + "json": { + "name": "input" + } + }, + "isHttpMetadata": false + } + ] + }, + "custom_tool_call_output": { + "$id": "5546", + "kind": "model", + "name": "CustomToolCallOutputItemResource", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemResource", + "usage": "Input,Output,Json", + "doc": "The output of a custom tool call.\n", + "discriminatorValue": "custom_tool_call_output", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "CustomToolCallOutputItemResource" + } + }, + "baseModel": { + "$ref": "5391" + }, + "properties": [ + { + "$id": "5547", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "5320" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemResource.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5548", + "kind": "property", + "name": "status", + "serializedName": "status", + "type": { + "$ref": "690" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemResource.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5549", + "kind": "property", + "name": "call_id", + "serializedName": "call_id", + "doc": "The unique ID of the custom tool call this output is for.", + "type": { + "$id": "5550", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemResource.call_id", + "serializationOptions": { + "json": { + "name": "call_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5551", + "kind": "property", + "name": "output", + "serializedName": "output", + "doc": "The output from the custom tool call.", + "type": { + "$ref": "5324" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.CustomToolCallOutputItemResource.output", + "serializationOptions": { + "json": { + "name": "output" + } + }, + "isHttpMetadata": false + } + ] + }, "item_reference": { - "$id": "5263", + "$id": "5552", "kind": "model", "name": "DotNetItemReferenceItemResource", "namespace": "OpenAI", @@ -68095,16 +72612,16 @@ } }, "baseModel": { - "$ref": "5142" + "$ref": "5391" }, "properties": [ { - "$id": "5264", + "$id": "5553", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "4965" + "$ref": "5118" }, "optional": false, "readOnly": false, @@ -68140,16 +72657,16 @@ "isHttpMetadata": false }, { - "$id": "5265", + "$id": "5554", "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": "5266", + "$id": "5555", "kind": "nullable", "type": { - "$id": "5267", + "$id": "5556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -68171,12 +72688,12 @@ "isHttpMetadata": false }, { - "$id": "5268", + "$id": "5557", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "5269", + "$id": "5558", "kind": "model", "name": "ResponseUsage", "namespace": "OpenAI", @@ -68196,13 +72713,13 @@ }, "properties": [ { - "$id": "5270", + "$id": "5559", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "doc": "The number of input tokens.", "type": { - "$id": "5271", + "$id": "5560", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68222,13 +72739,13 @@ "isHttpMetadata": false }, { - "$id": "5272", + "$id": "5561", "kind": "property", "name": "input_tokens_details", "serializedName": "input_tokens_details", "doc": "A detailed breakdown of the input tokens.", "type": { - "$id": "5273", + "$id": "5562", "kind": "model", "name": "ResponseUsageInputTokensDetails", "namespace": "OpenAI", @@ -68242,13 +72759,13 @@ }, "properties": [ { - "$id": "5274", + "$id": "5563", "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": "5275", + "$id": "5564", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68283,13 +72800,13 @@ "isHttpMetadata": false }, { - "$id": "5276", + "$id": "5565", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "doc": "The number of output tokens.", "type": { - "$id": "5277", + "$id": "5566", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68309,13 +72826,13 @@ "isHttpMetadata": false }, { - "$id": "5278", + "$id": "5567", "kind": "property", "name": "output_tokens_details", "serializedName": "output_tokens_details", "doc": "A detailed breakdown of the output tokens.", "type": { - "$id": "5279", + "$id": "5568", "kind": "model", "name": "ResponseUsageOutputTokensDetails", "namespace": "OpenAI", @@ -68329,13 +72846,13 @@ }, "properties": [ { - "$id": "5280", + "$id": "5569", "kind": "property", "name": "reasoning_tokens", "serializedName": "reasoning_tokens", "doc": "The number of reasoning tokens.", "type": { - "$id": "5281", + "$id": "5570", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68370,13 +72887,13 @@ "isHttpMetadata": false }, { - "$id": "5282", + "$id": "5571", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "5283", + "$id": "5572", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68411,13 +72928,13 @@ "isHttpMetadata": false }, { - "$id": "5284", + "$id": "5573", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "doc": "Whether to allow the model to run tool calls in parallel.", "type": { - "$id": "5285", + "$id": "5574", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68437,16 +72954,16 @@ "isHttpMetadata": false }, { - "$id": "5286", + "$id": "5575", "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": "5287", + "$id": "5576", "kind": "nullable", "type": { - "$ref": "5091" + "$ref": "5339" }, "namespace": "OpenAI" }, @@ -68466,88 +72983,106 @@ ] }, { - "$ref": "5132" + "$ref": "5381" }, { - "$ref": "5138" + "$ref": "5387" }, { - "$ref": "5142" + "$ref": "5391" }, { - "$ref": "5146" + "$ref": "5395" }, { - "$ref": "5150" + "$ref": "5399" }, { - "$ref": "5153" + "$ref": "5402" }, { - "$ref": "5156" + "$ref": "5405" }, { - "$ref": "5159" + "$ref": "5408" }, { - "$ref": "5162" + "$ref": "5411" }, { - "$ref": "5169" + "$ref": "5418" }, { - "$ref": "5178" + "$ref": "5427" }, { - "$ref": "5185" + "$ref": "5434" }, { - "$ref": "5192" + "$ref": "5441" }, { - "$ref": "5197" + "$ref": "5446" }, { - "$ref": "5204" + "$ref": "5453" }, { - "$ref": "5207" + "$ref": "5456" }, { - "$ref": "5212" + "$ref": "5461" }, { - "$ref": "5216" + "$ref": "5465" }, { - "$ref": "5224" + "$ref": "5473" }, { - "$ref": "5230" + "$ref": "5479" }, { - "$ref": "5235" + "$ref": "5484" }, { - "$ref": "5243" + "$ref": "5492" }, { - "$ref": "5251" + "$ref": "5500" }, { - "$ref": "5263" + "$ref": "5512" }, { - "$ref": "5269" + "$ref": "5518" }, { - "$ref": "5273" + "$ref": "5525" }, { - "$ref": "5279" + "$ref": "5531" + }, + { + "$ref": "5537" + }, + { + "$ref": "5546" + }, + { + "$ref": "5552" }, { - "$id": "5288", + "$ref": "5558" + }, + { + "$ref": "5562" + }, + { + "$ref": "5568" + }, + { + "$id": "5577", "kind": "model", "name": "ResponseStreamEvent", "namespace": "OpenAI", @@ -68565,12 +73100,12 @@ } }, "discriminatorProperty": { - "$id": "5289", + "$id": "5578", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "633" + "$ref": "695" }, "optional": false, "readOnly": false, @@ -68587,16 +73122,16 @@ }, "properties": [ { - "$ref": "5289" + "$ref": "5578" }, { - "$id": "5290", + "$id": "5579", "kind": "property", "name": "sequence_number", "serializedName": "sequence_number", "doc": "The sequence number for this event.", "type": { - "$id": "5291", + "$id": "5580", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -68618,7 +73153,7 @@ ], "discriminatedSubtypes": { "response.completed": { - "$id": "5292", + "$id": "5581", "kind": "model", "name": "ResponseCompletedEvent", "namespace": "OpenAI", @@ -68638,32 +73173,32 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5293", + "$id": "5582", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.completed`.", "type": { - "$id": "5294", + "$id": "5583", "kind": "enumvalue", "name": "response_completed", "value": "response.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$id": "5295", + "$id": "5584", "kind": "enum", "decorators": [], "name": "ResponseStreamEventType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "5296", + "$id": "5585", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -68672,718 +73207,744 @@ }, "values": [ { - "$id": "5297", + "$id": "5586", "kind": "enumvalue", "decorators": [], "name": "response_audio_delta", "value": "response.audio.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5298", + "$id": "5587", "kind": "enumvalue", "decorators": [], "name": "response_audio_done", "value": "response.audio.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5299", + "$id": "5588", "kind": "enumvalue", "decorators": [], "name": "response_audio_transcript_delta", "value": "response.audio_transcript.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5300", + "$id": "5589", "kind": "enumvalue", "decorators": [], "name": "response_audio_transcript_done", "value": "response.audio_transcript.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5301", + "$id": "5590", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_code_delta", "value": "response.code_interpreter_call_code.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5302", + "$id": "5591", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_code_done", "value": "response.code_interpreter_call_code.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5303", + "$id": "5592", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_completed", "value": "response.code_interpreter_call.completed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5304", + "$id": "5593", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_in_progress", "value": "response.code_interpreter_call.in_progress", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5305", + "$id": "5594", "kind": "enumvalue", "decorators": [], "name": "response_code_interpreter_call_interpreting", "value": "response.code_interpreter_call.interpreting", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5306", + "$id": "5595", "kind": "enumvalue", "decorators": [], "name": "response_completed", "value": "response.completed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5307", + "$id": "5596", "kind": "enumvalue", "decorators": [], "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5308", + "$id": "5597", "kind": "enumvalue", "decorators": [], "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5309", + "$id": "5598", "kind": "enumvalue", "decorators": [], "name": "response_created", "value": "response.created", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5310", + "$id": "5599", "kind": "enumvalue", "decorators": [], "name": "error", "value": "error", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5311", + "$id": "5600", "kind": "enumvalue", "decorators": [], "name": "response_file_search_call_completed", "value": "response.file_search_call.completed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5312", + "$id": "5601", "kind": "enumvalue", "decorators": [], "name": "response_file_search_call_in_progress", "value": "response.file_search_call.in_progress", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5313", + "$id": "5602", "kind": "enumvalue", "decorators": [], "name": "response_file_search_call_searching", "value": "response.file_search_call.searching", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5314", + "$id": "5603", "kind": "enumvalue", "decorators": [], "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5315", + "$id": "5604", "kind": "enumvalue", "decorators": [], "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5316", + "$id": "5605", "kind": "enumvalue", "decorators": [], "name": "response_in_progress", "value": "response.in_progress", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5317", + "$id": "5606", "kind": "enumvalue", "decorators": [], "name": "response_failed", "value": "response.failed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5318", + "$id": "5607", "kind": "enumvalue", "decorators": [], "name": "response_incomplete", "value": "response.incomplete", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5319", + "$id": "5608", "kind": "enumvalue", "decorators": [], "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5320", + "$id": "5609", "kind": "enumvalue", "decorators": [], "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5321", + "$id": "5610", "kind": "enumvalue", "decorators": [], "name": "response_refusal_delta", "value": "response.refusal.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5322", + "$id": "5611", "kind": "enumvalue", "decorators": [], "name": "response_refusal_done", "value": "response.refusal.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5323", + "$id": "5612", "kind": "enumvalue", "decorators": [], "name": "response_output_text_annotation_added", "value": "response.output_text.annotation.added", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5324", + "$id": "5613", "kind": "enumvalue", "decorators": [], "name": "response_output_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5325", + "$id": "5614", "kind": "enumvalue", "decorators": [], "name": "response_output_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5326", + "$id": "5615", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_part_added", "value": "response.reasoning_summary_part.added", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5327", + "$id": "5616", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_part_done", "value": "response.reasoning_summary_part.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5328", + "$id": "5617", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_text_delta", "value": "response.reasoning_summary_text.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5329", + "$id": "5618", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_text_done", "value": "response.reasoning_summary_text.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5330", + "$id": "5619", "kind": "enumvalue", "decorators": [], "name": "response_web_search_call_completed", "value": "response.web_search_call.completed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5331", + "$id": "5620", "kind": "enumvalue", "decorators": [], "name": "response_web_search_call_in_progress", "value": "response.web_search_call.in_progress", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5332", + "$id": "5621", "kind": "enumvalue", "decorators": [], "name": "response_web_search_call_searching", "value": "response.web_search_call.searching", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5333", + "$id": "5622", "kind": "enumvalue", "decorators": [], "name": "response_image_generation_call_completed", "value": "response.image_generation_call.completed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5334", + "$id": "5623", "kind": "enumvalue", "decorators": [], "name": "response_image_generation_call_generating", "value": "response.image_generation_call.generating", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5335", + "$id": "5624", "kind": "enumvalue", "decorators": [], "name": "response_image_generation_call_in_progress", "value": "response.image_generation_call.in_progress", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5336", + "$id": "5625", "kind": "enumvalue", "decorators": [], "name": "response_image_generation_call_partial_image", "value": "response.image_generation_call.partial_image", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5337", + "$id": "5626", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5338", + "$id": "5627", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5339", + "$id": "5628", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5340", + "$id": "5629", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5341", + "$id": "5630", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5342", + "$id": "5631", "kind": "enumvalue", "decorators": [], "name": "response_mcp_list_tools_completed", "value": "response.mcp_list_tools.completed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5343", + "$id": "5632", "kind": "enumvalue", "decorators": [], "name": "response_mcp_list_tools_failed", "value": "response.mcp_list_tools.failed", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5344", + "$id": "5633", "kind": "enumvalue", "decorators": [], "name": "response_mcp_list_tools_in_progress", "value": "response.mcp_list_tools.in_progress", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5345", + "$id": "5634", "kind": "enumvalue", "decorators": [], "name": "response_queued", "value": "response.queued", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5346", + "$id": "5635", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_delta", "value": "response.reasoning.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5347", + "$id": "5636", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_done", "value": "response.reasoning.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5348", + "$id": "5637", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_delta", "value": "response.reasoning_summary.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5349", + "$id": "5638", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_summary_done", "value": "response.reasoning_summary.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5350", + "$id": "5639", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_text_delta", "value": "response.reasoning_text.delta", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" } }, { - "$id": "5351", + "$id": "5640", "kind": "enumvalue", "decorators": [], "name": "response_reasoning_text_done", "value": "response.reasoning_text.done", "valueType": { - "$ref": "5296" + "$ref": "5585" }, "enumType": { - "$ref": "5295" + "$ref": "5584" + } + }, + { + "$id": "5641", + "kind": "enumvalue", + "decorators": [], + "name": "response_custom_tool_call_input_delta", + "value": "response.custom_tool_call_input.delta", + "valueType": { + "$ref": "5585" + }, + "enumType": { + "$ref": "5584" + } + }, + { + "$id": "5642", + "kind": "enumvalue", + "decorators": [], + "name": "response_custom_tool_call_input_done", + "value": "response.custom_tool_call_input.done", + "valueType": { + "$ref": "5585" + }, + "enumType": { + "$ref": "5584" } } ], @@ -69412,13 +73973,13 @@ "isHttpMetadata": false }, { - "$id": "5352", + "$id": "5643", "kind": "property", "name": "response", "serializedName": "response", "doc": "Properties of the completed response.", "type": { - "$ref": "5094" + "$ref": "5342" }, "optional": false, "readOnly": false, @@ -69436,7 +73997,7 @@ ] }, "response.content_part.added": { - "$id": "5353", + "$id": "5644", "kind": "model", "name": "ResponseContentPartAddedEvent", "namespace": "OpenAI", @@ -69456,25 +74017,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5354", + "$id": "5645", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.content_part.added`.", "type": { - "$id": "5355", + "$id": "5646", "kind": "enumvalue", "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -69492,13 +74053,13 @@ "isHttpMetadata": false }, { - "$id": "5356", + "$id": "5647", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the content part was added to.", "type": { - "$id": "5357", + "$id": "5648", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69518,13 +74079,13 @@ "isHttpMetadata": false }, { - "$id": "5358", + "$id": "5649", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the content part was added to.", "type": { - "$id": "5359", + "$id": "5650", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69544,13 +74105,13 @@ "isHttpMetadata": false }, { - "$id": "5360", + "$id": "5651", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that was added.", "type": { - "$id": "5361", + "$id": "5652", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69570,13 +74131,13 @@ "isHttpMetadata": false }, { - "$id": "5362", + "$id": "5653", "kind": "property", "name": "part", "serializedName": "part", "doc": "The content part that was added.", "type": { - "$ref": "4632" + "$ref": "4768" }, "optional": false, "readOnly": false, @@ -69594,7 +74155,7 @@ ] }, "response.content_part.done": { - "$id": "5363", + "$id": "5654", "kind": "model", "name": "ResponseContentPartDoneEvent", "namespace": "OpenAI", @@ -69614,25 +74175,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5364", + "$id": "5655", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.content_part.done`.", "type": { - "$id": "5365", + "$id": "5656", "kind": "enumvalue", "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -69650,13 +74211,13 @@ "isHttpMetadata": false }, { - "$id": "5366", + "$id": "5657", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the content part was added to.", "type": { - "$id": "5367", + "$id": "5658", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69676,13 +74237,13 @@ "isHttpMetadata": false }, { - "$id": "5368", + "$id": "5659", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the content part was added to.", "type": { - "$id": "5369", + "$id": "5660", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69702,13 +74263,13 @@ "isHttpMetadata": false }, { - "$id": "5370", + "$id": "5661", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that is done.", "type": { - "$id": "5371", + "$id": "5662", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -69728,13 +74289,13 @@ "isHttpMetadata": false }, { - "$id": "5372", + "$id": "5663", "kind": "property", "name": "part", "serializedName": "part", "doc": "The content part that is done.", "type": { - "$ref": "4632" + "$ref": "4768" }, "optional": false, "readOnly": false, @@ -69752,7 +74313,7 @@ ] }, "response.created": { - "$id": "5373", + "$id": "5664", "kind": "model", "name": "ResponseCreatedEvent", "namespace": "OpenAI", @@ -69772,25 +74333,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5374", + "$id": "5665", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.created`.", "type": { - "$id": "5375", + "$id": "5666", "kind": "enumvalue", "name": "response_created", "value": "response.created", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -69808,13 +74369,13 @@ "isHttpMetadata": false }, { - "$id": "5376", + "$id": "5667", "kind": "property", "name": "response", "serializedName": "response", "doc": "The response that was created.", "type": { - "$ref": "5094" + "$ref": "5342" }, "optional": false, "readOnly": false, @@ -69832,7 +74393,7 @@ ] }, "error": { - "$id": "5377", + "$id": "5668", "kind": "model", "name": "ResponseErrorEvent", "namespace": "OpenAI", @@ -69852,25 +74413,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5378", + "$id": "5669", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `error`.", "type": { - "$id": "5379", + "$id": "5670", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -69888,16 +74449,16 @@ "isHttpMetadata": false }, { - "$id": "5380", + "$id": "5671", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "5381", + "$id": "5672", "kind": "nullable", "type": { - "$id": "5382", + "$id": "5673", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69919,13 +74480,13 @@ "isHttpMetadata": false }, { - "$id": "5383", + "$id": "5674", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "5384", + "$id": "5675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69945,16 +74506,16 @@ "isHttpMetadata": false }, { - "$id": "5385", + "$id": "5676", "kind": "property", "name": "param", "serializedName": "param", "doc": "The error parameter.", "type": { - "$id": "5386", + "$id": "5677", "kind": "nullable", "type": { - "$id": "5387", + "$id": "5678", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69978,7 +74539,7 @@ ] }, "response.file_search_call.completed": { - "$id": "5388", + "$id": "5679", "kind": "model", "name": "ResponseFileSearchCallCompletedEvent", "namespace": "OpenAI", @@ -69998,25 +74559,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5389", + "$id": "5680", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.completed`.", "type": { - "$id": "5390", + "$id": "5681", "kind": "enumvalue", "name": "response_file_search_call_completed", "value": "response.file_search_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70034,13 +74595,13 @@ "isHttpMetadata": false }, { - "$id": "5391", + "$id": "5682", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the file search call is initiated.", "type": { - "$id": "5392", + "$id": "5683", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70060,13 +74621,13 @@ "isHttpMetadata": false }, { - "$id": "5393", + "$id": "5684", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "5394", + "$id": "5685", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70088,7 +74649,7 @@ ] }, "response.file_search_call.in_progress": { - "$id": "5395", + "$id": "5686", "kind": "model", "name": "ResponseFileSearchCallInProgressEvent", "namespace": "OpenAI", @@ -70108,25 +74669,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5396", + "$id": "5687", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.in_progress`.", "type": { - "$id": "5397", + "$id": "5688", "kind": "enumvalue", "name": "response_file_search_call_in_progress", "value": "response.file_search_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70144,13 +74705,13 @@ "isHttpMetadata": false }, { - "$id": "5398", + "$id": "5689", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the file search call is initiated.", "type": { - "$id": "5399", + "$id": "5690", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70170,13 +74731,13 @@ "isHttpMetadata": false }, { - "$id": "5400", + "$id": "5691", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "5401", + "$id": "5692", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70198,7 +74759,7 @@ ] }, "response.file_search_call.searching": { - "$id": "5402", + "$id": "5693", "kind": "model", "name": "ResponseFileSearchCallSearchingEvent", "namespace": "OpenAI", @@ -70218,25 +74779,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5403", + "$id": "5694", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.searching`.", "type": { - "$id": "5404", + "$id": "5695", "kind": "enumvalue", "name": "response_file_search_call_searching", "value": "response.file_search_call.searching", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70254,13 +74815,13 @@ "isHttpMetadata": false }, { - "$id": "5405", + "$id": "5696", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the file search call is searching.", "type": { - "$id": "5406", + "$id": "5697", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70280,13 +74841,13 @@ "isHttpMetadata": false }, { - "$id": "5407", + "$id": "5698", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "5408", + "$id": "5699", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70308,7 +74869,7 @@ ] }, "response.function_call_arguments.delta": { - "$id": "5409", + "$id": "5700", "kind": "model", "name": "ResponseFunctionCallArgumentsDeltaEvent", "namespace": "OpenAI", @@ -70328,25 +74889,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5410", + "$id": "5701", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.function_call_arguments.delta`.", "type": { - "$id": "5411", + "$id": "5702", "kind": "enumvalue", "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70364,13 +74925,13 @@ "isHttpMetadata": false }, { - "$id": "5412", + "$id": "5703", "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": "5413", + "$id": "5704", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70390,13 +74951,13 @@ "isHttpMetadata": false }, { - "$id": "5414", + "$id": "5705", "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": "5415", + "$id": "5706", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70416,13 +74977,13 @@ "isHttpMetadata": false }, { - "$id": "5416", + "$id": "5707", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The function-call arguments delta that is added.", "type": { - "$id": "5417", + "$id": "5708", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -70444,7 +75005,7 @@ ] }, "response.function_call_arguments.done": { - "$id": "5418", + "$id": "5709", "kind": "model", "name": "ResponseFunctionCallArgumentsDoneEvent", "namespace": "OpenAI", @@ -70464,24 +75025,24 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5419", + "$id": "5710", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "5420", + "$id": "5711", "kind": "enumvalue", "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70499,13 +75060,13 @@ "isHttpMetadata": false }, { - "$id": "5421", + "$id": "5712", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "5422", + "$id": "5713", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70525,13 +75086,13 @@ "isHttpMetadata": false }, { - "$id": "5423", + "$id": "5714", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item.", "type": { - "$id": "5424", + "$id": "5715", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70551,13 +75112,13 @@ "isHttpMetadata": false }, { - "$id": "5425", + "$id": "5716", "kind": "property", "name": "FunctionArguments", "serializedName": "arguments", "doc": "The function-call arguments.", "type": { - "$id": "5426", + "$id": "5717", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -70579,7 +75140,7 @@ ] }, "response.in_progress": { - "$id": "5427", + "$id": "5718", "kind": "model", "name": "ResponseInProgressEvent", "namespace": "OpenAI", @@ -70599,25 +75160,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5428", + "$id": "5719", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.in_progress`.", "type": { - "$id": "5429", + "$id": "5720", "kind": "enumvalue", "name": "response_in_progress", "value": "response.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70635,13 +75196,13 @@ "isHttpMetadata": false }, { - "$id": "5430", + "$id": "5721", "kind": "property", "name": "response", "serializedName": "response", "doc": "The response that is in progress.", "type": { - "$ref": "5094" + "$ref": "5342" }, "optional": false, "readOnly": false, @@ -70659,7 +75220,7 @@ ] }, "response.failed": { - "$id": "5431", + "$id": "5722", "kind": "model", "name": "ResponseFailedEvent", "namespace": "OpenAI", @@ -70679,25 +75240,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5432", + "$id": "5723", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.failed`.", "type": { - "$id": "5433", + "$id": "5724", "kind": "enumvalue", "name": "response_failed", "value": "response.failed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70715,13 +75276,13 @@ "isHttpMetadata": false }, { - "$id": "5434", + "$id": "5725", "kind": "property", "name": "response", "serializedName": "response", "doc": "The response that failed.", "type": { - "$ref": "5094" + "$ref": "5342" }, "optional": false, "readOnly": false, @@ -70739,7 +75300,7 @@ ] }, "response.incomplete": { - "$id": "5435", + "$id": "5726", "kind": "model", "name": "ResponseIncompleteEvent", "namespace": "OpenAI", @@ -70759,25 +75320,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5436", + "$id": "5727", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.incomplete`.", "type": { - "$id": "5437", + "$id": "5728", "kind": "enumvalue", "name": "response_incomplete", "value": "response.incomplete", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70795,13 +75356,13 @@ "isHttpMetadata": false }, { - "$id": "5438", + "$id": "5729", "kind": "property", "name": "response", "serializedName": "response", "doc": "The response that was incomplete.", "type": { - "$ref": "5094" + "$ref": "5342" }, "optional": false, "readOnly": false, @@ -70819,7 +75380,7 @@ ] }, "response.output_item.added": { - "$id": "5439", + "$id": "5730", "kind": "model", "name": "ResponseOutputItemAddedEvent", "namespace": "OpenAI", @@ -70839,25 +75400,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5440", + "$id": "5731", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.output_item.added`.", "type": { - "$id": "5441", + "$id": "5732", "kind": "enumvalue", "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70875,13 +75436,13 @@ "isHttpMetadata": false }, { - "$id": "5442", + "$id": "5733", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that was added.", "type": { - "$id": "5443", + "$id": "5734", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70901,13 +75462,13 @@ "isHttpMetadata": false }, { - "$id": "5444", + "$id": "5735", "kind": "property", "name": "item", "serializedName": "item", "doc": "The output item that was added.", "type": { - "$ref": "5142" + "$ref": "5391" }, "optional": false, "readOnly": false, @@ -70925,7 +75486,7 @@ ] }, "response.output_item.done": { - "$id": "5445", + "$id": "5736", "kind": "model", "name": "ResponseOutputItemDoneEvent", "namespace": "OpenAI", @@ -70945,25 +75506,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5446", + "$id": "5737", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.output_item.done`.", "type": { - "$id": "5447", + "$id": "5738", "kind": "enumvalue", "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -70981,13 +75542,13 @@ "isHttpMetadata": false }, { - "$id": "5448", + "$id": "5739", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that was marked done.", "type": { - "$id": "5449", + "$id": "5740", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71007,13 +75568,13 @@ "isHttpMetadata": false }, { - "$id": "5450", + "$id": "5741", "kind": "property", "name": "item", "serializedName": "item", "doc": "The output item that was marked done.", "type": { - "$ref": "5142" + "$ref": "5391" }, "optional": false, "readOnly": false, @@ -71031,7 +75592,7 @@ ] }, "response.refusal.delta": { - "$id": "5451", + "$id": "5742", "kind": "model", "name": "ResponseRefusalDeltaEvent", "namespace": "OpenAI", @@ -71051,25 +75612,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5452", + "$id": "5743", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.refusal.delta`.", "type": { - "$id": "5453", + "$id": "5744", "kind": "enumvalue", "name": "response_refusal_delta", "value": "response.refusal.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -71087,13 +75648,13 @@ "isHttpMetadata": false }, { - "$id": "5454", + "$id": "5745", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the refusal text is added to.", "type": { - "$id": "5455", + "$id": "5746", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71113,13 +75674,13 @@ "isHttpMetadata": false }, { - "$id": "5456", + "$id": "5747", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the refusal text is added to.", "type": { - "$id": "5457", + "$id": "5748", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71139,13 +75700,13 @@ "isHttpMetadata": false }, { - "$id": "5458", + "$id": "5749", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that the refusal text is added to.", "type": { - "$id": "5459", + "$id": "5750", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71165,13 +75726,13 @@ "isHttpMetadata": false }, { - "$id": "5460", + "$id": "5751", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The refusal text that is added.", "type": { - "$id": "5461", + "$id": "5752", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71193,7 +75754,7 @@ ] }, "response.refusal.done": { - "$id": "5462", + "$id": "5753", "kind": "model", "name": "ResponseRefusalDoneEvent", "namespace": "OpenAI", @@ -71213,25 +75774,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5463", + "$id": "5754", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.refusal.done`.", "type": { - "$id": "5464", + "$id": "5755", "kind": "enumvalue", "name": "response_refusal_done", "value": "response.refusal.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -71249,13 +75810,13 @@ "isHttpMetadata": false }, { - "$id": "5465", + "$id": "5756", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the refusal text is finalized.", "type": { - "$id": "5466", + "$id": "5757", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71275,13 +75836,13 @@ "isHttpMetadata": false }, { - "$id": "5467", + "$id": "5758", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the refusal text is finalized.", "type": { - "$id": "5468", + "$id": "5759", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71301,13 +75862,13 @@ "isHttpMetadata": false }, { - "$id": "5469", + "$id": "5760", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that the refusal text is finalized.", "type": { - "$id": "5470", + "$id": "5761", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71327,13 +75888,13 @@ "isHttpMetadata": false }, { - "$id": "5471", + "$id": "5762", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal text that is finalized.", "type": { - "$id": "5472", + "$id": "5763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71355,7 +75916,7 @@ ] }, "response.output_text.delta": { - "$id": "5473", + "$id": "5764", "kind": "model", "name": "ResponseTextDeltaEvent", "namespace": "OpenAI", @@ -71375,25 +75936,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5474", + "$id": "5765", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.output_text.delta`.", "type": { - "$id": "5475", + "$id": "5766", "kind": "enumvalue", "name": "response_output_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -71411,13 +75972,13 @@ "isHttpMetadata": false }, { - "$id": "5476", + "$id": "5767", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the text delta was added to.", "type": { - "$id": "5477", + "$id": "5768", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71437,13 +75998,13 @@ "isHttpMetadata": false }, { - "$id": "5478", + "$id": "5769", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the text delta was added to.", "type": { - "$id": "5479", + "$id": "5770", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71463,13 +76024,13 @@ "isHttpMetadata": false }, { - "$id": "5480", + "$id": "5771", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that the text delta was added to.", "type": { - "$id": "5481", + "$id": "5772", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71489,13 +76050,13 @@ "isHttpMetadata": false }, { - "$id": "5482", + "$id": "5773", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta that was added.", "type": { - "$id": "5483", + "$id": "5774", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71517,7 +76078,7 @@ ] }, "response.output_text.done": { - "$id": "5484", + "$id": "5775", "kind": "model", "name": "ResponseTextDoneEvent", "namespace": "OpenAI", @@ -71537,25 +76098,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5485", + "$id": "5776", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.output_text.done`.", "type": { - "$id": "5486", + "$id": "5777", "kind": "enumvalue", "name": "response_output_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -71573,13 +76134,13 @@ "isHttpMetadata": false }, { - "$id": "5487", + "$id": "5778", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the output item that the text content is finalized.", "type": { - "$id": "5488", + "$id": "5779", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71599,13 +76160,13 @@ "isHttpMetadata": false }, { - "$id": "5489", + "$id": "5780", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that the text content is finalized.", "type": { - "$id": "5490", + "$id": "5781", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71625,13 +76186,13 @@ "isHttpMetadata": false }, { - "$id": "5491", + "$id": "5782", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that the text content is finalized.", "type": { - "$id": "5492", + "$id": "5783", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71651,13 +76212,13 @@ "isHttpMetadata": false }, { - "$id": "5493", + "$id": "5784", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content that is finalized.", "type": { - "$id": "5494", + "$id": "5785", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71679,7 +76240,7 @@ ] }, "response.reasoning_summary_part.added": { - "$id": "5495", + "$id": "5786", "kind": "model", "name": "ResponseReasoningSummaryPartAddedEvent", "namespace": "OpenAI", @@ -71699,25 +76260,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5496", + "$id": "5787", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_part.added`.", "type": { - "$id": "5497", + "$id": "5788", "kind": "enumvalue", "name": "response_reasoning_summary_part_added", "value": "response.reasoning_summary_part.added", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -71735,13 +76296,13 @@ "isHttpMetadata": false }, { - "$id": "5498", + "$id": "5789", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this summary part is associated with.", "type": { - "$id": "5499", + "$id": "5790", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71761,13 +76322,13 @@ "isHttpMetadata": false }, { - "$id": "5500", + "$id": "5791", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this summary part is associated with.", "type": { - "$id": "5501", + "$id": "5792", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71787,13 +76348,13 @@ "isHttpMetadata": false }, { - "$id": "5502", + "$id": "5793", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5503", + "$id": "5794", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71813,13 +76374,13 @@ "isHttpMetadata": false }, { - "$id": "5504", + "$id": "5795", "kind": "property", "name": "part", "serializedName": "part", "doc": "The summary part that was added.", "type": { - "$ref": "4953" + "$ref": "5106" }, "optional": false, "readOnly": false, @@ -71837,7 +76398,7 @@ ] }, "response.reasoning_summary_part.done": { - "$id": "5505", + "$id": "5796", "kind": "model", "name": "ResponseReasoningSummaryPartDoneEvent", "namespace": "OpenAI", @@ -71857,25 +76418,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5506", + "$id": "5797", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_part.done`.", "type": { - "$id": "5507", + "$id": "5798", "kind": "enumvalue", "name": "response_reasoning_summary_part_done", "value": "response.reasoning_summary_part.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -71893,13 +76454,13 @@ "isHttpMetadata": false }, { - "$id": "5508", + "$id": "5799", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this summary part is associated with.", "type": { - "$id": "5509", + "$id": "5800", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71919,13 +76480,13 @@ "isHttpMetadata": false }, { - "$id": "5510", + "$id": "5801", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this summary part is associated with.", "type": { - "$id": "5511", + "$id": "5802", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71945,13 +76506,13 @@ "isHttpMetadata": false }, { - "$id": "5512", + "$id": "5803", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5513", + "$id": "5804", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -71971,13 +76532,13 @@ "isHttpMetadata": false }, { - "$id": "5514", + "$id": "5805", "kind": "property", "name": "part", "serializedName": "part", "doc": "The completed summary part.", "type": { - "$ref": "4953" + "$ref": "5106" }, "optional": false, "readOnly": false, @@ -71995,7 +76556,7 @@ ] }, "response.reasoning_summary_text.delta": { - "$id": "5515", + "$id": "5806", "kind": "model", "name": "ResponseReasoningSummaryTextDeltaEvent", "namespace": "OpenAI", @@ -72015,25 +76576,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5516", + "$id": "5807", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_text.delta`.", "type": { - "$id": "5517", + "$id": "5808", "kind": "enumvalue", "name": "response_reasoning_summary_text_delta", "value": "response.reasoning_summary_text.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -72051,13 +76612,13 @@ "isHttpMetadata": false }, { - "$id": "5518", + "$id": "5809", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this summary text delta is associated with.", "type": { - "$id": "5519", + "$id": "5810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72077,13 +76638,13 @@ "isHttpMetadata": false }, { - "$id": "5520", + "$id": "5811", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this summary text delta is associated with.", "type": { - "$id": "5521", + "$id": "5812", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72103,13 +76664,13 @@ "isHttpMetadata": false }, { - "$id": "5522", + "$id": "5813", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5523", + "$id": "5814", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72129,13 +76690,13 @@ "isHttpMetadata": false }, { - "$id": "5524", + "$id": "5815", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta that was added to the summary.", "type": { - "$id": "5525", + "$id": "5816", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72157,7 +76718,7 @@ ] }, "response.reasoning_summary_text.done": { - "$id": "5526", + "$id": "5817", "kind": "model", "name": "ResponseReasoningSummaryTextDoneEvent", "namespace": "OpenAI", @@ -72177,25 +76738,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5527", + "$id": "5818", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_text.done`.", "type": { - "$id": "5528", + "$id": "5819", "kind": "enumvalue", "name": "response_reasoning_summary_text_done", "value": "response.reasoning_summary_text.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -72213,13 +76774,13 @@ "isHttpMetadata": false }, { - "$id": "5529", + "$id": "5820", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this summary text is associated with.", "type": { - "$id": "5530", + "$id": "5821", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72239,13 +76800,13 @@ "isHttpMetadata": false }, { - "$id": "5531", + "$id": "5822", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this summary text is associated with.", "type": { - "$id": "5532", + "$id": "5823", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72265,13 +76826,13 @@ "isHttpMetadata": false }, { - "$id": "5533", + "$id": "5824", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5534", + "$id": "5825", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72291,13 +76852,13 @@ "isHttpMetadata": false }, { - "$id": "5535", + "$id": "5826", "kind": "property", "name": "text", "serializedName": "text", "doc": "The full text of the completed reasoning summary.", "type": { - "$id": "5536", + "$id": "5827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72319,7 +76880,7 @@ ] }, "response.reasoning_text.delta": { - "$id": "5537", + "$id": "5828", "kind": "model", "name": "ResponseReasoningTextDeltaEvent", "namespace": "OpenAI", @@ -72334,25 +76895,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5538", + "$id": "5829", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_text.delta`.", "type": { - "$id": "5539", + "$id": "5830", "kind": "enumvalue", "name": "response_reasoning_text_delta", "value": "response.reasoning_text.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -72370,13 +76931,13 @@ "isHttpMetadata": false }, { - "$id": "5540", + "$id": "5831", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this reasoning text delta is associated with.", "type": { - "$id": "5541", + "$id": "5832", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72396,13 +76957,13 @@ "isHttpMetadata": false }, { - "$id": "5542", + "$id": "5833", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this reasoning text delta is associated with.", "type": { - "$id": "5543", + "$id": "5834", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72422,13 +76983,13 @@ "isHttpMetadata": false }, { - "$id": "5544", + "$id": "5835", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the reasoning content part this delta is associated with.", "type": { - "$id": "5545", + "$id": "5836", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72448,13 +77009,13 @@ "isHttpMetadata": false }, { - "$id": "5546", + "$id": "5837", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta that was added to the reasoning content.", "type": { - "$id": "5547", + "$id": "5838", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72476,7 +77037,7 @@ ] }, "response.reasoning_text.done": { - "$id": "5548", + "$id": "5839", "kind": "model", "name": "ResponseReasoningTextDoneEvent", "namespace": "OpenAI", @@ -72491,25 +77052,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5549", + "$id": "5840", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_text.done`.", "type": { - "$id": "5550", + "$id": "5841", "kind": "enumvalue", "name": "response_reasoning_text_done", "value": "response.reasoning_text.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -72527,13 +77088,13 @@ "isHttpMetadata": false }, { - "$id": "5551", + "$id": "5842", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item this reasoning text is associated with.", "type": { - "$id": "5552", + "$id": "5843", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72553,13 +77114,13 @@ "isHttpMetadata": false }, { - "$id": "5553", + "$id": "5844", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item this reasoning text is associated with.", "type": { - "$id": "5554", + "$id": "5845", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72579,13 +77140,13 @@ "isHttpMetadata": false }, { - "$id": "5555", + "$id": "5846", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the reasoning content part.", "type": { - "$id": "5556", + "$id": "5847", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72605,13 +77166,13 @@ "isHttpMetadata": false }, { - "$id": "5557", + "$id": "5848", "kind": "property", "name": "text", "serializedName": "text", "doc": "The full text of the completed reasoning content.", "type": { - "$id": "5558", + "$id": "5849", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72633,7 +77194,7 @@ ] }, "response.web_search_call.completed": { - "$id": "5559", + "$id": "5850", "kind": "model", "name": "ResponseWebSearchCallCompletedEvent", "namespace": "OpenAI", @@ -72653,25 +77214,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5560", + "$id": "5851", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.completed`.", "type": { - "$id": "5561", + "$id": "5852", "kind": "enumvalue", "name": "response_web_search_call_completed", "value": "response.web_search_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -72689,13 +77250,13 @@ "isHttpMetadata": false }, { - "$id": "5562", + "$id": "5853", "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": "5563", + "$id": "5854", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72715,13 +77276,13 @@ "isHttpMetadata": false }, { - "$id": "5564", + "$id": "5855", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5565", + "$id": "5856", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72743,7 +77304,7 @@ ] }, "response.web_search_call.in_progress": { - "$id": "5566", + "$id": "5857", "kind": "model", "name": "ResponseWebSearchCallInProgressEvent", "namespace": "OpenAI", @@ -72763,25 +77324,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5567", + "$id": "5858", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.in_progress`.", "type": { - "$id": "5568", + "$id": "5859", "kind": "enumvalue", "name": "response_web_search_call_in_progress", "value": "response.web_search_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -72799,13 +77360,13 @@ "isHttpMetadata": false }, { - "$id": "5569", + "$id": "5860", "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": "5570", + "$id": "5861", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72825,13 +77386,13 @@ "isHttpMetadata": false }, { - "$id": "5571", + "$id": "5862", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5572", + "$id": "5863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72853,7 +77414,7 @@ ] }, "response.web_search_call.searching": { - "$id": "5573", + "$id": "5864", "kind": "model", "name": "ResponseWebSearchCallSearchingEvent", "namespace": "OpenAI", @@ -72873,25 +77434,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5574", + "$id": "5865", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.searching`.", "type": { - "$id": "5575", + "$id": "5866", "kind": "enumvalue", "name": "response_web_search_call_searching", "value": "response.web_search_call.searching", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -72909,13 +77470,13 @@ "isHttpMetadata": false }, { - "$id": "5576", + "$id": "5867", "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": "5577", + "$id": "5868", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72935,13 +77496,13 @@ "isHttpMetadata": false }, { - "$id": "5578", + "$id": "5869", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5579", + "$id": "5870", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72963,7 +77524,7 @@ ] }, "response.image_generation_call.completed": { - "$id": "5580", + "$id": "5871", "kind": "model", "name": "ResponseImageGenCallCompletedEvent", "namespace": "OpenAI", @@ -72983,25 +77544,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5581", + "$id": "5872", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.completed'.", "type": { - "$id": "5582", + "$id": "5873", "kind": "enumvalue", "name": "response_image_generation_call_completed", "value": "response.image_generation_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -73019,13 +77580,13 @@ "isHttpMetadata": false }, { - "$id": "5583", + "$id": "5874", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5584", + "$id": "5875", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73045,13 +77606,13 @@ "isHttpMetadata": false }, { - "$id": "5585", + "$id": "5876", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5586", + "$id": "5877", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73073,7 +77634,7 @@ ] }, "response.image_generation_call.generating": { - "$id": "5587", + "$id": "5878", "kind": "model", "name": "ResponseImageGenCallGeneratingEvent", "namespace": "OpenAI", @@ -73093,25 +77654,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5588", + "$id": "5879", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.generating'.", "type": { - "$id": "5589", + "$id": "5880", "kind": "enumvalue", "name": "response_image_generation_call_generating", "value": "response.image_generation_call.generating", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -73129,13 +77690,13 @@ "isHttpMetadata": false }, { - "$id": "5590", + "$id": "5881", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5591", + "$id": "5882", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73155,13 +77716,13 @@ "isHttpMetadata": false }, { - "$id": "5592", + "$id": "5883", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5593", + "$id": "5884", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73183,7 +77744,7 @@ ] }, "response.image_generation_call.in_progress": { - "$id": "5594", + "$id": "5885", "kind": "model", "name": "ResponseImageGenCallInProgressEvent", "namespace": "OpenAI", @@ -73203,25 +77764,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5595", + "$id": "5886", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.in_progress'.", "type": { - "$id": "5596", + "$id": "5887", "kind": "enumvalue", "name": "response_image_generation_call_in_progress", "value": "response.image_generation_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -73239,13 +77800,13 @@ "isHttpMetadata": false }, { - "$id": "5597", + "$id": "5888", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5598", + "$id": "5889", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73265,13 +77826,13 @@ "isHttpMetadata": false }, { - "$id": "5599", + "$id": "5890", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5600", + "$id": "5891", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73293,7 +77854,7 @@ ] }, "response.image_generation_call.partial_image": { - "$id": "5601", + "$id": "5892", "kind": "model", "name": "ResponseImageGenCallPartialImageEvent", "namespace": "OpenAI", @@ -73313,25 +77874,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5602", + "$id": "5893", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.partial_image'.", "type": { - "$id": "5603", + "$id": "5894", "kind": "enumvalue", "name": "response_image_generation_call_partial_image", "value": "response.image_generation_call.partial_image", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -73349,13 +77910,13 @@ "isHttpMetadata": false }, { - "$id": "5604", + "$id": "5895", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5605", + "$id": "5896", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73375,13 +77936,13 @@ "isHttpMetadata": false }, { - "$id": "5606", + "$id": "5897", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5607", + "$id": "5898", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73401,13 +77962,13 @@ "isHttpMetadata": false }, { - "$id": "5608", + "$id": "5899", "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": "5609", + "$id": "5900", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73427,13 +77988,13 @@ "isHttpMetadata": false }, { - "$id": "5610", + "$id": "5901", "kind": "property", "name": "PartialImageBytes", "serializedName": "partial_image_b64", "doc": "Base64-encoded partial image data, suitable for rendering as an image.", "type": { - "$id": "5611", + "$id": "5902", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -73456,7 +78017,7 @@ ] }, "response.mcp_call_arguments.delta": { - "$id": "5612", + "$id": "5903", "kind": "model", "name": "ResponseMCPCallArgumentsDeltaEvent", "namespace": "OpenAI", @@ -73476,25 +78037,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5613", + "$id": "5904", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.arguments_delta'.", "type": { - "$id": "5614", + "$id": "5905", "kind": "enumvalue", "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -73512,13 +78073,13 @@ "isHttpMetadata": false }, { - "$id": "5615", + "$id": "5906", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5616", + "$id": "5907", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73538,13 +78099,13 @@ "isHttpMetadata": false }, { - "$id": "5617", + "$id": "5908", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5618", + "$id": "5909", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73564,13 +78125,13 @@ "isHttpMetadata": false }, { - "$id": "5619", + "$id": "5910", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The partial update to the arguments for the MCP tool call.", "type": { - "$id": "5620", + "$id": "5911", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -73592,7 +78153,7 @@ ] }, "response.mcp_call_arguments.done": { - "$id": "5621", + "$id": "5912", "kind": "model", "name": "ResponseMCPCallArgumentsDoneEvent", "namespace": "OpenAI", @@ -73612,25 +78173,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5622", + "$id": "5913", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.arguments_done'.", "type": { - "$id": "5623", + "$id": "5914", "kind": "enumvalue", "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -73648,13 +78209,13 @@ "isHttpMetadata": false }, { - "$id": "5624", + "$id": "5915", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5625", + "$id": "5916", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73674,13 +78235,13 @@ "isHttpMetadata": false }, { - "$id": "5626", + "$id": "5917", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5627", + "$id": "5918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73700,13 +78261,13 @@ "isHttpMetadata": false }, { - "$id": "5628", + "$id": "5919", "kind": "property", "name": "ToolArguments", "serializedName": "arguments", "doc": "A JSON string containing the finalized arguments for the MCP tool call.", "type": { - "$id": "5629", + "$id": "5920", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -73728,7 +78289,7 @@ ] }, "response.mcp_call.completed": { - "$id": "5630", + "$id": "5921", "kind": "model", "name": "ResponseMCPCallCompletedEvent", "namespace": "OpenAI", @@ -73748,25 +78309,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5631", + "$id": "5922", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.completed'.", "type": { - "$id": "5632", + "$id": "5923", "kind": "enumvalue", "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -73784,13 +78345,13 @@ "isHttpMetadata": false }, { - "$id": "5633", + "$id": "5924", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that completed.", "type": { - "$id": "5634", + "$id": "5925", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73810,13 +78371,13 @@ "isHttpMetadata": false }, { - "$id": "5635", + "$id": "5926", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that completed.", "type": { - "$id": "5636", + "$id": "5927", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73838,7 +78399,7 @@ ] }, "response.mcp_call.failed": { - "$id": "5637", + "$id": "5928", "kind": "model", "name": "ResponseMCPCallFailedEvent", "namespace": "OpenAI", @@ -73858,25 +78419,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5638", + "$id": "5929", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.failed'.", "type": { - "$id": "5639", + "$id": "5930", "kind": "enumvalue", "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -73894,13 +78455,13 @@ "isHttpMetadata": false }, { - "$id": "5640", + "$id": "5931", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that failed.", "type": { - "$id": "5641", + "$id": "5932", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73920,13 +78481,13 @@ "isHttpMetadata": false }, { - "$id": "5642", + "$id": "5933", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that failed.", "type": { - "$id": "5643", + "$id": "5934", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73948,7 +78509,7 @@ ] }, "response.mcp_call.in_progress": { - "$id": "5644", + "$id": "5935", "kind": "model", "name": "ResponseMCPCallInProgressEvent", "namespace": "OpenAI", @@ -73968,25 +78529,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5645", + "$id": "5936", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.in_progress'.", "type": { - "$id": "5646", + "$id": "5937", "kind": "enumvalue", "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -74004,13 +78565,13 @@ "isHttpMetadata": false }, { - "$id": "5647", + "$id": "5938", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5648", + "$id": "5939", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74030,13 +78591,13 @@ "isHttpMetadata": false }, { - "$id": "5649", + "$id": "5940", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5650", + "$id": "5941", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74058,7 +78619,7 @@ ] }, "response.mcp_list_tools.completed": { - "$id": "5651", + "$id": "5942", "kind": "model", "name": "ResponseMCPListToolsCompletedEvent", "namespace": "OpenAI", @@ -74078,25 +78639,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5652", + "$id": "5943", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.completed'.", "type": { - "$id": "5653", + "$id": "5944", "kind": "enumvalue", "name": "response_mcp_list_tools_completed", "value": "response.mcp_list_tools.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -74114,13 +78675,13 @@ "isHttpMetadata": false }, { - "$id": "5654", + "$id": "5945", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that produced this output.", "type": { - "$id": "5655", + "$id": "5946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74140,13 +78701,13 @@ "isHttpMetadata": false }, { - "$id": "5656", + "$id": "5947", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that was processed.", "type": { - "$id": "5657", + "$id": "5948", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74168,7 +78729,7 @@ ] }, "response.mcp_list_tools.failed": { - "$id": "5658", + "$id": "5949", "kind": "model", "name": "ResponseMCPListToolsFailedEvent", "namespace": "OpenAI", @@ -74188,25 +78749,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5659", + "$id": "5950", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.failed'.", "type": { - "$id": "5660", + "$id": "5951", "kind": "enumvalue", "name": "response_mcp_list_tools_failed", "value": "response.mcp_list_tools.failed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -74224,13 +78785,13 @@ "isHttpMetadata": false }, { - "$id": "5661", + "$id": "5952", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that failed.", "type": { - "$id": "5662", + "$id": "5953", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74250,13 +78811,13 @@ "isHttpMetadata": false }, { - "$id": "5663", + "$id": "5954", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that failed.", "type": { - "$id": "5664", + "$id": "5955", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74278,7 +78839,7 @@ ] }, "response.mcp_list_tools.in_progress": { - "$id": "5665", + "$id": "5956", "kind": "model", "name": "ResponseMCPListToolsInProgressEvent", "namespace": "OpenAI", @@ -74298,25 +78859,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5666", + "$id": "5957", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.in_progress'.", "type": { - "$id": "5667", + "$id": "5958", "kind": "enumvalue", "name": "response_mcp_list_tools_in_progress", "value": "response.mcp_list_tools.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -74334,13 +78895,13 @@ "isHttpMetadata": false }, { - "$id": "5668", + "$id": "5959", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item that is being processed.", "type": { - "$id": "5669", + "$id": "5960", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74360,13 +78921,13 @@ "isHttpMetadata": false }, { - "$id": "5670", + "$id": "5961", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item that is being processed.", "type": { - "$id": "5671", + "$id": "5962", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74387,8 +78948,280 @@ } ] }, + "response.custom_tool_call_input.delta": { + "$id": "5963", + "kind": "model", + "name": "ResponseCustomToolCallInputDeltaEvent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDeltaEvent", + "usage": "Output,Json", + "doc": "Emitted when there is a delta (partial update) to the input of a custom tool call.", + "discriminatorValue": "response.custom_tool_call_input.delta", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ResponseCustomToolCallInputDeltaEvent" + } + }, + "baseModel": { + "$ref": "5577" + }, + "properties": [ + { + "$id": "5964", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the event. Always 'response.custom_tool_call_input.delta'.", + "type": { + "$id": "5965", + "kind": "enumvalue", + "name": "response_custom_tool_call_input_delta", + "value": "response.custom_tool_call_input.delta", + "valueType": { + "$ref": "696" + }, + "enumType": { + "$ref": "5584" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDeltaEvent.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5966", + "kind": "property", + "name": "output_index", + "serializedName": "output_index", + "doc": "The index of the output item in the response's output array.", + "type": { + "$id": "5967", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDeltaEvent.output_index", + "serializationOptions": { + "json": { + "name": "output_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5968", + "kind": "property", + "name": "item_id", + "serializedName": "item_id", + "doc": "The unique identifier of the custom tool call item being processed.", + "type": { + "$id": "5969", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDeltaEvent.item_id", + "serializationOptions": { + "json": { + "name": "item_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5970", + "kind": "property", + "name": "delta", + "serializedName": "delta", + "doc": "The partial update to the input for the custom tool call.", + "type": { + "$id": "5971", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDeltaEvent.delta", + "serializationOptions": { + "json": { + "name": "delta" + } + }, + "isHttpMetadata": false + } + ] + }, + "response.custom_tool_call_input.done": { + "$id": "5972", + "kind": "model", + "name": "ResponseCustomToolCallInputDoneEvent", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDoneEvent", + "usage": "Output,Json", + "doc": "Emitted when the input for a custom tool call is finalized.", + "discriminatorValue": "response.custom_tool_call_input.done", + "decorators": [ + { + "name": "TypeSpec.HttpClient.CSharp.@dynamicModel", + "arguments": {} + } + ], + "serializationOptions": { + "json": { + "name": "ResponseCustomToolCallInputDoneEvent" + } + }, + "baseModel": { + "$ref": "5577" + }, + "properties": [ + { + "$id": "5973", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the event. Always 'response.custom_tool_call_input.done'.", + "type": { + "$id": "5974", + "kind": "enumvalue", + "name": "response_custom_tool_call_input_done", + "value": "response.custom_tool_call_input.done", + "valueType": { + "$ref": "696" + }, + "enumType": { + "$ref": "5584" + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDoneEvent.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5975", + "kind": "property", + "name": "output_index", + "serializedName": "output_index", + "doc": "The index of the output item in the response's output array.", + "type": { + "$id": "5976", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDoneEvent.output_index", + "serializationOptions": { + "json": { + "name": "output_index" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5977", + "kind": "property", + "name": "item_id", + "serializedName": "item_id", + "doc": "The unique identifier of the custom tool call item being processed.", + "type": { + "$id": "5978", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDoneEvent.item_id", + "serializationOptions": { + "json": { + "name": "item_id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "5979", + "kind": "property", + "name": "input", + "serializedName": "input", + "doc": "The finalized input for the custom tool call.", + "type": { + "$id": "5980", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseCustomToolCallInputDoneEvent.input", + "serializationOptions": { + "json": { + "name": "input" + } + }, + "isHttpMetadata": false + } + ] + }, "response.output_text.annotation.added": { - "$id": "5672", + "$id": "5981", "kind": "model", "name": "ResponseOutputTextAnnotationAddedEvent", "namespace": "OpenAI", @@ -74408,25 +79241,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5673", + "$id": "5982", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.output_text_annotation.added'.", "type": { - "$id": "5674", + "$id": "5983", "kind": "enumvalue", "name": "response_output_text_annotation_added", "value": "response.output_text.annotation.added", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -74444,13 +79277,13 @@ "isHttpMetadata": false }, { - "$id": "5675", + "$id": "5984", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item to which the annotation is being added.", "type": { - "$id": "5676", + "$id": "5985", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74470,13 +79303,13 @@ "isHttpMetadata": false }, { - "$id": "5677", + "$id": "5986", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5678", + "$id": "5987", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74496,13 +79329,13 @@ "isHttpMetadata": false }, { - "$id": "5679", + "$id": "5988", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part within the output item.", "type": { - "$id": "5680", + "$id": "5989", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74522,13 +79355,13 @@ "isHttpMetadata": false }, { - "$id": "5681", + "$id": "5990", "kind": "property", "name": "annotation_index", "serializedName": "annotation_index", "doc": "The index of the annotation within the content part.", "type": { - "$id": "5682", + "$id": "5991", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74548,13 +79381,13 @@ "isHttpMetadata": false }, { - "$id": "5683", + "$id": "5992", "kind": "property", "name": "annotation", "serializedName": "annotation", "doc": "The annotation object being added. (See annotation schema for details.)", "type": { - "$id": "5684", + "$id": "5993", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -74576,7 +79409,7 @@ ] }, "response.queued": { - "$id": "5685", + "$id": "5994", "kind": "model", "name": "ResponseQueuedEvent", "namespace": "OpenAI", @@ -74596,25 +79429,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5686", + "$id": "5995", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.queued'.", "type": { - "$id": "5687", + "$id": "5996", "kind": "enumvalue", "name": "response_queued", "value": "response.queued", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -74632,13 +79465,13 @@ "isHttpMetadata": false }, { - "$id": "5688", + "$id": "5997", "kind": "property", "name": "response", "serializedName": "response", "doc": "The full response object that is queued.", "type": { - "$ref": "5094" + "$ref": "5342" }, "optional": false, "readOnly": false, @@ -74656,7 +79489,7 @@ ] }, "response.reasoning.delta": { - "$id": "5689", + "$id": "5998", "kind": "model", "name": "ResponseReasoningDeltaEvent", "namespace": "OpenAI", @@ -74676,25 +79509,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5690", + "$id": "5999", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning.delta'.", "type": { - "$id": "5691", + "$id": "6000", "kind": "enumvalue", "name": "response_reasoning_delta", "value": "response.reasoning.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -74712,13 +79545,13 @@ "isHttpMetadata": false }, { - "$id": "5692", + "$id": "6001", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item for which reasoning is being updated.", "type": { - "$id": "5693", + "$id": "6002", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74738,13 +79571,13 @@ "isHttpMetadata": false }, { - "$id": "5694", + "$id": "6003", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5695", + "$id": "6004", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74764,13 +79597,13 @@ "isHttpMetadata": false }, { - "$id": "5696", + "$id": "6005", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the reasoning content part within the output item.", "type": { - "$id": "5697", + "$id": "6006", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74790,13 +79623,13 @@ "isHttpMetadata": false }, { - "$id": "5698", + "$id": "6007", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The partial update to the reasoning content.", "type": { - "$id": "5699", + "$id": "6008", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -74818,7 +79651,7 @@ ] }, "response.reasoning.done": { - "$id": "5700", + "$id": "6009", "kind": "model", "name": "ResponseReasoningDoneEvent", "namespace": "OpenAI", @@ -74838,25 +79671,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5701", + "$id": "6010", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning.done'.", "type": { - "$id": "5702", + "$id": "6011", "kind": "enumvalue", "name": "response_reasoning_done", "value": "response.reasoning.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -74874,13 +79707,13 @@ "isHttpMetadata": false }, { - "$id": "5703", + "$id": "6012", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item for which reasoning is finalized.", "type": { - "$id": "5704", + "$id": "6013", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74900,13 +79733,13 @@ "isHttpMetadata": false }, { - "$id": "5705", + "$id": "6014", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5706", + "$id": "6015", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74926,13 +79759,13 @@ "isHttpMetadata": false }, { - "$id": "5707", + "$id": "6016", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the reasoning content part within the output item.", "type": { - "$id": "5708", + "$id": "6017", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74952,13 +79785,13 @@ "isHttpMetadata": false }, { - "$id": "5709", + "$id": "6018", "kind": "property", "name": "text", "serializedName": "text", "doc": "The finalized reasoning text.", "type": { - "$id": "5710", + "$id": "6019", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74980,7 +79813,7 @@ ] }, "response.reasoning_summary.delta": { - "$id": "5711", + "$id": "6020", "kind": "model", "name": "ResponseReasoningSummaryDeltaEvent", "namespace": "OpenAI", @@ -75000,25 +79833,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5712", + "$id": "6021", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning_summary.delta'.", "type": { - "$id": "5713", + "$id": "6022", "kind": "enumvalue", "name": "response_reasoning_summary_delta", "value": "response.reasoning_summary.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -75036,13 +79869,13 @@ "isHttpMetadata": false }, { - "$id": "5714", + "$id": "6023", "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": "5715", + "$id": "6024", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75062,13 +79895,13 @@ "isHttpMetadata": false }, { - "$id": "5716", + "$id": "6025", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5717", + "$id": "6026", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75088,13 +79921,13 @@ "isHttpMetadata": false }, { - "$id": "5718", + "$id": "6027", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the output item.", "type": { - "$id": "5719", + "$id": "6028", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75114,13 +79947,13 @@ "isHttpMetadata": false }, { - "$id": "5720", + "$id": "6029", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The partial update to the reasoning summary content.", "type": { - "$id": "5721", + "$id": "6030", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -75142,7 +79975,7 @@ ] }, "response.reasoning_summary.done": { - "$id": "5722", + "$id": "6031", "kind": "model", "name": "ResponseReasoningSummaryDoneEvent", "namespace": "OpenAI", @@ -75162,25 +79995,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5723", + "$id": "6032", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning_summary.done'.", "type": { - "$id": "5724", + "$id": "6033", "kind": "enumvalue", "name": "response_reasoning_summary_done", "value": "response.reasoning_summary.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -75198,13 +80031,13 @@ "isHttpMetadata": false }, { - "$id": "5725", + "$id": "6034", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the item for which the reasoning summary is finalized.", "type": { - "$id": "5726", + "$id": "6035", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75224,13 +80057,13 @@ "isHttpMetadata": false }, { - "$id": "5727", + "$id": "6036", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5728", + "$id": "6037", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75250,13 +80083,13 @@ "isHttpMetadata": false }, { - "$id": "5729", + "$id": "6038", "kind": "property", "name": "summary_index", "serializedName": "summary_index", "doc": "The index of the summary part within the output item.", "type": { - "$id": "5730", + "$id": "6039", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75276,13 +80109,13 @@ "isHttpMetadata": false }, { - "$id": "5731", + "$id": "6040", "kind": "property", "name": "text", "serializedName": "text", "doc": "The finalized reasoning summary text.", "type": { - "$id": "5732", + "$id": "6041", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75304,7 +80137,7 @@ ] }, "response.code_interpreter_call_code.delta": { - "$id": "5733", + "$id": "6042", "kind": "model", "name": "ResponseCodeInterpreterCallCodeDeltaEvent", "namespace": "OpenAI", @@ -75324,25 +80157,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5734", + "$id": "6043", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call_code.delta`.", "type": { - "$id": "5735", + "$id": "6044", "kind": "enumvalue", "name": "response_code_interpreter_call_code_delta", "value": "response.code_interpreter_call_code.delta", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -75360,13 +80193,13 @@ "isHttpMetadata": false }, { - "$id": "5736", + "$id": "6045", "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": "5737", + "$id": "6046", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75386,13 +80219,13 @@ "isHttpMetadata": false }, { - "$id": "5738", + "$id": "6047", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5739", + "$id": "6048", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75412,13 +80245,13 @@ "isHttpMetadata": false }, { - "$id": "5740", + "$id": "6049", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The partial code snippet added by the code interpreter.", "type": { - "$id": "5741", + "$id": "6050", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75440,7 +80273,7 @@ ] }, "response.code_interpreter_call_code.done": { - "$id": "5742", + "$id": "6051", "kind": "model", "name": "ResponseCodeInterpreterCallCodeDoneEvent", "namespace": "OpenAI", @@ -75460,25 +80293,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5743", + "$id": "6052", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call_code.done`.", "type": { - "$id": "5744", + "$id": "6053", "kind": "enumvalue", "name": "response_code_interpreter_call_code_done", "value": "response.code_interpreter_call_code.done", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -75496,13 +80329,13 @@ "isHttpMetadata": false }, { - "$id": "5745", + "$id": "6054", "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": "5746", + "$id": "6055", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75522,13 +80355,13 @@ "isHttpMetadata": false }, { - "$id": "5747", + "$id": "6056", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5748", + "$id": "6057", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75548,13 +80381,13 @@ "isHttpMetadata": false }, { - "$id": "5749", + "$id": "6058", "kind": "property", "name": "code", "serializedName": "code", "doc": "The final code snippet output by the code interpreter.", "type": { - "$id": "5750", + "$id": "6059", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75576,7 +80409,7 @@ ] }, "response.code_interpreter_call.completed": { - "$id": "5751", + "$id": "6060", "kind": "model", "name": "ResponseCodeInterpreterCallCompletedEvent", "namespace": "OpenAI", @@ -75596,25 +80429,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5752", + "$id": "6061", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.completed`.", "type": { - "$id": "5753", + "$id": "6062", "kind": "enumvalue", "name": "response_code_interpreter_call_completed", "value": "response.code_interpreter_call.completed", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -75632,13 +80465,13 @@ "isHttpMetadata": false }, { - "$id": "5754", + "$id": "6063", "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": "5755", + "$id": "6064", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75658,13 +80491,13 @@ "isHttpMetadata": false }, { - "$id": "5756", + "$id": "6065", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5757", + "$id": "6066", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75686,7 +80519,7 @@ ] }, "response.code_interpreter_call.in_progress": { - "$id": "5758", + "$id": "6067", "kind": "model", "name": "ResponseCodeInterpreterCallInProgressEvent", "namespace": "OpenAI", @@ -75706,25 +80539,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5759", + "$id": "6068", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.in_progress`.", "type": { - "$id": "5760", + "$id": "6069", "kind": "enumvalue", "name": "response_code_interpreter_call_in_progress", "value": "response.code_interpreter_call.in_progress", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -75742,13 +80575,13 @@ "isHttpMetadata": false }, { - "$id": "5761", + "$id": "6070", "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": "5762", + "$id": "6071", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75768,13 +80601,13 @@ "isHttpMetadata": false }, { - "$id": "5763", + "$id": "6072", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5764", + "$id": "6073", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75796,7 +80629,7 @@ ] }, "response.code_interpreter_call.interpreting": { - "$id": "5765", + "$id": "6074", "kind": "model", "name": "ResponseCodeInterpreterCallInterpretingEvent", "namespace": "OpenAI", @@ -75816,25 +80649,25 @@ } }, "baseModel": { - "$ref": "5288" + "$ref": "5577" }, "properties": [ { - "$id": "5766", + "$id": "6075", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.interpreting`.", "type": { - "$id": "5767", + "$id": "6076", "kind": "enumvalue", "name": "response_code_interpreter_call_interpreting", "value": "response.code_interpreter_call.interpreting", "valueType": { - "$ref": "634" + "$ref": "696" }, "enumType": { - "$ref": "5295" + "$ref": "5584" }, "decorators": [] }, @@ -75852,13 +80685,13 @@ "isHttpMetadata": false }, { - "$id": "5768", + "$id": "6077", "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": "5769", + "$id": "6078", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75878,13 +80711,13 @@ "isHttpMetadata": false }, { - "$id": "5770", + "$id": "6079", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The unique identifier of the code interpreter tool call item.", "type": { - "$id": "5771", + "$id": "6080", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75908,160 +80741,166 @@ } }, { - "$ref": "5292" + "$ref": "5581" }, { - "$ref": "5353" + "$ref": "5644" }, { - "$ref": "5363" + "$ref": "5654" }, { - "$ref": "5373" + "$ref": "5664" }, { - "$ref": "5377" + "$ref": "5668" }, { - "$ref": "5388" + "$ref": "5679" }, { - "$ref": "5395" + "$ref": "5686" }, { - "$ref": "5402" + "$ref": "5693" }, { - "$ref": "5409" + "$ref": "5700" }, { - "$ref": "5418" + "$ref": "5709" }, { - "$ref": "5427" + "$ref": "5718" }, { - "$ref": "5431" + "$ref": "5722" }, { - "$ref": "5435" + "$ref": "5726" }, { - "$ref": "5439" + "$ref": "5730" }, { - "$ref": "5445" + "$ref": "5736" }, { - "$ref": "5451" + "$ref": "5742" }, { - "$ref": "5462" + "$ref": "5753" }, { - "$ref": "5473" + "$ref": "5764" }, { - "$ref": "5484" + "$ref": "5775" }, { - "$ref": "5495" + "$ref": "5786" }, { - "$ref": "5505" + "$ref": "5796" }, { - "$ref": "5515" + "$ref": "5806" }, { - "$ref": "5526" + "$ref": "5817" }, { - "$ref": "5537" + "$ref": "5828" }, { - "$ref": "5548" + "$ref": "5839" }, { - "$ref": "5559" + "$ref": "5850" }, { - "$ref": "5566" + "$ref": "5857" }, { - "$ref": "5573" + "$ref": "5864" }, { - "$ref": "5580" + "$ref": "5871" }, { - "$ref": "5587" + "$ref": "5878" }, { - "$ref": "5594" + "$ref": "5885" }, { - "$ref": "5601" + "$ref": "5892" }, { - "$ref": "5612" + "$ref": "5903" }, { - "$ref": "5621" + "$ref": "5912" }, { - "$ref": "5630" + "$ref": "5921" }, { - "$ref": "5637" + "$ref": "5928" }, { - "$ref": "5644" + "$ref": "5935" }, { - "$ref": "5651" + "$ref": "5942" }, { - "$ref": "5658" + "$ref": "5949" }, { - "$ref": "5665" + "$ref": "5956" }, { - "$ref": "5672" + "$ref": "5963" }, { - "$ref": "5685" + "$ref": "5972" }, { - "$ref": "5689" + "$ref": "5981" }, { - "$ref": "5700" + "$ref": "5994" }, { - "$ref": "5711" + "$ref": "5998" }, { - "$ref": "5722" + "$ref": "6009" }, { - "$ref": "5733" + "$ref": "6020" }, { - "$ref": "5742" + "$ref": "6031" + }, + { + "$ref": "6042" + }, + { + "$ref": "6051" }, { - "$ref": "5751" + "$ref": "6060" }, { - "$ref": "5758" + "$ref": "6067" }, { - "$ref": "5765" + "$ref": "6074" }, { - "$id": "5772", + "$id": "6081", "kind": "model", "name": "ResponseErrorResponse", "namespace": "OpenAI", @@ -76080,12 +80919,12 @@ }, "properties": [ { - "$id": "5773", + "$id": "6082", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$ref": "5132" + "$ref": "5381" }, "optional": false, "readOnly": false, @@ -76103,7 +80942,7 @@ ] }, { - "$id": "5774", + "$id": "6083", "kind": "model", "name": "DeleteResponseResponse", "namespace": "OpenAI", @@ -76122,12 +80961,12 @@ }, "properties": [ { - "$id": "5775", + "$id": "6084", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5776", + "$id": "6085", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76147,12 +80986,12 @@ "isHttpMetadata": false }, { - "$id": "5777", + "$id": "6086", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1819" + "$ref": "1887" }, "optional": false, "readOnly": false, @@ -76168,12 +81007,12 @@ "isHttpMetadata": false }, { - "$id": "5778", + "$id": "6087", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "5779", + "$id": "6088", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -76195,7 +81034,7 @@ ] }, { - "$id": "5780", + "$id": "6089", "kind": "model", "name": "ResponseItemList", "namespace": "OpenAI", @@ -76215,13 +81054,13 @@ }, "properties": [ { - "$id": "5781", + "$id": "6090", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of object returned, must be `list`.", "type": { - "$ref": "1821" + "$ref": "1889" }, "optional": false, "readOnly": false, @@ -76237,13 +81076,13 @@ "isHttpMetadata": false }, { - "$id": "5782", + "$id": "6091", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of items used to generate this response.", "type": { - "$ref": "5141" + "$ref": "5390" }, "optional": false, "readOnly": false, @@ -76259,13 +81098,13 @@ "isHttpMetadata": false }, { - "$id": "5783", + "$id": "6092", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "5784", + "$id": "6093", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -76285,13 +81124,13 @@ "isHttpMetadata": false }, { - "$id": "5785", + "$id": "6094", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first item in the list.", "type": { - "$id": "5786", + "$id": "6095", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76311,13 +81150,13 @@ "isHttpMetadata": false }, { - "$id": "5787", + "$id": "6096", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last item in the list.", "type": { - "$id": "5788", + "$id": "6097", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76339,7 +81178,7 @@ ] }, { - "$id": "5789", + "$id": "6098", "kind": "model", "name": "CreateMessageRequest", "namespace": "OpenAI", @@ -76353,13 +81192,13 @@ }, "properties": [ { - "$id": "5790", + "$id": "6099", "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": "690" + "$ref": "754" }, "optional": false, "readOnly": false, @@ -76375,16 +81214,16 @@ "isHttpMetadata": false }, { - "$id": "5791", + "$id": "6100", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "5792", + "$id": "6101", "kind": "array", "name": "ArrayMessageContent", "valueType": { - "$id": "5793", + "$id": "6102", "kind": "model", "name": "MessageContent", "namespace": "OpenAI", @@ -76399,12 +81238,12 @@ } }, "discriminatorProperty": { - "$id": "5794", + "$id": "6103", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "694" + "$ref": "758" }, "optional": false, "readOnly": false, @@ -76421,12 +81260,12 @@ }, "properties": [ { - "$ref": "5794" + "$ref": "6103" } ], "discriminatedSubtypes": { "image_file": { - "$id": "5795", + "$id": "6104", "kind": "model", "name": "MessageContentImageFileObject", "namespace": "OpenAI", @@ -76442,32 +81281,32 @@ } }, "baseModel": { - "$ref": "5793" + "$ref": "6102" }, "properties": [ { - "$id": "5796", + "$id": "6105", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `image_file`.", "type": { - "$id": "5797", + "$id": "6106", "kind": "enumvalue", "name": "image_file", "value": "image_file", "valueType": { - "$ref": "695" + "$ref": "759" }, "enumType": { - "$id": "5798", + "$id": "6107", "kind": "enum", "decorators": [], "name": "MessageContentType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "5799", + "$id": "6108", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -76476,59 +81315,59 @@ }, "values": [ { - "$id": "5800", + "$id": "6109", "kind": "enumvalue", "decorators": [], "doc": "The content is a text message.", "name": "text", "value": "text", "valueType": { - "$ref": "5799" + "$ref": "6108" }, "enumType": { - "$ref": "5798" + "$ref": "6107" } }, { - "$id": "5801", + "$id": "6110", "kind": "enumvalue", "decorators": [], "doc": "The content is an image file.", "name": "image_file", "value": "image_file", "valueType": { - "$ref": "5799" + "$ref": "6108" }, "enumType": { - "$ref": "5798" + "$ref": "6107" } }, { - "$id": "5802", + "$id": "6111", "kind": "enumvalue", "decorators": [], "doc": "The content is an image URL.", "name": "image_url", "value": "image_url", "valueType": { - "$ref": "5799" + "$ref": "6108" }, "enumType": { - "$ref": "5798" + "$ref": "6107" } }, { - "$id": "5803", + "$id": "6112", "kind": "enumvalue", "decorators": [], "doc": "The content is a refusal message.", "name": "refusal", "value": "refusal", "valueType": { - "$ref": "5799" + "$ref": "6108" }, "enumType": { - "$ref": "5798" + "$ref": "6107" } } ], @@ -76558,12 +81397,12 @@ "isHttpMetadata": false }, { - "$id": "5804", + "$id": "6113", "kind": "property", "name": "image_file", "serializedName": "image_file", "type": { - "$id": "5805", + "$id": "6114", "kind": "model", "name": "MessageContentImageFileObjectImageFile", "namespace": "OpenAI", @@ -76577,13 +81416,13 @@ }, "properties": [ { - "$id": "5806", + "$id": "6115", "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": "5807", + "$id": "6116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76603,13 +81442,13 @@ "isHttpMetadata": false }, { - "$id": "5808", + "$id": "6117", "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": "700" + "$ref": "764" }, "optional": true, "readOnly": false, @@ -76642,7 +81481,7 @@ ] }, "text": { - "$id": "5809", + "$id": "6118", "kind": "model", "name": "MessageContentTextObject", "namespace": "OpenAI", @@ -76658,25 +81497,25 @@ } }, "baseModel": { - "$ref": "5793" + "$ref": "6102" }, "properties": [ { - "$id": "5810", + "$id": "6119", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `text`.", "type": { - "$id": "5811", + "$id": "6120", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "695" + "$ref": "759" }, "enumType": { - "$ref": "5798" + "$ref": "6107" }, "doc": "The content is a text message.", "decorators": [] @@ -76695,24 +81534,24 @@ "isHttpMetadata": false }, { - "$id": "5812", + "$id": "6121", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "5813", + "$id": "6122", "kind": "union", "name": "MessageContentTextObjectText", "variantTypes": [ { - "$id": "5814", + "$id": "6123", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "5815", + "$id": "6124", "kind": "model", "name": "MessageContentTextObjectText1", "namespace": "OpenAI", @@ -76726,12 +81565,12 @@ }, "properties": [ { - "$id": "5816", + "$id": "6125", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "5817", + "$id": "6126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76751,16 +81590,16 @@ "isHttpMetadata": false }, { - "$id": "5818", + "$id": "6127", "kind": "property", "name": "annotations", "serializedName": "annotations", "type": { - "$id": "5819", + "$id": "6128", "kind": "array", "name": "ArrayMessageContentTextObjectAnnotation", "valueType": { - "$id": "5820", + "$id": "6129", "kind": "model", "name": "MessageContentTextObjectAnnotation", "namespace": "OpenAI", @@ -76774,13 +81613,13 @@ } }, "discriminatorProperty": { - "$id": "5821", + "$id": "6130", "kind": "property", "name": "type", "serializedName": "type", "doc": "The discriminated type identifier for the content item.", "type": { - "$ref": "705" + "$ref": "769" }, "optional": false, "readOnly": false, @@ -76797,12 +81636,12 @@ }, "properties": [ { - "$ref": "5821" + "$ref": "6130" } ], "discriminatedSubtypes": { "file_citation": { - "$id": "5822", + "$id": "6131", "kind": "model", "name": "MessageContentTextAnnotationsFileCitationObject", "namespace": "OpenAI", @@ -76818,32 +81657,32 @@ } }, "baseModel": { - "$ref": "5820" + "$ref": "6129" }, "properties": [ { - "$id": "5823", + "$id": "6132", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `file_citation`.", "type": { - "$id": "5824", + "$id": "6133", "kind": "enumvalue", "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "706" + "$ref": "770" }, "enumType": { - "$id": "5825", + "$id": "6134", "kind": "enum", "decorators": [], "name": "MessageContentTextAnnotationType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "5826", + "$id": "6135", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -76852,29 +81691,29 @@ }, "values": [ { - "$id": "5827", + "$id": "6136", "kind": "enumvalue", "decorators": [], "name": "file_citation", "value": "file_citation", "valueType": { - "$ref": "5826" + "$ref": "6135" }, "enumType": { - "$ref": "5825" + "$ref": "6134" } }, { - "$id": "5828", + "$id": "6137", "kind": "enumvalue", "decorators": [], "name": "file_path", "value": "file_path", "valueType": { - "$ref": "5826" + "$ref": "6135" }, "enumType": { - "$ref": "5825" + "$ref": "6134" } } ], @@ -76903,13 +81742,13 @@ "isHttpMetadata": false }, { - "$id": "5829", + "$id": "6138", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "5830", + "$id": "6139", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76929,12 +81768,12 @@ "isHttpMetadata": false }, { - "$id": "5831", + "$id": "6140", "kind": "property", "name": "file_citation", "serializedName": "file_citation", "type": { - "$id": "5832", + "$id": "6141", "kind": "model", "name": "MessageContentTextAnnotationsFileCitationObjectFileCitation", "namespace": "OpenAI", @@ -76948,13 +81787,13 @@ }, "properties": [ { - "$id": "5833", + "$id": "6142", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the specific File the citation is from.", "type": { - "$id": "5834", + "$id": "6143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76989,12 +81828,12 @@ "isHttpMetadata": false }, { - "$id": "5835", + "$id": "6144", "kind": "property", "name": "start_index", "serializedName": "start_index", "type": { - "$id": "5836", + "$id": "6145", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77014,12 +81853,12 @@ "isHttpMetadata": false }, { - "$id": "5837", + "$id": "6146", "kind": "property", "name": "end_index", "serializedName": "end_index", "type": { - "$id": "5838", + "$id": "6147", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77041,7 +81880,7 @@ ] }, "file_path": { - "$id": "5839", + "$id": "6148", "kind": "model", "name": "MessageContentTextAnnotationsFilePathObject", "namespace": "OpenAI", @@ -77057,25 +81896,25 @@ } }, "baseModel": { - "$ref": "5820" + "$ref": "6129" }, "properties": [ { - "$id": "5840", + "$id": "6149", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `file_path`.", "type": { - "$id": "5841", + "$id": "6150", "kind": "enumvalue", "name": "file_path", "value": "file_path", "valueType": { - "$ref": "706" + "$ref": "770" }, "enumType": { - "$ref": "5825" + "$ref": "6134" }, "decorators": [] }, @@ -77093,13 +81932,13 @@ "isHttpMetadata": false }, { - "$id": "5842", + "$id": "6151", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "5843", + "$id": "6152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77119,12 +81958,12 @@ "isHttpMetadata": false }, { - "$id": "5844", + "$id": "6153", "kind": "property", "name": "file_path", "serializedName": "file_path", "type": { - "$id": "5845", + "$id": "6154", "kind": "model", "name": "MessageContentTextAnnotationsFilePathObjectFilePath", "namespace": "OpenAI", @@ -77138,13 +81977,13 @@ }, "properties": [ { - "$id": "5846", + "$id": "6155", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file that was generated.", "type": { - "$id": "5847", + "$id": "6156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77179,12 +82018,12 @@ "isHttpMetadata": false }, { - "$id": "5848", + "$id": "6157", "kind": "property", "name": "start_index", "serializedName": "start_index", "type": { - "$id": "5849", + "$id": "6158", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77204,12 +82043,12 @@ "isHttpMetadata": false }, { - "$id": "5850", + "$id": "6159", "kind": "property", "name": "end_index", "serializedName": "end_index", "type": { - "$id": "5851", + "$id": "6160", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77270,7 +82109,7 @@ ] }, "refusal": { - "$id": "5852", + "$id": "6161", "kind": "model", "name": "MessageContentRefusalObject", "namespace": "OpenAI", @@ -77286,25 +82125,25 @@ } }, "baseModel": { - "$ref": "5793" + "$ref": "6102" }, "properties": [ { - "$id": "5853", + "$id": "6162", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `refusal`.", "type": { - "$id": "5854", + "$id": "6163", "kind": "enumvalue", "name": "refusal", "value": "refusal", "valueType": { - "$ref": "695" + "$ref": "759" }, "enumType": { - "$ref": "5798" + "$ref": "6107" }, "doc": "The content is a refusal message.", "decorators": [] @@ -77323,12 +82162,12 @@ "isHttpMetadata": false }, { - "$id": "5855", + "$id": "6164", "kind": "property", "name": "refusal", "serializedName": "refusal", "type": { - "$id": "5856", + "$id": "6165", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77350,7 +82189,7 @@ ] }, "image_url": { - "$id": "5857", + "$id": "6166", "kind": "model", "name": "MessageContentImageUrlObject", "namespace": "OpenAI", @@ -77366,25 +82205,25 @@ } }, "baseModel": { - "$ref": "5793" + "$ref": "6102" }, "properties": [ { - "$id": "5858", + "$id": "6167", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content part.", "type": { - "$id": "5859", + "$id": "6168", "kind": "enumvalue", "name": "image_url", "value": "image_url", "valueType": { - "$ref": "695" + "$ref": "759" }, "enumType": { - "$ref": "5798" + "$ref": "6107" }, "doc": "The content is an image URL.", "decorators": [] @@ -77403,12 +82242,12 @@ "isHttpMetadata": false }, { - "$id": "5860", + "$id": "6169", "kind": "property", "name": "image_url", "serializedName": "image_url", "type": { - "$id": "5861", + "$id": "6170", "kind": "model", "name": "MessageContentImageUrlObjectImageUrl", "namespace": "OpenAI", @@ -77422,13 +82261,13 @@ }, "properties": [ { - "$id": "5862", + "$id": "6171", "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": "5863", + "$id": "6172", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -77448,13 +82287,13 @@ "isHttpMetadata": false }, { - "$id": "5864", + "$id": "6173", "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": "709" + "$ref": "773" }, "optional": true, "readOnly": false, @@ -77505,20 +82344,20 @@ "isHttpMetadata": false }, { - "$id": "5865", + "$id": "6174", "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": "5866", + "$id": "6175", "kind": "nullable", "type": { - "$id": "5867", + "$id": "6176", "kind": "array", "name": "Array20", "valueType": { - "$id": "5868", + "$id": "6177", "kind": "model", "name": "CreateMessageRequestAttachment", "namespace": "OpenAI", @@ -77532,13 +82371,13 @@ }, "properties": [ { - "$id": "5869", + "$id": "6178", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to attach to the message.", "type": { - "$id": "5870", + "$id": "6179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77558,25 +82397,25 @@ "isHttpMetadata": false }, { - "$id": "5871", + "$id": "6180", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools to add this file to.", "type": { - "$id": "5872", + "$id": "6181", "kind": "array", "name": "Array21", "valueType": { - "$id": "5873", + "$id": "6182", "kind": "union", "name": "CreateMessageRequestAttachmentTool", "variantTypes": [ { - "$ref": "2533" + "$ref": "2601" }, { - "$id": "5874", + "$id": "6183", "kind": "model", "name": "AssistantToolsFileSearchTypeOnly", "namespace": "OpenAI", @@ -77590,13 +82429,13 @@ }, "properties": [ { - "$id": "5875", + "$id": "6184", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of tool being defined: `file_search`", "type": { - "$ref": "1823" + "$ref": "1891" }, "optional": false, "readOnly": false, @@ -77654,13 +82493,13 @@ "isHttpMetadata": false }, { - "$id": "5876", + "$id": "6185", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -77678,52 +82517,52 @@ ] }, { - "$ref": "5793" + "$ref": "6102" }, { - "$ref": "5795" + "$ref": "6104" }, { - "$ref": "5805" + "$ref": "6114" }, { - "$ref": "5809" + "$ref": "6118" }, { - "$ref": "5815" + "$ref": "6124" }, { - "$ref": "5820" + "$ref": "6129" }, { - "$ref": "5822" + "$ref": "6131" }, { - "$ref": "5832" + "$ref": "6141" }, { - "$ref": "5839" + "$ref": "6148" }, { - "$ref": "5845" + "$ref": "6154" }, { - "$ref": "5852" + "$ref": "6161" }, { - "$ref": "5857" + "$ref": "6166" }, { - "$ref": "5861" + "$ref": "6170" }, { - "$ref": "5868" + "$ref": "6177" }, { - "$ref": "5874" + "$ref": "6183" }, { - "$id": "5877", + "$id": "6186", "kind": "model", "name": "MessageObject", "namespace": "OpenAI", @@ -77738,13 +82577,13 @@ }, "properties": [ { - "$id": "5878", + "$id": "6187", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "5879", + "$id": "6188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77764,13 +82603,13 @@ "isHttpMetadata": false }, { - "$id": "5880", + "$id": "6189", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `thread.message`.", "type": { - "$ref": "1825" + "$ref": "1893" }, "optional": false, "readOnly": false, @@ -77786,18 +82625,18 @@ "isHttpMetadata": false }, { - "$id": "5881", + "$id": "6190", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the message was created.", "type": { - "$id": "5882", + "$id": "6191", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5883", + "$id": "6192", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77820,13 +82659,13 @@ "isHttpMetadata": false }, { - "$id": "5884", + "$id": "6193", "kind": "property", "name": "thread_id", "serializedName": "thread_id", "doc": "The [thread](/docs/api-reference/threads) ID that this message belongs to.", "type": { - "$id": "5885", + "$id": "6194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77846,13 +82685,13 @@ "isHttpMetadata": false }, { - "$id": "5886", + "$id": "6195", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the message, which can be either `in_progress`, `incomplete`, or `completed`.", "type": { - "$ref": "714" + "$ref": "778" }, "optional": false, "readOnly": false, @@ -77868,16 +82707,16 @@ "isHttpMetadata": false }, { - "$id": "5887", + "$id": "6196", "kind": "property", "name": "incomplete_details", "serializedName": "incomplete_details", "doc": "On an incomplete message, details about why the message is incomplete.", "type": { - "$id": "5888", + "$id": "6197", "kind": "nullable", "type": { - "$id": "5889", + "$id": "6198", "kind": "model", "name": "MessageObjectIncompleteDetails1", "namespace": "OpenAI", @@ -77891,13 +82730,13 @@ }, "properties": [ { - "$id": "5890", + "$id": "6199", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason the message is incomplete.", "type": { - "$ref": "719" + "$ref": "783" }, "optional": false, "readOnly": false, @@ -77930,21 +82769,21 @@ "isHttpMetadata": false }, { - "$id": "5891", + "$id": "6200", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the message was completed.", "type": { - "$id": "5892", + "$id": "6201", "kind": "nullable", "type": { - "$id": "5893", + "$id": "6202", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5894", + "$id": "6203", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77969,21 +82808,21 @@ "isHttpMetadata": false }, { - "$id": "5895", + "$id": "6204", "kind": "property", "name": "incomplete_at", "serializedName": "incomplete_at", "doc": "The Unix timestamp (in seconds) for when the message was marked as incomplete.", "type": { - "$id": "5896", + "$id": "6205", "kind": "nullable", "type": { - "$id": "5897", + "$id": "6206", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5898", + "$id": "6207", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -78008,13 +82847,13 @@ "isHttpMetadata": false }, { - "$id": "5899", + "$id": "6208", "kind": "property", "name": "role", "serializedName": "role", "doc": "The entity that produced the message. One of `user` or `assistant`.", "type": { - "$ref": "726" + "$ref": "790" }, "optional": false, "readOnly": false, @@ -78030,13 +82869,13 @@ "isHttpMetadata": false }, { - "$id": "5900", + "$id": "6209", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message in array of text and/or images.", "type": { - "$ref": "5792" + "$ref": "6101" }, "optional": false, "readOnly": true, @@ -78052,16 +82891,16 @@ "isHttpMetadata": false }, { - "$id": "5901", + "$id": "6210", "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": "5902", + "$id": "6211", "kind": "nullable", "type": { - "$id": "5903", + "$id": "6212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78083,16 +82922,16 @@ "isHttpMetadata": false }, { - "$id": "5904", + "$id": "6213", "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": "5905", + "$id": "6214", "kind": "nullable", "type": { - "$id": "5906", + "$id": "6215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78114,20 +82953,20 @@ "isHttpMetadata": false }, { - "$id": "5907", + "$id": "6216", "kind": "property", "name": "attachments", "serializedName": "attachments", "doc": "A list of files attached to the message, and the tools they were added to.", "type": { - "$id": "5908", + "$id": "6217", "kind": "nullable", "type": { - "$id": "5909", + "$id": "6218", "kind": "array", "name": "Array22", "valueType": { - "$id": "5910", + "$id": "6219", "kind": "model", "name": "MessageObjectAttachment", "namespace": "OpenAI", @@ -78141,13 +82980,13 @@ }, "properties": [ { - "$id": "5911", + "$id": "6220", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to attach to the message.", "type": { - "$id": "5912", + "$id": "6221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78167,25 +83006,25 @@ "isHttpMetadata": false }, { - "$id": "5913", + "$id": "6222", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools to add this file to.", "type": { - "$id": "5914", + "$id": "6223", "kind": "array", "name": "Array23", "valueType": { - "$id": "5915", + "$id": "6224", "kind": "union", "name": "MessageObjectAttachmentTool", "variantTypes": [ { - "$ref": "2533" + "$ref": "2601" }, { - "$ref": "5874" + "$ref": "6183" } ], "namespace": "OpenAI", @@ -78228,13 +83067,13 @@ "isHttpMetadata": false }, { - "$id": "5916", + "$id": "6225", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": true, @@ -78252,13 +83091,13 @@ ] }, { - "$ref": "5889" + "$ref": "6198" }, { - "$ref": "5910" + "$ref": "6219" }, { - "$id": "5917", + "$id": "6226", "kind": "model", "name": "ListMessagesResponse", "namespace": "OpenAI", @@ -78272,12 +83111,12 @@ }, "properties": [ { - "$id": "5918", + "$id": "6227", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1827" + "$ref": "1895" }, "optional": false, "readOnly": false, @@ -78293,16 +83132,16 @@ "isHttpMetadata": false }, { - "$id": "5919", + "$id": "6228", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "5920", + "$id": "6229", "kind": "array", "name": "ArrayMessageObject", "valueType": { - "$ref": "5877" + "$ref": "6186" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -78321,12 +83160,12 @@ "isHttpMetadata": false }, { - "$id": "5921", + "$id": "6230", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "5922", + "$id": "6231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78346,12 +83185,12 @@ "isHttpMetadata": false }, { - "$id": "5923", + "$id": "6232", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "5924", + "$id": "6233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78371,12 +83210,12 @@ "isHttpMetadata": false }, { - "$id": "5925", + "$id": "6234", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "5926", + "$id": "6235", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -78398,7 +83237,7 @@ ] }, { - "$id": "5927", + "$id": "6236", "kind": "model", "name": "ModifyMessageRequest", "namespace": "OpenAI", @@ -78412,13 +83251,13 @@ }, "properties": [ { - "$id": "5928", + "$id": "6237", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -78436,7 +83275,7 @@ ] }, { - "$id": "5929", + "$id": "6238", "kind": "model", "name": "DeleteMessageResponse", "namespace": "OpenAI", @@ -78450,12 +83289,12 @@ }, "properties": [ { - "$id": "5930", + "$id": "6239", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5931", + "$id": "6240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78475,12 +83314,12 @@ "isHttpMetadata": false }, { - "$id": "5932", + "$id": "6241", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "5933", + "$id": "6242", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -78500,12 +83339,12 @@ "isHttpMetadata": false }, { - "$id": "5934", + "$id": "6243", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1829" + "$ref": "1897" }, "optional": false, "readOnly": false, @@ -78523,7 +83362,7 @@ ] }, { - "$id": "5935", + "$id": "6244", "kind": "model", "name": "CreateThreadAndRunRequest", "namespace": "OpenAI", @@ -78537,13 +83376,13 @@ }, "properties": [ { - "$id": "5936", + "$id": "6245", "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": "5937", + "$id": "6246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78563,12 +83402,12 @@ "isHttpMetadata": false }, { - "$id": "5938", + "$id": "6247", "kind": "property", "name": "thread", "serializedName": "thread", "type": { - "$id": "5939", + "$id": "6248", "kind": "model", "name": "CreateThreadRequest", "namespace": "OpenAI", @@ -78583,17 +83422,17 @@ }, "properties": [ { - "$id": "5940", + "$id": "6249", "kind": "property", "name": "messages", "serializedName": "messages", "doc": "A list of [messages](/docs/api-reference/messages) to start the thread with.", "type": { - "$id": "5941", + "$id": "6250", "kind": "array", "name": "ArrayCreateMessageRequest", "valueType": { - "$ref": "5789" + "$ref": "6098" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -78612,16 +83451,16 @@ "isHttpMetadata": false }, { - "$id": "5942", + "$id": "6251", "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": "5943", + "$id": "6252", "kind": "nullable", "type": { - "$id": "5944", + "$id": "6253", "kind": "model", "name": "CreateThreadRequestToolResources1", "namespace": "OpenAI", @@ -78635,12 +83474,12 @@ }, "properties": [ { - "$id": "5945", + "$id": "6254", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "5946", + "$id": "6255", "kind": "model", "name": "CreateThreadRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -78654,13 +83493,13 @@ }, "properties": [ { - "$id": "5947", + "$id": "6256", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -78691,12 +83530,12 @@ "isHttpMetadata": false }, { - "$id": "5948", + "$id": "6257", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$ref": "2660" + "$ref": "2728" }, "optional": true, "readOnly": false, @@ -78729,13 +83568,13 @@ "isHttpMetadata": false }, { - "$id": "5949", + "$id": "6258", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -78766,16 +83605,16 @@ "isHttpMetadata": false }, { - "$id": "5950", + "$id": "6259", "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": "5951", + "$id": "6260", "kind": "nullable", "type": { - "$ref": "730" + "$ref": "794" }, "namespace": "OpenAI" }, @@ -78793,16 +83632,16 @@ "isHttpMetadata": false }, { - "$id": "5952", + "$id": "6261", "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": "5953", + "$id": "6262", "kind": "nullable", "type": { - "$id": "5954", + "$id": "6263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78824,16 +83663,16 @@ "isHttpMetadata": false }, { - "$id": "5955", + "$id": "6264", "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": "5956", + "$id": "6265", "kind": "nullable", "type": { - "$ref": "2530" + "$ref": "2598" }, "namespace": "OpenAI" }, @@ -78851,16 +83690,16 @@ "isHttpMetadata": false }, { - "$id": "5957", + "$id": "6266", "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": "5958", + "$id": "6267", "kind": "nullable", "type": { - "$id": "5959", + "$id": "6268", "kind": "model", "name": "CreateThreadAndRunRequestToolResources1", "namespace": "OpenAI", @@ -78874,12 +83713,12 @@ }, "properties": [ { - "$id": "5960", + "$id": "6269", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "5961", + "$id": "6270", "kind": "model", "name": "CreateThreadAndRunRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -78893,13 +83732,13 @@ }, "properties": [ { - "$id": "5962", + "$id": "6271", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -78930,12 +83769,12 @@ "isHttpMetadata": false }, { - "$id": "5963", + "$id": "6272", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$ref": "2576" + "$ref": "2644" }, "optional": true, "readOnly": false, @@ -78968,13 +83807,13 @@ "isHttpMetadata": false }, { - "$id": "5964", + "$id": "6273", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -78990,16 +83829,16 @@ "isHttpMetadata": false }, { - "$id": "5965", + "$id": "6274", "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": "5966", + "$id": "6275", "kind": "nullable", "type": { - "$id": "5967", + "$id": "6276", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -79021,16 +83860,16 @@ "isHttpMetadata": false }, { - "$id": "5968", + "$id": "6277", "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": "5969", + "$id": "6278", "kind": "nullable", "type": { - "$id": "5970", + "$id": "6279", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -79052,16 +83891,16 @@ "isHttpMetadata": false }, { - "$id": "5971", + "$id": "6280", "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": "5972", + "$id": "6281", "kind": "nullable", "type": { - "$id": "5973", + "$id": "6282", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79083,16 +83922,16 @@ "isHttpMetadata": false }, { - "$id": "5974", + "$id": "6283", "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": "5975", + "$id": "6284", "kind": "nullable", "type": { - "$id": "5976", + "$id": "6285", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -79114,16 +83953,16 @@ "isHttpMetadata": false }, { - "$id": "5977", + "$id": "6286", "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": "5978", + "$id": "6287", "kind": "nullable", "type": { - "$id": "5979", + "$id": "6288", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -79145,15 +83984,15 @@ "isHttpMetadata": false }, { - "$id": "5980", + "$id": "6289", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "5981", + "$id": "6290", "kind": "nullable", "type": { - "$id": "5982", + "$id": "6291", "kind": "model", "name": "TruncationObject", "namespace": "OpenAI", @@ -79168,13 +84007,13 @@ }, "properties": [ { - "$id": "5983", + "$id": "6292", "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": "764" + "$ref": "828" }, "optional": false, "readOnly": false, @@ -79190,16 +84029,16 @@ "isHttpMetadata": false }, { - "$id": "5984", + "$id": "6293", "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": "5985", + "$id": "6294", "kind": "nullable", "type": { - "$id": "5986", + "$id": "6295", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -79238,23 +84077,23 @@ "isHttpMetadata": false }, { - "$id": "5987", + "$id": "6296", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "5988", + "$id": "6297", "kind": "nullable", "type": { - "$id": "5989", + "$id": "6298", "kind": "union", "name": "AssistantsApiToolChoiceOption", "variantTypes": [ { - "$ref": "768" + "$ref": "832" }, { - "$id": "5990", + "$id": "6299", "kind": "model", "name": "AssistantsNamedToolChoice", "namespace": "OpenAI", @@ -79269,13 +84108,13 @@ }, "properties": [ { - "$id": "5991", + "$id": "6300", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the tool. If type is `function`, the function name must be set", "type": { - "$ref": "773" + "$ref": "837" }, "optional": false, "readOnly": false, @@ -79291,12 +84130,12 @@ "isHttpMetadata": false }, { - "$id": "5992", + "$id": "6301", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "5993", + "$id": "6302", "kind": "model", "name": "AssistantsNamedToolChoiceFunction", "namespace": "OpenAI", @@ -79310,13 +84149,13 @@ }, "properties": [ { - "$id": "5994", + "$id": "6303", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "5995", + "$id": "6304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79372,17 +84211,17 @@ "isHttpMetadata": false }, { - "$id": "5996", + "$id": "6305", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "5997", + "$id": "6306", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "5998", + "$id": "6307", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -79404,15 +84243,15 @@ "isHttpMetadata": false }, { - "$id": "5999", + "$id": "6308", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "6000", + "$id": "6309", "kind": "nullable", "type": { - "$ref": "2591" + "$ref": "2659" }, "namespace": "OpenAI" }, @@ -79432,31 +84271,31 @@ ] }, { - "$ref": "5939" + "$ref": "6248" }, { - "$ref": "5944" + "$ref": "6253" }, { - "$ref": "5946" + "$ref": "6255" }, { - "$ref": "5959" + "$ref": "6268" }, { - "$ref": "5961" + "$ref": "6270" }, { - "$ref": "5982" + "$ref": "6291" }, { - "$ref": "5990" + "$ref": "6299" }, { - "$ref": "5993" + "$ref": "6302" }, { - "$id": "6001", + "$id": "6310", "kind": "model", "name": "RunObject", "namespace": "OpenAI", @@ -79471,13 +84310,13 @@ }, "properties": [ { - "$id": "6002", + "$id": "6311", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6003", + "$id": "6312", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79497,13 +84336,13 @@ "isHttpMetadata": false }, { - "$id": "6004", + "$id": "6313", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `thread.run`.", "type": { - "$ref": "1831" + "$ref": "1899" }, "optional": false, "readOnly": false, @@ -79519,18 +84358,18 @@ "isHttpMetadata": false }, { - "$id": "6005", + "$id": "6314", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the run was created.", "type": { - "$id": "6006", + "$id": "6315", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6007", + "$id": "6316", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -79553,13 +84392,13 @@ "isHttpMetadata": false }, { - "$id": "6008", + "$id": "6317", "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": "6009", + "$id": "6318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79579,13 +84418,13 @@ "isHttpMetadata": false }, { - "$id": "6010", + "$id": "6319", "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": "6011", + "$id": "6320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79605,13 +84444,13 @@ "isHttpMetadata": false }, { - "$id": "6012", + "$id": "6321", "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": "778" + "$ref": "842" }, "optional": false, "readOnly": false, @@ -79627,16 +84466,16 @@ "isHttpMetadata": false }, { - "$id": "6013", + "$id": "6322", "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": "6014", + "$id": "6323", "kind": "nullable", "type": { - "$id": "6015", + "$id": "6324", "kind": "model", "name": "RunObjectRequiredAction1", "namespace": "OpenAI", @@ -79650,13 +84489,13 @@ }, "properties": [ { - "$id": "6016", + "$id": "6325", "kind": "property", "name": "type", "serializedName": "type", "doc": "For now, this is always `submit_tool_outputs`.", "type": { - "$ref": "1833" + "$ref": "1901" }, "optional": false, "readOnly": false, @@ -79672,13 +84511,13 @@ "isHttpMetadata": false }, { - "$id": "6017", + "$id": "6326", "kind": "property", "name": "submit_tool_outputs", "serializedName": "submit_tool_outputs", "doc": "Details on the tool outputs needed for this run to continue.", "type": { - "$id": "6018", + "$id": "6327", "kind": "model", "name": "RunObjectRequiredActionSubmitToolOutputs", "namespace": "OpenAI", @@ -79692,17 +84531,17 @@ }, "properties": [ { - "$id": "6019", + "$id": "6328", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "doc": "A list of the relevant tool calls.", "type": { - "$id": "6020", + "$id": "6329", "kind": "array", "name": "ArrayRunToolCallObject", "valueType": { - "$id": "6021", + "$id": "6330", "kind": "model", "name": "RunToolCallObject", "namespace": "OpenAI", @@ -79717,13 +84556,13 @@ }, "properties": [ { - "$id": "6022", + "$id": "6331", "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": "6023", + "$id": "6332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79743,13 +84582,13 @@ "isHttpMetadata": false }, { - "$id": "6024", + "$id": "6333", "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": "1835" + "$ref": "1903" }, "optional": false, "readOnly": false, @@ -79765,13 +84604,13 @@ "isHttpMetadata": false }, { - "$id": "6025", + "$id": "6334", "kind": "property", "name": "function", "serializedName": "function", "doc": "The function definition.", "type": { - "$id": "6026", + "$id": "6335", "kind": "model", "name": "RunToolCallObjectFunction", "namespace": "OpenAI", @@ -79785,13 +84624,13 @@ }, "properties": [ { - "$id": "6027", + "$id": "6336", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function.", "type": { - "$id": "6028", + "$id": "6337", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79811,13 +84650,13 @@ "isHttpMetadata": false }, { - "$id": "6029", + "$id": "6338", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The arguments that the model expects you to pass to the function.", "type": { - "$id": "6030", + "$id": "6339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79902,16 +84741,16 @@ "isHttpMetadata": false }, { - "$id": "6031", + "$id": "6340", "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": "6032", + "$id": "6341", "kind": "nullable", "type": { - "$id": "6033", + "$id": "6342", "kind": "model", "name": "RunObjectLastError1", "namespace": "OpenAI", @@ -79925,13 +84764,13 @@ }, "properties": [ { - "$id": "6034", + "$id": "6343", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of `server_error`, `rate_limit_exceeded`, or `invalid_prompt`.", "type": { - "$ref": "789" + "$ref": "853" }, "optional": false, "readOnly": false, @@ -79947,13 +84786,13 @@ "isHttpMetadata": false }, { - "$id": "6035", + "$id": "6344", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "6036", + "$id": "6345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79990,21 +84829,21 @@ "isHttpMetadata": false }, { - "$id": "6037", + "$id": "6346", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the run will expire.", "type": { - "$id": "6038", + "$id": "6347", "kind": "nullable", "type": { - "$id": "6039", + "$id": "6348", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6040", + "$id": "6349", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80029,21 +84868,21 @@ "isHttpMetadata": false }, { - "$id": "6041", + "$id": "6350", "kind": "property", "name": "started_at", "serializedName": "started_at", "doc": "The Unix timestamp (in seconds) for when the run was started.", "type": { - "$id": "6042", + "$id": "6351", "kind": "nullable", "type": { - "$id": "6043", + "$id": "6352", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6044", + "$id": "6353", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80068,21 +84907,21 @@ "isHttpMetadata": false }, { - "$id": "6045", + "$id": "6354", "kind": "property", "name": "cancelled_at", "serializedName": "cancelled_at", "doc": "The Unix timestamp (in seconds) for when the run was cancelled.", "type": { - "$id": "6046", + "$id": "6355", "kind": "nullable", "type": { - "$id": "6047", + "$id": "6356", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6048", + "$id": "6357", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80107,21 +84946,21 @@ "isHttpMetadata": false }, { - "$id": "6049", + "$id": "6358", "kind": "property", "name": "failed_at", "serializedName": "failed_at", "doc": "The Unix timestamp (in seconds) for when the run failed.", "type": { - "$id": "6050", + "$id": "6359", "kind": "nullable", "type": { - "$id": "6051", + "$id": "6360", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6052", + "$id": "6361", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80146,21 +84985,21 @@ "isHttpMetadata": false }, { - "$id": "6053", + "$id": "6362", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the run was completed.", "type": { - "$id": "6054", + "$id": "6363", "kind": "nullable", "type": { - "$id": "6055", + "$id": "6364", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6056", + "$id": "6365", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80185,16 +85024,16 @@ "isHttpMetadata": false }, { - "$id": "6057", + "$id": "6366", "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": "6058", + "$id": "6367", "kind": "nullable", "type": { - "$id": "6059", + "$id": "6368", "kind": "model", "name": "RunObjectIncompleteDetails1", "namespace": "OpenAI", @@ -80208,13 +85047,13 @@ }, "properties": [ { - "$id": "6060", + "$id": "6369", "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": "794" + "$ref": "858" }, "optional": true, "readOnly": false, @@ -80247,13 +85086,13 @@ "isHttpMetadata": false }, { - "$id": "6061", + "$id": "6370", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model that the [assistant](/docs/api-reference/assistants) used for this run.", "type": { - "$id": "6062", + "$id": "6371", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80273,13 +85112,13 @@ "isHttpMetadata": false }, { - "$id": "6063", + "$id": "6372", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The instructions that the [assistant](/docs/api-reference/assistants) used for this run.", "type": { - "$id": "6064", + "$id": "6373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80299,13 +85138,13 @@ "isHttpMetadata": false }, { - "$id": "6065", + "$id": "6374", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The list of tools that the [assistant](/docs/api-reference/assistants) used for this run.", "type": { - "$ref": "2530" + "$ref": "2598" }, "optional": false, "readOnly": true, @@ -80321,13 +85160,13 @@ "isHttpMetadata": false }, { - "$id": "6066", + "$id": "6375", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": true, @@ -80343,15 +85182,15 @@ "isHttpMetadata": false }, { - "$id": "6067", + "$id": "6376", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "6068", + "$id": "6377", "kind": "nullable", "type": { - "$id": "6069", + "$id": "6378", "kind": "model", "name": "RunCompletionUsage", "namespace": "OpenAI", @@ -80366,13 +85205,13 @@ }, "properties": [ { - "$id": "6070", + "$id": "6379", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "Number of completion tokens used over the course of the run.", "type": { - "$id": "6071", + "$id": "6380", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80392,13 +85231,13 @@ "isHttpMetadata": false }, { - "$id": "6072", + "$id": "6381", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "Number of prompt tokens used over the course of the run.", "type": { - "$id": "6073", + "$id": "6382", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80418,13 +85257,13 @@ "isHttpMetadata": false }, { - "$id": "6074", + "$id": "6383", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used (prompt + completion).", "type": { - "$id": "6075", + "$id": "6384", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80461,16 +85300,16 @@ "isHttpMetadata": false }, { - "$id": "6076", + "$id": "6385", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "The sampling temperature used for this run. If not set, defaults to 1.", "type": { - "$id": "6077", + "$id": "6386", "kind": "nullable", "type": { - "$id": "6078", + "$id": "6387", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80492,16 +85331,16 @@ "isHttpMetadata": false }, { - "$id": "6079", + "$id": "6388", "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": "6080", + "$id": "6389", "kind": "nullable", "type": { - "$id": "6081", + "$id": "6390", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80523,16 +85362,16 @@ "isHttpMetadata": false }, { - "$id": "6082", + "$id": "6391", "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": "6083", + "$id": "6392", "kind": "nullable", "type": { - "$id": "6084", + "$id": "6393", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80554,16 +85393,16 @@ "isHttpMetadata": false }, { - "$id": "6085", + "$id": "6394", "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": "6086", + "$id": "6395", "kind": "nullable", "type": { - "$id": "6087", + "$id": "6396", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80585,15 +85424,15 @@ "isHttpMetadata": false }, { - "$id": "6088", + "$id": "6397", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "6089", + "$id": "6398", "kind": "nullable", "type": { - "$ref": "5982" + "$ref": "6291" }, "namespace": "OpenAI" }, @@ -80611,15 +85450,15 @@ "isHttpMetadata": false }, { - "$id": "6090", + "$id": "6399", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "6091", + "$id": "6400", "kind": "nullable", "type": { - "$ref": "5989" + "$ref": "6298" }, "namespace": "OpenAI" }, @@ -80637,17 +85476,17 @@ "isHttpMetadata": false }, { - "$id": "6092", + "$id": "6401", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "6093", + "$id": "6402", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "6094", + "$id": "6403", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -80669,15 +85508,15 @@ "isHttpMetadata": false }, { - "$id": "6095", + "$id": "6404", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "6096", + "$id": "6405", "kind": "nullable", "type": { - "$ref": "2591" + "$ref": "2659" }, "namespace": "OpenAI" }, @@ -80697,28 +85536,28 @@ ] }, { - "$ref": "6015" + "$ref": "6324" }, { - "$ref": "6018" + "$ref": "6327" }, { - "$ref": "6021" + "$ref": "6330" }, { - "$ref": "6026" + "$ref": "6335" }, { - "$ref": "6033" + "$ref": "6342" }, { - "$ref": "6059" + "$ref": "6368" }, { - "$ref": "6069" + "$ref": "6378" }, { - "$id": "6097", + "$id": "6406", "kind": "model", "name": "CreateRunRequest", "namespace": "OpenAI", @@ -80732,13 +85571,13 @@ }, "properties": [ { - "$id": "6098", + "$id": "6407", "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": "6099", + "$id": "6408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80758,13 +85597,13 @@ "isHttpMetadata": false }, { - "$id": "6100", + "$id": "6409", "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": "6101", + "$id": "6410", "kind": "nullable", "type": { "$ref": "15" @@ -80785,12 +85624,12 @@ "isHttpMetadata": false }, { - "$id": "6102", + "$id": "6411", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "6103", + "$id": "6412", "kind": "nullable", "type": { "$ref": "53" @@ -80811,16 +85650,16 @@ "isHttpMetadata": false }, { - "$id": "6104", + "$id": "6413", "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": "6105", + "$id": "6414", "kind": "nullable", "type": { - "$id": "6106", + "$id": "6415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80842,16 +85681,16 @@ "isHttpMetadata": false }, { - "$id": "6107", + "$id": "6416", "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": "6108", + "$id": "6417", "kind": "nullable", "type": { - "$id": "6109", + "$id": "6418", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80873,16 +85712,16 @@ "isHttpMetadata": false }, { - "$id": "6110", + "$id": "6419", "kind": "property", "name": "additional_messages", "serializedName": "additional_messages", "doc": "Adds additional messages to the thread before creating the run.", "type": { - "$id": "6111", + "$id": "6420", "kind": "nullable", "type": { - "$ref": "5941" + "$ref": "6250" }, "namespace": "OpenAI" }, @@ -80900,16 +85739,16 @@ "isHttpMetadata": false }, { - "$id": "6112", + "$id": "6421", "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": "6113", + "$id": "6422", "kind": "nullable", "type": { - "$ref": "2530" + "$ref": "2598" }, "namespace": "OpenAI" }, @@ -80927,13 +85766,13 @@ "isHttpMetadata": false }, { - "$id": "6114", + "$id": "6423", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -80949,16 +85788,16 @@ "isHttpMetadata": false }, { - "$id": "6115", + "$id": "6424", "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": "6116", + "$id": "6425", "kind": "nullable", "type": { - "$id": "6117", + "$id": "6426", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80980,16 +85819,16 @@ "isHttpMetadata": false }, { - "$id": "6118", + "$id": "6427", "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": "6119", + "$id": "6428", "kind": "nullable", "type": { - "$id": "6120", + "$id": "6429", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -81011,16 +85850,16 @@ "isHttpMetadata": false }, { - "$id": "6121", + "$id": "6430", "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": "6122", + "$id": "6431", "kind": "nullable", "type": { - "$id": "6123", + "$id": "6432", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -81042,16 +85881,16 @@ "isHttpMetadata": false }, { - "$id": "6124", + "$id": "6433", "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": "6125", + "$id": "6434", "kind": "nullable", "type": { - "$id": "6126", + "$id": "6435", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81073,16 +85912,16 @@ "isHttpMetadata": false }, { - "$id": "6127", + "$id": "6436", "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": "6128", + "$id": "6437", "kind": "nullable", "type": { - "$id": "6129", + "$id": "6438", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81104,15 +85943,15 @@ "isHttpMetadata": false }, { - "$id": "6130", + "$id": "6439", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "6131", + "$id": "6440", "kind": "nullable", "type": { - "$ref": "5982" + "$ref": "6291" }, "namespace": "OpenAI" }, @@ -81130,15 +85969,15 @@ "isHttpMetadata": false }, { - "$id": "6132", + "$id": "6441", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "6133", + "$id": "6442", "kind": "nullable", "type": { - "$ref": "5989" + "$ref": "6298" }, "namespace": "OpenAI" }, @@ -81156,17 +85995,17 @@ "isHttpMetadata": false }, { - "$id": "6134", + "$id": "6443", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "6135", + "$id": "6444", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "6136", + "$id": "6445", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -81188,15 +86027,15 @@ "isHttpMetadata": false }, { - "$id": "6137", + "$id": "6446", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "6138", + "$id": "6447", "kind": "nullable", "type": { - "$ref": "2591" + "$ref": "2659" }, "namespace": "OpenAI" }, @@ -81216,7 +86055,7 @@ ] }, { - "$id": "6139", + "$id": "6448", "kind": "model", "name": "ListRunsResponse", "namespace": "OpenAI", @@ -81230,12 +86069,12 @@ }, "properties": [ { - "$id": "6140", + "$id": "6449", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1837" + "$ref": "1905" }, "optional": false, "readOnly": false, @@ -81251,16 +86090,16 @@ "isHttpMetadata": false }, { - "$id": "6141", + "$id": "6450", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6142", + "$id": "6451", "kind": "array", "name": "ArrayRunObject", "valueType": { - "$ref": "6001" + "$ref": "6310" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -81279,12 +86118,12 @@ "isHttpMetadata": false }, { - "$id": "6143", + "$id": "6452", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6144", + "$id": "6453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81304,12 +86143,12 @@ "isHttpMetadata": false }, { - "$id": "6145", + "$id": "6454", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6146", + "$id": "6455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81329,12 +86168,12 @@ "isHttpMetadata": false }, { - "$id": "6147", + "$id": "6456", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6148", + "$id": "6457", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -81356,7 +86195,7 @@ ] }, { - "$id": "6149", + "$id": "6458", "kind": "model", "name": "ModifyRunRequest", "namespace": "OpenAI", @@ -81370,13 +86209,13 @@ }, "properties": [ { - "$id": "6150", + "$id": "6459", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -81394,7 +86233,7 @@ ] }, { - "$id": "6151", + "$id": "6460", "kind": "model", "name": "SubmitToolOutputsRunRequest", "namespace": "OpenAI", @@ -81408,17 +86247,17 @@ }, "properties": [ { - "$id": "6152", + "$id": "6461", "kind": "property", "name": "tool_outputs", "serializedName": "tool_outputs", "doc": "A list of tools for which the outputs are being submitted.", "type": { - "$id": "6153", + "$id": "6462", "kind": "array", "name": "Array24", "valueType": { - "$id": "6154", + "$id": "6463", "kind": "model", "name": "SubmitToolOutputsRunRequestToolOutput", "namespace": "OpenAI", @@ -81432,13 +86271,13 @@ }, "properties": [ { - "$id": "6155", + "$id": "6464", "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": "6156", + "$id": "6465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81458,13 +86297,13 @@ "isHttpMetadata": false }, { - "$id": "6157", + "$id": "6466", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output of the tool call to be submitted to continue the run.", "type": { - "$id": "6158", + "$id": "6467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81502,16 +86341,16 @@ "isHttpMetadata": false }, { - "$id": "6159", + "$id": "6468", "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": "6160", + "$id": "6469", "kind": "nullable", "type": { - "$id": "6161", + "$id": "6470", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -81535,10 +86374,10 @@ ] }, { - "$ref": "6154" + "$ref": "6463" }, { - "$id": "6162", + "$id": "6471", "kind": "model", "name": "ListRunStepsResponse", "namespace": "OpenAI", @@ -81552,12 +86391,12 @@ }, "properties": [ { - "$id": "6163", + "$id": "6472", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1839" + "$ref": "1907" }, "optional": false, "readOnly": false, @@ -81573,16 +86412,16 @@ "isHttpMetadata": false }, { - "$id": "6164", + "$id": "6473", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6165", + "$id": "6474", "kind": "array", "name": "ArrayRunStepObject", "valueType": { - "$id": "6166", + "$id": "6475", "kind": "model", "name": "RunStepObject", "namespace": "OpenAI", @@ -81597,13 +86436,13 @@ }, "properties": [ { - "$id": "6167", + "$id": "6476", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier of the run step, which can be referenced in API endpoints.", "type": { - "$id": "6168", + "$id": "6477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81623,13 +86462,13 @@ "isHttpMetadata": false }, { - "$id": "6169", + "$id": "6478", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `thread.run.step`.", "type": { - "$ref": "1841" + "$ref": "1909" }, "optional": false, "readOnly": false, @@ -81645,18 +86484,18 @@ "isHttpMetadata": false }, { - "$id": "6170", + "$id": "6479", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the run step was created.", "type": { - "$id": "6171", + "$id": "6480", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6172", + "$id": "6481", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81679,13 +86518,13 @@ "isHttpMetadata": false }, { - "$id": "6173", + "$id": "6482", "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": "6174", + "$id": "6483", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81705,13 +86544,13 @@ "isHttpMetadata": false }, { - "$id": "6175", + "$id": "6484", "kind": "property", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "6176", + "$id": "6485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81731,13 +86570,13 @@ "isHttpMetadata": false }, { - "$id": "6177", + "$id": "6486", "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": "6178", + "$id": "6487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81757,13 +86596,13 @@ "isHttpMetadata": false }, { - "$id": "6179", + "$id": "6488", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of run step, which can be either `message_creation` or `tool_calls`.", "type": { - "$ref": "798" + "$ref": "862" }, "optional": false, "readOnly": false, @@ -81779,13 +86618,13 @@ "isHttpMetadata": false }, { - "$id": "6180", + "$id": "6489", "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": "802" + "$ref": "866" }, "optional": false, "readOnly": false, @@ -81801,13 +86640,13 @@ "isHttpMetadata": false }, { - "$id": "6181", + "$id": "6490", "kind": "property", "name": "step_details", "serializedName": "step_details", "doc": "The details of the run step.", "type": { - "$id": "6182", + "$id": "6491", "kind": "model", "name": "RunStepObjectStepDetails", "namespace": "OpenAI", @@ -81821,13 +86660,13 @@ } }, "discriminatorProperty": { - "$id": "6183", + "$id": "6492", "kind": "property", "name": "type", "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "809" + "$ref": "873" }, "optional": false, "readOnly": false, @@ -81844,12 +86683,12 @@ }, "properties": [ { - "$ref": "6183" + "$ref": "6492" } ], "discriminatedSubtypes": { "message_creation": { - "$id": "6184", + "$id": "6493", "kind": "model", "name": "RunStepDetailsMessageCreationObject", "namespace": "OpenAI", @@ -81864,32 +86703,32 @@ } }, "baseModel": { - "$ref": "6182" + "$ref": "6491" }, "properties": [ { - "$id": "6185", + "$id": "6494", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `message_creation`.", "type": { - "$id": "6186", + "$id": "6495", "kind": "enumvalue", "name": "message_creation", "value": "message_creation", "valueType": { - "$ref": "810" + "$ref": "874" }, "enumType": { - "$id": "6187", + "$id": "6496", "kind": "enum", "decorators": [], "name": "RunStepDetailsType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6188", + "$id": "6497", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -81898,29 +86737,29 @@ }, "values": [ { - "$id": "6189", + "$id": "6498", "kind": "enumvalue", "decorators": [], "name": "message_creation", "value": "message_creation", "valueType": { - "$ref": "6188" + "$ref": "6497" }, "enumType": { - "$ref": "6187" + "$ref": "6496" } }, { - "$id": "6190", + "$id": "6499", "kind": "enumvalue", "decorators": [], "name": "tool_calls", "value": "tool_calls", "valueType": { - "$ref": "6188" + "$ref": "6497" }, "enumType": { - "$ref": "6187" + "$ref": "6496" } } ], @@ -81949,12 +86788,12 @@ "isHttpMetadata": false }, { - "$id": "6191", + "$id": "6500", "kind": "property", "name": "message_creation", "serializedName": "message_creation", "type": { - "$id": "6192", + "$id": "6501", "kind": "model", "name": "RunStepDetailsMessageCreationObjectMessageCreation", "namespace": "OpenAI", @@ -81968,13 +86807,13 @@ }, "properties": [ { - "$id": "6193", + "$id": "6502", "kind": "property", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message that was created by this run step.", "type": { - "$id": "6194", + "$id": "6503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82011,7 +86850,7 @@ ] }, "tool_calls": { - "$id": "6195", + "$id": "6504", "kind": "model", "name": "RunStepDetailsToolCallsObject", "namespace": "OpenAI", @@ -82026,25 +86865,25 @@ } }, "baseModel": { - "$ref": "6182" + "$ref": "6491" }, "properties": [ { - "$id": "6196", + "$id": "6505", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `tool_calls`.", "type": { - "$id": "6197", + "$id": "6506", "kind": "enumvalue", "name": "tool_calls", "value": "tool_calls", "valueType": { - "$ref": "810" + "$ref": "874" }, "enumType": { - "$ref": "6187" + "$ref": "6496" }, "decorators": [] }, @@ -82062,17 +86901,17 @@ "isHttpMetadata": false }, { - "$id": "6198", + "$id": "6507", "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": "6199", + "$id": "6508", "kind": "array", "name": "ArrayRunStepDetailsToolCallsObjectToolCallsObject", "valueType": { - "$id": "6200", + "$id": "6509", "kind": "model", "name": "RunStepDetailsToolCallsObjectToolCallsObject", "namespace": "OpenAI", @@ -82086,13 +86925,13 @@ } }, "discriminatorProperty": { - "$id": "6201", + "$id": "6510", "kind": "property", "name": "type", "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "813" + "$ref": "877" }, "optional": false, "readOnly": false, @@ -82109,16 +86948,16 @@ }, "properties": [ { - "$ref": "6201" + "$ref": "6510" }, { - "$id": "6202", + "$id": "6511", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "6203", + "$id": "6512", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82140,7 +86979,7 @@ ], "discriminatedSubtypes": { "code_interpreter": { - "$id": "6204", + "$id": "6513", "kind": "model", "name": "RunStepDetailsToolCallsCodeObject", "namespace": "OpenAI", @@ -82155,32 +86994,32 @@ } }, "baseModel": { - "$ref": "6200" + "$ref": "6509" }, "properties": [ { - "$id": "6205", + "$id": "6514", "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": "6206", + "$id": "6515", "kind": "enumvalue", "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "814" + "$ref": "878" }, "enumType": { - "$id": "6207", + "$id": "6516", "kind": "enum", "decorators": [], "name": "RunStepDetailsToolCallType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6208", + "$id": "6517", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -82189,42 +87028,42 @@ }, "values": [ { - "$id": "6209", + "$id": "6518", "kind": "enumvalue", "decorators": [], "name": "code_interpreter", "value": "code_interpreter", "valueType": { - "$ref": "6208" + "$ref": "6517" }, "enumType": { - "$ref": "6207" + "$ref": "6516" } }, { - "$id": "6210", + "$id": "6519", "kind": "enumvalue", "decorators": [], "name": "file_search", "value": "file_search", "valueType": { - "$ref": "6208" + "$ref": "6517" }, "enumType": { - "$ref": "6207" + "$ref": "6516" } }, { - "$id": "6211", + "$id": "6520", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "6208" + "$ref": "6517" }, "enumType": { - "$ref": "6207" + "$ref": "6516" } } ], @@ -82253,13 +87092,13 @@ "isHttpMetadata": false }, { - "$id": "6212", + "$id": "6521", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "doc": "The Code Interpreter tool call definition.", "type": { - "$id": "6213", + "$id": "6522", "kind": "model", "name": "RunStepDetailsToolCallsCodeObjectCodeInterpreter", "namespace": "OpenAI", @@ -82273,13 +87112,13 @@ }, "properties": [ { - "$id": "6214", + "$id": "6523", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input to the Code Interpreter tool call.", "type": { - "$id": "6215", + "$id": "6524", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82299,17 +87138,17 @@ "isHttpMetadata": false }, { - "$id": "6216", + "$id": "6525", "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": "6217", + "$id": "6526", "kind": "array", "name": "ArrayRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "valueType": { - "$id": "6218", + "$id": "6527", "kind": "model", "name": "RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "namespace": "OpenAI", @@ -82323,13 +87162,13 @@ } }, "discriminatorProperty": { - "$id": "6219", + "$id": "6528", "kind": "property", "name": "type", "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "818" + "$ref": "882" }, "optional": false, "readOnly": false, @@ -82346,12 +87185,12 @@ }, "properties": [ { - "$ref": "6219" + "$ref": "6528" } ], "discriminatedSubtypes": { "logs": { - "$id": "6220", + "$id": "6529", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputLogsObject", "namespace": "OpenAI", @@ -82366,32 +87205,32 @@ } }, "baseModel": { - "$ref": "6218" + "$ref": "6527" }, "properties": [ { - "$id": "6221", + "$id": "6530", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `logs`.", "type": { - "$id": "6222", + "$id": "6531", "kind": "enumvalue", "name": "logs", "value": "logs", "valueType": { - "$ref": "819" + "$ref": "883" }, "enumType": { - "$id": "6223", + "$id": "6532", "kind": "enum", "decorators": [], "name": "RunStepDetailsCodeInterpreterOutputType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6224", + "$id": "6533", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -82400,29 +87239,29 @@ }, "values": [ { - "$id": "6225", + "$id": "6534", "kind": "enumvalue", "decorators": [], "name": "logs", "value": "logs", "valueType": { - "$ref": "6224" + "$ref": "6533" }, "enumType": { - "$ref": "6223" + "$ref": "6532" } }, { - "$id": "6226", + "$id": "6535", "kind": "enumvalue", "decorators": [], "name": "image", "value": "image", "valueType": { - "$ref": "6224" + "$ref": "6533" }, "enumType": { - "$ref": "6223" + "$ref": "6532" } } ], @@ -82451,13 +87290,13 @@ "isHttpMetadata": false }, { - "$id": "6227", + "$id": "6536", "kind": "property", "name": "logs", "serializedName": "logs", "doc": "The text output from the Code Interpreter tool call.", "type": { - "$id": "6228", + "$id": "6537", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82479,7 +87318,7 @@ ] }, "image": { - "$id": "6229", + "$id": "6538", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputImageObject", "namespace": "OpenAI", @@ -82493,25 +87332,25 @@ } }, "baseModel": { - "$ref": "6218" + "$ref": "6527" }, "properties": [ { - "$id": "6230", + "$id": "6539", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `image`.", "type": { - "$id": "6231", + "$id": "6540", "kind": "enumvalue", "name": "image", "value": "image", "valueType": { - "$ref": "819" + "$ref": "883" }, "enumType": { - "$ref": "6223" + "$ref": "6532" }, "decorators": [] }, @@ -82529,12 +87368,12 @@ "isHttpMetadata": false }, { - "$id": "6232", + "$id": "6541", "kind": "property", "name": "image", "serializedName": "image", "type": { - "$id": "6233", + "$id": "6542", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputImageObjectImage", "namespace": "OpenAI", @@ -82548,13 +87387,13 @@ }, "properties": [ { - "$id": "6234", + "$id": "6543", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The [file](/docs/api-reference/files) ID of the image.", "type": { - "$id": "6235", + "$id": "6544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82626,7 +87465,7 @@ ] }, "file_search": { - "$id": "6236", + "$id": "6545", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchObject", "namespace": "OpenAI", @@ -82640,25 +87479,25 @@ } }, "baseModel": { - "$ref": "6200" + "$ref": "6509" }, "properties": [ { - "$id": "6237", + "$id": "6546", "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": "6238", + "$id": "6547", "kind": "enumvalue", "name": "file_search", "value": "file_search", "valueType": { - "$ref": "814" + "$ref": "878" }, "enumType": { - "$ref": "6207" + "$ref": "6516" }, "decorators": [] }, @@ -82676,13 +87515,13 @@ "isHttpMetadata": false }, { - "$id": "6239", + "$id": "6548", "kind": "property", "name": "file_search", "serializedName": "file_search", "doc": "For now, this is always going to be an empty object.", "type": { - "$id": "6240", + "$id": "6549", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchObjectFileSearch", "namespace": "OpenAI", @@ -82696,12 +87535,12 @@ }, "properties": [ { - "$id": "6241", + "$id": "6550", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "type": { - "$id": "6242", + "$id": "6551", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchRankingOptionsObject", "namespace": "OpenAI", @@ -82716,7 +87555,7 @@ }, "properties": [ { - "$id": "6243", + "$id": "6552", "kind": "property", "name": "ranker", "serializedName": "ranker", @@ -82737,13 +87576,13 @@ "isHttpMetadata": false }, { - "$id": "6244", + "$id": "6553", "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": "6245", + "$id": "6554", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -82778,17 +87617,17 @@ "isHttpMetadata": false }, { - "$id": "6246", + "$id": "6555", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search.", "type": { - "$id": "6247", + "$id": "6556", "kind": "array", "name": "ArrayRunStepDetailsToolCallsFileSearchResultObject", "valueType": { - "$id": "6248", + "$id": "6557", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchResultObject", "namespace": "OpenAI", @@ -82803,13 +87642,13 @@ }, "properties": [ { - "$id": "6249", + "$id": "6558", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file that result was found in.", "type": { - "$id": "6250", + "$id": "6559", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82829,13 +87668,13 @@ "isHttpMetadata": false }, { - "$id": "6251", + "$id": "6560", "kind": "property", "name": "file_name", "serializedName": "file_name", "doc": "The name of the file that result was found in.", "type": { - "$id": "6252", + "$id": "6561", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82855,13 +87694,13 @@ "isHttpMetadata": false }, { - "$id": "6253", + "$id": "6562", "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": "6254", + "$id": "6563", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -82881,17 +87720,17 @@ "isHttpMetadata": false }, { - "$id": "6255", + "$id": "6564", "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": "6256", + "$id": "6565", "kind": "array", "name": "Array25", "valueType": { - "$id": "6257", + "$id": "6566", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchResultObjectContent", "namespace": "OpenAI", @@ -82905,28 +87744,28 @@ }, "properties": [ { - "$id": "6258", + "$id": "6567", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content.", "type": { - "$id": "6259", + "$id": "6568", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1593" + "$ref": "1657" }, "enumType": { - "$id": "6260", + "$id": "6569", "kind": "enum", "decorators": [], "name": "RunStepDetailsToolCallsFileSearchResultObjectContentType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6261", + "$id": "6570", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -82935,16 +87774,16 @@ }, "values": [ { - "$id": "6262", + "$id": "6571", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "enumType": { - "$ref": "6260" + "$ref": "6569" }, "valueType": { - "$ref": "6261" + "$ref": "6570" } } ], @@ -82973,13 +87812,13 @@ "isHttpMetadata": false }, { - "$id": "6263", + "$id": "6572", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content of the file.", "type": { - "$id": "6264", + "$id": "6573", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83052,7 +87891,7 @@ ] }, "function": { - "$id": "6265", + "$id": "6574", "kind": "model", "name": "RunStepDetailsToolCallsFunctionObject", "namespace": "OpenAI", @@ -83066,25 +87905,25 @@ } }, "baseModel": { - "$ref": "6200" + "$ref": "6509" }, "properties": [ { - "$id": "6266", + "$id": "6575", "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": "6267", + "$id": "6576", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "814" + "$ref": "878" }, "enumType": { - "$ref": "6207" + "$ref": "6516" }, "decorators": [] }, @@ -83102,13 +87941,13 @@ "isHttpMetadata": false }, { - "$id": "6268", + "$id": "6577", "kind": "property", "name": "function", "serializedName": "function", "doc": "The definition of the function that was called.", "type": { - "$id": "6269", + "$id": "6578", "kind": "model", "name": "RunStepDetailsToolCallsFunctionObjectFunction", "namespace": "OpenAI", @@ -83122,13 +87961,13 @@ }, "properties": [ { - "$id": "6270", + "$id": "6579", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function.", "type": { - "$id": "6271", + "$id": "6580", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83148,13 +87987,13 @@ "isHttpMetadata": false }, { - "$id": "6272", + "$id": "6581", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The arguments passed to the function.", "type": { - "$id": "6273", + "$id": "6582", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83174,16 +88013,16 @@ "isHttpMetadata": false }, { - "$id": "6274", + "$id": "6583", "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": "6275", + "$id": "6584", "kind": "nullable", "type": { - "$id": "6276", + "$id": "6585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83257,16 +88096,16 @@ "isHttpMetadata": false }, { - "$id": "6277", + "$id": "6586", "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": "6278", + "$id": "6587", "kind": "nullable", "type": { - "$id": "6279", + "$id": "6588", "kind": "model", "name": "RunStepObjectLastError1", "namespace": "OpenAI", @@ -83280,13 +88119,13 @@ }, "properties": [ { - "$id": "6280", + "$id": "6589", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of `server_error` or `rate_limit_exceeded`.", "type": { - "$ref": "822" + "$ref": "886" }, "optional": false, "readOnly": false, @@ -83302,13 +88141,13 @@ "isHttpMetadata": false }, { - "$id": "6281", + "$id": "6590", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "6282", + "$id": "6591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83345,21 +88184,21 @@ "isHttpMetadata": false }, { - "$id": "6283", + "$id": "6592", "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": "6284", + "$id": "6593", "kind": "nullable", "type": { - "$id": "6285", + "$id": "6594", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6286", + "$id": "6595", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83384,21 +88223,21 @@ "isHttpMetadata": false }, { - "$id": "6287", + "$id": "6596", "kind": "property", "name": "cancelled_at", "serializedName": "cancelled_at", "doc": "The Unix timestamp (in seconds) for when the run step was cancelled.", "type": { - "$id": "6288", + "$id": "6597", "kind": "nullable", "type": { - "$id": "6289", + "$id": "6598", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6290", + "$id": "6599", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83423,21 +88262,21 @@ "isHttpMetadata": false }, { - "$id": "6291", + "$id": "6600", "kind": "property", "name": "failed_at", "serializedName": "failed_at", "doc": "The Unix timestamp (in seconds) for when the run step failed.", "type": { - "$id": "6292", + "$id": "6601", "kind": "nullable", "type": { - "$id": "6293", + "$id": "6602", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6294", + "$id": "6603", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83462,21 +88301,21 @@ "isHttpMetadata": false }, { - "$id": "6295", + "$id": "6604", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the run step completed.", "type": { - "$id": "6296", + "$id": "6605", "kind": "nullable", "type": { - "$id": "6297", + "$id": "6606", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6298", + "$id": "6607", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83501,13 +88340,13 @@ "isHttpMetadata": false }, { - "$id": "6299", + "$id": "6608", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": true, @@ -83523,15 +88362,15 @@ "isHttpMetadata": false }, { - "$id": "6300", + "$id": "6609", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "6301", + "$id": "6610", "kind": "nullable", "type": { - "$id": "6302", + "$id": "6611", "kind": "model", "name": "RunStepCompletionUsage", "namespace": "OpenAI", @@ -83546,13 +88385,13 @@ }, "properties": [ { - "$id": "6303", + "$id": "6612", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "Number of completion tokens used over the course of the run step.", "type": { - "$id": "6304", + "$id": "6613", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83572,13 +88411,13 @@ "isHttpMetadata": false }, { - "$id": "6305", + "$id": "6614", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "Number of prompt tokens used over the course of the run step.", "type": { - "$id": "6306", + "$id": "6615", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83598,13 +88437,13 @@ "isHttpMetadata": false }, { - "$id": "6307", + "$id": "6616", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used (prompt + completion).", "type": { - "$id": "6308", + "$id": "6617", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83659,12 +88498,12 @@ "isHttpMetadata": false }, { - "$id": "6309", + "$id": "6618", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6310", + "$id": "6619", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83684,12 +88523,12 @@ "isHttpMetadata": false }, { - "$id": "6311", + "$id": "6620", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6312", + "$id": "6621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83709,12 +88548,12 @@ "isHttpMetadata": false }, { - "$id": "6313", + "$id": "6622", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6314", + "$id": "6623", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -83736,70 +88575,70 @@ ] }, { - "$ref": "6166" + "$ref": "6475" }, { - "$ref": "6182" + "$ref": "6491" }, { - "$ref": "6184" + "$ref": "6493" }, { - "$ref": "6192" + "$ref": "6501" }, { - "$ref": "6195" + "$ref": "6504" }, { - "$ref": "6200" + "$ref": "6509" }, { - "$ref": "6204" + "$ref": "6513" }, { - "$ref": "6213" + "$ref": "6522" }, { - "$ref": "6218" + "$ref": "6527" }, { - "$ref": "6220" + "$ref": "6529" }, { - "$ref": "6229" + "$ref": "6538" }, { - "$ref": "6233" + "$ref": "6542" }, { - "$ref": "6236" + "$ref": "6545" }, { - "$ref": "6240" + "$ref": "6549" }, { - "$ref": "6242" + "$ref": "6551" }, { - "$ref": "6248" + "$ref": "6557" }, { - "$ref": "6257" + "$ref": "6566" }, { - "$ref": "6265" + "$ref": "6574" }, { - "$ref": "6269" + "$ref": "6578" }, { - "$ref": "6279" + "$ref": "6588" }, { - "$ref": "6302" + "$ref": "6611" }, { - "$id": "6315", + "$id": "6624", "kind": "model", "name": "ThreadObject", "namespace": "OpenAI", @@ -83814,13 +88653,13 @@ }, "properties": [ { - "$id": "6316", + "$id": "6625", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6317", + "$id": "6626", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83840,13 +88679,13 @@ "isHttpMetadata": false }, { - "$id": "6318", + "$id": "6627", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `thread`.", "type": { - "$ref": "1843" + "$ref": "1911" }, "optional": false, "readOnly": false, @@ -83862,18 +88701,18 @@ "isHttpMetadata": false }, { - "$id": "6319", + "$id": "6628", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the thread was created.", "type": { - "$id": "6320", + "$id": "6629", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6321", + "$id": "6630", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83896,16 +88735,16 @@ "isHttpMetadata": false }, { - "$id": "6322", + "$id": "6631", "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": "6323", + "$id": "6632", "kind": "nullable", "type": { - "$id": "6324", + "$id": "6633", "kind": "model", "name": "ThreadObjectToolResources1", "namespace": "OpenAI", @@ -83919,12 +88758,12 @@ }, "properties": [ { - "$id": "6325", + "$id": "6634", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "6326", + "$id": "6635", "kind": "model", "name": "ThreadObjectToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -83938,13 +88777,13 @@ }, "properties": [ { - "$id": "6327", + "$id": "6636", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -83975,12 +88814,12 @@ "isHttpMetadata": false }, { - "$id": "6328", + "$id": "6637", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$id": "6329", + "$id": "6638", "kind": "model", "name": "ThreadObjectToolResourcesFileSearch", "namespace": "OpenAI", @@ -83994,13 +88833,13 @@ }, "properties": [ { - "$id": "6330", + "$id": "6639", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -84048,13 +88887,13 @@ "isHttpMetadata": false }, { - "$id": "6331", + "$id": "6640", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": true, @@ -84072,16 +88911,16 @@ ] }, { - "$ref": "6324" + "$ref": "6633" }, { - "$ref": "6326" + "$ref": "6635" }, { - "$ref": "6329" + "$ref": "6638" }, { - "$id": "6332", + "$id": "6641", "kind": "model", "name": "ModifyThreadRequest", "namespace": "OpenAI", @@ -84095,16 +88934,16 @@ }, "properties": [ { - "$id": "6333", + "$id": "6642", "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": "6334", + "$id": "6643", "kind": "nullable", "type": { - "$id": "6335", + "$id": "6644", "kind": "model", "name": "ModifyThreadRequestToolResources1", "namespace": "OpenAI", @@ -84118,12 +88957,12 @@ }, "properties": [ { - "$id": "6336", + "$id": "6645", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "6337", + "$id": "6646", "kind": "model", "name": "ModifyThreadRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -84137,13 +88976,13 @@ }, "properties": [ { - "$id": "6338", + "$id": "6647", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -84174,12 +89013,12 @@ "isHttpMetadata": false }, { - "$id": "6339", + "$id": "6648", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$ref": "2576" + "$ref": "2644" }, "optional": true, "readOnly": false, @@ -84212,13 +89051,13 @@ "isHttpMetadata": false }, { - "$id": "6340", + "$id": "6649", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -84236,13 +89075,13 @@ ] }, { - "$ref": "6335" + "$ref": "6644" }, { - "$ref": "6337" + "$ref": "6646" }, { - "$id": "6341", + "$id": "6650", "kind": "model", "name": "DeleteThreadResponse", "namespace": "OpenAI", @@ -84256,12 +89095,12 @@ }, "properties": [ { - "$id": "6342", + "$id": "6651", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6343", + "$id": "6652", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84281,12 +89120,12 @@ "isHttpMetadata": false }, { - "$id": "6344", + "$id": "6653", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6345", + "$id": "6654", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -84306,12 +89145,12 @@ "isHttpMetadata": false }, { - "$id": "6346", + "$id": "6655", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1845" + "$ref": "1913" }, "optional": false, "readOnly": false, @@ -84329,7 +89168,7 @@ ] }, { - "$id": "6347", + "$id": "6656", "kind": "model", "name": "ListVectorStoresResponse", "namespace": "OpenAI", @@ -84343,12 +89182,12 @@ }, "properties": [ { - "$id": "6348", + "$id": "6657", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1847" + "$ref": "1915" }, "optional": false, "readOnly": false, @@ -84364,16 +89203,16 @@ "isHttpMetadata": false }, { - "$id": "6349", + "$id": "6658", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6350", + "$id": "6659", "kind": "array", "name": "ArrayVectorStoreObject", "valueType": { - "$id": "6351", + "$id": "6660", "kind": "model", "name": "VectorStoreObject", "namespace": "OpenAI", @@ -84388,13 +89227,13 @@ }, "properties": [ { - "$id": "6352", + "$id": "6661", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6353", + "$id": "6662", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84414,13 +89253,13 @@ "isHttpMetadata": false }, { - "$id": "6354", + "$id": "6663", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store`.", "type": { - "$ref": "1849" + "$ref": "1917" }, "optional": false, "readOnly": false, @@ -84436,18 +89275,18 @@ "isHttpMetadata": false }, { - "$id": "6355", + "$id": "6664", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the vector store was created.", "type": { - "$id": "6356", + "$id": "6665", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6357", + "$id": "6666", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84470,13 +89309,13 @@ "isHttpMetadata": false }, { - "$id": "6358", + "$id": "6667", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "6359", + "$id": "6668", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84496,13 +89335,13 @@ "isHttpMetadata": false }, { - "$id": "6360", + "$id": "6669", "kind": "property", "name": "usage_bytes", "serializedName": "usage_bytes", "doc": "The total number of bytes used by the files in the vector store.", "type": { - "$id": "6361", + "$id": "6670", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84522,12 +89361,12 @@ "isHttpMetadata": false }, { - "$id": "6362", + "$id": "6671", "kind": "property", "name": "file_counts", "serializedName": "file_counts", "type": { - "$id": "6363", + "$id": "6672", "kind": "model", "name": "VectorStoreObjectFileCounts", "namespace": "OpenAI", @@ -84541,13 +89380,13 @@ }, "properties": [ { - "$id": "6364", + "$id": "6673", "kind": "property", "name": "in_progress", "serializedName": "in_progress", "doc": "The number of files that are currently being processed.", "type": { - "$id": "6365", + "$id": "6674", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84567,13 +89406,13 @@ "isHttpMetadata": false }, { - "$id": "6366", + "$id": "6675", "kind": "property", "name": "completed", "serializedName": "completed", "doc": "The number of files that have been successfully processed.", "type": { - "$id": "6367", + "$id": "6676", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84593,13 +89432,13 @@ "isHttpMetadata": false }, { - "$id": "6368", + "$id": "6677", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "The number of files that have failed to process.", "type": { - "$id": "6369", + "$id": "6678", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84619,13 +89458,13 @@ "isHttpMetadata": false }, { - "$id": "6370", + "$id": "6679", "kind": "property", "name": "cancelled", "serializedName": "cancelled", "doc": "The number of files that were cancelled.", "type": { - "$id": "6371", + "$id": "6680", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84645,13 +89484,13 @@ "isHttpMetadata": false }, { - "$id": "6372", + "$id": "6681", "kind": "property", "name": "total", "serializedName": "total", "doc": "The total number of files.", "type": { - "$id": "6373", + "$id": "6682", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84686,13 +89525,13 @@ "isHttpMetadata": false }, { - "$id": "6374", + "$id": "6683", "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": "826" + "$ref": "890" }, "optional": false, "readOnly": false, @@ -84708,12 +89547,12 @@ "isHttpMetadata": false }, { - "$id": "6375", + "$id": "6684", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$id": "6376", + "$id": "6685", "kind": "model", "name": "VectorStoreExpirationAfter", "namespace": "OpenAI", @@ -84728,28 +89567,28 @@ }, "properties": [ { - "$id": "6377", + "$id": "6686", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "Anchor timestamp after which the expiration policy applies. Supported anchors: `last_active_at`.", "type": { - "$id": "6378", + "$id": "6687", "kind": "enumvalue", "name": "last_active_at", "value": "last_active_at", "valueType": { - "$ref": "1596" + "$ref": "1660" }, "enumType": { - "$id": "6379", + "$id": "6688", "kind": "enum", "decorators": [], "name": "VectorStoreExpirationAnchor", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6380", + "$id": "6689", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -84758,16 +89597,16 @@ }, "values": [ { - "$id": "6381", + "$id": "6690", "kind": "enumvalue", "decorators": [], "name": "last_active_at", "value": "last_active_at", "enumType": { - "$ref": "6379" + "$ref": "6688" }, "valueType": { - "$ref": "6380" + "$ref": "6689" } } ], @@ -84796,13 +89635,13 @@ "isHttpMetadata": false }, { - "$id": "6382", + "$id": "6691", "kind": "property", "name": "days", "serializedName": "days", "doc": "The number of days after the anchor time that the vector store will expire.", "type": { - "$id": "6383", + "$id": "6692", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84837,21 +89676,21 @@ "isHttpMetadata": false }, { - "$id": "6384", + "$id": "6693", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the vector store will expire.", "type": { - "$id": "6385", + "$id": "6694", "kind": "nullable", "type": { - "$id": "6386", + "$id": "6695", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6387", + "$id": "6696", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84876,21 +89715,21 @@ "isHttpMetadata": false }, { - "$id": "6388", + "$id": "6697", "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": "6389", + "$id": "6698", "kind": "nullable", "type": { - "$id": "6390", + "$id": "6699", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6391", + "$id": "6700", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84915,13 +89754,13 @@ "isHttpMetadata": false }, { - "$id": "6392", + "$id": "6701", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": true, @@ -84955,12 +89794,12 @@ "isHttpMetadata": false }, { - "$id": "6393", + "$id": "6702", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6394", + "$id": "6703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84980,12 +89819,12 @@ "isHttpMetadata": false }, { - "$id": "6395", + "$id": "6704", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6396", + "$id": "6705", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85005,12 +89844,12 @@ "isHttpMetadata": false }, { - "$id": "6397", + "$id": "6706", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6398", + "$id": "6707", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -85032,16 +89871,16 @@ ] }, { - "$ref": "6351" + "$ref": "6660" }, { - "$ref": "6363" + "$ref": "6672" }, { - "$ref": "6376" + "$ref": "6685" }, { - "$id": "6399", + "$id": "6708", "kind": "model", "name": "CreateVectorStoreRequest", "namespace": "OpenAI", @@ -85055,13 +89894,13 @@ }, "properties": [ { - "$id": "6400", + "$id": "6709", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -85077,13 +89916,13 @@ "isHttpMetadata": false }, { - "$id": "6401", + "$id": "6710", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "6402", + "$id": "6711", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85103,12 +89942,12 @@ "isHttpMetadata": false }, { - "$id": "6403", + "$id": "6712", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$ref": "6376" + "$ref": "6685" }, "optional": true, "readOnly": false, @@ -85124,21 +89963,21 @@ "isHttpMetadata": false }, { - "$id": "6404", + "$id": "6713", "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": "6405", + "$id": "6714", "kind": "union", "name": "CreateVectorStoreRequestChunkingStrategy", "variantTypes": [ { - "$ref": "2669" + "$ref": "2737" }, { - "$ref": "2676" + "$ref": "2744" } ], "namespace": "OpenAI", @@ -85158,13 +89997,13 @@ "isHttpMetadata": false }, { - "$id": "6406", + "$id": "6715", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -85182,7 +90021,7 @@ ] }, { - "$id": "6407", + "$id": "6716", "kind": "model", "name": "UpdateVectorStoreRequest", "namespace": "OpenAI", @@ -85196,16 +90035,16 @@ }, "properties": [ { - "$id": "6408", + "$id": "6717", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "6409", + "$id": "6718", "kind": "nullable", "type": { - "$id": "6410", + "$id": "6719", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85227,15 +90066,15 @@ "isHttpMetadata": false }, { - "$id": "6411", + "$id": "6720", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$id": "6412", + "$id": "6721", "kind": "nullable", "type": { - "$ref": "6376" + "$ref": "6685" }, "namespace": "OpenAI" }, @@ -85253,13 +90092,13 @@ "isHttpMetadata": false }, { - "$id": "6413", + "$id": "6722", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -85277,7 +90116,7 @@ ] }, { - "$id": "6414", + "$id": "6723", "kind": "model", "name": "DeleteVectorStoreResponse", "namespace": "OpenAI", @@ -85291,12 +90130,12 @@ }, "properties": [ { - "$id": "6415", + "$id": "6724", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6416", + "$id": "6725", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85316,12 +90155,12 @@ "isHttpMetadata": false }, { - "$id": "6417", + "$id": "6726", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6418", + "$id": "6727", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -85341,12 +90180,12 @@ "isHttpMetadata": false }, { - "$id": "6419", + "$id": "6728", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1851" + "$ref": "1919" }, "optional": false, "readOnly": false, @@ -85364,7 +90203,7 @@ ] }, { - "$id": "6420", + "$id": "6729", "kind": "model", "name": "CreateVectorStoreFileBatchRequest", "namespace": "OpenAI", @@ -85378,13 +90217,13 @@ }, "properties": [ { - "$id": "6421", + "$id": "6730", "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": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -85400,12 +90239,12 @@ "isHttpMetadata": false }, { - "$id": "6422", + "$id": "6731", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "type": { - "$ref": "2667" + "$ref": "2735" }, "optional": true, "readOnly": false, @@ -85421,15 +90260,15 @@ "isHttpMetadata": false }, { - "$id": "6423", + "$id": "6732", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6424", + "$id": "6733", "kind": "nullable", "type": { - "$ref": "3863" + "$ref": "3931" }, "namespace": "OpenAI" }, @@ -85449,7 +90288,7 @@ ] }, { - "$id": "6425", + "$id": "6734", "kind": "model", "name": "VectorStoreFileBatchObject", "namespace": "OpenAI", @@ -85464,13 +90303,13 @@ }, "properties": [ { - "$id": "6426", + "$id": "6735", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6427", + "$id": "6736", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85490,13 +90329,13 @@ "isHttpMetadata": false }, { - "$id": "6428", + "$id": "6737", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store.file_batch`.", "type": { - "$ref": "1853" + "$ref": "1921" }, "optional": false, "readOnly": false, @@ -85512,18 +90351,18 @@ "isHttpMetadata": false }, { - "$id": "6429", + "$id": "6738", "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": "6430", + "$id": "6739", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6431", + "$id": "6740", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85546,13 +90385,13 @@ "isHttpMetadata": false }, { - "$id": "6432", + "$id": "6741", "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": "6433", + "$id": "6742", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85572,13 +90411,13 @@ "isHttpMetadata": false }, { - "$id": "6434", + "$id": "6743", "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": "831" + "$ref": "895" }, "optional": false, "readOnly": false, @@ -85594,12 +90433,12 @@ "isHttpMetadata": false }, { - "$id": "6435", + "$id": "6744", "kind": "property", "name": "file_counts", "serializedName": "file_counts", "type": { - "$id": "6436", + "$id": "6745", "kind": "model", "name": "VectorStoreFileBatchObjectFileCounts", "namespace": "OpenAI", @@ -85613,13 +90452,13 @@ }, "properties": [ { - "$id": "6437", + "$id": "6746", "kind": "property", "name": "in_progress", "serializedName": "in_progress", "doc": "The number of files that are currently being processed.", "type": { - "$id": "6438", + "$id": "6747", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85639,13 +90478,13 @@ "isHttpMetadata": false }, { - "$id": "6439", + "$id": "6748", "kind": "property", "name": "completed", "serializedName": "completed", "doc": "The number of files that have been processed.", "type": { - "$id": "6440", + "$id": "6749", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85665,13 +90504,13 @@ "isHttpMetadata": false }, { - "$id": "6441", + "$id": "6750", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "The number of files that have failed to process.", "type": { - "$id": "6442", + "$id": "6751", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85691,13 +90530,13 @@ "isHttpMetadata": false }, { - "$id": "6443", + "$id": "6752", "kind": "property", "name": "cancelled", "serializedName": "cancelled", "doc": "The number of files that where cancelled.", "type": { - "$id": "6444", + "$id": "6753", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85717,13 +90556,13 @@ "isHttpMetadata": false }, { - "$id": "6445", + "$id": "6754", "kind": "property", "name": "total", "serializedName": "total", "doc": "The total number of files.", "type": { - "$id": "6446", + "$id": "6755", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85760,10 +90599,10 @@ ] }, { - "$ref": "6436" + "$ref": "6745" }, { - "$id": "6447", + "$id": "6756", "kind": "model", "name": "ListVectorStoreFilesResponse", "namespace": "OpenAI", @@ -85777,12 +90616,12 @@ }, "properties": [ { - "$id": "6448", + "$id": "6757", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1855" + "$ref": "1923" }, "optional": false, "readOnly": false, @@ -85798,16 +90637,16 @@ "isHttpMetadata": false }, { - "$id": "6449", + "$id": "6758", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6450", + "$id": "6759", "kind": "array", "name": "ArrayVectorStoreFileObject", "valueType": { - "$id": "6451", + "$id": "6760", "kind": "model", "name": "VectorStoreFileObject", "namespace": "OpenAI", @@ -85822,13 +90661,13 @@ }, "properties": [ { - "$id": "6452", + "$id": "6761", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6453", + "$id": "6762", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85848,13 +90687,13 @@ "isHttpMetadata": false }, { - "$id": "6454", + "$id": "6763", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store.file`.", "type": { - "$ref": "1857" + "$ref": "1925" }, "optional": false, "readOnly": false, @@ -85870,13 +90709,13 @@ "isHttpMetadata": false }, { - "$id": "6455", + "$id": "6764", "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": "6456", + "$id": "6765", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85896,18 +90735,18 @@ "isHttpMetadata": false }, { - "$id": "6457", + "$id": "6766", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the vector store file was created.", "type": { - "$id": "6458", + "$id": "6767", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6459", + "$id": "6768", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85930,13 +90769,13 @@ "isHttpMetadata": false }, { - "$id": "6460", + "$id": "6769", "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": "6461", + "$id": "6770", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85956,13 +90795,13 @@ "isHttpMetadata": false }, { - "$id": "6462", + "$id": "6771", "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": "837" + "$ref": "901" }, "optional": false, "readOnly": false, @@ -85978,16 +90817,16 @@ "isHttpMetadata": false }, { - "$id": "6463", + "$id": "6772", "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": "6464", + "$id": "6773", "kind": "nullable", "type": { - "$id": "6465", + "$id": "6774", "kind": "model", "name": "VectorStoreFileObjectLastError1", "namespace": "OpenAI", @@ -86001,13 +90840,13 @@ }, "properties": [ { - "$id": "6466", + "$id": "6775", "kind": "property", "name": "code", "serializedName": "code", "doc": "One of `server_error` or `rate_limit_exceeded`.", "type": { - "$ref": "843" + "$ref": "907" }, "optional": false, "readOnly": false, @@ -86023,13 +90862,13 @@ "isHttpMetadata": false }, { - "$id": "6467", + "$id": "6776", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "6468", + "$id": "6777", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86066,13 +90905,13 @@ "isHttpMetadata": false }, { - "$id": "6469", + "$id": "6778", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "doc": "The strategy used to chunk the file.", "type": { - "$id": "6470", + "$id": "6779", "kind": "model", "name": "ChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -86085,12 +90924,12 @@ } }, "discriminatorProperty": { - "$id": "6471", + "$id": "6780", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "848" + "$ref": "912" }, "optional": false, "readOnly": false, @@ -86107,12 +90946,12 @@ }, "properties": [ { - "$ref": "6471" + "$ref": "6780" } ], "discriminatedSubtypes": { "other": { - "$id": "6472", + "$id": "6781", "kind": "model", "name": "OtherChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -86127,32 +90966,32 @@ } }, "baseModel": { - "$ref": "6470" + "$ref": "6779" }, "properties": [ { - "$id": "6473", + "$id": "6782", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `other`.", "type": { - "$id": "6474", + "$id": "6783", "kind": "enumvalue", "name": "other", "value": "other", "valueType": { - "$ref": "849" + "$ref": "913" }, "enumType": { - "$id": "6475", + "$id": "6784", "kind": "enum", "decorators": [], "name": "ChunkingStrategyResponseParamType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "6476", + "$id": "6785", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -86161,29 +91000,29 @@ }, "values": [ { - "$id": "6477", + "$id": "6786", "kind": "enumvalue", "decorators": [], "name": "static", "value": "static", "valueType": { - "$ref": "6476" + "$ref": "6785" }, "enumType": { - "$ref": "6475" + "$ref": "6784" } }, { - "$id": "6478", + "$id": "6787", "kind": "enumvalue", "decorators": [], "name": "other", "value": "other", "valueType": { - "$ref": "6476" + "$ref": "6785" }, "enumType": { - "$ref": "6475" + "$ref": "6784" } } ], @@ -86214,7 +91053,7 @@ ] }, "static": { - "$id": "6479", + "$id": "6788", "kind": "model", "name": "StaticChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -86228,25 +91067,25 @@ } }, "baseModel": { - "$ref": "6470" + "$ref": "6779" }, "properties": [ { - "$id": "6480", + "$id": "6789", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `static`.", "type": { - "$id": "6481", + "$id": "6790", "kind": "enumvalue", "name": "static", "value": "static", "valueType": { - "$ref": "849" + "$ref": "913" }, "enumType": { - "$ref": "6475" + "$ref": "6784" }, "decorators": [] }, @@ -86264,12 +91103,12 @@ "isHttpMetadata": false }, { - "$id": "6482", + "$id": "6791", "kind": "property", "name": "static", "serializedName": "static", "type": { - "$ref": "2680" + "$ref": "2748" }, "optional": false, "readOnly": false, @@ -86302,15 +91141,15 @@ "isHttpMetadata": false }, { - "$id": "6483", + "$id": "6792", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6484", + "$id": "6793", "kind": "nullable", "type": { - "$ref": "3863" + "$ref": "3931" }, "namespace": "OpenAI" }, @@ -86346,12 +91185,12 @@ "isHttpMetadata": false }, { - "$id": "6485", + "$id": "6794", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6486", + "$id": "6795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86371,12 +91210,12 @@ "isHttpMetadata": false }, { - "$id": "6487", + "$id": "6796", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6488", + "$id": "6797", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86396,12 +91235,12 @@ "isHttpMetadata": false }, { - "$id": "6489", + "$id": "6798", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6490", + "$id": "6799", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -86423,22 +91262,22 @@ ] }, { - "$ref": "6451" + "$ref": "6760" }, { - "$ref": "6465" + "$ref": "6774" }, { - "$ref": "6470" + "$ref": "6779" }, { - "$ref": "6472" + "$ref": "6781" }, { - "$ref": "6479" + "$ref": "6788" }, { - "$id": "6491", + "$id": "6800", "kind": "model", "name": "CreateVectorStoreFileRequest", "namespace": "OpenAI", @@ -86452,13 +91291,13 @@ }, "properties": [ { - "$id": "6492", + "$id": "6801", "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": "6493", + "$id": "6802", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86478,12 +91317,12 @@ "isHttpMetadata": false }, { - "$id": "6494", + "$id": "6803", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "type": { - "$ref": "2667" + "$ref": "2735" }, "optional": true, "readOnly": false, @@ -86499,15 +91338,15 @@ "isHttpMetadata": false }, { - "$id": "6495", + "$id": "6804", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6496", + "$id": "6805", "kind": "nullable", "type": { - "$ref": "3863" + "$ref": "3931" }, "namespace": "OpenAI" }, @@ -86527,7 +91366,7 @@ ] }, { - "$id": "6497", + "$id": "6806", "kind": "model", "name": "DeleteVectorStoreFileResponse", "namespace": "OpenAI", @@ -86541,12 +91380,12 @@ }, "properties": [ { - "$id": "6498", + "$id": "6807", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6499", + "$id": "6808", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86566,12 +91405,12 @@ "isHttpMetadata": false }, { - "$id": "6500", + "$id": "6809", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6501", + "$id": "6810", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -86591,12 +91430,12 @@ "isHttpMetadata": false }, { - "$id": "6502", + "$id": "6811", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1859" + "$ref": "1927" }, "optional": false, "readOnly": false, @@ -86614,7 +91453,7 @@ ] }, { - "$id": "6503", + "$id": "6812", "kind": "model", "name": "UpdateVectorStoreFileAttributesRequest", "namespace": "OpenAI", @@ -86628,15 +91467,15 @@ }, "properties": [ { - "$id": "6504", + "$id": "6813", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6505", + "$id": "6814", "kind": "nullable", "type": { - "$ref": "3863" + "$ref": "3931" }, "namespace": "OpenAI" }, @@ -86656,7 +91495,7 @@ ] }, { - "$id": "6506", + "$id": "6815", "kind": "model", "name": "VectorStoreFileContentResponse", "namespace": "OpenAI", @@ -86671,13 +91510,13 @@ }, "properties": [ { - "$id": "6507", + "$id": "6816", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store.file_content.page`", "type": { - "$ref": "1861" + "$ref": "1929" }, "optional": false, "readOnly": false, @@ -86693,17 +91532,17 @@ "isHttpMetadata": false }, { - "$id": "6508", + "$id": "6817", "kind": "property", "name": "data", "serializedName": "data", "doc": "Parsed content of the file.", "type": { - "$id": "6509", + "$id": "6818", "kind": "array", "name": "Array26", "valueType": { - "$id": "6510", + "$id": "6819", "kind": "model", "name": "VectorStoreFileContentResponseDatum", "namespace": "OpenAI", @@ -86717,13 +91556,13 @@ }, "properties": [ { - "$id": "6511", + "$id": "6820", "kind": "property", "name": "type", "serializedName": "type", "doc": "The content type (currently only `\"text\"`)", "type": { - "$id": "6512", + "$id": "6821", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86743,13 +91582,13 @@ "isHttpMetadata": false }, { - "$id": "6513", + "$id": "6822", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content", "type": { - "$id": "6514", + "$id": "6823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86787,13 +91626,13 @@ "isHttpMetadata": false }, { - "$id": "6515", + "$id": "6824", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates if there are more content pages to fetch.", "type": { - "$id": "6516", + "$id": "6825", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -86813,16 +91652,16 @@ "isHttpMetadata": false }, { - "$id": "6517", + "$id": "6826", "kind": "property", "name": "next_page", "serializedName": "next_page", "doc": "The token for the next page, if any.", "type": { - "$id": "6518", + "$id": "6827", "kind": "nullable", "type": { - "$id": "6519", + "$id": "6828", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86846,10 +91685,10 @@ ] }, { - "$ref": "6510" + "$ref": "6819" }, { - "$id": "6520", + "$id": "6829", "kind": "model", "name": "VectorStoreSearchRequestRankingOptions", "namespace": "OpenAI", @@ -86863,12 +91702,12 @@ }, "properties": [ { - "$id": "6521", + "$id": "6830", "kind": "property", "name": "ranker", "serializedName": "ranker", "type": { - "$ref": "852" + "$ref": "916" }, "optional": true, "readOnly": false, @@ -86884,12 +91723,12 @@ "isHttpMetadata": false }, { - "$id": "6522", + "$id": "6831", "kind": "property", "name": "score_threshold", "serializedName": "score_threshold", "type": { - "$id": "6523", + "$id": "6832", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -86911,7 +91750,7 @@ ] }, { - "$id": "6524", + "$id": "6833", "kind": "model", "name": "VectorStoreSearchRequest", "namespace": "OpenAI", @@ -86925,25 +91764,25 @@ }, "properties": [ { - "$id": "6525", + "$id": "6834", "kind": "property", "name": "query", "serializedName": "query", "doc": "A query string for a search", "type": { - "$id": "6526", + "$id": "6835", "kind": "union", "name": "VectorStoreSearchRequestQuery", "variantTypes": [ { - "$id": "6527", + "$id": "6836", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2573" + "$ref": "2641" } ], "namespace": "OpenAI", @@ -86963,13 +91802,13 @@ "isHttpMetadata": false }, { - "$id": "6528", + "$id": "6837", "kind": "property", "name": "rewrite_query", "serializedName": "rewrite_query", "doc": "Whether to rewrite the natural language query for vector search.", "type": { - "$id": "6529", + "$id": "6838", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -86989,13 +91828,13 @@ "isHttpMetadata": false }, { - "$id": "6530", + "$id": "6839", "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": "6531", + "$id": "6840", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87015,21 +91854,21 @@ "isHttpMetadata": false }, { - "$id": "6532", + "$id": "6841", "kind": "property", "name": "filters", "serializedName": "filters", "doc": "A filter to apply based on file attributes.", "type": { - "$id": "6533", + "$id": "6842", "kind": "union", "name": "VectorStoreSearchRequestFilters", "variantTypes": [ { - "$ref": "4305" + "$ref": "4386" }, { - "$ref": "4340" + "$ref": "4421" } ], "namespace": "OpenAI", @@ -87049,13 +91888,13 @@ "isHttpMetadata": false }, { - "$id": "6534", + "$id": "6843", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "doc": "Ranking options for search.", "type": { - "$ref": "6520" + "$ref": "6829" }, "optional": true, "readOnly": false, @@ -87073,7 +91912,7 @@ ] }, { - "$id": "6535", + "$id": "6844", "kind": "model", "name": "VectorStoreSearchResultsPage", "namespace": "OpenAI", @@ -87087,13 +91926,13 @@ }, "properties": [ { - "$id": "6536", + "$id": "6845", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `vector_store.search_results.page`", "type": { - "$ref": "1863" + "$ref": "1931" }, "optional": false, "readOnly": false, @@ -87109,12 +91948,12 @@ "isHttpMetadata": false }, { - "$id": "6537", + "$id": "6846", "kind": "property", "name": "search_query", "serializedName": "search_query", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -87130,17 +91969,17 @@ "isHttpMetadata": false }, { - "$id": "6538", + "$id": "6847", "kind": "property", "name": "data", "serializedName": "data", "doc": "The list of search result items.", "type": { - "$id": "6539", + "$id": "6848", "kind": "array", "name": "ArrayVectorStoreSearchResultItem", "valueType": { - "$id": "6540", + "$id": "6849", "kind": "model", "name": "VectorStoreSearchResultItem", "namespace": "OpenAI", @@ -87154,13 +91993,13 @@ }, "properties": [ { - "$id": "6541", + "$id": "6850", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the vector store file.", "type": { - "$id": "6542", + "$id": "6851", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87180,13 +92019,13 @@ "isHttpMetadata": false }, { - "$id": "6543", + "$id": "6852", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the vector store file.", "type": { - "$id": "6544", + "$id": "6853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87206,13 +92045,13 @@ "isHttpMetadata": false }, { - "$id": "6545", + "$id": "6854", "kind": "property", "name": "score", "serializedName": "score", "doc": "The similarity score for the result.", "type": { - "$id": "6546", + "$id": "6855", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -87232,15 +92071,15 @@ "isHttpMetadata": false }, { - "$id": "6547", + "$id": "6856", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6548", + "$id": "6857", "kind": "nullable", "type": { - "$ref": "3863" + "$ref": "3931" }, "namespace": "OpenAI" }, @@ -87258,17 +92097,17 @@ "isHttpMetadata": false }, { - "$id": "6549", + "$id": "6858", "kind": "property", "name": "content", "serializedName": "content", "doc": "Content chunks from the file.", "type": { - "$id": "6550", + "$id": "6859", "kind": "array", "name": "ArrayVectorStoreSearchResultContentObject", "valueType": { - "$id": "6551", + "$id": "6860", "kind": "model", "name": "VectorStoreSearchResultContentObject", "namespace": "OpenAI", @@ -87282,13 +92121,13 @@ }, "properties": [ { - "$id": "6552", + "$id": "6861", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of content.", "type": { - "$ref": "1865" + "$ref": "1933" }, "optional": false, "readOnly": false, @@ -87304,13 +92143,13 @@ "isHttpMetadata": false }, { - "$id": "6553", + "$id": "6862", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content returned from search.", "type": { - "$id": "6554", + "$id": "6863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87366,13 +92205,13 @@ "isHttpMetadata": false }, { - "$id": "6555", + "$id": "6864", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates if there are more results to fetch.", "type": { - "$id": "6556", + "$id": "6865", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -87392,16 +92231,16 @@ "isHttpMetadata": false }, { - "$id": "6557", + "$id": "6866", "kind": "property", "name": "next_page", "serializedName": "next_page", "doc": "The token for the next page, if any.", "type": { - "$id": "6558", + "$id": "6867", "kind": "nullable", "type": { - "$id": "6559", + "$id": "6868", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87425,13 +92264,13 @@ ] }, { - "$ref": "6540" + "$ref": "6849" }, { - "$ref": "6551" + "$ref": "6860" }, { - "$id": "6560", + "$id": "6869", "kind": "model", "name": "CreateCompletionRequest", "namespace": "OpenAI", @@ -87445,13 +92284,13 @@ }, "properties": [ { - "$id": "6561", + "$id": "6870", "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": "856" + "$ref": "920" }, "optional": false, "readOnly": false, @@ -87467,38 +92306,38 @@ "isHttpMetadata": false }, { - "$id": "6562", + "$id": "6871", "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": "6563", + "$id": "6872", "kind": "nullable", "type": { - "$id": "6564", + "$id": "6873", "kind": "union", "name": "CreateCompletionRequestPrompt", "variantTypes": [ { - "$id": "6565", + "$id": "6874", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2573" + "$ref": "2641" }, { - "$ref": "2906" + "$ref": "2974" }, { - "$id": "6566", + "$id": "6875", "kind": "array", "name": "ArrayArray", "valueType": { - "$ref": "2906" + "$ref": "2974" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -87523,16 +92362,16 @@ "isHttpMetadata": false }, { - "$id": "6567", + "$id": "6876", "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": "6568", + "$id": "6877", "kind": "nullable", "type": { - "$id": "6569", + "$id": "6878", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87554,16 +92393,16 @@ "isHttpMetadata": false }, { - "$id": "6570", + "$id": "6879", "kind": "property", "name": "echo", "serializedName": "echo", "doc": "Echo back the prompt in addition to the completion", "type": { - "$id": "6571", + "$id": "6880", "kind": "nullable", "type": { - "$id": "6572", + "$id": "6881", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -87585,16 +92424,16 @@ "isHttpMetadata": false }, { - "$id": "6573", + "$id": "6882", "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": "6574", + "$id": "6883", "kind": "nullable", "type": { - "$id": "6575", + "$id": "6884", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -87616,16 +92455,16 @@ "isHttpMetadata": false }, { - "$id": "6576", + "$id": "6885", "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": "6577", + "$id": "6886", "kind": "nullable", "type": { - "$ref": "3153" + "$ref": "3221" }, "namespace": "OpenAI" }, @@ -87643,16 +92482,16 @@ "isHttpMetadata": false }, { - "$id": "6578", + "$id": "6887", "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": "6579", + "$id": "6888", "kind": "nullable", "type": { - "$id": "6580", + "$id": "6889", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87674,16 +92513,16 @@ "isHttpMetadata": false }, { - "$id": "6581", + "$id": "6890", "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": "6582", + "$id": "6891", "kind": "nullable", "type": { - "$id": "6583", + "$id": "6892", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87705,16 +92544,16 @@ "isHttpMetadata": false }, { - "$id": "6584", + "$id": "6893", "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": "6585", + "$id": "6894", "kind": "nullable", "type": { - "$id": "6586", + "$id": "6895", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87736,16 +92575,16 @@ "isHttpMetadata": false }, { - "$id": "6587", + "$id": "6896", "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": "6588", + "$id": "6897", "kind": "nullable", "type": { - "$id": "6589", + "$id": "6898", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -87767,16 +92606,16 @@ "isHttpMetadata": false }, { - "$id": "6590", + "$id": "6899", "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": "6591", + "$id": "6900", "kind": "nullable", "type": { - "$id": "6592", + "$id": "6901", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -87798,15 +92637,15 @@ "isHttpMetadata": false }, { - "$id": "6593", + "$id": "6902", "kind": "property", "name": "stop", "serializedName": "stop", "type": { - "$id": "6594", + "$id": "6903", "kind": "nullable", "type": { - "$ref": "3149" + "$ref": "3217" }, "namespace": "OpenAI" }, @@ -87824,16 +92663,16 @@ "isHttpMetadata": false }, { - "$id": "6595", + "$id": "6904", "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": "6596", + "$id": "6905", "kind": "nullable", "type": { - "$id": "6597", + "$id": "6906", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -87855,15 +92694,15 @@ "isHttpMetadata": false }, { - "$id": "6598", + "$id": "6907", "kind": "property", "name": "stream_options", "serializedName": "stream_options", "type": { - "$id": "6599", + "$id": "6908", "kind": "nullable", "type": { - "$ref": "3183" + "$ref": "3251" }, "namespace": "OpenAI" }, @@ -87881,16 +92720,16 @@ "isHttpMetadata": false }, { - "$id": "6600", + "$id": "6909", "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": "6601", + "$id": "6910", "kind": "nullable", "type": { - "$id": "6602", + "$id": "6911", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87912,16 +92751,16 @@ "isHttpMetadata": false }, { - "$id": "6603", + "$id": "6912", "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": "6604", + "$id": "6913", "kind": "nullable", "type": { - "$id": "6605", + "$id": "6914", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -87943,16 +92782,16 @@ "isHttpMetadata": false }, { - "$id": "6606", + "$id": "6915", "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": "6607", + "$id": "6916", "kind": "nullable", "type": { - "$id": "6608", + "$id": "6917", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -87974,13 +92813,13 @@ "isHttpMetadata": false }, { - "$id": "6609", + "$id": "6918", "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": "6610", + "$id": "6919", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88002,7 +92841,7 @@ ] }, { - "$id": "6611", + "$id": "6920", "kind": "model", "name": "CreateCompletionResponse", "namespace": "OpenAI", @@ -88017,13 +92856,13 @@ }, "properties": [ { - "$id": "6612", + "$id": "6921", "kind": "property", "name": "id", "serializedName": "id", "doc": "A unique identifier for the completion.", "type": { - "$id": "6613", + "$id": "6922", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88043,17 +92882,17 @@ "isHttpMetadata": false }, { - "$id": "6614", + "$id": "6923", "kind": "property", "name": "choices", "serializedName": "choices", "doc": "The list of completion choices the model generated for the input prompt.", "type": { - "$id": "6615", + "$id": "6924", "kind": "array", "name": "Array27", "valueType": { - "$id": "6616", + "$id": "6925", "kind": "model", "name": "CreateCompletionResponseChoice", "namespace": "OpenAI", @@ -88067,13 +92906,13 @@ }, "properties": [ { - "$id": "6617", + "$id": "6926", "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": "861" + "$ref": "925" }, "optional": false, "readOnly": false, @@ -88089,12 +92928,12 @@ "isHttpMetadata": false }, { - "$id": "6618", + "$id": "6927", "kind": "property", "name": "index", "serializedName": "index", "type": { - "$id": "6619", + "$id": "6928", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -88114,15 +92953,15 @@ "isHttpMetadata": false }, { - "$id": "6620", + "$id": "6929", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "type": { - "$id": "6621", + "$id": "6930", "kind": "nullable", "type": { - "$id": "6622", + "$id": "6931", "kind": "model", "name": "CreateCompletionResponseChoiceLogprobs1", "namespace": "OpenAI", @@ -88136,12 +92975,12 @@ }, "properties": [ { - "$id": "6623", + "$id": "6932", "kind": "property", "name": "text_offset", "serializedName": "text_offset", "type": { - "$ref": "2906" + "$ref": "2974" }, "optional": true, "readOnly": false, @@ -88157,12 +92996,12 @@ "isHttpMetadata": false }, { - "$id": "6624", + "$id": "6933", "kind": "property", "name": "token_logprobs", "serializedName": "token_logprobs", "type": { - "$ref": "3571" + "$ref": "3639" }, "optional": true, "readOnly": false, @@ -88178,12 +93017,12 @@ "isHttpMetadata": false }, { - "$id": "6625", + "$id": "6934", "kind": "property", "name": "tokens", "serializedName": "tokens", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -88199,26 +93038,26 @@ "isHttpMetadata": false }, { - "$id": "6626", + "$id": "6935", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "type": { - "$id": "6627", + "$id": "6936", "kind": "array", "name": "ArrayRecord1", "valueType": { - "$id": "6628", + "$id": "6937", "kind": "dict", "keyType": { - "$id": "6629", + "$id": "6938", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "6630", + "$id": "6939", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -88260,12 +93099,12 @@ "isHttpMetadata": false }, { - "$id": "6631", + "$id": "6940", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "6632", + "$id": "6941", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88303,18 +93142,18 @@ "isHttpMetadata": false }, { - "$id": "6633", + "$id": "6942", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) of when the completion was created.", "type": { - "$id": "6634", + "$id": "6943", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6635", + "$id": "6944", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -88337,13 +93176,13 @@ "isHttpMetadata": false }, { - "$id": "6636", + "$id": "6945", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used for completion.", "type": { - "$id": "6637", + "$id": "6946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88363,13 +93202,13 @@ "isHttpMetadata": false }, { - "$id": "6638", + "$id": "6947", "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": "6639", + "$id": "6948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88389,13 +93228,13 @@ "isHttpMetadata": false }, { - "$id": "6640", + "$id": "6949", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"text_completion\"", "type": { - "$ref": "1867" + "$ref": "1935" }, "optional": false, "readOnly": false, @@ -88411,12 +93250,12 @@ "isHttpMetadata": false }, { - "$id": "6641", + "$id": "6950", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$ref": "2929" + "$ref": "2997" }, "optional": true, "readOnly": false, @@ -88434,13 +93273,13 @@ ] }, { - "$ref": "6616" + "$ref": "6925" }, { - "$ref": "6622" + "$ref": "6931" }, { - "$id": "6642", + "$id": "6951", "kind": "model", "name": "RealtimeClientEvent", "namespace": "OpenAI", @@ -88454,13 +93293,13 @@ } }, "discriminatorProperty": { - "$id": "6643", + "$id": "6952", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of event.", "type": { - "$ref": "866" + "$ref": "930" }, "optional": false, "readOnly": false, @@ -88477,15 +93316,15 @@ }, "properties": [ { - "$ref": "6643" + "$ref": "6952" }, { - "$id": "6644", + "$id": "6953", "kind": "property", "name": "event_id", "serializedName": "event_id", "type": { - "$id": "6645", + "$id": "6954", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88507,7 +93346,7 @@ ], "discriminatedSubtypes": { "session.update": { - "$id": "6646", + "$id": "6955", "kind": "model", "name": "RealtimeClientEventSessionUpdate", "namespace": "OpenAI", @@ -88522,32 +93361,32 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "6647", + "$id": "6956", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `session.update`.", "type": { - "$id": "6648", + "$id": "6957", "kind": "enumvalue", "name": "session_update", "value": "session.update", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$id": "6649", + "$id": "6958", "kind": "enum", "decorators": [], "name": "RealtimeClientEventType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6650", + "$id": "6959", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -88556,159 +93395,159 @@ }, "values": [ { - "$id": "6651", + "$id": "6960", "kind": "enumvalue", "decorators": [], "name": "session_update", "value": "session.update", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6652", + "$id": "6961", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_append", "value": "input_audio_buffer.append", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6653", + "$id": "6962", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_commit", "value": "input_audio_buffer.commit", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6654", + "$id": "6963", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_clear", "value": "input_audio_buffer.clear", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6655", + "$id": "6964", "kind": "enumvalue", "decorators": [], "name": "output_audio_buffer_clear", "value": "output_audio_buffer.clear", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6656", + "$id": "6965", "kind": "enumvalue", "decorators": [], "name": "conversation_item_create", "value": "conversation.item.create", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6657", + "$id": "6966", "kind": "enumvalue", "decorators": [], "name": "conversation_item_retrieve", "value": "conversation.item.retrieve", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6658", + "$id": "6967", "kind": "enumvalue", "decorators": [], "name": "conversation_item_truncate", "value": "conversation.item.truncate", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6659", + "$id": "6968", "kind": "enumvalue", "decorators": [], "name": "conversation_item_delete", "value": "conversation.item.delete", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6660", + "$id": "6969", "kind": "enumvalue", "decorators": [], "name": "response_create", "value": "response.create", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6661", + "$id": "6970", "kind": "enumvalue", "decorators": [], "name": "response_cancel", "value": "response.cancel", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } }, { - "$id": "6662", + "$id": "6971", "kind": "enumvalue", "decorators": [], "name": "transcription_session_update", "value": "transcription_session.update", "valueType": { - "$ref": "6650" + "$ref": "6959" }, "enumType": { - "$ref": "6649" + "$ref": "6958" } } ], @@ -88737,13 +93576,13 @@ "isHttpMetadata": false }, { - "$id": "6663", + "$id": "6972", "kind": "property", "name": "session", "serializedName": "session", "doc": "Update the Realtime session. Choose either a realtime session or a transcription session.", "type": { - "$id": "6664", + "$id": "6973", "kind": "model", "name": "RealtimeRequestSessionBase", "namespace": "OpenAI", @@ -88757,13 +93596,13 @@ } }, "discriminatorProperty": { - "$id": "6665", + "$id": "6974", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session.", "type": { - "$ref": "880" + "$ref": "944" }, "optional": false, "readOnly": false, @@ -88780,12 +93619,12 @@ }, "properties": [ { - "$ref": "6665" + "$ref": "6974" } ], "discriminatedSubtypes": { "realtime": { - "$id": "6666", + "$id": "6975", "kind": "model", "name": "RealtimeRequestSession", "namespace": "OpenAI", @@ -88800,25 +93639,25 @@ } }, "baseModel": { - "$ref": "6664" + "$ref": "6973" }, "properties": [ { - "$id": "6667", + "$id": "6976", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session. Must be \"realtime\" for realtime sessions.", "type": { - "$id": "6668", + "$id": "6977", "kind": "enumvalue", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "881" + "$ref": "945" }, "enumType": { - "$id": "6669", + "$id": "6978", "kind": "enum", "decorators": [], "doc": "Union type for the session type discriminator.", @@ -88826,7 +93665,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6670", + "$id": "6979", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -88835,31 +93674,31 @@ }, "values": [ { - "$id": "6671", + "$id": "6980", "kind": "enumvalue", "decorators": [], "doc": "A real-time conversation session.", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "6670" + "$ref": "6979" }, "enumType": { - "$ref": "6669" + "$ref": "6978" } }, { - "$id": "6672", + "$id": "6981", "kind": "enumvalue", "decorators": [], "doc": "A transcription session.", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "6670" + "$ref": "6979" }, "enumType": { - "$ref": "6669" + "$ref": "6978" } } ], @@ -88889,17 +93728,17 @@ "isHttpMetadata": false }, { - "$id": "6673", + "$id": "6982", "kind": "property", "name": "output_modalities", "serializedName": "output_modalities", "doc": "The set of modalities the model can respond with. It defaults to [\"audio\"], indicating\nthat the model will respond with audio plus a transcript. [\"text\"] can be used to make\nthe model respond with text only. It is not possible to request both \"text\" and \"audio\" at the same time.", "type": { - "$id": "6674", + "$id": "6983", "kind": "array", "name": "ArrayRealtimeModality", "valueType": { - "$ref": "884" + "$ref": "948" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -88918,12 +93757,12 @@ "isHttpMetadata": false }, { - "$id": "6675", + "$id": "6984", "kind": "property", "name": "instructions", "serializedName": "instructions", "type": { - "$id": "6676", + "$id": "6985", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88943,12 +93782,12 @@ "isHttpMetadata": false }, { - "$id": "6677", + "$id": "6986", "kind": "property", "name": "model", "serializedName": "model", "type": { - "$ref": "888" + "$ref": "952" }, "optional": true, "readOnly": false, @@ -88964,13 +93803,13 @@ "isHttpMetadata": false }, { - "$id": "6678", + "$id": "6987", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Configuration for input and output audio.", "type": { - "$id": "6679", + "$id": "6988", "kind": "model", "name": "RealtimeSessionAudioConfiguration", "namespace": "OpenAI", @@ -88985,13 +93824,13 @@ }, "properties": [ { - "$id": "6680", + "$id": "6989", "kind": "property", "name": "input", "serializedName": "input", "doc": "Configuration for input audio.", "type": { - "$id": "6681", + "$id": "6990", "kind": "model", "name": "RealtimeSessionAudioInputConfiguration", "namespace": "OpenAI", @@ -89006,13 +93845,13 @@ }, "properties": [ { - "$id": "6682", + "$id": "6991", "kind": "property", "name": "format", "serializedName": "format", "doc": "The format of input audio. GA format with type discriminator and optional rate for PCM.", "type": { - "$id": "6683", + "$id": "6992", "kind": "model", "name": "RealtimeAudioFormats", "namespace": "OpenAI", @@ -89026,13 +93865,13 @@ } }, "discriminatorProperty": { - "$id": "6684", + "$id": "6993", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of audio format.", "type": { - "$ref": "904" + "$ref": "968" }, "optional": false, "readOnly": false, @@ -89049,12 +93888,12 @@ }, "properties": [ { - "$ref": "6684" + "$ref": "6993" } ], "discriminatedSubtypes": { "audio/pcm": { - "$id": "6685", + "$id": "6994", "kind": "model", "name": "RealtimeAudioFormatsPcm", "namespace": "OpenAI", @@ -89069,25 +93908,25 @@ } }, "baseModel": { - "$ref": "6683" + "$ref": "6992" }, "properties": [ { - "$id": "6686", + "$id": "6995", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of audio format. Must be \"audio/pcm\".", "type": { - "$id": "6687", + "$id": "6996", "kind": "enumvalue", "name": "audio_pcm", "value": "audio/pcm", "valueType": { - "$ref": "905" + "$ref": "969" }, "enumType": { - "$id": "6688", + "$id": "6997", "kind": "enum", "decorators": [], "doc": "Union type for the audio formats type discriminator.", @@ -89095,7 +93934,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6689", + "$id": "6998", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -89104,45 +93943,45 @@ }, "values": [ { - "$id": "6690", + "$id": "6999", "kind": "enumvalue", "decorators": [], "doc": "PCM audio format.", "name": "audio_pcm", "value": "audio/pcm", "valueType": { - "$ref": "6689" + "$ref": "6998" }, "enumType": { - "$ref": "6688" + "$ref": "6997" } }, { - "$id": "6691", + "$id": "7000", "kind": "enumvalue", "decorators": [], "doc": "G.711 μ-law audio format.", "name": "audio_pcmu", "value": "audio/pcmu", "valueType": { - "$ref": "6689" + "$ref": "6998" }, "enumType": { - "$ref": "6688" + "$ref": "6997" } }, { - "$id": "6692", + "$id": "7001", "kind": "enumvalue", "decorators": [], "doc": "G.711 A-law audio format.", "name": "audio_pcma", "value": "audio/pcma", "valueType": { - "$ref": "6689" + "$ref": "6998" }, "enumType": { - "$ref": "6688" + "$ref": "6997" } } ], @@ -89172,13 +94011,13 @@ "isHttpMetadata": false }, { - "$id": "6693", + "$id": "7002", "kind": "property", "name": "rate", "serializedName": "rate", "doc": "The sample rate for PCM audio. Defaults to 24000.", "type": { - "$ref": "909" + "$ref": "973" }, "optional": true, "readOnly": false, @@ -89196,7 +94035,7 @@ ] }, "audio/pcmu": { - "$id": "6694", + "$id": "7003", "kind": "model", "name": "RealtimeAudioFormatsPcmu", "namespace": "OpenAI", @@ -89211,25 +94050,25 @@ } }, "baseModel": { - "$ref": "6683" + "$ref": "6992" }, "properties": [ { - "$id": "6695", + "$id": "7004", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of audio format. Must be \"audio/pcmu\".", "type": { - "$id": "6696", + "$id": "7005", "kind": "enumvalue", "name": "audio_pcmu", "value": "audio/pcmu", "valueType": { - "$ref": "905" + "$ref": "969" }, "enumType": { - "$ref": "6688" + "$ref": "6997" }, "doc": "G.711 μ-law audio format.", "decorators": [] @@ -89250,7 +94089,7 @@ ] }, "audio/pcma": { - "$id": "6697", + "$id": "7006", "kind": "model", "name": "RealtimeAudioFormatsPcma", "namespace": "OpenAI", @@ -89265,25 +94104,25 @@ } }, "baseModel": { - "$ref": "6683" + "$ref": "6992" }, "properties": [ { - "$id": "6698", + "$id": "7007", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of audio format. Must be \"audio/pcma\".", "type": { - "$id": "6699", + "$id": "7008", "kind": "enumvalue", "name": "audio_pcma", "value": "audio/pcma", "valueType": { - "$ref": "905" + "$ref": "969" }, "enumType": { - "$ref": "6688" + "$ref": "6997" }, "doc": "G.711 A-law audio format.", "decorators": [] @@ -89319,16 +94158,16 @@ "isHttpMetadata": false }, { - "$id": "6700", + "$id": "7009", "kind": "property", "name": "transcription", "serializedName": "transcription", "doc": "Configuration for input audio transcription.", "type": { - "$id": "6701", + "$id": "7010", "kind": "nullable", "type": { - "$id": "6702", + "$id": "7011", "kind": "model", "name": "RealtimeAudioInputTranscriptionSettings", "namespace": "OpenAI", @@ -89342,12 +94181,12 @@ }, "properties": [ { - "$id": "6703", + "$id": "7012", "kind": "property", "name": "model", "serializedName": "model", "type": { - "$ref": "913" + "$ref": "977" }, "optional": true, "readOnly": false, @@ -89363,12 +94202,12 @@ "isHttpMetadata": false }, { - "$id": "6704", + "$id": "7013", "kind": "property", "name": "language", "serializedName": "language", "type": { - "$id": "6705", + "$id": "7014", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89388,12 +94227,12 @@ "isHttpMetadata": false }, { - "$id": "6706", + "$id": "7015", "kind": "property", "name": "prompt", "serializedName": "prompt", "type": { - "$id": "6707", + "$id": "7016", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89430,16 +94269,16 @@ "isHttpMetadata": false }, { - "$id": "6708", + "$id": "7017", "kind": "property", "name": "noise_reduction", "serializedName": "noise_reduction", "doc": "Configuration for input audio noise reduction.", "type": { - "$id": "6709", + "$id": "7018", "kind": "nullable", "type": { - "$id": "6710", + "$id": "7019", "kind": "model", "name": "RealtimeAudioNoiseReduction", "namespace": "OpenAI", @@ -89452,12 +94291,12 @@ } }, "discriminatorProperty": { - "$id": "6711", + "$id": "7020", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "920" + "$ref": "984" }, "optional": false, "readOnly": false, @@ -89474,12 +94313,12 @@ }, "properties": [ { - "$ref": "6711" + "$ref": "7020" } ], "discriminatedSubtypes": { "near_field": { - "$id": "6712", + "$id": "7021", "kind": "model", "name": "RealtimeAudioNearFieldNoiseReduction", "namespace": "OpenAI", @@ -89493,31 +94332,31 @@ } }, "baseModel": { - "$ref": "6710" + "$ref": "7019" }, "properties": [ { - "$id": "6713", + "$id": "7022", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6714", + "$id": "7023", "kind": "enumvalue", "name": "near_field", "value": "near_field", "valueType": { - "$ref": "921" + "$ref": "985" }, "enumType": { - "$id": "6715", + "$id": "7024", "kind": "enum", "decorators": [], "name": "RealtimeAudioNoiseReductionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6716", + "$id": "7025", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -89526,29 +94365,29 @@ }, "values": [ { - "$id": "6717", + "$id": "7026", "kind": "enumvalue", "decorators": [], "name": "near_field", "value": "near_field", "valueType": { - "$ref": "6716" + "$ref": "7025" }, "enumType": { - "$ref": "6715" + "$ref": "7024" } }, { - "$id": "6718", + "$id": "7027", "kind": "enumvalue", "decorators": [], "name": "far_field", "value": "far_field", "valueType": { - "$ref": "6716" + "$ref": "7025" }, "enumType": { - "$ref": "6715" + "$ref": "7024" } } ], @@ -89579,7 +94418,7 @@ ] }, "far_field": { - "$id": "6719", + "$id": "7028", "kind": "model", "name": "RealtimeAudioFarFieldNoiseReduction", "namespace": "OpenAI", @@ -89593,24 +94432,24 @@ } }, "baseModel": { - "$ref": "6710" + "$ref": "7019" }, "properties": [ { - "$id": "6720", + "$id": "7029", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6721", + "$id": "7030", "kind": "enumvalue", "name": "far_field", "value": "far_field", "valueType": { - "$ref": "921" + "$ref": "985" }, "enumType": { - "$ref": "6715" + "$ref": "7024" }, "decorators": [] }, @@ -89647,16 +94486,16 @@ "isHttpMetadata": false }, { - "$id": "6722", + "$id": "7031", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "doc": "Configuration for turn detection.", "type": { - "$id": "6723", + "$id": "7032", "kind": "nullable", "type": { - "$id": "6724", + "$id": "7033", "kind": "model", "name": "RealtimeTurnDetection", "namespace": "OpenAI", @@ -89669,12 +94508,12 @@ } }, "discriminatorProperty": { - "$id": "6725", + "$id": "7034", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "924" + "$ref": "988" }, "optional": false, "readOnly": false, @@ -89691,16 +94530,16 @@ }, "properties": [ { - "$ref": "6725" + "$ref": "7034" }, { - "$id": "6726", + "$id": "7035", "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": "6727", + "$id": "7036", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -89720,13 +94559,13 @@ "isHttpMetadata": false }, { - "$id": "6728", + "$id": "7037", "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": "6729", + "$id": "7038", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -89748,7 +94587,7 @@ ], "discriminatedSubtypes": { "server_vad": { - "$id": "6730", + "$id": "7039", "kind": "model", "name": "RealtimeServerVadTurnDetection", "namespace": "OpenAI", @@ -89762,31 +94601,31 @@ } }, "baseModel": { - "$ref": "6724" + "$ref": "7033" }, "properties": [ { - "$id": "6731", + "$id": "7040", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6732", + "$id": "7041", "kind": "enumvalue", "name": "server_vad", "value": "server_vad", "valueType": { - "$ref": "925" + "$ref": "989" }, "enumType": { - "$id": "6733", + "$id": "7042", "kind": "enum", "decorators": [], "name": "RealtimeTurnDetectionType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6734", + "$id": "7043", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -89795,30 +94634,30 @@ }, "values": [ { - "$id": "6735", + "$id": "7044", "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": "6734" + "$ref": "7043" }, "enumType": { - "$ref": "6733" + "$ref": "7042" } }, { - "$id": "6736", + "$id": "7045", "kind": "enumvalue", "decorators": [], "name": "semantic_vad", "value": "semantic_vad", "valueType": { - "$ref": "6734" + "$ref": "7043" }, "enumType": { - "$ref": "6733" + "$ref": "7042" } } ], @@ -89848,13 +94687,13 @@ "isHttpMetadata": false }, { - "$id": "6737", + "$id": "7046", "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": "6738", + "$id": "7047", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89874,18 +94713,18 @@ "isHttpMetadata": false }, { - "$id": "6739", + "$id": "7048", "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": "6740", + "$id": "7049", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "6741", + "$id": "7050", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89908,18 +94747,18 @@ "isHttpMetadata": false }, { - "$id": "6742", + "$id": "7051", "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": "6743", + "$id": "7052", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "6744", + "$id": "7053", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89942,21 +94781,21 @@ "isHttpMetadata": false }, { - "$id": "6745", + "$id": "7054", "kind": "property", "name": "idle_timeout_ms", "serializedName": "idle_timeout_ms", "doc": "Timeout in milliseconds for idle detection. If no audio is received for this duration,\nthe server will emit an `input_audio_buffer.timeout_triggered` event.", "type": { - "$id": "6746", + "$id": "7055", "kind": "nullable", "type": { - "$id": "6747", + "$id": "7056", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "6748", + "$id": "7057", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89983,7 +94822,7 @@ ] }, "semantic_vad": { - "$id": "6749", + "$id": "7058", "kind": "model", "name": "RealtimeSemanticVadTurnDetection", "namespace": "OpenAI", @@ -89997,24 +94836,24 @@ } }, "baseModel": { - "$ref": "6724" + "$ref": "7033" }, "properties": [ { - "$id": "6750", + "$id": "7059", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6751", + "$id": "7060", "kind": "enumvalue", "name": "semantic_vad", "value": "semantic_vad", "valueType": { - "$ref": "925" + "$ref": "989" }, "enumType": { - "$ref": "6733" + "$ref": "7042" }, "decorators": [] }, @@ -90032,13 +94871,13 @@ "isHttpMetadata": false }, { - "$id": "6752", + "$id": "7061", "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": "928" + "$ref": "992" }, "optional": true, "readOnly": false, @@ -90088,13 +94927,13 @@ "isHttpMetadata": false }, { - "$id": "6753", + "$id": "7062", "kind": "property", "name": "output", "serializedName": "output", "doc": "Configuration for output audio.", "type": { - "$id": "6754", + "$id": "7063", "kind": "model", "name": "RealtimeSessionAudioOutputConfiguration", "namespace": "OpenAI", @@ -90109,13 +94948,13 @@ }, "properties": [ { - "$id": "6755", + "$id": "7064", "kind": "property", "name": "format", "serializedName": "format", "doc": "The format of output audio. GA format with type discriminator and optional rate for PCM.", "type": { - "$ref": "6683" + "$ref": "6992" }, "optional": true, "readOnly": false, @@ -90131,7 +94970,7 @@ "isHttpMetadata": false }, { - "$id": "6756", + "$id": "7065", "kind": "property", "name": "voice", "serializedName": "voice", @@ -90153,13 +94992,13 @@ "isHttpMetadata": false }, { - "$id": "6757", + "$id": "7066", "kind": "property", "name": "speed", "serializedName": "speed", "doc": "The speed of the model's spoken response. 1.0 is the default. Range: [0.25, 1.5]", "type": { - "$id": "6758", + "$id": "7067", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -90209,17 +95048,17 @@ "isHttpMetadata": false }, { - "$id": "6759", + "$id": "7068", "kind": "property", "name": "include", "serializedName": "include", "doc": "Additional fields to include in server outputs.\n- `item.input_audio_transcription.logprobs`: Include logprobs for input audio transcription.", "type": { - "$id": "6760", + "$id": "7069", "kind": "array", "name": "Array28", "valueType": { - "$ref": "1869" + "$ref": "1937" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -90238,24 +95077,24 @@ "isHttpMetadata": false }, { - "$id": "6761", + "$id": "7070", "kind": "property", "name": "tracing", "serializedName": "tracing", "doc": "Configuration options for tracing. Set to null to disable tracing.", "type": { - "$id": "6762", + "$id": "7071", "kind": "nullable", "type": { - "$id": "6763", + "$id": "7072", "kind": "union", "name": "RealtimeRequestSessionTracing", "variantTypes": [ { - "$ref": "1871" + "$ref": "1939" }, { - "$id": "6764", + "$id": "7073", "kind": "model", "name": "RealtimeTracingConfig", "namespace": "OpenAI", @@ -90270,13 +95109,13 @@ }, "properties": [ { - "$id": "6765", + "$id": "7074", "kind": "property", "name": "workflow_name", "serializedName": "workflow_name", "doc": "The name of the workflow to attach to this trace.", "type": { - "$id": "6766", + "$id": "7075", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90296,13 +95135,13 @@ "isHttpMetadata": false }, { - "$id": "6767", + "$id": "7076", "kind": "property", "name": "group_id", "serializedName": "group_id", "doc": "The group id to attach to this trace for filtering and grouping.", "type": { - "$id": "6768", + "$id": "7077", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90322,13 +95161,13 @@ "isHttpMetadata": false }, { - "$id": "6769", + "$id": "7078", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Arbitrary metadata to attach to this trace for filtering.", "type": { - "$id": "6770", + "$id": "7079", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -90369,16 +95208,16 @@ "isHttpMetadata": false }, { - "$id": "6771", + "$id": "7080", "kind": "property", "name": "tools", "serializedName": "tools", "type": { - "$id": "6772", + "$id": "7081", "kind": "array", "name": "ArrayRealtimeTool", "valueType": { - "$id": "6773", + "$id": "7082", "kind": "model", "name": "RealtimeTool", "namespace": "OpenAI", @@ -90392,12 +95231,12 @@ } }, "discriminatorProperty": { - "$id": "6774", + "$id": "7083", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "934" + "$ref": "998" }, "optional": false, "readOnly": false, @@ -90414,12 +95253,12 @@ }, "properties": [ { - "$ref": "6774" + "$ref": "7083" } ], "discriminatedSubtypes": { "function": { - "$id": "6775", + "$id": "7084", "kind": "model", "name": "RealtimeFunctionTool", "namespace": "OpenAI", @@ -90434,24 +95273,24 @@ } }, "baseModel": { - "$ref": "6773" + "$ref": "7082" }, "properties": [ { - "$id": "6776", + "$id": "7085", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6777", + "$id": "7086", "kind": "enumvalue", "name": "function", "value": "function", "valueType": { - "$ref": "935" + "$ref": "999" }, "enumType": { - "$id": "6778", + "$id": "7087", "kind": "enum", "decorators": [], "doc": "The supported tool type discriminators for realtime tools.\nSupports 'function' tools and 'mcp' (Model Context Protocol) tools.", @@ -90459,7 +95298,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6779", + "$id": "7088", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -90468,29 +95307,29 @@ }, "values": [ { - "$id": "6780", + "$id": "7089", "kind": "enumvalue", "decorators": [], "name": "function", "value": "function", "valueType": { - "$ref": "6779" + "$ref": "7088" }, "enumType": { - "$ref": "6778" + "$ref": "7087" } }, { - "$id": "6781", + "$id": "7090", "kind": "enumvalue", "decorators": [], "name": "mcp", "value": "mcp", "valueType": { - "$ref": "6779" + "$ref": "7088" }, "enumType": { - "$ref": "6778" + "$ref": "7087" } } ], @@ -90519,12 +95358,12 @@ "isHttpMetadata": false }, { - "$id": "6782", + "$id": "7091", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6783", + "$id": "7092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90544,12 +95383,12 @@ "isHttpMetadata": false }, { - "$id": "6784", + "$id": "7093", "kind": "property", "name": "description", "serializedName": "description", "type": { - "$id": "6785", + "$id": "7094", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90569,12 +95408,12 @@ "isHttpMetadata": false }, { - "$id": "6786", + "$id": "7095", "kind": "property", "name": "parameters", "serializedName": "parameters", "type": { - "$id": "6787", + "$id": "7096", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -90596,7 +95435,7 @@ ] }, "mcp": { - "$id": "6788", + "$id": "7097", "kind": "model", "name": "RealtimeMCPTool", "namespace": "OpenAI", @@ -90611,25 +95450,25 @@ } }, "baseModel": { - "$ref": "6773" + "$ref": "7082" }, "properties": [ { - "$id": "6789", + "$id": "7098", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the MCP tool. Always `mcp`.", "type": { - "$id": "6790", + "$id": "7099", "kind": "enumvalue", "name": "mcp", "value": "mcp", "valueType": { - "$ref": "935" + "$ref": "999" }, "enumType": { - "$ref": "6778" + "$ref": "7087" }, "decorators": [] }, @@ -90647,13 +95486,13 @@ "isHttpMetadata": false }, { - "$id": "6791", + "$id": "7100", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "A label for this MCP server, used to identify it in tool calls.", "type": { - "$id": "6792", + "$id": "7101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90673,13 +95512,13 @@ "isHttpMetadata": false }, { - "$id": "6793", + "$id": "7102", "kind": "property", "name": "server_url", "serializedName": "server_url", "doc": "The URL for the MCP server.", "type": { - "$id": "6794", + "$id": "7103", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90699,13 +95538,13 @@ "isHttpMetadata": false }, { - "$id": "6795", + "$id": "7104", "kind": "property", "name": "authorization", "serializedName": "authorization", "doc": "An OAuth access token for the MCP server.", "type": { - "$id": "6796", + "$id": "7105", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90725,13 +95564,13 @@ "isHttpMetadata": false }, { - "$id": "6797", + "$id": "7106", "kind": "property", "name": "server_description", "serializedName": "server_description", "doc": "Optional description of the MCP server.", "type": { - "$id": "6798", + "$id": "7107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90751,16 +95590,16 @@ "isHttpMetadata": false }, { - "$id": "6799", + "$id": "7108", "kind": "property", "name": "headers", "serializedName": "headers", "doc": "Optional HTTP headers to send to the MCP server.", "type": { - "$id": "6800", + "$id": "7109", "kind": "nullable", "type": { - "$ref": "2580" + "$ref": "2648" }, "namespace": "OpenAI" }, @@ -90778,13 +95617,13 @@ "isHttpMetadata": false }, { - "$id": "6801", + "$id": "7110", "kind": "property", "name": "allowed_tools", "serializedName": "allowed_tools", "doc": "List of allowed tool names.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -90800,16 +95639,16 @@ "isHttpMetadata": false }, { - "$id": "6802", + "$id": "7111", "kind": "property", "name": "require_approval", "serializedName": "require_approval", "doc": "Specify which of the MCP server's tools require approval.", "type": { - "$id": "6803", + "$id": "7112", "kind": "nullable", "type": { - "$ref": "938" + "$ref": "1002" }, "namespace": "OpenAI" }, @@ -90847,20 +95686,20 @@ "isHttpMetadata": false }, { - "$id": "6804", + "$id": "7113", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "6805", + "$id": "7114", "kind": "union", "name": "RealtimeToolChoice", "variantTypes": [ { - "$ref": "942" + "$ref": "1006" }, { - "$id": "6806", + "$id": "7115", "kind": "model", "name": "RealtimeToolChoiceObject", "namespace": "OpenAI", @@ -90874,12 +95713,12 @@ } }, "discriminatorProperty": { - "$id": "6807", + "$id": "7116", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "934" + "$ref": "998" }, "optional": false, "readOnly": false, @@ -90896,12 +95735,12 @@ }, "properties": [ { - "$ref": "6807" + "$ref": "7116" } ], "discriminatedSubtypes": { "function": { - "$id": "6808", + "$id": "7117", "kind": "model", "name": "RealtimeToolChoiceFunctionObject", "namespace": "OpenAI", @@ -90916,16 +95755,16 @@ } }, "baseModel": { - "$ref": "6806" + "$ref": "7115" }, "properties": [ { - "$id": "6809", + "$id": "7118", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6777" + "$ref": "7086" }, "optional": false, "readOnly": false, @@ -90941,12 +95780,12 @@ "isHttpMetadata": false }, { - "$id": "6810", + "$id": "7119", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "6811", + "$id": "7120", "kind": "model", "name": "RealtimeToolChoiceFunctionObjectFunction", "namespace": "OpenAI", @@ -90960,12 +95799,12 @@ }, "properties": [ { - "$id": "6812", + "$id": "7121", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6813", + "$id": "7122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91004,7 +95843,7 @@ } }, { - "$id": "6814", + "$id": "7123", "kind": "model", "name": "RealtimeToolChoiceMCPObject", "namespace": "OpenAI", @@ -91019,12 +95858,12 @@ }, "properties": [ { - "$id": "6815", + "$id": "7124", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6790" + "$ref": "7099" }, "optional": false, "readOnly": false, @@ -91040,12 +95879,12 @@ "isHttpMetadata": false }, { - "$id": "6816", + "$id": "7125", "kind": "property", "name": "mcp", "serializedName": "mcp", "type": { - "$id": "6817", + "$id": "7126", "kind": "model", "name": "RealtimeToolChoiceMCPObjectMcp", "namespace": "OpenAI", @@ -91059,12 +95898,12 @@ }, "properties": [ { - "$id": "6818", + "$id": "7127", "kind": "property", "name": "server_label", "serializedName": "server_label", "type": { - "$id": "6819", + "$id": "7128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91084,12 +95923,12 @@ "isHttpMetadata": false }, { - "$id": "6820", + "$id": "7129", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6821", + "$id": "7130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91143,12 +95982,12 @@ "isHttpMetadata": false }, { - "$id": "6822", + "$id": "7131", "kind": "property", "name": "temperature", "serializedName": "temperature", "type": { - "$id": "6823", + "$id": "7132", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -91168,24 +96007,24 @@ "isHttpMetadata": false }, { - "$id": "6824", + "$id": "7133", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "type": { - "$id": "6825", + "$id": "7134", "kind": "union", "name": "RealtimeRequestSessionMaxOutputTokens", "variantTypes": [ { - "$id": "6826", + "$id": "7135", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1873" + "$ref": "1941" } ], "namespace": "OpenAI", @@ -91207,7 +96046,7 @@ ] }, "transcription": { - "$id": "6827", + "$id": "7136", "kind": "model", "name": "RealtimeTranscriptionRequestSession", "namespace": "OpenAI", @@ -91222,25 +96061,25 @@ } }, "baseModel": { - "$ref": "6664" + "$ref": "6973" }, "properties": [ { - "$id": "6828", + "$id": "7137", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session. Must be \"transcription\" for transcription sessions.", "type": { - "$id": "6829", + "$id": "7138", "kind": "enumvalue", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "881" + "$ref": "945" }, "enumType": { - "$ref": "6669" + "$ref": "6978" }, "doc": "A transcription session.", "decorators": [] @@ -91259,13 +96098,13 @@ "isHttpMetadata": false }, { - "$id": "6830", + "$id": "7139", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Configuration for input audio.", "type": { - "$id": "6831", + "$id": "7140", "kind": "model", "name": "RealtimeTranscriptionSessionAudioConfiguration", "namespace": "OpenAI", @@ -91280,13 +96119,13 @@ }, "properties": [ { - "$id": "6832", + "$id": "7141", "kind": "property", "name": "input", "serializedName": "input", "doc": "Configuration for input audio.", "type": { - "$id": "6833", + "$id": "7142", "kind": "model", "name": "RealtimeTranscriptionSessionAudioInputConfiguration", "namespace": "OpenAI", @@ -91301,13 +96140,13 @@ }, "properties": [ { - "$id": "6834", + "$id": "7143", "kind": "property", "name": "format", "serializedName": "format", "doc": "The format of input audio. GA format with type discriminator and optional rate for PCM.", "type": { - "$ref": "6683" + "$ref": "6992" }, "optional": true, "readOnly": false, @@ -91323,16 +96162,16 @@ "isHttpMetadata": false }, { - "$id": "6835", + "$id": "7144", "kind": "property", "name": "transcription", "serializedName": "transcription", "doc": "Configuration for input audio transcription.", "type": { - "$id": "6836", + "$id": "7145", "kind": "nullable", "type": { - "$ref": "6702" + "$ref": "7011" }, "namespace": "OpenAI" }, @@ -91350,16 +96189,16 @@ "isHttpMetadata": false }, { - "$id": "6837", + "$id": "7146", "kind": "property", "name": "noise_reduction", "serializedName": "noise_reduction", "doc": "Configuration for input audio noise reduction.", "type": { - "$id": "6838", + "$id": "7147", "kind": "nullable", "type": { - "$ref": "6710" + "$ref": "7019" }, "namespace": "OpenAI" }, @@ -91377,16 +96216,16 @@ "isHttpMetadata": false }, { - "$id": "6839", + "$id": "7148", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "doc": "Configuration for turn detection.", "type": { - "$id": "6840", + "$id": "7149", "kind": "nullable", "type": { - "$ref": "6724" + "$ref": "7033" }, "namespace": "OpenAI" }, @@ -91434,13 +96273,13 @@ "isHttpMetadata": false }, { - "$id": "6841", + "$id": "7150", "kind": "property", "name": "include", "serializedName": "include", "doc": "Additional fields to include in server outputs.\n- `item.input_audio_transcription.logprobs`: Include logprobs for input audio transcription.", "type": { - "$ref": "6760" + "$ref": "7069" }, "optional": true, "readOnly": false, @@ -91475,7 +96314,7 @@ ] }, "input_audio_buffer.append": { - "$id": "6842", + "$id": "7151", "kind": "model", "name": "RealtimeClientEventInputAudioBufferAppend", "namespace": "OpenAI", @@ -91490,25 +96329,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "6843", + "$id": "7152", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.append`.", "type": { - "$id": "6844", + "$id": "7153", "kind": "enumvalue", "name": "input_audio_buffer_append", "value": "input_audio_buffer.append", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -91526,13 +96365,13 @@ "isHttpMetadata": false }, { - "$id": "6845", + "$id": "7154", "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": "6846", + "$id": "7155", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -91555,7 +96394,7 @@ ] }, "input_audio_buffer.commit": { - "$id": "6847", + "$id": "7156", "kind": "model", "name": "RealtimeClientEventInputAudioBufferCommit", "namespace": "OpenAI", @@ -91570,25 +96409,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "6848", + "$id": "7157", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.commit`.", "type": { - "$id": "6849", + "$id": "7158", "kind": "enumvalue", "name": "input_audio_buffer_commit", "value": "input_audio_buffer.commit", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -91608,7 +96447,7 @@ ] }, "input_audio_buffer.clear": { - "$id": "6850", + "$id": "7159", "kind": "model", "name": "RealtimeClientEventInputAudioBufferClear", "namespace": "OpenAI", @@ -91623,25 +96462,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "6851", + "$id": "7160", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.clear`.", "type": { - "$id": "6852", + "$id": "7161", "kind": "enumvalue", "name": "input_audio_buffer_clear", "value": "input_audio_buffer.clear", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -91661,7 +96500,7 @@ ] }, "output_audio_buffer.clear": { - "$id": "6853", + "$id": "7162", "kind": "model", "name": "RealtimeClientEventOutputAudioBufferClear", "namespace": "OpenAI", @@ -91676,25 +96515,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "6854", + "$id": "7163", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `output_audio_buffer.clear`.", "type": { - "$id": "6855", + "$id": "7164", "kind": "enumvalue", "name": "output_audio_buffer_clear", "value": "output_audio_buffer.clear", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -91714,7 +96553,7 @@ ] }, "conversation.item.create": { - "$id": "6856", + "$id": "7165", "kind": "model", "name": "RealtimeClientEventConversationItemCreate", "namespace": "OpenAI", @@ -91729,25 +96568,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "6857", + "$id": "7166", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.create`.", "type": { - "$id": "6858", + "$id": "7167", "kind": "enumvalue", "name": "conversation_item_create", "value": "conversation.item.create", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -91765,13 +96604,13 @@ "isHttpMetadata": false }, { - "$id": "6859", + "$id": "7168", "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": "6860", + "$id": "7169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91791,12 +96630,12 @@ "isHttpMetadata": false }, { - "$id": "6861", + "$id": "7170", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$id": "6862", + "$id": "7171", "kind": "model", "name": "RealtimeConversationRequestItem", "namespace": "OpenAI", @@ -91809,12 +96648,12 @@ } }, "discriminatorProperty": { - "$id": "6863", + "$id": "7172", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "947" + "$ref": "1011" }, "optional": false, "readOnly": false, @@ -91831,15 +96670,15 @@ }, "properties": [ { - "$ref": "6863" + "$ref": "7172" }, { - "$id": "6864", + "$id": "7173", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6865", + "$id": "7174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91861,7 +96700,7 @@ ], "discriminatedSubtypes": { "message": { - "$id": "6866", + "$id": "7175", "kind": "model", "name": "RealtimeRequestMessageItem", "namespace": "OpenAI", @@ -91875,12 +96714,12 @@ } }, "discriminatorProperty": { - "$id": "6867", + "$id": "7176", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$ref": "957" + "$ref": "1021" }, "optional": false, "readOnly": false, @@ -91896,31 +96735,31 @@ "isHttpMetadata": false }, "baseModel": { - "$ref": "6862" + "$ref": "7171" }, "properties": [ { - "$id": "6868", + "$id": "7177", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6869", + "$id": "7178", "kind": "enumvalue", "name": "message", "value": "message", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$id": "6870", + "$id": "7179", "kind": "enum", "decorators": [], "name": "RealtimeItemType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6871", + "$id": "7180", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -91929,107 +96768,107 @@ }, "values": [ { - "$id": "6872", + "$id": "7181", "kind": "enumvalue", "decorators": [], "name": "message", "value": "message", "valueType": { - "$ref": "6871" + "$ref": "7180" }, "enumType": { - "$ref": "6870" + "$ref": "7179" } }, { - "$id": "6873", + "$id": "7182", "kind": "enumvalue", "decorators": [], "name": "function_call", "value": "function_call", "valueType": { - "$ref": "6871" + "$ref": "7180" }, "enumType": { - "$ref": "6870" + "$ref": "7179" } }, { - "$id": "6874", + "$id": "7183", "kind": "enumvalue", "decorators": [], "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "6871" + "$ref": "7180" }, "enumType": { - "$ref": "6870" + "$ref": "7179" } }, { - "$id": "6875", + "$id": "7184", "kind": "enumvalue", "decorators": [], "name": "mcp_call", "value": "mcp_call", "valueType": { - "$ref": "6871" + "$ref": "7180" }, "enumType": { - "$ref": "6870" + "$ref": "7179" } }, { - "$id": "6876", + "$id": "7185", "kind": "enumvalue", "decorators": [], "name": "mcp_call_output", "value": "mcp_call_output", "valueType": { - "$ref": "6871" + "$ref": "7180" }, "enumType": { - "$ref": "6870" + "$ref": "7179" } }, { - "$id": "6877", + "$id": "7186", "kind": "enumvalue", "decorators": [], "name": "mcp_list_tools", "value": "mcp_list_tools", "valueType": { - "$ref": "6871" + "$ref": "7180" }, "enumType": { - "$ref": "6870" + "$ref": "7179" } }, { - "$id": "6878", + "$id": "7187", "kind": "enumvalue", "decorators": [], "name": "mcp_approval_request", "value": "mcp_approval_request", "valueType": { - "$ref": "6871" + "$ref": "7180" }, "enumType": { - "$ref": "6870" + "$ref": "7179" } }, { - "$id": "6879", + "$id": "7188", "kind": "enumvalue", "decorators": [], "name": "mcp_approval_response", "value": "mcp_approval_response", "valueType": { - "$ref": "6871" + "$ref": "7180" }, "enumType": { - "$ref": "6870" + "$ref": "7179" } } ], @@ -92058,15 +96897,15 @@ "isHttpMetadata": false }, { - "$ref": "6867" + "$ref": "7176" }, { - "$id": "6880", + "$id": "7189", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "962" + "$ref": "1026" }, "optional": true, "readOnly": false, @@ -92084,7 +96923,7 @@ ], "discriminatedSubtypes": { "system": { - "$id": "6881", + "$id": "7190", "kind": "model", "name": "RealtimeRequestSystemMessageItem", "namespace": "OpenAI", @@ -92098,31 +96937,31 @@ } }, "baseModel": { - "$ref": "6866" + "$ref": "7175" }, "properties": [ { - "$id": "6882", + "$id": "7191", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$id": "6883", + "$id": "7192", "kind": "enumvalue", "name": "system", "value": "system", "valueType": { - "$ref": "958" + "$ref": "1022" }, "enumType": { - "$id": "6884", + "$id": "7193", "kind": "enum", "decorators": [], "name": "RealtimeMessageRole", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6885", + "$id": "7194", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -92131,42 +96970,42 @@ }, "values": [ { - "$id": "6886", + "$id": "7195", "kind": "enumvalue", "decorators": [], "name": "system", "value": "system", "valueType": { - "$ref": "6885" + "$ref": "7194" }, "enumType": { - "$ref": "6884" + "$ref": "7193" } }, { - "$id": "6887", + "$id": "7196", "kind": "enumvalue", "decorators": [], "name": "user", "value": "user", "valueType": { - "$ref": "6885" + "$ref": "7194" }, "enumType": { - "$ref": "6884" + "$ref": "7193" } }, { - "$id": "6888", + "$id": "7197", "kind": "enumvalue", "decorators": [], "name": "assistant", "value": "assistant", "valueType": { - "$ref": "6885" + "$ref": "7194" }, "enumType": { - "$ref": "6884" + "$ref": "7193" } } ], @@ -92195,16 +97034,16 @@ "isHttpMetadata": false }, { - "$id": "6889", + "$id": "7198", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "6890", + "$id": "7199", "kind": "array", "name": "ArrayRealtimeRequestTextContentPart", "valueType": { - "$id": "6891", + "$id": "7200", "kind": "model", "name": "RealtimeRequestTextContentPart", "namespace": "OpenAI", @@ -92219,7 +97058,7 @@ } }, "baseModel": { - "$id": "6892", + "$id": "7201", "kind": "model", "name": "RealtimeContentPart", "namespace": "OpenAI", @@ -92232,12 +97071,12 @@ } }, "discriminatorProperty": { - "$id": "6893", + "$id": "7202", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "967" + "$ref": "1031" }, "optional": false, "readOnly": false, @@ -92254,15 +97093,15 @@ }, "properties": [ { - "$ref": "6893" + "$ref": "7202" } ], "discriminatedSubtypes": { "input_text": { - "$ref": "6891" + "$ref": "7200" }, "input_audio": { - "$id": "6894", + "$id": "7203", "kind": "model", "name": "RealtimeRequestAudioContentPart", "namespace": "OpenAI", @@ -92277,31 +97116,31 @@ } }, "baseModel": { - "$ref": "6892" + "$ref": "7201" }, "properties": [ { - "$id": "6895", + "$id": "7204", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6896", + "$id": "7205", "kind": "enumvalue", "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "968" + "$ref": "1032" }, "enumType": { - "$id": "6897", + "$id": "7206", "kind": "enum", "decorators": [], "name": "RealtimeContentPartType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "6898", + "$id": "7207", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -92310,59 +97149,59 @@ }, "values": [ { - "$id": "6899", + "$id": "7208", "kind": "enumvalue", "decorators": [], "doc": "Input text content from the user or system.", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "6898" + "$ref": "7207" }, "enumType": { - "$ref": "6897" + "$ref": "7206" } }, { - "$id": "6900", + "$id": "7209", "kind": "enumvalue", "decorators": [], "doc": "Input audio content from the user.", "name": "input_audio", "value": "input_audio", "valueType": { - "$ref": "6898" + "$ref": "7207" }, "enumType": { - "$ref": "6897" + "$ref": "7206" } }, { - "$id": "6901", + "$id": "7210", "kind": "enumvalue", "decorators": [], "doc": "Output text content from the assistant (GA format).", "name": "output_text", "value": "output_text", "valueType": { - "$ref": "6898" + "$ref": "7207" }, "enumType": { - "$ref": "6897" + "$ref": "7206" } }, { - "$id": "6902", + "$id": "7211", "kind": "enumvalue", "decorators": [], "doc": "Output audio content from the assistant (GA format).", "name": "output_audio", "value": "output_audio", "valueType": { - "$ref": "6898" + "$ref": "7207" }, "enumType": { - "$ref": "6897" + "$ref": "7206" } } ], @@ -92392,12 +97231,12 @@ "isHttpMetadata": false }, { - "$id": "6903", + "$id": "7212", "kind": "property", "name": "transcript", "serializedName": "transcript", "type": { - "$id": "6904", + "$id": "7213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92419,7 +97258,7 @@ ] }, "output_text": { - "$id": "6905", + "$id": "7214", "kind": "model", "name": "RealtimeResponseTextContentPart", "namespace": "OpenAI", @@ -92434,24 +97273,24 @@ } }, "baseModel": { - "$ref": "6892" + "$ref": "7201" }, "properties": [ { - "$id": "6906", + "$id": "7215", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6907", + "$id": "7216", "kind": "enumvalue", "name": "output_text", "value": "output_text", "valueType": { - "$ref": "968" + "$ref": "1032" }, "enumType": { - "$ref": "6897" + "$ref": "7206" }, "doc": "Output text content from the assistant (GA format).", "decorators": [] @@ -92470,12 +97309,12 @@ "isHttpMetadata": false }, { - "$id": "6908", + "$id": "7217", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "6909", + "$id": "7218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92497,7 +97336,7 @@ ] }, "output_audio": { - "$id": "6910", + "$id": "7219", "kind": "model", "name": "RealtimeResponseAudioContentPart", "namespace": "OpenAI", @@ -92512,24 +97351,24 @@ } }, "baseModel": { - "$ref": "6892" + "$ref": "7201" }, "properties": [ { - "$id": "6911", + "$id": "7220", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6912", + "$id": "7221", "kind": "enumvalue", "name": "output_audio", "value": "output_audio", "valueType": { - "$ref": "968" + "$ref": "1032" }, "enumType": { - "$ref": "6897" + "$ref": "7206" }, "doc": "Output audio content from the assistant (GA format).", "decorators": [] @@ -92548,15 +97387,15 @@ "isHttpMetadata": false }, { - "$id": "6913", + "$id": "7222", "kind": "property", "name": "transcript", "serializedName": "transcript", "type": { - "$id": "6914", + "$id": "7223", "kind": "nullable", "type": { - "$id": "6915", + "$id": "7224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92583,20 +97422,20 @@ }, "properties": [ { - "$id": "6916", + "$id": "7225", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6917", + "$id": "7226", "kind": "enumvalue", "name": "input_text", "value": "input_text", "valueType": { - "$ref": "968" + "$ref": "1032" }, "enumType": { - "$ref": "6897" + "$ref": "7206" }, "doc": "Input text content from the user or system.", "decorators": [] @@ -92615,12 +97454,12 @@ "isHttpMetadata": false }, { - "$id": "6918", + "$id": "7227", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "6919", + "$id": "7228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92660,7 +97499,7 @@ ] }, "user": { - "$id": "6920", + "$id": "7229", "kind": "model", "name": "RealtimeRequestUserMessageItem", "namespace": "OpenAI", @@ -92674,24 +97513,24 @@ } }, "baseModel": { - "$ref": "6866" + "$ref": "7175" }, "properties": [ { - "$id": "6921", + "$id": "7230", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$id": "6922", + "$id": "7231", "kind": "enumvalue", "name": "user", "value": "user", "valueType": { - "$ref": "958" + "$ref": "1022" }, "enumType": { - "$ref": "6884" + "$ref": "7193" }, "decorators": [] }, @@ -92709,24 +97548,24 @@ "isHttpMetadata": false }, { - "$id": "6923", + "$id": "7232", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "6924", + "$id": "7233", "kind": "array", "name": "Array29", "valueType": { - "$id": "6925", + "$id": "7234", "kind": "union", "name": "RealtimeRequestUserMessageItemContent", "variantTypes": [ { - "$ref": "6891" + "$ref": "7200" }, { - "$ref": "6894" + "$ref": "7203" } ], "namespace": "OpenAI", @@ -92751,7 +97590,7 @@ ] }, "assistant": { - "$id": "6926", + "$id": "7235", "kind": "model", "name": "RealtimeRequestAssistantMessageItem", "namespace": "OpenAI", @@ -92765,24 +97604,24 @@ } }, "baseModel": { - "$ref": "6866" + "$ref": "7175" }, "properties": [ { - "$id": "6927", + "$id": "7236", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$id": "6928", + "$id": "7237", "kind": "enumvalue", "name": "assistant", "value": "assistant", "valueType": { - "$ref": "958" + "$ref": "1022" }, "enumType": { - "$ref": "6884" + "$ref": "7193" }, "decorators": [] }, @@ -92800,25 +97639,25 @@ "isHttpMetadata": false }, { - "$id": "6929", + "$id": "7238", "kind": "property", "name": "content", "serializedName": "content", "doc": "For assistant messages, use output_text content type (GA format).", "type": { - "$id": "6930", + "$id": "7239", "kind": "array", "name": "Array30", "valueType": { - "$id": "6931", + "$id": "7240", "kind": "union", "name": "RealtimeRequestAssistantMessageItemContent", "variantTypes": [ { - "$ref": "6905" + "$ref": "7214" }, { - "$ref": "6910" + "$ref": "7219" } ], "namespace": "OpenAI", @@ -92845,7 +97684,7 @@ } }, "function_call": { - "$id": "6932", + "$id": "7241", "kind": "model", "name": "RealtimeRequestFunctionCallItem", "namespace": "OpenAI", @@ -92859,24 +97698,24 @@ } }, "baseModel": { - "$ref": "6862" + "$ref": "7171" }, "properties": [ { - "$id": "6933", + "$id": "7242", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6934", + "$id": "7243", "kind": "enumvalue", "name": "function_call", "value": "function_call", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "6870" + "$ref": "7179" }, "decorators": [] }, @@ -92894,12 +97733,12 @@ "isHttpMetadata": false }, { - "$id": "6935", + "$id": "7244", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6936", + "$id": "7245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92919,12 +97758,12 @@ "isHttpMetadata": false }, { - "$id": "6937", + "$id": "7246", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "6938", + "$id": "7247", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92944,12 +97783,12 @@ "isHttpMetadata": false }, { - "$id": "6939", + "$id": "7248", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "6940", + "$id": "7249", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92969,12 +97808,12 @@ "isHttpMetadata": false }, { - "$id": "6941", + "$id": "7250", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "962" + "$ref": "1026" }, "optional": true, "readOnly": false, @@ -92992,7 +97831,7 @@ ] }, "function_call_output": { - "$id": "6942", + "$id": "7251", "kind": "model", "name": "RealtimeRequestFunctionCallOutputItem", "namespace": "OpenAI", @@ -93006,24 +97845,24 @@ } }, "baseModel": { - "$ref": "6862" + "$ref": "7171" }, "properties": [ { - "$id": "6943", + "$id": "7252", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6944", + "$id": "7253", "kind": "enumvalue", "name": "function_call_output", "value": "function_call_output", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "6870" + "$ref": "7179" }, "decorators": [] }, @@ -93041,12 +97880,12 @@ "isHttpMetadata": false }, { - "$id": "6945", + "$id": "7254", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "6946", + "$id": "7255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93066,12 +97905,12 @@ "isHttpMetadata": false }, { - "$id": "6947", + "$id": "7256", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "6948", + "$id": "7257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93093,7 +97932,7 @@ ] }, "mcp_call": { - "$id": "6949", + "$id": "7258", "kind": "model", "name": "RealtimeRequestMCPCallItem", "namespace": "OpenAI", @@ -93108,24 +97947,24 @@ } }, "baseModel": { - "$ref": "6862" + "$ref": "7171" }, "properties": [ { - "$id": "6950", + "$id": "7259", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6951", + "$id": "7260", "kind": "enumvalue", "name": "mcp_call", "value": "mcp_call", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "6870" + "$ref": "7179" }, "decorators": [] }, @@ -93143,13 +97982,13 @@ "isHttpMetadata": false }, { - "$id": "6952", + "$id": "7261", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server running the tool.", "type": { - "$id": "6953", + "$id": "7262", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93169,13 +98008,13 @@ "isHttpMetadata": false }, { - "$id": "6954", + "$id": "7263", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool that was run.", "type": { - "$id": "6955", + "$id": "7264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93195,13 +98034,13 @@ "isHttpMetadata": false }, { - "$id": "6956", + "$id": "7265", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of the arguments passed to the tool.", "type": { - "$id": "6957", + "$id": "7266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93221,16 +98060,16 @@ "isHttpMetadata": false }, { - "$id": "6958", + "$id": "7267", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request, if approval was required.", "type": { - "$id": "6959", + "$id": "7268", "kind": "nullable", "type": { - "$id": "6960", + "$id": "7269", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93254,7 +98093,7 @@ ] }, "mcp_list_tools": { - "$id": "6961", + "$id": "7270", "kind": "model", "name": "RealtimeRequestMCPListToolsItem", "namespace": "OpenAI", @@ -93269,24 +98108,24 @@ } }, "baseModel": { - "$ref": "6862" + "$ref": "7171" }, "properties": [ { - "$id": "6962", + "$id": "7271", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6963", + "$id": "7272", "kind": "enumvalue", "name": "mcp_list_tools", "value": "mcp_list_tools", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "6870" + "$ref": "7179" }, "decorators": [] }, @@ -93304,13 +98143,13 @@ "isHttpMetadata": false }, { - "$id": "6964", + "$id": "7273", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server.", "type": { - "$id": "6965", + "$id": "7274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93330,13 +98169,13 @@ "isHttpMetadata": false }, { - "$id": "6966", + "$id": "7275", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools available on the server.", "type": { - "$ref": "5029" + "$ref": "5182" }, "optional": false, "readOnly": false, @@ -93354,7 +98193,7 @@ ] }, "mcp_approval_request": { - "$id": "6967", + "$id": "7276", "kind": "model", "name": "RealtimeRequestMCPApprovalRequestItem", "namespace": "OpenAI", @@ -93369,24 +98208,24 @@ } }, "baseModel": { - "$ref": "6862" + "$ref": "7171" }, "properties": [ { - "$id": "6968", + "$id": "7277", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6969", + "$id": "7278", "kind": "enumvalue", "name": "mcp_approval_request", "value": "mcp_approval_request", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "6870" + "$ref": "7179" }, "decorators": [] }, @@ -93404,13 +98243,13 @@ "isHttpMetadata": false }, { - "$id": "6970", + "$id": "7279", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server making the request.", "type": { - "$id": "6971", + "$id": "7280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93430,13 +98269,13 @@ "isHttpMetadata": false }, { - "$id": "6972", + "$id": "7281", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool to run.", "type": { - "$id": "6973", + "$id": "7282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93456,13 +98295,13 @@ "isHttpMetadata": false }, { - "$id": "6974", + "$id": "7283", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of arguments for the tool.", "type": { - "$id": "6975", + "$id": "7284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93484,7 +98323,7 @@ ] }, "mcp_approval_response": { - "$id": "6976", + "$id": "7285", "kind": "model", "name": "RealtimeRequestMCPApprovalResponseItem", "namespace": "OpenAI", @@ -93499,24 +98338,24 @@ } }, "baseModel": { - "$ref": "6862" + "$ref": "7171" }, "properties": [ { - "$id": "6977", + "$id": "7286", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6978", + "$id": "7287", "kind": "enumvalue", "name": "mcp_approval_response", "value": "mcp_approval_response", "valueType": { - "$ref": "948" + "$ref": "1012" }, "enumType": { - "$ref": "6870" + "$ref": "7179" }, "decorators": [] }, @@ -93534,13 +98373,13 @@ "isHttpMetadata": false }, { - "$id": "6979", + "$id": "7288", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request being answered.", "type": { - "$id": "6980", + "$id": "7289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93560,13 +98399,13 @@ "isHttpMetadata": false }, { - "$id": "6981", + "$id": "7290", "kind": "property", "name": "approve", "serializedName": "approve", "doc": "Whether the request was approved.", "type": { - "$id": "6982", + "$id": "7291", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93586,16 +98425,16 @@ "isHttpMetadata": false }, { - "$id": "6983", + "$id": "7292", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason for the approval decision.", "type": { - "$id": "6984", + "$id": "7293", "kind": "nullable", "type": { - "$id": "6985", + "$id": "7294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93636,7 +98475,7 @@ ] }, "conversation.item.truncate": { - "$id": "6986", + "$id": "7295", "kind": "model", "name": "RealtimeClientEventConversationItemTruncate", "namespace": "OpenAI", @@ -93651,25 +98490,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "6987", + "$id": "7296", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.truncate`.", "type": { - "$id": "6988", + "$id": "7297", "kind": "enumvalue", "name": "conversation_item_truncate", "value": "conversation.item.truncate", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -93687,13 +98526,13 @@ "isHttpMetadata": false }, { - "$id": "6989", + "$id": "7298", "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": "6990", + "$id": "7299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93713,13 +98552,13 @@ "isHttpMetadata": false }, { - "$id": "6991", + "$id": "7300", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part to truncate. Set this to 0.", "type": { - "$id": "6992", + "$id": "7301", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -93739,13 +98578,13 @@ "isHttpMetadata": false }, { - "$id": "6993", + "$id": "7302", "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": "6994", + "$id": "7303", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -93767,7 +98606,7 @@ ] }, "conversation.item.delete": { - "$id": "6995", + "$id": "7304", "kind": "model", "name": "RealtimeClientEventConversationItemDelete", "namespace": "OpenAI", @@ -93782,25 +98621,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "6996", + "$id": "7305", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.delete`.", "type": { - "$id": "6997", + "$id": "7306", "kind": "enumvalue", "name": "conversation_item_delete", "value": "conversation.item.delete", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -93818,13 +98657,13 @@ "isHttpMetadata": false }, { - "$id": "6998", + "$id": "7307", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to delete.", "type": { - "$id": "6999", + "$id": "7308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93846,7 +98685,7 @@ ] }, "response.create": { - "$id": "7000", + "$id": "7309", "kind": "model", "name": "RealtimeClientEventResponseCreate", "namespace": "OpenAI", @@ -93861,25 +98700,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "7001", + "$id": "7310", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.create`.", "type": { - "$id": "7002", + "$id": "7311", "kind": "enumvalue", "name": "response_create", "value": "response.create", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -93897,12 +98736,12 @@ "isHttpMetadata": false }, { - "$id": "7003", + "$id": "7312", "kind": "property", "name": "response", "serializedName": "response", "type": { - "$id": "7004", + "$id": "7313", "kind": "model", "name": "RealtimeResponseCreateParams", "namespace": "OpenAI", @@ -93917,13 +98756,13 @@ }, "properties": [ { - "$id": "7005", + "$id": "7314", "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": "6674" + "$ref": "6983" }, "optional": true, "readOnly": false, @@ -93939,13 +98778,13 @@ "isHttpMetadata": false }, { - "$id": "7006", + "$id": "7315", "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": "7007", + "$id": "7316", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93965,7 +98804,7 @@ "isHttpMetadata": false }, { - "$id": "7008", + "$id": "7317", "kind": "property", "name": "voice", "serializedName": "voice", @@ -93987,13 +98826,13 @@ "isHttpMetadata": false }, { - "$id": "7009", + "$id": "7318", "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": "973" + "$ref": "1037" }, "optional": true, "readOnly": false, @@ -94009,13 +98848,13 @@ "isHttpMetadata": false }, { - "$id": "7010", + "$id": "7319", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Tools (functions) available to the model.", "type": { - "$ref": "6772" + "$ref": "7081" }, "optional": true, "readOnly": false, @@ -94031,13 +98870,13 @@ "isHttpMetadata": false }, { - "$id": "7011", + "$id": "7320", "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": "7012", + "$id": "7321", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94057,13 +98896,13 @@ "isHttpMetadata": false }, { - "$id": "7013", + "$id": "7322", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", "type": { - "$id": "7014", + "$id": "7323", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -94083,25 +98922,25 @@ "isHttpMetadata": false }, { - "$id": "7015", + "$id": "7324", "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": "7016", + "$id": "7325", "kind": "union", "name": "RealtimeResponseCreateParamsMaxOutputTokens", "variantTypes": [ { - "$id": "7017", + "$id": "7326", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1875" + "$ref": "1943" } ], "namespace": "OpenAI", @@ -94121,13 +98960,13 @@ "isHttpMetadata": false }, { - "$id": "7018", + "$id": "7327", "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": "978" + "$ref": "1042" }, "optional": true, "readOnly": false, @@ -94143,13 +98982,13 @@ "isHttpMetadata": false }, { - "$id": "7019", + "$id": "7328", "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": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -94165,17 +99004,17 @@ "isHttpMetadata": false }, { - "$id": "7020", + "$id": "7329", "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": "7021", + "$id": "7330", "kind": "array", "name": "ArrayRealtimeConversationRequestItem", "valueType": { - "$ref": "6862" + "$ref": "7171" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -94211,7 +99050,7 @@ ] }, "response.cancel": { - "$id": "7022", + "$id": "7331", "kind": "model", "name": "RealtimeClientEventResponseCancel", "namespace": "OpenAI", @@ -94226,25 +99065,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "7023", + "$id": "7332", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.cancel`.", "type": { - "$id": "7024", + "$id": "7333", "kind": "enumvalue", "name": "response_cancel", "value": "response.cancel", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -94262,13 +99101,13 @@ "isHttpMetadata": false }, { - "$id": "7025", + "$id": "7334", "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": "7026", + "$id": "7335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94290,7 +99129,7 @@ ] }, "conversation.item.retrieve": { - "$id": "7027", + "$id": "7336", "kind": "model", "name": "RealtimeClientEventConversationItemRetrieve", "namespace": "OpenAI", @@ -94305,25 +99144,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "7028", + "$id": "7337", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.retrieve`.", "type": { - "$id": "7029", + "$id": "7338", "kind": "enumvalue", "name": "conversation_item_retrieve", "value": "conversation.item.retrieve", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -94341,13 +99180,13 @@ "isHttpMetadata": false }, { - "$id": "7030", + "$id": "7339", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to retrieve.", "type": { - "$id": "7031", + "$id": "7340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94369,7 +99208,7 @@ ] }, "transcription_session.update": { - "$id": "7032", + "$id": "7341", "kind": "model", "name": "RealtimeClientEventTranscriptionSessionUpdate", "namespace": "OpenAI", @@ -94384,25 +99223,25 @@ } }, "baseModel": { - "$ref": "6642" + "$ref": "6951" }, "properties": [ { - "$id": "7033", + "$id": "7342", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `transcription_session.update`.", "type": { - "$id": "7034", + "$id": "7343", "kind": "enumvalue", "name": "transcription_session_update", "value": "transcription_session.update", "valueType": { - "$ref": "867" + "$ref": "931" }, "enumType": { - "$ref": "6649" + "$ref": "6958" }, "decorators": [] }, @@ -94420,12 +99259,12 @@ "isHttpMetadata": false }, { - "$id": "7035", + "$id": "7344", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "7036", + "$id": "7345", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequest", "namespace": "OpenAI", @@ -94440,17 +99279,17 @@ }, "properties": [ { - "$id": "7037", + "$id": "7346", "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": "7038", + "$id": "7347", "kind": "array", "name": "Array31", "valueType": { - "$ref": "982" + "$ref": "1046" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -94469,13 +99308,13 @@ "isHttpMetadata": false }, { - "$id": "7039", + "$id": "7348", "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": "986" + "$ref": "1050" }, "optional": true, "readOnly": false, @@ -94491,13 +99330,13 @@ "isHttpMetadata": false }, { - "$id": "7040", + "$id": "7349", "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": "7041", + "$id": "7350", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioTranscription", "namespace": "OpenAI", @@ -94511,13 +99350,13 @@ }, "properties": [ { - "$id": "7042", + "$id": "7351", "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": "991" + "$ref": "1055" }, "optional": true, "readOnly": false, @@ -94533,13 +99372,13 @@ "isHttpMetadata": false }, { - "$id": "7043", + "$id": "7352", "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": "7044", + "$id": "7353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94559,13 +99398,13 @@ "isHttpMetadata": false }, { - "$id": "7045", + "$id": "7354", "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": "7046", + "$id": "7355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94600,13 +99439,13 @@ "isHttpMetadata": false }, { - "$id": "7047", + "$id": "7356", "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": "7048", + "$id": "7357", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestTurnDetection", "namespace": "OpenAI", @@ -94620,13 +99459,13 @@ }, "properties": [ { - "$id": "7049", + "$id": "7358", "kind": "property", "name": "type", "serializedName": "type", "doc": "Type of turn detection.", "type": { - "$ref": "996" + "$ref": "1060" }, "optional": true, "readOnly": false, @@ -94642,13 +99481,13 @@ "isHttpMetadata": false }, { - "$id": "7050", + "$id": "7359", "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": "1000" + "$ref": "1064" }, "optional": true, "readOnly": false, @@ -94664,13 +99503,13 @@ "isHttpMetadata": false }, { - "$id": "7051", + "$id": "7360", "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": "7052", + "$id": "7361", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -94690,13 +99529,13 @@ "isHttpMetadata": false }, { - "$id": "7053", + "$id": "7362", "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": "7054", + "$id": "7363", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -94716,13 +99555,13 @@ "isHttpMetadata": false }, { - "$id": "7055", + "$id": "7364", "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": "7056", + "$id": "7365", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -94742,13 +99581,13 @@ "isHttpMetadata": false }, { - "$id": "7057", + "$id": "7366", "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": "7058", + "$id": "7367", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -94768,13 +99607,13 @@ "isHttpMetadata": false }, { - "$id": "7059", + "$id": "7368", "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": "7060", + "$id": "7369", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -94809,16 +99648,16 @@ "isHttpMetadata": false }, { - "$id": "7061", + "$id": "7370", "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": "7062", + "$id": "7371", "kind": "nullable", "type": { - "$id": "7063", + "$id": "7372", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1", "namespace": "OpenAI", @@ -94832,13 +99671,13 @@ }, "properties": [ { - "$id": "7064", + "$id": "7373", "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": "1006" + "$ref": "1070" }, "optional": true, "readOnly": false, @@ -94871,13 +99710,13 @@ "isHttpMetadata": false }, { - "$id": "7065", + "$id": "7374", "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": "2573" + "$ref": "2641" }, "optional": true, "readOnly": false, @@ -94893,13 +99732,13 @@ "isHttpMetadata": false }, { - "$id": "7066", + "$id": "7375", "kind": "property", "name": "client_secret", "serializedName": "client_secret", "doc": "Configuration options for the generated client secret.", "type": { - "$id": "7067", + "$id": "7376", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestClientSecret", "namespace": "OpenAI", @@ -94913,13 +99752,13 @@ }, "properties": [ { - "$id": "7068", + "$id": "7377", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Configuration for the ephemeral token expiration.", "type": { - "$id": "7069", + "$id": "7378", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt", "namespace": "OpenAI", @@ -94933,13 +99772,13 @@ }, "properties": [ { - "$id": "7070", + "$id": "7379", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "The anchor point for the ephemeral token expiration. Only `created_at` is currently supported.", "type": { - "$ref": "1010" + "$ref": "1074" }, "optional": true, "readOnly": false, @@ -94955,13 +99794,13 @@ "isHttpMetadata": false }, { - "$id": "7071", + "$id": "7380", "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": "7072", + "$id": "7381", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -95030,196 +99869,196 @@ } }, { - "$ref": "6646" + "$ref": "6955" }, { - "$ref": "6664" + "$ref": "6973" }, { - "$ref": "6666" + "$ref": "6975" }, { - "$ref": "6679" + "$ref": "6988" }, { - "$ref": "6681" + "$ref": "6990" }, { - "$ref": "6683" + "$ref": "6992" }, { - "$ref": "6685" + "$ref": "6994" }, { - "$ref": "6694" + "$ref": "7003" }, { - "$ref": "6697" + "$ref": "7006" }, { - "$ref": "6702" + "$ref": "7011" }, { - "$ref": "6710" + "$ref": "7019" }, { - "$ref": "6712" + "$ref": "7021" }, { - "$ref": "6719" + "$ref": "7028" }, { - "$ref": "6724" + "$ref": "7033" }, { - "$ref": "6730" + "$ref": "7039" }, { - "$ref": "6749" + "$ref": "7058" }, { - "$ref": "6754" + "$ref": "7063" }, { - "$ref": "6764" + "$ref": "7073" }, { - "$ref": "6773" + "$ref": "7082" }, { - "$ref": "6775" + "$ref": "7084" }, { - "$ref": "6788" + "$ref": "7097" }, { - "$ref": "6806" + "$ref": "7115" }, { - "$ref": "6808" + "$ref": "7117" }, { - "$ref": "6811" + "$ref": "7120" }, { - "$ref": "6814" + "$ref": "7123" }, { - "$ref": "6817" + "$ref": "7126" }, { - "$ref": "6827" + "$ref": "7136" }, { - "$ref": "6831" + "$ref": "7140" }, { - "$ref": "6833" + "$ref": "7142" }, { - "$ref": "6842" + "$ref": "7151" }, { - "$ref": "6847" + "$ref": "7156" }, { - "$ref": "6850" + "$ref": "7159" }, { - "$ref": "6853" + "$ref": "7162" }, { - "$ref": "6856" + "$ref": "7165" }, { - "$ref": "6862" + "$ref": "7171" }, { - "$ref": "6866" + "$ref": "7175" }, { - "$ref": "6881" + "$ref": "7190" }, { - "$ref": "6891" + "$ref": "7200" }, { - "$ref": "6892" + "$ref": "7201" }, { - "$ref": "6894" + "$ref": "7203" }, { - "$ref": "6905" + "$ref": "7214" }, { - "$ref": "6910" + "$ref": "7219" }, { - "$ref": "6920" + "$ref": "7229" }, { - "$ref": "6926" + "$ref": "7235" }, { - "$ref": "6932" + "$ref": "7241" }, { - "$ref": "6942" + "$ref": "7251" }, { - "$ref": "6949" + "$ref": "7258" }, { - "$ref": "6961" + "$ref": "7270" }, { - "$ref": "6967" + "$ref": "7276" }, { - "$ref": "6976" + "$ref": "7285" }, { - "$ref": "6986" + "$ref": "7295" }, { - "$ref": "6995" + "$ref": "7304" }, { - "$ref": "7000" + "$ref": "7309" }, { - "$ref": "7004" + "$ref": "7313" }, { - "$ref": "7022" + "$ref": "7331" }, { - "$ref": "7027" + "$ref": "7336" }, { - "$ref": "7032" + "$ref": "7341" }, { - "$ref": "7036" + "$ref": "7345" }, { - "$ref": "7041" + "$ref": "7350" }, { - "$ref": "7048" + "$ref": "7357" }, { - "$ref": "7063" + "$ref": "7372" }, { - "$ref": "7067" + "$ref": "7376" }, { - "$ref": "7069" + "$ref": "7378" }, { - "$id": "7073", + "$id": "7382", "kind": "model", "name": "RealtimeServerEvent", "namespace": "OpenAI", @@ -95233,13 +100072,13 @@ } }, "discriminatorProperty": { - "$id": "7074", + "$id": "7383", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of event.", "type": { - "$ref": "1014" + "$ref": "1078" }, "optional": false, "readOnly": false, @@ -95256,15 +100095,15 @@ }, "properties": [ { - "$ref": "7074" + "$ref": "7383" }, { - "$id": "7075", + "$id": "7384", "kind": "property", "name": "event_id", "serializedName": "event_id", "type": { - "$id": "7076", + "$id": "7385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95286,7 +100125,7 @@ ], "discriminatedSubtypes": { "error": { - "$id": "7077", + "$id": "7386", "kind": "model", "name": "RealtimeServerEventError", "namespace": "OpenAI", @@ -95301,32 +100140,32 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7078", + "$id": "7387", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `error`.", "type": { - "$id": "7079", + "$id": "7388", "kind": "enumvalue", "name": "error", "value": "error", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$id": "7080", + "$id": "7389", "kind": "enum", "decorators": [], "name": "RealtimeServerEventType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7081", + "$id": "7390", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -95335,627 +100174,627 @@ }, "values": [ { - "$id": "7082", + "$id": "7391", "kind": "enumvalue", "decorators": [], "name": "error", "value": "error", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7083", + "$id": "7392", "kind": "enumvalue", "decorators": [], "name": "session_created", "value": "session.created", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7084", + "$id": "7393", "kind": "enumvalue", "decorators": [], "name": "session_updated", "value": "session.updated", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7085", + "$id": "7394", "kind": "enumvalue", "decorators": [], "name": "conversation_created", "value": "conversation.created", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7086", + "$id": "7395", "kind": "enumvalue", "decorators": [], "name": "conversation_item_input_audio_transcription_completed", "value": "conversation.item.input_audio_transcription.completed", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7087", + "$id": "7396", "kind": "enumvalue", "decorators": [], "name": "conversation_item_input_audio_transcription_delta", "value": "conversation.item.input_audio_transcription.delta", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7088", + "$id": "7397", "kind": "enumvalue", "decorators": [], "name": "conversation_item_input_audio_transcription_failed", "value": "conversation.item.input_audio_transcription.failed", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7089", + "$id": "7398", "kind": "enumvalue", "decorators": [], "name": "conversation_item_input_audio_transcription_segment", "value": "conversation.item.input_audio_transcription.segment", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7090", + "$id": "7399", "kind": "enumvalue", "decorators": [], "name": "conversation_item_created", "value": "conversation.item.created", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7091", + "$id": "7400", "kind": "enumvalue", "decorators": [], "name": "conversation_item_retrieved", "value": "conversation.item.retrieved", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7092", + "$id": "7401", "kind": "enumvalue", "decorators": [], "name": "conversation_item_truncated", "value": "conversation.item.truncated", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7093", + "$id": "7402", "kind": "enumvalue", "decorators": [], "name": "conversation_item_deleted", "value": "conversation.item.deleted", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7094", + "$id": "7403", "kind": "enumvalue", "decorators": [], "name": "conversation_item_added", "value": "conversation.item.added", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7095", + "$id": "7404", "kind": "enumvalue", "decorators": [], "name": "conversation_item_done", "value": "conversation.item.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7096", + "$id": "7405", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_committed", "value": "input_audio_buffer.committed", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7097", + "$id": "7406", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_cleared", "value": "input_audio_buffer.cleared", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7098", + "$id": "7407", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_speech_started", "value": "input_audio_buffer.speech_started", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7099", + "$id": "7408", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_speech_stopped", "value": "input_audio_buffer.speech_stopped", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7100", + "$id": "7409", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_dtmf_event_received", "value": "input_audio_buffer.dtmf_event_received", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7101", + "$id": "7410", "kind": "enumvalue", "decorators": [], "name": "input_audio_buffer_timeout_triggered", "value": "input_audio_buffer.timeout_triggered", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7102", + "$id": "7411", "kind": "enumvalue", "decorators": [], "name": "output_audio_buffer_cleared", "value": "output_audio_buffer.cleared", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7103", + "$id": "7412", "kind": "enumvalue", "decorators": [], "name": "output_audio_buffer_started", "value": "output_audio_buffer.started", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7104", + "$id": "7413", "kind": "enumvalue", "decorators": [], "name": "output_audio_buffer_stopped", "value": "output_audio_buffer.stopped", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7105", + "$id": "7414", "kind": "enumvalue", "decorators": [], "name": "response_created", "value": "response.created", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7106", + "$id": "7415", "kind": "enumvalue", "decorators": [], "name": "response_done", "value": "response.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7107", + "$id": "7416", "kind": "enumvalue", "decorators": [], "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7108", + "$id": "7417", "kind": "enumvalue", "decorators": [], "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7109", + "$id": "7418", "kind": "enumvalue", "decorators": [], "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7110", + "$id": "7419", "kind": "enumvalue", "decorators": [], "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7111", + "$id": "7420", "kind": "enumvalue", "decorators": [], "name": "response_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7112", + "$id": "7421", "kind": "enumvalue", "decorators": [], "name": "response_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7113", + "$id": "7422", "kind": "enumvalue", "decorators": [], "name": "response_audio_transcript_delta", "value": "response.output_audio_transcript.delta", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7114", + "$id": "7423", "kind": "enumvalue", "decorators": [], "name": "response_audio_transcript_done", "value": "response.output_audio_transcript.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7115", + "$id": "7424", "kind": "enumvalue", "decorators": [], "name": "response_audio_delta", "value": "response.output_audio.delta", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7116", + "$id": "7425", "kind": "enumvalue", "decorators": [], "name": "response_audio_done", "value": "response.output_audio.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7117", + "$id": "7426", "kind": "enumvalue", "decorators": [], "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7118", + "$id": "7427", "kind": "enumvalue", "decorators": [], "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7119", + "$id": "7428", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7120", + "$id": "7429", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7121", + "$id": "7430", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7122", + "$id": "7431", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7123", + "$id": "7432", "kind": "enumvalue", "decorators": [], "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7124", + "$id": "7433", "kind": "enumvalue", "decorators": [], "name": "mcp_list_tools_in_progress", "value": "mcp_list_tools.in_progress", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7125", + "$id": "7434", "kind": "enumvalue", "decorators": [], "name": "mcp_list_tools_completed", "value": "mcp_list_tools.completed", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7126", + "$id": "7435", "kind": "enumvalue", "decorators": [], "name": "mcp_list_tools_failed", "value": "mcp_list_tools.failed", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7127", + "$id": "7436", "kind": "enumvalue", "decorators": [], "name": "transcription_session_created", "value": "transcription_session.created", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7128", + "$id": "7437", "kind": "enumvalue", "decorators": [], "name": "transcription_session_updated", "value": "transcription_session.updated", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } }, { - "$id": "7129", + "$id": "7438", "kind": "enumvalue", "decorators": [], "name": "rate_limits_updated", "value": "rate_limits.updated", "valueType": { - "$ref": "7081" + "$ref": "7390" }, "enumType": { - "$ref": "7080" + "$ref": "7389" } } ], @@ -95984,13 +100823,13 @@ "isHttpMetadata": false }, { - "$id": "7130", + "$id": "7439", "kind": "property", "name": "error", "serializedName": "error", "doc": "Details of the error.", "type": { - "$id": "7131", + "$id": "7440", "kind": "model", "name": "RealtimeServerEventErrorError", "namespace": "OpenAI", @@ -96004,13 +100843,13 @@ }, "properties": [ { - "$id": "7132", + "$id": "7441", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error (e.g., \"invalid_request_error\", \"server_error\").", "type": { - "$id": "7133", + "$id": "7442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96030,16 +100869,16 @@ "isHttpMetadata": false }, { - "$id": "7134", + "$id": "7443", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "7135", + "$id": "7444", "kind": "nullable", "type": { - "$id": "7136", + "$id": "7445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96061,13 +100900,13 @@ "isHttpMetadata": false }, { - "$id": "7137", + "$id": "7446", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "7138", + "$id": "7447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96087,16 +100926,16 @@ "isHttpMetadata": false }, { - "$id": "7139", + "$id": "7448", "kind": "property", "name": "param", "serializedName": "param", "doc": "Parameter related to the error, if any.", "type": { - "$id": "7140", + "$id": "7449", "kind": "nullable", "type": { - "$id": "7141", + "$id": "7450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96118,16 +100957,16 @@ "isHttpMetadata": false }, { - "$id": "7142", + "$id": "7451", "kind": "property", "name": "event_id", "serializedName": "event_id", "doc": "The event_id of the client event that caused the error, if applicable.", "type": { - "$id": "7143", + "$id": "7452", "kind": "nullable", "type": { - "$id": "7144", + "$id": "7453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96166,7 +101005,7 @@ ] }, "session.created": { - "$id": "7145", + "$id": "7454", "kind": "model", "name": "RealtimeServerEventSessionCreated", "namespace": "OpenAI", @@ -96181,25 +101020,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7146", + "$id": "7455", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `session.created`.", "type": { - "$id": "7147", + "$id": "7456", "kind": "enumvalue", "name": "session_created", "value": "session.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -96217,13 +101056,13 @@ "isHttpMetadata": false }, { - "$id": "7148", + "$id": "7457", "kind": "property", "name": "session", "serializedName": "session", "doc": "The session configuration.", "type": { - "$id": "7149", + "$id": "7458", "kind": "model", "name": "RealtimeSessionResponseBase", "namespace": "OpenAI", @@ -96237,13 +101076,13 @@ } }, "discriminatorProperty": { - "$id": "7150", + "$id": "7459", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session.", "type": { - "$ref": "880" + "$ref": "944" }, "optional": false, "readOnly": false, @@ -96260,12 +101099,12 @@ }, "properties": [ { - "$ref": "7150" + "$ref": "7459" } ], "discriminatedSubtypes": { "realtime": { - "$id": "7151", + "$id": "7460", "kind": "model", "name": "RealtimeSessionGA", "namespace": "OpenAI", @@ -96280,17 +101119,17 @@ } }, "baseModel": { - "$ref": "7149" + "$ref": "7458" }, "properties": [ { - "$id": "7152", + "$id": "7461", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session. Always `realtime` for the Realtime API.", "type": { - "$ref": "6668" + "$ref": "6977" }, "optional": false, "readOnly": false, @@ -96306,13 +101145,13 @@ "isHttpMetadata": false }, { - "$id": "7153", + "$id": "7462", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type. Always `realtime.session`.", "type": { - "$ref": "1064" + "$ref": "1128" }, "optional": true, "readOnly": false, @@ -96328,13 +101167,13 @@ "isHttpMetadata": false }, { - "$id": "7154", + "$id": "7463", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the session that looks like `sess_1234567890abcdef`.", "type": { - "$id": "7155", + "$id": "7464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96354,13 +101193,13 @@ "isHttpMetadata": false }, { - "$id": "7156", + "$id": "7465", "kind": "property", "name": "model", "serializedName": "model", "doc": "The Realtime model used for this session.", "type": { - "$id": "7157", + "$id": "7466", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96380,13 +101219,13 @@ "isHttpMetadata": false }, { - "$id": "7158", + "$id": "7467", "kind": "property", "name": "output_modalities", "serializedName": "output_modalities", "doc": "The set of modalities the model can respond with. It defaults to [\"audio\"], indicating\nthat the model will respond with audio plus a transcript. [\"text\"] can be used to make\nthe model respond with text only.", "type": { - "$ref": "6674" + "$ref": "6983" }, "optional": true, "readOnly": false, @@ -96402,13 +101241,13 @@ "isHttpMetadata": false }, { - "$id": "7159", + "$id": "7468", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The default system instructions prepended to model calls.", "type": { - "$id": "7160", + "$id": "7469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96428,13 +101267,13 @@ "isHttpMetadata": false }, { - "$id": "7161", + "$id": "7470", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Configuration for input and output audio.", "type": { - "$ref": "6679" + "$ref": "6988" }, "optional": true, "readOnly": false, @@ -96450,13 +101289,13 @@ "isHttpMetadata": false }, { - "$id": "7162", + "$id": "7471", "kind": "property", "name": "include", "serializedName": "include", "doc": "Additional fields to include in server outputs.\n- `item.input_audio_transcription.logprobs`: Include logprobs for input audio transcription.", "type": { - "$ref": "6760" + "$ref": "7069" }, "optional": true, "readOnly": false, @@ -96472,24 +101311,24 @@ "isHttpMetadata": false }, { - "$id": "7163", + "$id": "7472", "kind": "property", "name": "tracing", "serializedName": "tracing", "doc": "Configuration options for tracing. Set to null to disable tracing.", "type": { - "$id": "7164", + "$id": "7473", "kind": "nullable", "type": { - "$id": "7165", + "$id": "7474", "kind": "union", "name": "RealtimeSessionGATracing", "variantTypes": [ { - "$ref": "1877" + "$ref": "1945" }, { - "$ref": "6764" + "$ref": "7073" } ], "namespace": "OpenAI", @@ -96511,13 +101350,13 @@ "isHttpMetadata": false }, { - "$id": "7166", + "$id": "7475", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Tools available to the model.", "type": { - "$ref": "6772" + "$ref": "7081" }, "optional": true, "readOnly": false, @@ -96533,13 +101372,13 @@ "isHttpMetadata": false }, { - "$id": "7167", + "$id": "7476", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model chooses tools.", "type": { - "$ref": "6805" + "$ref": "7114" }, "optional": true, "readOnly": false, @@ -96555,13 +101394,13 @@ "isHttpMetadata": false }, { - "$id": "7168", + "$id": "7477", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model.", "type": { - "$id": "7169", + "$id": "7478", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -96581,25 +101420,25 @@ "isHttpMetadata": false }, { - "$id": "7170", + "$id": "7479", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "Maximum number of output tokens for a single assistant response.", "type": { - "$id": "7171", + "$id": "7480", "kind": "union", "name": "RealtimeSessionGAMaxOutputTokens", "variantTypes": [ { - "$id": "7172", + "$id": "7481", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1879" + "$ref": "1947" } ], "namespace": "OpenAI", @@ -96619,18 +101458,18 @@ "isHttpMetadata": false }, { - "$id": "7173", + "$id": "7482", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Timestamp for when the session expires.", "type": { - "$id": "7174", + "$id": "7483", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7175", + "$id": "7484", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -96655,7 +101494,7 @@ ] }, "transcription": { - "$id": "7176", + "$id": "7485", "kind": "model", "name": "RealtimeTranscriptionSessionGA", "namespace": "OpenAI", @@ -96670,17 +101509,17 @@ } }, "baseModel": { - "$ref": "7149" + "$ref": "7458" }, "properties": [ { - "$id": "7177", + "$id": "7486", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session. Always `transcription` for transcription sessions.", "type": { - "$ref": "6829" + "$ref": "7138" }, "optional": false, "readOnly": false, @@ -96696,13 +101535,13 @@ "isHttpMetadata": false }, { - "$id": "7178", + "$id": "7487", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type. Always `realtime.transcription_session`.", "type": { - "$ref": "1068" + "$ref": "1132" }, "optional": true, "readOnly": false, @@ -96718,13 +101557,13 @@ "isHttpMetadata": false }, { - "$id": "7179", + "$id": "7488", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the session that looks like `sess_1234567890abcdef`.", "type": { - "$id": "7180", + "$id": "7489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96744,18 +101583,18 @@ "isHttpMetadata": false }, { - "$id": "7181", + "$id": "7490", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Expiration timestamp for the session, in seconds since epoch.", "type": { - "$id": "7182", + "$id": "7491", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7183", + "$id": "7492", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -96778,13 +101617,13 @@ "isHttpMetadata": false }, { - "$id": "7184", + "$id": "7493", "kind": "property", "name": "include", "serializedName": "include", "doc": "Additional fields to include in server outputs.\n- `item.input_audio_transcription.logprobs`: Include logprobs for input audio transcription.", "type": { - "$ref": "6760" + "$ref": "7069" }, "optional": true, "readOnly": false, @@ -96800,13 +101639,13 @@ "isHttpMetadata": false }, { - "$id": "7185", + "$id": "7494", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Configuration for input audio for the session.", "type": { - "$ref": "6831" + "$ref": "7140" }, "optional": true, "readOnly": false, @@ -96841,7 +101680,7 @@ ] }, "session.updated": { - "$id": "7186", + "$id": "7495", "kind": "model", "name": "RealtimeServerEventSessionUpdated", "namespace": "OpenAI", @@ -96855,17 +101694,17 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7187", + "$id": "7496", "kind": "property", "name": "event_id", "serializedName": "event_id", "doc": "The unique ID of the server event.", "type": { - "$id": "7188", + "$id": "7497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96885,21 +101724,21 @@ "isHttpMetadata": false }, { - "$id": "7189", + "$id": "7498", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `session.updated`.", "type": { - "$id": "7190", + "$id": "7499", "kind": "enumvalue", "name": "session_updated", "value": "session.updated", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -96917,13 +101756,13 @@ "isHttpMetadata": false }, { - "$id": "7191", + "$id": "7500", "kind": "property", "name": "session", "serializedName": "session", "doc": "The session configuration.", "type": { - "$ref": "7149" + "$ref": "7458" }, "optional": false, "readOnly": false, @@ -96941,7 +101780,7 @@ ] }, "conversation.created": { - "$id": "7192", + "$id": "7501", "kind": "model", "name": "RealtimeServerEventConversationCreated", "namespace": "OpenAI", @@ -96956,25 +101795,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7193", + "$id": "7502", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.created`.", "type": { - "$id": "7194", + "$id": "7503", "kind": "enumvalue", "name": "conversation_created", "value": "conversation.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -96992,13 +101831,13 @@ "isHttpMetadata": false }, { - "$id": "7195", + "$id": "7504", "kind": "property", "name": "conversation", "serializedName": "conversation", "doc": "The conversation resource.", "type": { - "$id": "7196", + "$id": "7505", "kind": "model", "name": "RealtimeServerEventConversationCreatedConversation", "namespace": "OpenAI", @@ -97012,13 +101851,13 @@ }, "properties": [ { - "$id": "7197", + "$id": "7506", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the conversation.", "type": { - "$id": "7198", + "$id": "7507", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97038,13 +101877,13 @@ "isHttpMetadata": false }, { - "$id": "7199", + "$id": "7508", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, must be `realtime.conversation`.", "type": { - "$id": "7200", + "$id": "7509", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97081,7 +101920,7 @@ ] }, "input_audio_buffer.committed": { - "$id": "7201", + "$id": "7510", "kind": "model", "name": "RealtimeServerEventInputAudioBufferCommitted", "namespace": "OpenAI", @@ -97096,25 +101935,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7202", + "$id": "7511", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.committed`.", "type": { - "$id": "7203", + "$id": "7512", "kind": "enumvalue", "name": "input_audio_buffer_committed", "value": "input_audio_buffer.committed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -97132,13 +101971,13 @@ "isHttpMetadata": false }, { - "$id": "7204", + "$id": "7513", "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": "7205", + "$id": "7514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97158,13 +101997,13 @@ "isHttpMetadata": false }, { - "$id": "7206", + "$id": "7515", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created.", "type": { - "$id": "7207", + "$id": "7516", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97186,7 +102025,7 @@ ] }, "input_audio_buffer.cleared": { - "$id": "7208", + "$id": "7517", "kind": "model", "name": "RealtimeServerEventInputAudioBufferCleared", "namespace": "OpenAI", @@ -97201,25 +102040,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7209", + "$id": "7518", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.cleared`.", "type": { - "$id": "7210", + "$id": "7519", "kind": "enumvalue", "name": "input_audio_buffer_cleared", "value": "input_audio_buffer.cleared", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -97239,7 +102078,7 @@ ] }, "input_audio_buffer.speech_started": { - "$id": "7211", + "$id": "7520", "kind": "model", "name": "RealtimeServerEventInputAudioBufferSpeechStarted", "namespace": "OpenAI", @@ -97254,25 +102093,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7212", + "$id": "7521", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.speech_started`.", "type": { - "$id": "7213", + "$id": "7522", "kind": "enumvalue", "name": "input_audio_buffer_speech_started", "value": "input_audio_buffer.speech_started", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -97290,13 +102129,13 @@ "isHttpMetadata": false }, { - "$id": "7214", + "$id": "7523", "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": "7215", + "$id": "7524", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -97316,13 +102155,13 @@ "isHttpMetadata": false }, { - "$id": "7216", + "$id": "7525", "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": "7217", + "$id": "7526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97344,7 +102183,7 @@ ] }, "input_audio_buffer.speech_stopped": { - "$id": "7218", + "$id": "7527", "kind": "model", "name": "RealtimeServerEventInputAudioBufferSpeechStopped", "namespace": "OpenAI", @@ -97359,25 +102198,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7219", + "$id": "7528", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.speech_stopped`.", "type": { - "$id": "7220", + "$id": "7529", "kind": "enumvalue", "name": "input_audio_buffer_speech_stopped", "value": "input_audio_buffer.speech_stopped", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -97395,13 +102234,13 @@ "isHttpMetadata": false }, { - "$id": "7221", + "$id": "7530", "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": "7222", + "$id": "7531", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -97421,13 +102260,13 @@ "isHttpMetadata": false }, { - "$id": "7223", + "$id": "7532", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created.", "type": { - "$id": "7224", + "$id": "7533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97449,7 +102288,7 @@ ] }, "output_audio_buffer.cleared": { - "$id": "7225", + "$id": "7534", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferCleared", "namespace": "OpenAI", @@ -97464,25 +102303,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7226", + "$id": "7535", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `output_audio_buffer.cleared`.", "type": { - "$id": "7227", + "$id": "7536", "kind": "enumvalue", "name": "output_audio_buffer_cleared", "value": "output_audio_buffer.cleared", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -97500,13 +102339,13 @@ "isHttpMetadata": false }, { - "$id": "7228", + "$id": "7537", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "7229", + "$id": "7538", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97528,7 +102367,7 @@ ] }, "output_audio_buffer.started": { - "$id": "7230", + "$id": "7539", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferStarted", "namespace": "OpenAI", @@ -97543,25 +102382,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7231", + "$id": "7540", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `output_audio_buffer.started`.", "type": { - "$id": "7232", + "$id": "7541", "kind": "enumvalue", "name": "output_audio_buffer_started", "value": "output_audio_buffer.started", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -97579,13 +102418,13 @@ "isHttpMetadata": false }, { - "$id": "7233", + "$id": "7542", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "7234", + "$id": "7543", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97607,7 +102446,7 @@ ] }, "output_audio_buffer.stopped": { - "$id": "7235", + "$id": "7544", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferStopped", "namespace": "OpenAI", @@ -97622,25 +102461,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7236", + "$id": "7545", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `output_audio_buffer.stopped`.", "type": { - "$id": "7237", + "$id": "7546", "kind": "enumvalue", "name": "output_audio_buffer_stopped", "value": "output_audio_buffer.stopped", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -97658,13 +102497,13 @@ "isHttpMetadata": false }, { - "$id": "7238", + "$id": "7547", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "7239", + "$id": "7548", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97686,7 +102525,7 @@ ] }, "conversation.item.created": { - "$id": "7240", + "$id": "7549", "kind": "model", "name": "RealtimeServerEventConversationItemCreated", "namespace": "OpenAI", @@ -97701,25 +102540,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7241", + "$id": "7550", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.created`.", "type": { - "$id": "7242", + "$id": "7551", "kind": "enumvalue", "name": "conversation_item_created", "value": "conversation.item.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -97737,13 +102576,13 @@ "isHttpMetadata": false }, { - "$id": "7243", + "$id": "7552", "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": "7244", + "$id": "7553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97763,12 +102602,12 @@ "isHttpMetadata": false }, { - "$id": "7245", + "$id": "7554", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$id": "7246", + "$id": "7555", "kind": "model", "name": "RealtimeConversationResponseItem", "namespace": "OpenAI", @@ -97781,12 +102620,12 @@ } }, "discriminatorProperty": { - "$id": "7247", + "$id": "7556", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "947" + "$ref": "1011" }, "optional": false, "readOnly": false, @@ -97803,12 +102642,12 @@ }, "properties": [ { - "$id": "7248", + "$id": "7557", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1881" + "$ref": "1949" }, "optional": false, "readOnly": false, @@ -97824,18 +102663,18 @@ "isHttpMetadata": false }, { - "$ref": "7247" + "$ref": "7556" }, { - "$id": "7249", + "$id": "7558", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "7250", + "$id": "7559", "kind": "nullable", "type": { - "$id": "7251", + "$id": "7560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97859,7 +102698,7 @@ ], "discriminatedSubtypes": { "message": { - "$id": "7252", + "$id": "7561", "kind": "model", "name": "RealtimeResponseMessageItem", "namespace": "OpenAI", @@ -97873,16 +102712,16 @@ } }, "baseModel": { - "$ref": "7246" + "$ref": "7555" }, "properties": [ { - "$id": "7253", + "$id": "7562", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6869" + "$ref": "7178" }, "optional": false, "readOnly": false, @@ -97898,12 +102737,12 @@ "isHttpMetadata": false }, { - "$id": "7254", + "$id": "7563", "kind": "property", "name": "role", "serializedName": "role", "type": { - "$ref": "957" + "$ref": "1021" }, "optional": false, "readOnly": false, @@ -97919,16 +102758,16 @@ "isHttpMetadata": false }, { - "$id": "7255", + "$id": "7564", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "7256", + "$id": "7565", "kind": "array", "name": "ArrayRealtimeContentPart", "valueType": { - "$ref": "6892" + "$ref": "7201" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -97947,12 +102786,12 @@ "isHttpMetadata": false }, { - "$id": "7257", + "$id": "7566", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "962" + "$ref": "1026" }, "optional": false, "readOnly": false, @@ -97970,7 +102809,7 @@ ] }, "function_call": { - "$id": "7258", + "$id": "7567", "kind": "model", "name": "RealtimeResponseFunctionCallItem", "namespace": "OpenAI", @@ -97984,16 +102823,16 @@ } }, "baseModel": { - "$ref": "7246" + "$ref": "7555" }, "properties": [ { - "$id": "7259", + "$id": "7568", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6934" + "$ref": "7243" }, "optional": false, "readOnly": false, @@ -98009,12 +102848,12 @@ "isHttpMetadata": false }, { - "$id": "7260", + "$id": "7569", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "7261", + "$id": "7570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98034,12 +102873,12 @@ "isHttpMetadata": false }, { - "$id": "7262", + "$id": "7571", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "7263", + "$id": "7572", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98059,12 +102898,12 @@ "isHttpMetadata": false }, { - "$id": "7264", + "$id": "7573", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "7265", + "$id": "7574", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98084,12 +102923,12 @@ "isHttpMetadata": false }, { - "$id": "7266", + "$id": "7575", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "962" + "$ref": "1026" }, "optional": false, "readOnly": false, @@ -98107,7 +102946,7 @@ ] }, "function_call_output": { - "$id": "7267", + "$id": "7576", "kind": "model", "name": "RealtimeResponseFunctionCallOutputItem", "namespace": "OpenAI", @@ -98121,16 +102960,16 @@ } }, "baseModel": { - "$ref": "7246" + "$ref": "7555" }, "properties": [ { - "$id": "7268", + "$id": "7577", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6944" + "$ref": "7253" }, "optional": false, "readOnly": false, @@ -98146,12 +102985,12 @@ "isHttpMetadata": false }, { - "$id": "7269", + "$id": "7578", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "7270", + "$id": "7579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98171,12 +103010,12 @@ "isHttpMetadata": false }, { - "$id": "7271", + "$id": "7580", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "7272", + "$id": "7581", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98198,7 +103037,7 @@ ] }, "mcp_call": { - "$id": "7273", + "$id": "7582", "kind": "model", "name": "RealtimeResponseMCPCallItem", "namespace": "OpenAI", @@ -98213,16 +103052,16 @@ } }, "baseModel": { - "$ref": "7246" + "$ref": "7555" }, "properties": [ { - "$id": "7274", + "$id": "7583", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6951" + "$ref": "7260" }, "optional": false, "readOnly": false, @@ -98238,13 +103077,13 @@ "isHttpMetadata": false }, { - "$id": "7275", + "$id": "7584", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server running the tool.", "type": { - "$id": "7276", + "$id": "7585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98264,13 +103103,13 @@ "isHttpMetadata": false }, { - "$id": "7277", + "$id": "7586", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool that was run.", "type": { - "$id": "7278", + "$id": "7587", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98290,13 +103129,13 @@ "isHttpMetadata": false }, { - "$id": "7279", + "$id": "7588", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of the arguments passed to the tool.", "type": { - "$id": "7280", + "$id": "7589", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98316,16 +103155,16 @@ "isHttpMetadata": false }, { - "$id": "7281", + "$id": "7590", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request, if approval was required.", "type": { - "$id": "7282", + "$id": "7591", "kind": "nullable", "type": { - "$id": "7283", + "$id": "7592", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98347,16 +103186,16 @@ "isHttpMetadata": false }, { - "$id": "7284", + "$id": "7593", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output of the tool call, if completed.", "type": { - "$id": "7285", + "$id": "7594", "kind": "nullable", "type": { - "$id": "7286", + "$id": "7595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98378,13 +103217,13 @@ "isHttpMetadata": false }, { - "$id": "7287", + "$id": "7596", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error details if the tool call failed.", "type": { - "$id": "7288", + "$id": "7597", "kind": "model", "name": "RealtimeMCPError", "namespace": "OpenAI", @@ -98398,12 +103237,12 @@ } }, "discriminatorProperty": { - "$id": "7289", + "$id": "7598", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1072" + "$ref": "1136" }, "optional": false, "readOnly": false, @@ -98420,12 +103259,12 @@ }, "properties": [ { - "$ref": "7289" + "$ref": "7598" } ], "discriminatedSubtypes": { "protocol_error": { - "$id": "7290", + "$id": "7599", "kind": "model", "name": "RealtimeMCPProtocolError", "namespace": "OpenAI", @@ -98440,31 +103279,31 @@ } }, "baseModel": { - "$ref": "7288" + "$ref": "7597" }, "properties": [ { - "$id": "7291", + "$id": "7600", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7292", + "$id": "7601", "kind": "enumvalue", "name": "protocol_error", "value": "protocol_error", "valueType": { - "$ref": "1073" + "$ref": "1137" }, "enumType": { - "$id": "7293", + "$id": "7602", "kind": "enum", "decorators": [], "name": "RealtimeMCPErrorType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7294", + "$id": "7603", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -98473,42 +103312,42 @@ }, "values": [ { - "$id": "7295", + "$id": "7604", "kind": "enumvalue", "decorators": [], "name": "protocol_error", "value": "protocol_error", "valueType": { - "$ref": "7294" + "$ref": "7603" }, "enumType": { - "$ref": "7293" + "$ref": "7602" } }, { - "$id": "7296", + "$id": "7605", "kind": "enumvalue", "decorators": [], "name": "tool_execution_error", "value": "tool_execution_error", "valueType": { - "$ref": "7294" + "$ref": "7603" }, "enumType": { - "$ref": "7293" + "$ref": "7602" } }, { - "$id": "7297", + "$id": "7606", "kind": "enumvalue", "decorators": [], "name": "http_error", "value": "http_error", "valueType": { - "$ref": "7294" + "$ref": "7603" }, "enumType": { - "$ref": "7293" + "$ref": "7602" } } ], @@ -98537,12 +103376,12 @@ "isHttpMetadata": false }, { - "$id": "7298", + "$id": "7607", "kind": "property", "name": "code", "serializedName": "code", "type": { - "$id": "7299", + "$id": "7608", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98562,12 +103401,12 @@ "isHttpMetadata": false }, { - "$id": "7300", + "$id": "7609", "kind": "property", "name": "message", "serializedName": "message", "type": { - "$id": "7301", + "$id": "7610", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98589,7 +103428,7 @@ ] }, "tool_execution_error": { - "$id": "7302", + "$id": "7611", "kind": "model", "name": "RealtimeMCPToolExecutionError", "namespace": "OpenAI", @@ -98604,24 +103443,24 @@ } }, "baseModel": { - "$ref": "7288" + "$ref": "7597" }, "properties": [ { - "$id": "7303", + "$id": "7612", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7304", + "$id": "7613", "kind": "enumvalue", "name": "tool_execution_error", "value": "tool_execution_error", "valueType": { - "$ref": "1073" + "$ref": "1137" }, "enumType": { - "$ref": "7293" + "$ref": "7602" }, "decorators": [] }, @@ -98639,12 +103478,12 @@ "isHttpMetadata": false }, { - "$id": "7305", + "$id": "7614", "kind": "property", "name": "message", "serializedName": "message", "type": { - "$id": "7306", + "$id": "7615", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98666,7 +103505,7 @@ ] }, "http_error": { - "$id": "7307", + "$id": "7616", "kind": "model", "name": "RealtimeMCPHTTPError", "namespace": "OpenAI", @@ -98681,24 +103520,24 @@ } }, "baseModel": { - "$ref": "7288" + "$ref": "7597" }, "properties": [ { - "$id": "7308", + "$id": "7617", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7309", + "$id": "7618", "kind": "enumvalue", "name": "http_error", "value": "http_error", "valueType": { - "$ref": "1073" + "$ref": "1137" }, "enumType": { - "$ref": "7293" + "$ref": "7602" }, "decorators": [] }, @@ -98716,12 +103555,12 @@ "isHttpMetadata": false }, { - "$id": "7310", + "$id": "7619", "kind": "property", "name": "code", "serializedName": "code", "type": { - "$id": "7311", + "$id": "7620", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98741,12 +103580,12 @@ "isHttpMetadata": false }, { - "$id": "7312", + "$id": "7621", "kind": "property", "name": "message", "serializedName": "message", "type": { - "$id": "7313", + "$id": "7622", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98783,12 +103622,12 @@ "isHttpMetadata": false }, { - "$id": "7314", + "$id": "7623", "kind": "property", "name": "status", "serializedName": "status", "type": { - "$ref": "962" + "$ref": "1026" }, "optional": false, "readOnly": false, @@ -98806,7 +103645,7 @@ ] }, "mcp_list_tools": { - "$id": "7315", + "$id": "7624", "kind": "model", "name": "RealtimeResponseMCPListToolsItem", "namespace": "OpenAI", @@ -98821,16 +103660,16 @@ } }, "baseModel": { - "$ref": "7246" + "$ref": "7555" }, "properties": [ { - "$id": "7316", + "$id": "7625", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6963" + "$ref": "7272" }, "optional": false, "readOnly": false, @@ -98846,13 +103685,13 @@ "isHttpMetadata": false }, { - "$id": "7317", + "$id": "7626", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server.", "type": { - "$id": "7318", + "$id": "7627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98872,13 +103711,13 @@ "isHttpMetadata": false }, { - "$id": "7319", + "$id": "7628", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools available on the server.", "type": { - "$ref": "5029" + "$ref": "5182" }, "optional": false, "readOnly": false, @@ -98896,7 +103735,7 @@ ] }, "mcp_approval_request": { - "$id": "7320", + "$id": "7629", "kind": "model", "name": "RealtimeResponseMCPApprovalRequestItem", "namespace": "OpenAI", @@ -98911,16 +103750,16 @@ } }, "baseModel": { - "$ref": "7246" + "$ref": "7555" }, "properties": [ { - "$id": "7321", + "$id": "7630", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6969" + "$ref": "7278" }, "optional": false, "readOnly": false, @@ -98936,13 +103775,13 @@ "isHttpMetadata": false }, { - "$id": "7322", + "$id": "7631", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server making the request.", "type": { - "$id": "7323", + "$id": "7632", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98962,13 +103801,13 @@ "isHttpMetadata": false }, { - "$id": "7324", + "$id": "7633", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool to run.", "type": { - "$id": "7325", + "$id": "7634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98988,13 +103827,13 @@ "isHttpMetadata": false }, { - "$id": "7326", + "$id": "7635", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of arguments for the tool.", "type": { - "$id": "7327", + "$id": "7636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99016,7 +103855,7 @@ ] }, "mcp_approval_response": { - "$id": "7328", + "$id": "7637", "kind": "model", "name": "RealtimeResponseMCPApprovalResponseItem", "namespace": "OpenAI", @@ -99031,16 +103870,16 @@ } }, "baseModel": { - "$ref": "7246" + "$ref": "7555" }, "properties": [ { - "$id": "7329", + "$id": "7638", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "6978" + "$ref": "7287" }, "optional": false, "readOnly": false, @@ -99056,13 +103895,13 @@ "isHttpMetadata": false }, { - "$id": "7330", + "$id": "7639", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request being answered.", "type": { - "$id": "7331", + "$id": "7640", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99082,13 +103921,13 @@ "isHttpMetadata": false }, { - "$id": "7332", + "$id": "7641", "kind": "property", "name": "approve", "serializedName": "approve", "doc": "Whether the request was approved.", "type": { - "$id": "7333", + "$id": "7642", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -99108,16 +103947,16 @@ "isHttpMetadata": false }, { - "$id": "7334", + "$id": "7643", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason for the approval decision.", "type": { - "$id": "7335", + "$id": "7644", "kind": "nullable", "type": { - "$id": "7336", + "$id": "7645", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99158,7 +103997,7 @@ ] }, "conversation.item.input_audio_transcription.completed": { - "$id": "7337", + "$id": "7646", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionCompleted", "namespace": "OpenAI", @@ -99173,25 +104012,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7338", + "$id": "7647", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be\n`conversation.item.input_audio_transcription.completed`.", "type": { - "$id": "7339", + "$id": "7648", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_completed", "value": "conversation.item.input_audio_transcription.completed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -99209,13 +104048,13 @@ "isHttpMetadata": false }, { - "$id": "7340", + "$id": "7649", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item containing the audio.", "type": { - "$id": "7341", + "$id": "7650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99235,13 +104074,13 @@ "isHttpMetadata": false }, { - "$id": "7342", + "$id": "7651", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part containing the audio.", "type": { - "$id": "7343", + "$id": "7652", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99261,13 +104100,13 @@ "isHttpMetadata": false }, { - "$id": "7344", + "$id": "7653", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "The transcribed text.", "type": { - "$id": "7345", + "$id": "7654", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99287,20 +104126,20 @@ "isHttpMetadata": false }, { - "$id": "7346", + "$id": "7655", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "The log probabilities of the transcription.", "type": { - "$id": "7347", + "$id": "7656", "kind": "nullable", "type": { - "$id": "7348", + "$id": "7657", "kind": "array", "name": "ArrayLogProbProperties", "valueType": { - "$id": "7349", + "$id": "7658", "kind": "model", "name": "LogProbProperties", "namespace": "OpenAI", @@ -99315,13 +104154,13 @@ }, "properties": [ { - "$id": "7350", + "$id": "7659", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "7351", + "$id": "7660", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99341,13 +104180,13 @@ "isHttpMetadata": false }, { - "$id": "7352", + "$id": "7661", "kind": "property", "name": "logprob", "serializedName": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "7353", + "$id": "7662", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -99367,13 +104206,13 @@ "isHttpMetadata": false }, { - "$id": "7354", + "$id": "7663", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { - "$ref": "2906" + "$ref": "2974" }, "optional": false, "readOnly": false, @@ -99411,7 +104250,7 @@ ] }, "conversation.item.input_audio_transcription.failed": { - "$id": "7355", + "$id": "7664", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionFailed", "namespace": "OpenAI", @@ -99426,25 +104265,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7356", + "$id": "7665", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be\n`conversation.item.input_audio_transcription.failed`.", "type": { - "$id": "7357", + "$id": "7666", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_failed", "value": "conversation.item.input_audio_transcription.failed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -99462,13 +104301,13 @@ "isHttpMetadata": false }, { - "$id": "7358", + "$id": "7667", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item.", "type": { - "$id": "7359", + "$id": "7668", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99488,13 +104327,13 @@ "isHttpMetadata": false }, { - "$id": "7360", + "$id": "7669", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part containing the audio.", "type": { - "$id": "7361", + "$id": "7670", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99514,13 +104353,13 @@ "isHttpMetadata": false }, { - "$id": "7362", + "$id": "7671", "kind": "property", "name": "error", "serializedName": "error", "doc": "Details of the transcription error.", "type": { - "$id": "7363", + "$id": "7672", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionFailedError", "namespace": "OpenAI", @@ -99534,13 +104373,13 @@ }, "properties": [ { - "$id": "7364", + "$id": "7673", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error.", "type": { - "$id": "7365", + "$id": "7674", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99560,13 +104399,13 @@ "isHttpMetadata": false }, { - "$id": "7366", + "$id": "7675", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "7367", + "$id": "7676", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99586,13 +104425,13 @@ "isHttpMetadata": false }, { - "$id": "7368", + "$id": "7677", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "7369", + "$id": "7678", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99612,13 +104451,13 @@ "isHttpMetadata": false }, { - "$id": "7370", + "$id": "7679", "kind": "property", "name": "param", "serializedName": "param", "doc": "Parameter related to the error, if any.", "type": { - "$id": "7371", + "$id": "7680", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99655,7 +104494,7 @@ ] }, "conversation.item.truncated": { - "$id": "7372", + "$id": "7681", "kind": "model", "name": "RealtimeServerEventConversationItemTruncated", "namespace": "OpenAI", @@ -99670,25 +104509,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7373", + "$id": "7682", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.truncated`.", "type": { - "$id": "7374", + "$id": "7683", "kind": "enumvalue", "name": "conversation_item_truncated", "value": "conversation.item.truncated", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -99706,13 +104545,13 @@ "isHttpMetadata": false }, { - "$id": "7375", + "$id": "7684", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the assistant message item that was truncated.", "type": { - "$id": "7376", + "$id": "7685", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99732,13 +104571,13 @@ "isHttpMetadata": false }, { - "$id": "7377", + "$id": "7686", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that was truncated.", "type": { - "$id": "7378", + "$id": "7687", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99758,13 +104597,13 @@ "isHttpMetadata": false }, { - "$id": "7379", + "$id": "7688", "kind": "property", "name": "audio_end_ms", "serializedName": "audio_end_ms", "doc": "The duration up to which the audio was truncated, in milliseconds.", "type": { - "$id": "7380", + "$id": "7689", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -99786,7 +104625,7 @@ ] }, "conversation.item.deleted": { - "$id": "7381", + "$id": "7690", "kind": "model", "name": "RealtimeServerEventConversationItemDeleted", "namespace": "OpenAI", @@ -99801,25 +104640,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7382", + "$id": "7691", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.deleted`.", "type": { - "$id": "7383", + "$id": "7692", "kind": "enumvalue", "name": "conversation_item_deleted", "value": "conversation.item.deleted", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -99837,13 +104676,13 @@ "isHttpMetadata": false }, { - "$id": "7384", + "$id": "7693", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item that was deleted.", "type": { - "$id": "7385", + "$id": "7694", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99865,7 +104704,7 @@ ] }, "response.created": { - "$id": "7386", + "$id": "7695", "kind": "model", "name": "RealtimeServerEventResponseCreated", "namespace": "OpenAI", @@ -99880,25 +104719,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7387", + "$id": "7696", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.created`.", "type": { - "$id": "7388", + "$id": "7697", "kind": "enumvalue", "name": "response_created", "value": "response.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -99916,12 +104755,12 @@ "isHttpMetadata": false }, { - "$id": "7389", + "$id": "7698", "kind": "property", "name": "response", "serializedName": "response", "type": { - "$id": "7390", + "$id": "7699", "kind": "model", "name": "RealtimeResponse", "namespace": "OpenAI", @@ -99936,13 +104775,13 @@ }, "properties": [ { - "$id": "7391", + "$id": "7700", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the response.", "type": { - "$id": "7392", + "$id": "7701", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99962,13 +104801,13 @@ "isHttpMetadata": false }, { - "$id": "7393", + "$id": "7702", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, must be `realtime.response`.", "type": { - "$ref": "1077" + "$ref": "1141" }, "optional": true, "readOnly": false, @@ -99984,13 +104823,13 @@ "isHttpMetadata": false }, { - "$id": "7394", + "$id": "7703", "kind": "property", "name": "status", "serializedName": "status", "doc": "The final status of the response (`completed`, `cancelled`, `failed`,\n`incomplete`, or `in_progress`).", "type": { - "$ref": "1081" + "$ref": "1145" }, "optional": true, "readOnly": false, @@ -100006,13 +104845,13 @@ "isHttpMetadata": false }, { - "$id": "7395", + "$id": "7704", "kind": "property", "name": "status_details", "serializedName": "status_details", "doc": "Additional details about the status.", "type": { - "$id": "7396", + "$id": "7705", "kind": "model", "name": "RealtimeResponseStatusDetails", "namespace": "OpenAI", @@ -100026,13 +104865,13 @@ }, "properties": [ { - "$id": "7397", + "$id": "7706", "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": "1088" + "$ref": "1152" }, "optional": true, "readOnly": false, @@ -100048,13 +104887,13 @@ "isHttpMetadata": false }, { - "$id": "7398", + "$id": "7707", "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": "1094" + "$ref": "1158" }, "optional": true, "readOnly": false, @@ -100070,13 +104909,13 @@ "isHttpMetadata": false }, { - "$id": "7399", + "$id": "7708", "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": "7400", + "$id": "7709", "kind": "model", "name": "RealtimeResponseStatusDetailsError", "namespace": "OpenAI", @@ -100090,13 +104929,13 @@ }, "properties": [ { - "$id": "7401", + "$id": "7710", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error.", "type": { - "$id": "7402", + "$id": "7711", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100116,13 +104955,13 @@ "isHttpMetadata": false }, { - "$id": "7403", + "$id": "7712", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "7404", + "$id": "7713", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100172,17 +105011,17 @@ "isHttpMetadata": false }, { - "$id": "7405", + "$id": "7714", "kind": "property", "name": "output", "serializedName": "output", "doc": "The list of output items generated by the response.", "type": { - "$id": "7406", + "$id": "7715", "kind": "array", "name": "ArrayRealtimeConversationResponseItem", "valueType": { - "$ref": "7246" + "$ref": "7555" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -100201,13 +105040,13 @@ "isHttpMetadata": false }, { - "$id": "7407", + "$id": "7716", "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": "2579" + "$ref": "2647" }, "optional": false, "readOnly": false, @@ -100223,13 +105062,13 @@ "isHttpMetadata": false }, { - "$id": "7408", + "$id": "7717", "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": "7409", + "$id": "7718", "kind": "model", "name": "RealtimeResponseUsage", "namespace": "OpenAI", @@ -100243,13 +105082,13 @@ }, "properties": [ { - "$id": "7410", + "$id": "7719", "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": "7411", + "$id": "7720", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100269,13 +105108,13 @@ "isHttpMetadata": false }, { - "$id": "7412", + "$id": "7721", "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": "7413", + "$id": "7722", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100295,13 +105134,13 @@ "isHttpMetadata": false }, { - "$id": "7414", + "$id": "7723", "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": "7415", + "$id": "7724", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100321,13 +105160,13 @@ "isHttpMetadata": false }, { - "$id": "7416", + "$id": "7725", "kind": "property", "name": "input_token_details", "serializedName": "input_token_details", "doc": "Details about the input tokens used in the Response.", "type": { - "$id": "7417", + "$id": "7726", "kind": "model", "name": "RealtimeResponseUsageInputTokenDetails", "namespace": "OpenAI", @@ -100341,13 +105180,13 @@ }, "properties": [ { - "$id": "7418", + "$id": "7727", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of cached tokens used in the Response.", "type": { - "$id": "7419", + "$id": "7728", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100367,13 +105206,13 @@ "isHttpMetadata": false }, { - "$id": "7420", + "$id": "7729", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text tokens used in the Response.", "type": { - "$id": "7421", + "$id": "7730", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100393,13 +105232,13 @@ "isHttpMetadata": false }, { - "$id": "7422", + "$id": "7731", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "The number of audio tokens used in the Response.", "type": { - "$id": "7423", + "$id": "7732", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100434,13 +105273,13 @@ "isHttpMetadata": false }, { - "$id": "7424", + "$id": "7733", "kind": "property", "name": "output_token_details", "serializedName": "output_token_details", "doc": "Details about the output tokens used in the Response.", "type": { - "$id": "7425", + "$id": "7734", "kind": "model", "name": "RealtimeResponseUsageOutputTokenDetails", "namespace": "OpenAI", @@ -100454,13 +105293,13 @@ }, "properties": [ { - "$id": "7426", + "$id": "7735", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text tokens used in the Response.", "type": { - "$id": "7427", + "$id": "7736", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100480,13 +105319,13 @@ "isHttpMetadata": false }, { - "$id": "7428", + "$id": "7737", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "The number of audio tokens used in the Response.", "type": { - "$id": "7429", + "$id": "7738", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100536,13 +105375,13 @@ "isHttpMetadata": false }, { - "$id": "7430", + "$id": "7739", "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": "7431", + "$id": "7740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100562,7 +105401,7 @@ "isHttpMetadata": false }, { - "$id": "7432", + "$id": "7741", "kind": "property", "name": "voice", "serializedName": "voice", @@ -100584,17 +105423,17 @@ "isHttpMetadata": false }, { - "$id": "7433", + "$id": "7742", "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": "7434", + "$id": "7743", "kind": "array", "name": "Array32", "valueType": { - "$ref": "1100" + "$ref": "1164" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -100613,13 +105452,13 @@ "isHttpMetadata": false }, { - "$id": "7435", + "$id": "7744", "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": "1104" + "$ref": "1168" }, "optional": true, "readOnly": false, @@ -100635,13 +105474,13 @@ "isHttpMetadata": false }, { - "$id": "7436", + "$id": "7745", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", "type": { - "$id": "7437", + "$id": "7746", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -100661,25 +105500,25 @@ "isHttpMetadata": false }, { - "$id": "7438", + "$id": "7747", "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": "7439", + "$id": "7748", "kind": "union", "name": "RealtimeResponseMaxOutputTokens", "variantTypes": [ { - "$id": "7440", + "$id": "7749", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1883" + "$ref": "1951" } ], "namespace": "OpenAI", @@ -100716,7 +105555,7 @@ ] }, "response.done": { - "$id": "7441", + "$id": "7750", "kind": "model", "name": "RealtimeServerEventResponseDone", "namespace": "OpenAI", @@ -100731,25 +105570,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7442", + "$id": "7751", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.done`.", "type": { - "$id": "7443", + "$id": "7752", "kind": "enumvalue", "name": "response_done", "value": "response.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -100767,12 +105606,12 @@ "isHttpMetadata": false }, { - "$id": "7444", + "$id": "7753", "kind": "property", "name": "response", "serializedName": "response", "type": { - "$ref": "7390" + "$ref": "7699" }, "optional": false, "readOnly": false, @@ -100790,7 +105629,7 @@ ] }, "response.output_item.added": { - "$id": "7445", + "$id": "7754", "kind": "model", "name": "RealtimeServerEventResponseOutputItemAdded", "namespace": "OpenAI", @@ -100805,25 +105644,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7446", + "$id": "7755", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.output_item.added`.", "type": { - "$id": "7447", + "$id": "7756", "kind": "enumvalue", "name": "response_output_item_added", "value": "response.output_item.added", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -100841,13 +105680,13 @@ "isHttpMetadata": false }, { - "$id": "7448", + "$id": "7757", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the Response to which the item belongs.", "type": { - "$id": "7449", + "$id": "7758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100867,13 +105706,13 @@ "isHttpMetadata": false }, { - "$id": "7450", + "$id": "7759", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the Response.", "type": { - "$id": "7451", + "$id": "7760", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100893,12 +105732,12 @@ "isHttpMetadata": false }, { - "$id": "7452", + "$id": "7761", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "7246" + "$ref": "7555" }, "optional": false, "readOnly": false, @@ -100916,7 +105755,7 @@ ] }, "response.output_item.done": { - "$id": "7453", + "$id": "7762", "kind": "model", "name": "RealtimeServerEventResponseOutputItemDone", "namespace": "OpenAI", @@ -100931,25 +105770,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7454", + "$id": "7763", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.output_item.done`.", "type": { - "$id": "7455", + "$id": "7764", "kind": "enumvalue", "name": "response_output_item_done", "value": "response.output_item.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -100967,13 +105806,13 @@ "isHttpMetadata": false }, { - "$id": "7456", + "$id": "7765", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the Response to which the item belongs.", "type": { - "$id": "7457", + "$id": "7766", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100993,13 +105832,13 @@ "isHttpMetadata": false }, { - "$id": "7458", + "$id": "7767", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the Response.", "type": { - "$id": "7459", + "$id": "7768", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101019,12 +105858,12 @@ "isHttpMetadata": false }, { - "$id": "7460", + "$id": "7769", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "7246" + "$ref": "7555" }, "optional": false, "readOnly": false, @@ -101042,7 +105881,7 @@ ] }, "response.content_part.added": { - "$id": "7461", + "$id": "7770", "kind": "model", "name": "RealtimeServerEventResponseContentPartAdded", "namespace": "OpenAI", @@ -101057,25 +105896,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7462", + "$id": "7771", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.content_part.added`.", "type": { - "$id": "7463", + "$id": "7772", "kind": "enumvalue", "name": "response_content_part_added", "value": "response.content_part.added", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -101093,13 +105932,13 @@ "isHttpMetadata": false }, { - "$id": "7464", + "$id": "7773", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7465", + "$id": "7774", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101119,13 +105958,13 @@ "isHttpMetadata": false }, { - "$id": "7466", + "$id": "7775", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to which the content part was added.", "type": { - "$id": "7467", + "$id": "7776", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101145,13 +105984,13 @@ "isHttpMetadata": false }, { - "$id": "7468", + "$id": "7777", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7469", + "$id": "7778", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101171,13 +106010,13 @@ "isHttpMetadata": false }, { - "$id": "7470", + "$id": "7779", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7471", + "$id": "7780", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101197,13 +106036,13 @@ "isHttpMetadata": false }, { - "$id": "7472", + "$id": "7781", "kind": "property", "name": "part", "serializedName": "part", "doc": "The content part that was added.", "type": { - "$ref": "6892" + "$ref": "7201" }, "optional": false, "readOnly": false, @@ -101221,7 +106060,7 @@ ] }, "response.content_part.done": { - "$id": "7473", + "$id": "7782", "kind": "model", "name": "RealtimeServerEventResponseContentPartDone", "namespace": "OpenAI", @@ -101236,25 +106075,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7474", + "$id": "7783", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.content_part.done`.", "type": { - "$id": "7475", + "$id": "7784", "kind": "enumvalue", "name": "response_content_part_done", "value": "response.content_part.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -101272,13 +106111,13 @@ "isHttpMetadata": false }, { - "$id": "7476", + "$id": "7785", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7477", + "$id": "7786", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101298,13 +106137,13 @@ "isHttpMetadata": false }, { - "$id": "7478", + "$id": "7787", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7479", + "$id": "7788", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101324,13 +106163,13 @@ "isHttpMetadata": false }, { - "$id": "7480", + "$id": "7789", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7481", + "$id": "7790", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101350,13 +106189,13 @@ "isHttpMetadata": false }, { - "$id": "7482", + "$id": "7791", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7483", + "$id": "7792", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101376,13 +106215,13 @@ "isHttpMetadata": false }, { - "$id": "7484", + "$id": "7793", "kind": "property", "name": "part", "serializedName": "part", "doc": "The content part that is done.", "type": { - "$ref": "6892" + "$ref": "7201" }, "optional": false, "readOnly": false, @@ -101400,7 +106239,7 @@ ] }, "response.output_text.delta": { - "$id": "7485", + "$id": "7794", "kind": "model", "name": "RealtimeServerEventResponseTextDelta", "namespace": "OpenAI", @@ -101415,25 +106254,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7486", + "$id": "7795", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.output_text.delta`.", "type": { - "$id": "7487", + "$id": "7796", "kind": "enumvalue", "name": "response_text_delta", "value": "response.output_text.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -101451,13 +106290,13 @@ "isHttpMetadata": false }, { - "$id": "7488", + "$id": "7797", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7489", + "$id": "7798", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101477,13 +106316,13 @@ "isHttpMetadata": false }, { - "$id": "7490", + "$id": "7799", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7491", + "$id": "7800", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101503,13 +106342,13 @@ "isHttpMetadata": false }, { - "$id": "7492", + "$id": "7801", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7493", + "$id": "7802", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101529,13 +106368,13 @@ "isHttpMetadata": false }, { - "$id": "7494", + "$id": "7803", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7495", + "$id": "7804", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101555,13 +106394,13 @@ "isHttpMetadata": false }, { - "$id": "7496", + "$id": "7805", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta.", "type": { - "$id": "7497", + "$id": "7806", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101583,7 +106422,7 @@ ] }, "response.output_text.done": { - "$id": "7498", + "$id": "7807", "kind": "model", "name": "RealtimeServerEventResponseTextDone", "namespace": "OpenAI", @@ -101598,25 +106437,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7499", + "$id": "7808", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.output_text.done`.", "type": { - "$id": "7500", + "$id": "7809", "kind": "enumvalue", "name": "response_text_done", "value": "response.output_text.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -101634,13 +106473,13 @@ "isHttpMetadata": false }, { - "$id": "7501", + "$id": "7810", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7502", + "$id": "7811", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101660,13 +106499,13 @@ "isHttpMetadata": false }, { - "$id": "7503", + "$id": "7812", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7504", + "$id": "7813", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101686,13 +106525,13 @@ "isHttpMetadata": false }, { - "$id": "7505", + "$id": "7814", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7506", + "$id": "7815", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101712,13 +106551,13 @@ "isHttpMetadata": false }, { - "$id": "7507", + "$id": "7816", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7508", + "$id": "7817", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101738,13 +106577,13 @@ "isHttpMetadata": false }, { - "$id": "7509", + "$id": "7818", "kind": "property", "name": "text", "serializedName": "text", "doc": "The final text content.", "type": { - "$id": "7510", + "$id": "7819", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101766,7 +106605,7 @@ ] }, "response.output_audio_transcript.delta": { - "$id": "7511", + "$id": "7820", "kind": "model", "name": "RealtimeServerEventResponseAudioTranscriptDelta", "namespace": "OpenAI", @@ -101781,25 +106620,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7512", + "$id": "7821", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.output_audio_transcript.delta`.", "type": { - "$id": "7513", + "$id": "7822", "kind": "enumvalue", "name": "response_audio_transcript_delta", "value": "response.output_audio_transcript.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -101817,13 +106656,13 @@ "isHttpMetadata": false }, { - "$id": "7514", + "$id": "7823", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7515", + "$id": "7824", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101843,13 +106682,13 @@ "isHttpMetadata": false }, { - "$id": "7516", + "$id": "7825", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7517", + "$id": "7826", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101869,13 +106708,13 @@ "isHttpMetadata": false }, { - "$id": "7518", + "$id": "7827", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7519", + "$id": "7828", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101895,13 +106734,13 @@ "isHttpMetadata": false }, { - "$id": "7520", + "$id": "7829", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7521", + "$id": "7830", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101921,13 +106760,13 @@ "isHttpMetadata": false }, { - "$id": "7522", + "$id": "7831", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The transcript delta.", "type": { - "$id": "7523", + "$id": "7832", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101949,7 +106788,7 @@ ] }, "response.output_audio_transcript.done": { - "$id": "7524", + "$id": "7833", "kind": "model", "name": "RealtimeServerEventResponseAudioTranscriptDone", "namespace": "OpenAI", @@ -101964,25 +106803,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7525", + "$id": "7834", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.output_audio_transcript.done`.", "type": { - "$id": "7526", + "$id": "7835", "kind": "enumvalue", "name": "response_audio_transcript_done", "value": "response.output_audio_transcript.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -102000,13 +106839,13 @@ "isHttpMetadata": false }, { - "$id": "7527", + "$id": "7836", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7528", + "$id": "7837", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102026,13 +106865,13 @@ "isHttpMetadata": false }, { - "$id": "7529", + "$id": "7838", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7530", + "$id": "7839", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102052,13 +106891,13 @@ "isHttpMetadata": false }, { - "$id": "7531", + "$id": "7840", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7532", + "$id": "7841", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102078,13 +106917,13 @@ "isHttpMetadata": false }, { - "$id": "7533", + "$id": "7842", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7534", + "$id": "7843", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102104,13 +106943,13 @@ "isHttpMetadata": false }, { - "$id": "7535", + "$id": "7844", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "The final transcript of the audio.", "type": { - "$id": "7536", + "$id": "7845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102132,7 +106971,7 @@ ] }, "response.output_audio.delta": { - "$id": "7537", + "$id": "7846", "kind": "model", "name": "RealtimeServerEventResponseAudioDelta", "namespace": "OpenAI", @@ -102147,25 +106986,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7538", + "$id": "7847", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.output_audio.delta`.", "type": { - "$id": "7539", + "$id": "7848", "kind": "enumvalue", "name": "response_audio_delta", "value": "response.output_audio.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -102183,13 +107022,13 @@ "isHttpMetadata": false }, { - "$id": "7540", + "$id": "7849", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7541", + "$id": "7850", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102209,13 +107048,13 @@ "isHttpMetadata": false }, { - "$id": "7542", + "$id": "7851", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7543", + "$id": "7852", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102235,13 +107074,13 @@ "isHttpMetadata": false }, { - "$id": "7544", + "$id": "7853", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7545", + "$id": "7854", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102261,13 +107100,13 @@ "isHttpMetadata": false }, { - "$id": "7546", + "$id": "7855", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7547", + "$id": "7856", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102287,13 +107126,13 @@ "isHttpMetadata": false }, { - "$id": "7548", + "$id": "7857", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "Base64-encoded audio data delta.", "type": { - "$id": "7549", + "$id": "7858", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -102316,7 +107155,7 @@ ] }, "response.output_audio.done": { - "$id": "7550", + "$id": "7859", "kind": "model", "name": "RealtimeServerEventResponseAudioDone", "namespace": "OpenAI", @@ -102331,25 +107170,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7551", + "$id": "7860", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.output_audio.done`.", "type": { - "$id": "7552", + "$id": "7861", "kind": "enumvalue", "name": "response_audio_done", "value": "response.output_audio.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -102367,13 +107206,13 @@ "isHttpMetadata": false }, { - "$id": "7553", + "$id": "7862", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7554", + "$id": "7863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102393,13 +107232,13 @@ "isHttpMetadata": false }, { - "$id": "7555", + "$id": "7864", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7556", + "$id": "7865", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102419,13 +107258,13 @@ "isHttpMetadata": false }, { - "$id": "7557", + "$id": "7866", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7558", + "$id": "7867", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102445,13 +107284,13 @@ "isHttpMetadata": false }, { - "$id": "7559", + "$id": "7868", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7560", + "$id": "7869", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102473,7 +107312,7 @@ ] }, "response.function_call_arguments.delta": { - "$id": "7561", + "$id": "7870", "kind": "model", "name": "RealtimeServerEventResponseFunctionCallArgumentsDelta", "namespace": "OpenAI", @@ -102488,25 +107327,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7562", + "$id": "7871", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.function_call_arguments.delta`.", "type": { - "$id": "7563", + "$id": "7872", "kind": "enumvalue", "name": "response_function_call_arguments_delta", "value": "response.function_call_arguments.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -102524,13 +107363,13 @@ "isHttpMetadata": false }, { - "$id": "7564", + "$id": "7873", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7565", + "$id": "7874", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102550,13 +107389,13 @@ "isHttpMetadata": false }, { - "$id": "7566", + "$id": "7875", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the function call item.", "type": { - "$id": "7567", + "$id": "7876", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102576,13 +107415,13 @@ "isHttpMetadata": false }, { - "$id": "7568", + "$id": "7877", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7569", + "$id": "7878", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102602,13 +107441,13 @@ "isHttpMetadata": false }, { - "$id": "7570", + "$id": "7879", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the function call.", "type": { - "$id": "7571", + "$id": "7880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102628,13 +107467,13 @@ "isHttpMetadata": false }, { - "$id": "7572", + "$id": "7881", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The arguments delta as a JSON string.", "type": { - "$id": "7573", + "$id": "7882", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102656,7 +107495,7 @@ ] }, "response.function_call_arguments.done": { - "$id": "7574", + "$id": "7883", "kind": "model", "name": "RealtimeServerEventResponseFunctionCallArgumentsDone", "namespace": "OpenAI", @@ -102671,25 +107510,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7575", + "$id": "7884", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.function_call_arguments.done`.", "type": { - "$id": "7576", + "$id": "7885", "kind": "enumvalue", "name": "response_function_call_arguments_done", "value": "response.function_call_arguments.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -102707,13 +107546,13 @@ "isHttpMetadata": false }, { - "$id": "7577", + "$id": "7886", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7578", + "$id": "7887", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102733,13 +107572,13 @@ "isHttpMetadata": false }, { - "$id": "7579", + "$id": "7888", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the function call item.", "type": { - "$id": "7580", + "$id": "7889", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102759,13 +107598,13 @@ "isHttpMetadata": false }, { - "$id": "7581", + "$id": "7890", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7582", + "$id": "7891", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102785,13 +107624,13 @@ "isHttpMetadata": false }, { - "$id": "7583", + "$id": "7892", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the function call.", "type": { - "$id": "7584", + "$id": "7893", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102811,13 +107650,13 @@ "isHttpMetadata": false }, { - "$id": "7585", + "$id": "7894", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The final arguments as a JSON string.", "type": { - "$id": "7586", + "$id": "7895", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102839,7 +107678,7 @@ ] }, "rate_limits.updated": { - "$id": "7587", + "$id": "7896", "kind": "model", "name": "RealtimeServerEventRateLimitsUpdated", "namespace": "OpenAI", @@ -102854,25 +107693,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7588", + "$id": "7897", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `rate_limits.updated`.", "type": { - "$id": "7589", + "$id": "7898", "kind": "enumvalue", "name": "rate_limits_updated", "value": "rate_limits.updated", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -102890,17 +107729,17 @@ "isHttpMetadata": false }, { - "$id": "7590", + "$id": "7899", "kind": "property", "name": "rate_limits", "serializedName": "rate_limits", "doc": "List of rate limit information.", "type": { - "$id": "7591", + "$id": "7900", "kind": "array", "name": "ArrayRealtimeServerEventRateLimitsUpdatedRateLimitsItem", "valueType": { - "$id": "7592", + "$id": "7901", "kind": "model", "name": "RealtimeServerEventRateLimitsUpdatedRateLimitsItem", "namespace": "OpenAI", @@ -102914,13 +107753,13 @@ }, "properties": [ { - "$id": "7593", + "$id": "7902", "kind": "property", "name": "name", "serializedName": "name", "doc": "The rate limit property name that this item includes information about.", "type": { - "$id": "7594", + "$id": "7903", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102940,13 +107779,13 @@ "isHttpMetadata": false }, { - "$id": "7595", + "$id": "7904", "kind": "property", "name": "limit", "serializedName": "limit", "doc": "The maximum configured limit for this rate limit property.", "type": { - "$id": "7596", + "$id": "7905", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102966,13 +107805,13 @@ "isHttpMetadata": false }, { - "$id": "7597", + "$id": "7906", "kind": "property", "name": "remaining", "serializedName": "remaining", "doc": "The remaining quota available against the configured limit for this rate limit property.", "type": { - "$id": "7598", + "$id": "7907", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102992,18 +107831,18 @@ "isHttpMetadata": false }, { - "$id": "7599", + "$id": "7908", "kind": "property", "name": "reset_seconds", "serializedName": "reset_seconds", "doc": "The remaining time, in seconds, until this rate limit property is reset.", "type": { - "$id": "7600", + "$id": "7909", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "7601", + "$id": "7910", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -103046,7 +107885,7 @@ ] }, "input_audio_buffer.dtmf_event_received": { - "$id": "7602", + "$id": "7911", "kind": "model", "name": "RealtimeServerEventInputAudioBufferDtmfEventReceived", "namespace": "OpenAI", @@ -103061,25 +107900,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7603", + "$id": "7912", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.dtmf_event_received`.", "type": { - "$id": "7604", + "$id": "7913", "kind": "enumvalue", "name": "input_audio_buffer_dtmf_event_received", "value": "input_audio_buffer.dtmf_event_received", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -103097,13 +107936,13 @@ "isHttpMetadata": false }, { - "$id": "7605", + "$id": "7914", "kind": "property", "name": "event", "serializedName": "event", "doc": "The telephone keypad that was pressed by the user.", "type": { - "$id": "7606", + "$id": "7915", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103123,18 +107962,18 @@ "isHttpMetadata": false }, { - "$id": "7607", + "$id": "7916", "kind": "property", "name": "received_at", "serializedName": "received_at", "doc": "The Unix timestamp when the DTMF event was received.", "type": { - "$id": "7608", + "$id": "7917", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7609", + "$id": "7918", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -103159,7 +107998,7 @@ ] }, "input_audio_buffer.timeout_triggered": { - "$id": "7610", + "$id": "7919", "kind": "model", "name": "RealtimeServerEventInputAudioBufferTimeoutTriggered", "namespace": "OpenAI", @@ -103174,25 +108013,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7611", + "$id": "7920", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `input_audio_buffer.timeout_triggered`.", "type": { - "$id": "7612", + "$id": "7921", "kind": "enumvalue", "name": "input_audio_buffer_timeout_triggered", "value": "input_audio_buffer.timeout_triggered", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -103210,13 +108049,13 @@ "isHttpMetadata": false }, { - "$id": "7613", + "$id": "7922", "kind": "property", "name": "audio_start_ms", "serializedName": "audio_start_ms", "doc": "Millisecond offset of audio written to the input audio buffer that was after\nthe playback time of the last model response.", "type": { - "$id": "7614", + "$id": "7923", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -103236,13 +108075,13 @@ "isHttpMetadata": false }, { - "$id": "7615", + "$id": "7924", "kind": "property", "name": "audio_end_ms", "serializedName": "audio_end_ms", "doc": "Millisecond offset of audio written to the input audio buffer at the time\nthe timeout was triggered.", "type": { - "$id": "7616", + "$id": "7925", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -103262,13 +108101,13 @@ "isHttpMetadata": false }, { - "$id": "7617", + "$id": "7926", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created.", "type": { - "$id": "7618", + "$id": "7927", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103290,7 +108129,7 @@ ] }, "conversation.item.input_audio_transcription.segment": { - "$id": "7619", + "$id": "7928", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionSegment", "namespace": "OpenAI", @@ -103305,25 +108144,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7620", + "$id": "7929", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.input_audio_transcription.segment`.", "type": { - "$id": "7621", + "$id": "7930", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_segment", "value": "conversation.item.input_audio_transcription.segment", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -103341,13 +108180,13 @@ "isHttpMetadata": false }, { - "$id": "7622", + "$id": "7931", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7623", + "$id": "7932", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103367,13 +108206,13 @@ "isHttpMetadata": false }, { - "$id": "7624", + "$id": "7933", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part containing the audio.", "type": { - "$id": "7625", + "$id": "7934", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -103393,13 +108232,13 @@ "isHttpMetadata": false }, { - "$id": "7626", + "$id": "7935", "kind": "property", "name": "text", "serializedName": "text", "doc": "The transcribed text for the segment.", "type": { - "$id": "7627", + "$id": "7936", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103419,13 +108258,13 @@ "isHttpMetadata": false }, { - "$id": "7628", + "$id": "7937", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the segment.", "type": { - "$id": "7629", + "$id": "7938", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103445,13 +108284,13 @@ "isHttpMetadata": false }, { - "$id": "7630", + "$id": "7939", "kind": "property", "name": "speaker", "serializedName": "speaker", "doc": "The speaker identifier for the segment.", "type": { - "$id": "7631", + "$id": "7940", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103471,13 +108310,13 @@ "isHttpMetadata": false }, { - "$id": "7632", + "$id": "7941", "kind": "property", "name": "start", "serializedName": "start", "doc": "Start time of the segment in seconds.", "type": { - "$id": "7633", + "$id": "7942", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -103497,13 +108336,13 @@ "isHttpMetadata": false }, { - "$id": "7634", + "$id": "7943", "kind": "property", "name": "end", "serializedName": "end", "doc": "End time of the segment in seconds.", "type": { - "$id": "7635", + "$id": "7944", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -103525,7 +108364,7 @@ ] }, "mcp_list_tools.in_progress": { - "$id": "7636", + "$id": "7945", "kind": "model", "name": "RealtimeServerEventMCPListToolsInProgress", "namespace": "OpenAI", @@ -103540,25 +108379,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7637", + "$id": "7946", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `mcp_list_tools.in_progress`.", "type": { - "$id": "7638", + "$id": "7947", "kind": "enumvalue", "name": "mcp_list_tools_in_progress", "value": "mcp_list_tools.in_progress", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -103576,13 +108415,13 @@ "isHttpMetadata": false }, { - "$id": "7639", + "$id": "7948", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP list tools item.", "type": { - "$id": "7640", + "$id": "7949", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103604,7 +108443,7 @@ ] }, "mcp_list_tools.completed": { - "$id": "7641", + "$id": "7950", "kind": "model", "name": "RealtimeServerEventMCPListToolsCompleted", "namespace": "OpenAI", @@ -103619,25 +108458,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7642", + "$id": "7951", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `mcp_list_tools.completed`.", "type": { - "$id": "7643", + "$id": "7952", "kind": "enumvalue", "name": "mcp_list_tools_completed", "value": "mcp_list_tools.completed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -103655,13 +108494,13 @@ "isHttpMetadata": false }, { - "$id": "7644", + "$id": "7953", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP list tools item.", "type": { - "$id": "7645", + "$id": "7954", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103683,7 +108522,7 @@ ] }, "mcp_list_tools.failed": { - "$id": "7646", + "$id": "7955", "kind": "model", "name": "RealtimeServerEventMCPListToolsFailed", "namespace": "OpenAI", @@ -103698,25 +108537,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7647", + "$id": "7956", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `mcp_list_tools.failed`.", "type": { - "$id": "7648", + "$id": "7957", "kind": "enumvalue", "name": "mcp_list_tools_failed", "value": "mcp_list_tools.failed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -103734,13 +108573,13 @@ "isHttpMetadata": false }, { - "$id": "7649", + "$id": "7958", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP list tools item.", "type": { - "$id": "7650", + "$id": "7959", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103760,13 +108599,13 @@ "isHttpMetadata": false }, { - "$id": "7651", + "$id": "7960", "kind": "property", "name": "error", "serializedName": "error", "doc": "Details of the error.", "type": { - "$ref": "7288" + "$ref": "7597" }, "optional": false, "readOnly": false, @@ -103784,7 +108623,7 @@ ] }, "response.mcp_call_arguments.delta": { - "$id": "7652", + "$id": "7961", "kind": "model", "name": "RealtimeServerEventResponseMCPCallArgumentsDelta", "namespace": "OpenAI", @@ -103799,25 +108638,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7653", + "$id": "7962", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.mcp_call_arguments.delta`.", "type": { - "$id": "7654", + "$id": "7963", "kind": "enumvalue", "name": "response_mcp_call_arguments_delta", "value": "response.mcp_call_arguments.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -103835,13 +108674,13 @@ "isHttpMetadata": false }, { - "$id": "7655", + "$id": "7964", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7656", + "$id": "7965", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103861,13 +108700,13 @@ "isHttpMetadata": false }, { - "$id": "7657", + "$id": "7966", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item.", "type": { - "$id": "7658", + "$id": "7967", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103887,13 +108726,13 @@ "isHttpMetadata": false }, { - "$id": "7659", + "$id": "7968", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7660", + "$id": "7969", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -103913,13 +108752,13 @@ "isHttpMetadata": false }, { - "$id": "7661", + "$id": "7970", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The arguments delta as a JSON string.", "type": { - "$id": "7662", + "$id": "7971", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103941,7 +108780,7 @@ ] }, "response.mcp_call_arguments.done": { - "$id": "7663", + "$id": "7972", "kind": "model", "name": "RealtimeServerEventResponseMCPCallArgumentsDone", "namespace": "OpenAI", @@ -103956,25 +108795,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7664", + "$id": "7973", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.mcp_call_arguments.done`.", "type": { - "$id": "7665", + "$id": "7974", "kind": "enumvalue", "name": "response_mcp_call_arguments_done", "value": "response.mcp_call_arguments.done", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -103992,13 +108831,13 @@ "isHttpMetadata": false }, { - "$id": "7666", + "$id": "7975", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7667", + "$id": "7976", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104018,13 +108857,13 @@ "isHttpMetadata": false }, { - "$id": "7668", + "$id": "7977", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item.", "type": { - "$id": "7669", + "$id": "7978", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104044,13 +108883,13 @@ "isHttpMetadata": false }, { - "$id": "7670", + "$id": "7979", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7671", + "$id": "7980", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -104070,13 +108909,13 @@ "isHttpMetadata": false }, { - "$id": "7672", + "$id": "7981", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The final JSON-encoded arguments string.", "type": { - "$id": "7673", + "$id": "7982", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104098,7 +108937,7 @@ ] }, "response.mcp_call.in_progress": { - "$id": "7674", + "$id": "7983", "kind": "model", "name": "RealtimeServerEventResponseMCPCallInProgress", "namespace": "OpenAI", @@ -104113,25 +108952,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7675", + "$id": "7984", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.mcp_call.in_progress`.", "type": { - "$id": "7676", + "$id": "7985", "kind": "enumvalue", "name": "response_mcp_call_in_progress", "value": "response.mcp_call.in_progress", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -104149,13 +108988,13 @@ "isHttpMetadata": false }, { - "$id": "7677", + "$id": "7986", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7678", + "$id": "7987", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104175,13 +109014,13 @@ "isHttpMetadata": false }, { - "$id": "7679", + "$id": "7988", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7680", + "$id": "7989", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -104201,13 +109040,13 @@ "isHttpMetadata": false }, { - "$id": "7681", + "$id": "7990", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item.", "type": { - "$id": "7682", + "$id": "7991", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104229,7 +109068,7 @@ ] }, "response.mcp_call.completed": { - "$id": "7683", + "$id": "7992", "kind": "model", "name": "RealtimeServerEventResponseMCPCallCompleted", "namespace": "OpenAI", @@ -104244,25 +109083,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7684", + "$id": "7993", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.mcp_call.completed`.", "type": { - "$id": "7685", + "$id": "7994", "kind": "enumvalue", "name": "response_mcp_call_completed", "value": "response.mcp_call.completed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -104280,13 +109119,13 @@ "isHttpMetadata": false }, { - "$id": "7686", + "$id": "7995", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7687", + "$id": "7996", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104306,13 +109145,13 @@ "isHttpMetadata": false }, { - "$id": "7688", + "$id": "7997", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7689", + "$id": "7998", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -104332,13 +109171,13 @@ "isHttpMetadata": false }, { - "$id": "7690", + "$id": "7999", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item.", "type": { - "$id": "7691", + "$id": "8000", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104360,7 +109199,7 @@ ] }, "response.mcp_call.failed": { - "$id": "7692", + "$id": "8001", "kind": "model", "name": "RealtimeServerEventResponseMCPCallFailed", "namespace": "OpenAI", @@ -104375,25 +109214,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7693", + "$id": "8002", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `response.mcp_call.failed`.", "type": { - "$id": "7694", + "$id": "8003", "kind": "enumvalue", "name": "response_mcp_call_failed", "value": "response.mcp_call.failed", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -104411,13 +109250,13 @@ "isHttpMetadata": false }, { - "$id": "7695", + "$id": "8004", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "7696", + "$id": "8005", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104437,13 +109276,13 @@ "isHttpMetadata": false }, { - "$id": "7697", + "$id": "8006", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "7698", + "$id": "8007", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -104463,13 +109302,13 @@ "isHttpMetadata": false }, { - "$id": "7699", + "$id": "8008", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the MCP tool call item.", "type": { - "$id": "7700", + "$id": "8009", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104489,13 +109328,13 @@ "isHttpMetadata": false }, { - "$id": "7701", + "$id": "8010", "kind": "property", "name": "error", "serializedName": "error", "doc": "Details of the error.", "type": { - "$ref": "7288" + "$ref": "7597" }, "optional": false, "readOnly": false, @@ -104513,7 +109352,7 @@ ] }, "transcription_session.created": { - "$id": "7702", + "$id": "8011", "kind": "model", "name": "RealtimeServerEventTranscriptionSessionCreated", "namespace": "OpenAI", @@ -104528,25 +109367,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7703", + "$id": "8012", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `transcription_session.created`.", "type": { - "$id": "7704", + "$id": "8013", "kind": "enumvalue", "name": "transcription_session_created", "value": "transcription_session.created", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -104564,12 +109403,12 @@ "isHttpMetadata": false }, { - "$id": "7705", + "$id": "8014", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "7706", + "$id": "8015", "kind": "model", "name": "RealtimeTranscriptionSessionCreateResponse", "namespace": "OpenAI", @@ -104584,13 +109423,13 @@ }, "properties": [ { - "$id": "7707", + "$id": "8016", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the transcription session.", "type": { - "$id": "7708", + "$id": "8017", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104610,13 +109449,13 @@ "isHttpMetadata": false }, { - "$id": "7709", + "$id": "8018", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `realtime.transcription_session`.", "type": { - "$ref": "1885" + "$ref": "1953" }, "optional": false, "readOnly": false, @@ -104632,13 +109471,13 @@ "isHttpMetadata": false }, { - "$id": "7710", + "$id": "8019", "kind": "property", "name": "client_secret", "serializedName": "client_secret", "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", "type": { - "$id": "7711", + "$id": "8020", "kind": "model", "name": "RealtimeTranscriptionSessionCreateResponseClientSecret", "namespace": "OpenAI", @@ -104652,12 +109491,12 @@ }, "properties": [ { - "$id": "7712", + "$id": "8021", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "7713", + "$id": "8022", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104677,17 +109516,17 @@ "isHttpMetadata": false }, { - "$id": "7714", + "$id": "8023", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "type": { - "$id": "7715", + "$id": "8024", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7716", + "$id": "8025", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -104725,17 +109564,17 @@ "isHttpMetadata": false }, { - "$id": "7717", + "$id": "8026", "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": "7718", + "$id": "8027", "kind": "array", "name": "Array33", "valueType": { - "$ref": "1109" + "$ref": "1173" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -104754,13 +109593,13 @@ "isHttpMetadata": false }, { - "$id": "7719", + "$id": "8028", "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": "7720", + "$id": "8029", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104780,13 +109619,13 @@ "isHttpMetadata": false }, { - "$id": "7721", + "$id": "8030", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "doc": "Configuration of the transcription model.", "type": { - "$id": "7722", + "$id": "8031", "kind": "model", "name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscription", "namespace": "OpenAI", @@ -104800,13 +109639,13 @@ }, "properties": [ { - "$id": "7723", + "$id": "8032", "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": "1113" + "$ref": "1177" }, "optional": true, "readOnly": false, @@ -104822,13 +109661,13 @@ "isHttpMetadata": false }, { - "$id": "7724", + "$id": "8033", "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": "7725", + "$id": "8034", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104848,13 +109687,13 @@ "isHttpMetadata": false }, { - "$id": "7726", + "$id": "8035", "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": "7727", + "$id": "8036", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104906,7 +109745,7 @@ ] }, "conversation.item.input_audio_transcription.delta": { - "$id": "7728", + "$id": "8037", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionDelta", "namespace": "OpenAI", @@ -104921,25 +109760,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7729", + "$id": "8038", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.input_audio_transcription.delta`.", "type": { - "$id": "7730", + "$id": "8039", "kind": "enumvalue", "name": "conversation_item_input_audio_transcription_delta", "value": "conversation.item.input_audio_transcription.delta", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -104957,13 +109796,13 @@ "isHttpMetadata": false }, { - "$id": "7731", + "$id": "8040", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "7732", + "$id": "8041", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104983,13 +109822,13 @@ "isHttpMetadata": false }, { - "$id": "7733", + "$id": "8042", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "7734", + "$id": "8043", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105009,13 +109848,13 @@ "isHttpMetadata": false }, { - "$id": "7735", + "$id": "8044", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta.", "type": { - "$id": "7736", + "$id": "8045", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105035,16 +109874,16 @@ "isHttpMetadata": false }, { - "$id": "7737", + "$id": "8046", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "The log probabilities of the transcription.", "type": { - "$id": "7738", + "$id": "8047", "kind": "nullable", "type": { - "$ref": "7348" + "$ref": "7657" }, "namespace": "OpenAI" }, @@ -105064,7 +109903,7 @@ ] }, "conversation.item.retrieved": { - "$id": "7739", + "$id": "8048", "kind": "model", "name": "RealtimeServerEventConversationItemRetrieved", "namespace": "OpenAI", @@ -105079,25 +109918,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7740", + "$id": "8049", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `conversation.item.retrieved`.", "type": { - "$id": "7741", + "$id": "8050", "kind": "enumvalue", "name": "conversation_item_retrieved", "value": "conversation.item.retrieved", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -105115,12 +109954,12 @@ "isHttpMetadata": false }, { - "$id": "7742", + "$id": "8051", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "7246" + "$ref": "7555" }, "optional": false, "readOnly": false, @@ -105138,7 +109977,7 @@ ] }, "transcription_session.updated": { - "$id": "7743", + "$id": "8052", "kind": "model", "name": "RealtimeServerEventTranscriptionSessionUpdated", "namespace": "OpenAI", @@ -105153,25 +109992,25 @@ } }, "baseModel": { - "$ref": "7073" + "$ref": "7382" }, "properties": [ { - "$id": "7744", + "$id": "8053", "kind": "property", "name": "type", "serializedName": "type", "doc": "The event type, must be `transcription_session.updated`.", "type": { - "$id": "7745", + "$id": "8054", "kind": "enumvalue", "name": "transcription_session_updated", "value": "transcription_session.updated", "valueType": { - "$ref": "1015" + "$ref": "1079" }, "enumType": { - "$ref": "7080" + "$ref": "7389" }, "decorators": [] }, @@ -105189,12 +110028,12 @@ "isHttpMetadata": false }, { - "$id": "7746", + "$id": "8055", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$ref": "7706" + "$ref": "8015" }, "optional": false, "readOnly": false, @@ -105214,232 +110053,232 @@ } }, { - "$ref": "7077" + "$ref": "7386" }, { - "$ref": "7131" + "$ref": "7440" }, { - "$ref": "7145" + "$ref": "7454" }, { - "$ref": "7149" + "$ref": "7458" }, { - "$ref": "7151" + "$ref": "7460" }, { - "$ref": "7176" + "$ref": "7485" }, { - "$ref": "7186" + "$ref": "7495" }, { - "$ref": "7192" + "$ref": "7501" }, { - "$ref": "7196" + "$ref": "7505" }, { - "$ref": "7201" + "$ref": "7510" }, { - "$ref": "7208" + "$ref": "7517" }, { - "$ref": "7211" + "$ref": "7520" }, { - "$ref": "7218" + "$ref": "7527" }, { - "$ref": "7225" + "$ref": "7534" }, { - "$ref": "7230" + "$ref": "7539" }, { - "$ref": "7235" + "$ref": "7544" }, { - "$ref": "7240" + "$ref": "7549" }, { - "$ref": "7246" + "$ref": "7555" }, { - "$ref": "7252" + "$ref": "7561" }, { - "$ref": "7258" + "$ref": "7567" }, { - "$ref": "7267" + "$ref": "7576" }, { - "$ref": "7273" + "$ref": "7582" }, { - "$ref": "7288" + "$ref": "7597" }, { - "$ref": "7290" + "$ref": "7599" }, { - "$ref": "7302" + "$ref": "7611" }, { - "$ref": "7307" + "$ref": "7616" }, { - "$ref": "7315" + "$ref": "7624" }, { - "$ref": "7320" + "$ref": "7629" }, { - "$ref": "7328" + "$ref": "7637" }, { - "$ref": "7337" + "$ref": "7646" }, { - "$ref": "7349" + "$ref": "7658" }, { - "$ref": "7355" + "$ref": "7664" }, { - "$ref": "7363" + "$ref": "7672" }, { - "$ref": "7372" + "$ref": "7681" }, { - "$ref": "7381" + "$ref": "7690" }, { - "$ref": "7386" + "$ref": "7695" }, { - "$ref": "7390" + "$ref": "7699" }, { - "$ref": "7396" + "$ref": "7705" }, { - "$ref": "7400" + "$ref": "7709" }, { - "$ref": "7409" + "$ref": "7718" }, { - "$ref": "7417" + "$ref": "7726" }, { - "$ref": "7425" + "$ref": "7734" }, { - "$ref": "7441" + "$ref": "7750" }, { - "$ref": "7445" + "$ref": "7754" }, { - "$ref": "7453" + "$ref": "7762" }, { - "$ref": "7461" + "$ref": "7770" }, { - "$ref": "7473" + "$ref": "7782" }, { - "$ref": "7485" + "$ref": "7794" }, { - "$ref": "7498" + "$ref": "7807" }, { - "$ref": "7511" + "$ref": "7820" }, { - "$ref": "7524" + "$ref": "7833" }, { - "$ref": "7537" + "$ref": "7846" }, { - "$ref": "7550" + "$ref": "7859" }, { - "$ref": "7561" + "$ref": "7870" }, { - "$ref": "7574" + "$ref": "7883" }, { - "$ref": "7587" + "$ref": "7896" }, { - "$ref": "7592" + "$ref": "7901" }, { - "$ref": "7602" + "$ref": "7911" }, { - "$ref": "7610" + "$ref": "7919" }, { - "$ref": "7619" + "$ref": "7928" }, { - "$ref": "7636" + "$ref": "7945" }, { - "$ref": "7641" + "$ref": "7950" }, { - "$ref": "7646" + "$ref": "7955" }, { - "$ref": "7652" + "$ref": "7961" }, { - "$ref": "7663" + "$ref": "7972" }, { - "$ref": "7674" + "$ref": "7983" }, { - "$ref": "7683" + "$ref": "7992" }, { - "$ref": "7692" + "$ref": "8001" }, { - "$ref": "7702" + "$ref": "8011" }, { - "$ref": "7706" + "$ref": "8015" }, { - "$ref": "7711" + "$ref": "8020" }, { - "$ref": "7722" + "$ref": "8031" }, { - "$ref": "7728" + "$ref": "8037" }, { - "$ref": "7739" + "$ref": "8048" }, { - "$ref": "7743" + "$ref": "8052" }, { - "$id": "7747", + "$id": "8056", "kind": "model", "name": "RealtimeCreateClientSecretRequest", "namespace": "OpenAI", @@ -105455,14 +110294,14 @@ }, "properties": [ { - "$id": "7748", + "$id": "8057", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "summary": "Client secret expiration", "doc": "Configuration for the client secret expiration. Expiration refers to the time after which\na client secret will no longer be valid for creating sessions. The session itself may\ncontinue after that time once started. A secret can be used to create multiple sessions\nuntil it expires.", "type": { - "$id": "7749", + "$id": "8058", "kind": "model", "name": "RealtimeCreateClientSecretRequestExpiresAfter", "namespace": "OpenAI", @@ -105477,13 +110316,13 @@ }, "properties": [ { - "$id": "7750", + "$id": "8059", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "The anchor point from which the expiration is calculated.", "type": { - "$ref": "1118" + "$ref": "1182" }, "optional": true, "readOnly": false, @@ -105499,13 +110338,13 @@ "isHttpMetadata": false }, { - "$id": "7751", + "$id": "8060", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "The number of seconds after the anchor point when the client secret expires.", "type": { - "$id": "7752", + "$id": "8061", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -105540,13 +110379,13 @@ "isHttpMetadata": false }, { - "$id": "7753", + "$id": "8062", "kind": "property", "name": "session", "serializedName": "session", "doc": "Session configuration to use for the client secret. Choose either a realtime\nsession or a transcription session.", "type": { - "$id": "7754", + "$id": "8063", "kind": "model", "name": "RealtimeSessionCreateRequestUnion", "namespace": "OpenAI", @@ -105560,13 +110399,13 @@ } }, "discriminatorProperty": { - "$id": "7755", + "$id": "8064", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session to create.", "type": { - "$ref": "1121" + "$ref": "1185" }, "optional": false, "readOnly": false, @@ -105583,12 +110422,12 @@ }, "properties": [ { - "$ref": "7755" + "$ref": "8064" } ], "discriminatedSubtypes": { "realtime": { - "$id": "7756", + "$id": "8065", "kind": "model", "name": "RealtimeSessionCreateRealtimeRequest", "namespace": "OpenAI", @@ -105603,25 +110442,25 @@ } }, "baseModel": { - "$ref": "7754" + "$ref": "8063" }, "properties": [ { - "$id": "7757", + "$id": "8066", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session.", "type": { - "$id": "7758", + "$id": "8067", "kind": "enumvalue", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "1122" + "$ref": "1186" }, "enumType": { - "$id": "7759", + "$id": "8068", "kind": "enum", "decorators": [], "doc": "The type of session to create.", @@ -105629,7 +110468,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7760", + "$id": "8069", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -105638,31 +110477,31 @@ }, "values": [ { - "$id": "7761", + "$id": "8070", "kind": "enumvalue", "decorators": [], "doc": "A real-time conversation session.", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "7760" + "$ref": "8069" }, "enumType": { - "$ref": "7759" + "$ref": "8068" } }, { - "$id": "7762", + "$id": "8071", "kind": "enumvalue", "decorators": [], "doc": "A transcription session.", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "7760" + "$ref": "8069" }, "enumType": { - "$ref": "7759" + "$ref": "8068" } } ], @@ -105692,13 +110531,13 @@ "isHttpMetadata": false }, { - "$id": "7763", + "$id": "8072", "kind": "property", "name": "session", "serializedName": "session", "doc": "The realtime session configuration.", "type": { - "$ref": "6666" + "$ref": "6975" }, "optional": true, "readOnly": false, @@ -105716,7 +110555,7 @@ ] }, "transcription": { - "$id": "7764", + "$id": "8073", "kind": "model", "name": "RealtimeSessionCreateTranscriptionRequest", "namespace": "OpenAI", @@ -105731,25 +110570,25 @@ } }, "baseModel": { - "$ref": "7754" + "$ref": "8063" }, "properties": [ { - "$id": "7765", + "$id": "8074", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session.", "type": { - "$id": "7766", + "$id": "8075", "kind": "enumvalue", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "1122" + "$ref": "1186" }, "enumType": { - "$ref": "7759" + "$ref": "8068" }, "doc": "A transcription session.", "decorators": [] @@ -105768,13 +110607,13 @@ "isHttpMetadata": false }, { - "$id": "7767", + "$id": "8076", "kind": "property", "name": "session", "serializedName": "session", "doc": "The transcription session configuration.", "type": { - "$ref": "7036" + "$ref": "7345" }, "optional": true, "readOnly": false, @@ -105809,19 +110648,19 @@ ] }, { - "$ref": "7749" + "$ref": "8058" }, { - "$ref": "7754" + "$ref": "8063" }, { - "$ref": "7756" + "$ref": "8065" }, { - "$ref": "7764" + "$ref": "8073" }, { - "$id": "7768", + "$id": "8077", "kind": "model", "name": "RealtimeCreateClientSecretResponse", "namespace": "OpenAI", @@ -105836,13 +110675,13 @@ }, "properties": [ { - "$id": "7769", + "$id": "8078", "kind": "property", "name": "value", "serializedName": "value", "doc": "The generated client secret value.", "type": { - "$id": "7770", + "$id": "8079", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105862,18 +110701,18 @@ "isHttpMetadata": false }, { - "$id": "7771", + "$id": "8080", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Expiration timestamp for the client secret, in seconds since epoch.", "type": { - "$id": "7772", + "$id": "8081", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7773", + "$id": "8082", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -105896,13 +110735,13 @@ "isHttpMetadata": false }, { - "$id": "7774", + "$id": "8083", "kind": "property", "name": "session", "serializedName": "session", "doc": "The session configuration for either a realtime or transcription session.", "type": { - "$id": "7775", + "$id": "8084", "kind": "model", "name": "RealtimeSessionCreateResponseUnion", "namespace": "OpenAI", @@ -105916,13 +110755,13 @@ } }, "discriminatorProperty": { - "$id": "7776", + "$id": "8085", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session that was created.", "type": { - "$ref": "1125" + "$ref": "1189" }, "optional": false, "readOnly": false, @@ -105939,12 +110778,12 @@ }, "properties": [ { - "$ref": "7776" + "$ref": "8085" } ], "discriminatedSubtypes": { "realtime": { - "$id": "7777", + "$id": "8086", "kind": "model", "name": "RealtimeSessionCreateRealtimeResponse", "namespace": "OpenAI", @@ -105959,25 +110798,25 @@ } }, "baseModel": { - "$ref": "7775" + "$ref": "8084" }, "properties": [ { - "$id": "7778", + "$id": "8087", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session.", "type": { - "$id": "7779", + "$id": "8088", "kind": "enumvalue", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "1126" + "$ref": "1190" }, "enumType": { - "$id": "7780", + "$id": "8089", "kind": "enum", "decorators": [], "doc": "The type of session that was created.", @@ -105985,7 +110824,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7781", + "$id": "8090", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -105994,31 +110833,31 @@ }, "values": [ { - "$id": "7782", + "$id": "8091", "kind": "enumvalue", "decorators": [], "doc": "A real-time conversation session.", "name": "realtime", "value": "realtime", "valueType": { - "$ref": "7781" + "$ref": "8090" }, "enumType": { - "$ref": "7780" + "$ref": "8089" } }, { - "$id": "7783", + "$id": "8092", "kind": "enumvalue", "decorators": [], "doc": "A transcription session.", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "7781" + "$ref": "8090" }, "enumType": { - "$ref": "7780" + "$ref": "8089" } } ], @@ -106048,13 +110887,13 @@ "isHttpMetadata": false }, { - "$id": "7784", + "$id": "8093", "kind": "property", "name": "session", "serializedName": "session", "doc": "The realtime session details.", "type": { - "$id": "7785", + "$id": "8094", "kind": "model", "name": "RealtimeResponseSession", "namespace": "OpenAI", @@ -106068,12 +110907,12 @@ }, "properties": [ { - "$id": "7786", + "$id": "8095", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1887" + "$ref": "1955" }, "optional": false, "readOnly": false, @@ -106089,12 +110928,12 @@ "isHttpMetadata": false }, { - "$id": "7787", + "$id": "8096", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "7788", + "$id": "8097", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106114,12 +110953,12 @@ "isHttpMetadata": false }, { - "$id": "7789", + "$id": "8098", "kind": "property", "name": "model", "serializedName": "model", "type": { - "$id": "7790", + "$id": "8099", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106139,12 +110978,12 @@ "isHttpMetadata": false }, { - "$id": "7791", + "$id": "8100", "kind": "property", "name": "modalities", "serializedName": "modalities", "type": { - "$ref": "6674" + "$ref": "6983" }, "optional": false, "readOnly": false, @@ -106160,12 +110999,12 @@ "isHttpMetadata": false }, { - "$id": "7792", + "$id": "8101", "kind": "property", "name": "instructions", "serializedName": "instructions", "type": { - "$id": "7793", + "$id": "8102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106185,7 +111024,7 @@ "isHttpMetadata": false }, { - "$id": "7794", + "$id": "8103", "kind": "property", "name": "voice", "serializedName": "voice", @@ -106206,12 +111045,12 @@ "isHttpMetadata": false }, { - "$id": "7795", + "$id": "8104", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", "type": { - "$ref": "973" + "$ref": "1037" }, "optional": false, "readOnly": false, @@ -106227,12 +111066,12 @@ "isHttpMetadata": false }, { - "$id": "7796", + "$id": "8105", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", "type": { - "$ref": "973" + "$ref": "1037" }, "optional": false, "readOnly": false, @@ -106248,15 +111087,15 @@ "isHttpMetadata": false }, { - "$id": "7797", + "$id": "8106", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "type": { - "$id": "7798", + "$id": "8107", "kind": "nullable", "type": { - "$ref": "6702" + "$ref": "7011" }, "namespace": "OpenAI" }, @@ -106274,12 +111113,12 @@ "isHttpMetadata": false }, { - "$id": "7799", + "$id": "8108", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "type": { - "$ref": "6724" + "$ref": "7033" }, "optional": false, "readOnly": false, @@ -106295,12 +111134,12 @@ "isHttpMetadata": false }, { - "$id": "7800", + "$id": "8109", "kind": "property", "name": "input_audio_noise_reduction", "serializedName": "input_audio_noise_reduction", "type": { - "$ref": "6710" + "$ref": "7019" }, "optional": false, "readOnly": false, @@ -106316,13 +111155,13 @@ "isHttpMetadata": false }, { - "$id": "7801", + "$id": "8110", "kind": "property", "name": "speed", "serializedName": "speed", "doc": "The speed of the model's spoken response.", "type": { - "$id": "7802", + "$id": "8111", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -106342,24 +111181,24 @@ "isHttpMetadata": false }, { - "$id": "7803", + "$id": "8112", "kind": "property", "name": "tracing", "serializedName": "tracing", "doc": "Tracing configuration for the session.", "type": { - "$id": "7804", + "$id": "8113", "kind": "nullable", "type": { - "$id": "7805", + "$id": "8114", "kind": "union", "name": "RealtimeResponseSessionTracing", "variantTypes": [ { - "$ref": "1889" + "$ref": "1957" }, { - "$ref": "6764" + "$ref": "7073" } ], "namespace": "OpenAI", @@ -106381,12 +111220,12 @@ "isHttpMetadata": false }, { - "$id": "7806", + "$id": "8115", "kind": "property", "name": "tools", "serializedName": "tools", "type": { - "$ref": "6772" + "$ref": "7081" }, "optional": false, "readOnly": false, @@ -106402,12 +111241,12 @@ "isHttpMetadata": false }, { - "$id": "7807", + "$id": "8116", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$ref": "6805" + "$ref": "7114" }, "optional": false, "readOnly": false, @@ -106423,12 +111262,12 @@ "isHttpMetadata": false }, { - "$id": "7808", + "$id": "8117", "kind": "property", "name": "temperature", "serializedName": "temperature", "type": { - "$id": "7809", + "$id": "8118", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -106448,27 +111287,27 @@ "isHttpMetadata": false }, { - "$id": "7810", + "$id": "8119", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "type": { - "$id": "7811", + "$id": "8120", "kind": "nullable", "type": { - "$id": "7812", + "$id": "8121", "kind": "union", "name": "RealtimeResponseSessionMaxOutputTokens", "variantTypes": [ { - "$id": "7813", + "$id": "8122", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, { - "$ref": "1891" + "$ref": "1959" } ], "namespace": "OpenAI", @@ -106490,18 +111329,18 @@ "isHttpMetadata": false }, { - "$id": "7814", + "$id": "8123", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Timestamp for when the session expires.", "type": { - "$id": "7815", + "$id": "8124", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7816", + "$id": "8125", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106541,7 +111380,7 @@ ] }, "transcription": { - "$id": "7817", + "$id": "8126", "kind": "model", "name": "RealtimeSessionCreateTranscriptionResponse", "namespace": "OpenAI", @@ -106556,25 +111395,25 @@ } }, "baseModel": { - "$ref": "7775" + "$ref": "8084" }, "properties": [ { - "$id": "7818", + "$id": "8127", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of session.", "type": { - "$id": "7819", + "$id": "8128", "kind": "enumvalue", "name": "transcription", "value": "transcription", "valueType": { - "$ref": "1126" + "$ref": "1190" }, "enumType": { - "$ref": "7780" + "$ref": "8089" }, "doc": "A transcription session.", "decorators": [] @@ -106593,13 +111432,13 @@ "isHttpMetadata": false }, { - "$id": "7820", + "$id": "8129", "kind": "property", "name": "session", "serializedName": "session", "doc": "The transcription session details.", "type": { - "$ref": "7706" + "$ref": "8015" }, "optional": true, "readOnly": false, @@ -106634,19 +111473,19 @@ ] }, { - "$ref": "7775" + "$ref": "8084" }, { - "$ref": "7777" + "$ref": "8086" }, { - "$ref": "7785" + "$ref": "8094" }, { - "$ref": "7817" + "$ref": "8126" }, { - "$id": "7821", + "$id": "8130", "kind": "model", "name": "CreateUploadRequest", "namespace": "OpenAI", @@ -106660,13 +111499,13 @@ }, "properties": [ { - "$id": "7822", + "$id": "8131", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file to upload.", "type": { - "$id": "7823", + "$id": "8132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106686,13 +111525,13 @@ "isHttpMetadata": false }, { - "$id": "7824", + "$id": "8133", "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": "1129" + "$ref": "1193" }, "optional": false, "readOnly": false, @@ -106708,13 +111547,13 @@ "isHttpMetadata": false }, { - "$id": "7825", + "$id": "8134", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "The number of bytes in the file you are uploading.", "type": { - "$id": "7826", + "$id": "8135", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106734,13 +111573,13 @@ "isHttpMetadata": false }, { - "$id": "7827", + "$id": "8136", "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": "7828", + "$id": "8137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106762,7 +111601,7 @@ ] }, { - "$id": "7829", + "$id": "8138", "kind": "model", "name": "Upload", "namespace": "OpenAI", @@ -106777,13 +111616,13 @@ }, "properties": [ { - "$id": "7830", + "$id": "8139", "kind": "property", "name": "id", "serializedName": "id", "doc": "The Upload unique identifier, which can be referenced in API endpoints.", "type": { - "$id": "7831", + "$id": "8140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106803,18 +111642,18 @@ "isHttpMetadata": false }, { - "$id": "7832", + "$id": "8141", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the Upload was created.", "type": { - "$id": "7833", + "$id": "8142", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7834", + "$id": "8143", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106837,13 +111676,13 @@ "isHttpMetadata": false }, { - "$id": "7835", + "$id": "8144", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file to be uploaded.", "type": { - "$id": "7836", + "$id": "8145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106863,13 +111702,13 @@ "isHttpMetadata": false }, { - "$id": "7837", + "$id": "8146", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "The intended number of bytes to be uploaded.", "type": { - "$id": "7838", + "$id": "8147", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106889,13 +111728,13 @@ "isHttpMetadata": false }, { - "$id": "7839", + "$id": "8148", "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": "7840", + "$id": "8149", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106915,13 +111754,13 @@ "isHttpMetadata": false }, { - "$id": "7841", + "$id": "8150", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the Upload.", "type": { - "$ref": "1135" + "$ref": "1199" }, "optional": false, "readOnly": false, @@ -106937,18 +111776,18 @@ "isHttpMetadata": false }, { - "$id": "7842", + "$id": "8151", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the Upload will expire.", "type": { - "$id": "7843", + "$id": "8152", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7844", + "$id": "8153", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106971,13 +111810,13 @@ "isHttpMetadata": false }, { - "$id": "7845", + "$id": "8154", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"upload\".", "type": { - "$ref": "1141" + "$ref": "1205" }, "optional": true, "readOnly": false, @@ -106993,15 +111832,15 @@ "isHttpMetadata": false }, { - "$id": "7846", + "$id": "8155", "kind": "property", "name": "file", "serializedName": "file", "type": { - "$id": "7847", + "$id": "8156", "kind": "nullable", "type": { - "$id": "7848", + "$id": "8157", "kind": "model", "name": "OpenAIFile", "namespace": "OpenAI", @@ -107017,13 +111856,13 @@ }, "properties": [ { - "$id": "7849", + "$id": "8158", "kind": "property", "name": "id", "serializedName": "id", "doc": "The file identifier, which can be referenced in the API endpoints.", "type": { - "$id": "7850", + "$id": "8159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107043,16 +111882,16 @@ "isHttpMetadata": false }, { - "$id": "7851", + "$id": "8160", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "The size of the file, in bytes.", "type": { - "$id": "7852", + "$id": "8161", "kind": "nullable", "type": { - "$id": "7853", + "$id": "8162", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -107074,18 +111913,18 @@ "isHttpMetadata": false }, { - "$id": "7854", + "$id": "8163", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the file was created.", "type": { - "$id": "7855", + "$id": "8164", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7856", + "$id": "8165", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -107108,18 +111947,18 @@ "isHttpMetadata": false }, { - "$id": "7857", + "$id": "8166", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the file will expire.", "type": { - "$id": "7858", + "$id": "8167", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7859", + "$id": "8168", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -107142,13 +111981,13 @@ "isHttpMetadata": false }, { - "$id": "7860", + "$id": "8169", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file.", "type": { - "$id": "7861", + "$id": "8170", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107168,13 +112007,13 @@ "isHttpMetadata": false }, { - "$id": "7862", + "$id": "8171", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `file`.", "type": { - "$ref": "1893" + "$ref": "1961" }, "optional": false, "readOnly": false, @@ -107190,13 +112029,13 @@ "isHttpMetadata": false }, { - "$id": "7863", + "$id": "8172", "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`, `vision`, and `user_data`.", "type": { - "$ref": "1145" + "$ref": "1209" }, "optional": false, "readOnly": false, @@ -107212,13 +112051,13 @@ "isHttpMetadata": false }, { - "$id": "7864", + "$id": "8173", "kind": "property", "name": "status", "serializedName": "status", "doc": "Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`.", "type": { - "$ref": "1155" + "$ref": "1219" }, "optional": false, "readOnly": false, @@ -107234,13 +112073,13 @@ "isHttpMetadata": false }, { - "$id": "7865", + "$id": "8174", "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": "7866", + "$id": "8175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107279,10 +112118,10 @@ ] }, { - "$ref": "7848" + "$ref": "8157" }, { - "$id": "7867", + "$id": "8176", "kind": "model", "name": "AddUploadPartRequest", "namespace": "OpenAI", @@ -107292,13 +112131,13 @@ "serializationOptions": {}, "properties": [ { - "$id": "7868", + "$id": "8177", "kind": "property", "name": "data", "serializedName": "data", "doc": "The chunk of bytes for this Part.", "type": { - "$id": "7869", + "$id": "8178", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -107327,7 +112166,7 @@ ] }, { - "$id": "7870", + "$id": "8179", "kind": "model", "name": "UploadPart", "namespace": "OpenAI", @@ -107342,13 +112181,13 @@ }, "properties": [ { - "$id": "7871", + "$id": "8180", "kind": "property", "name": "id", "serializedName": "id", "doc": "The upload Part unique identifier, which can be referenced in API endpoints.", "type": { - "$id": "7872", + "$id": "8181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107368,18 +112207,18 @@ "isHttpMetadata": false }, { - "$id": "7873", + "$id": "8182", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the Part was created.", "type": { - "$id": "7874", + "$id": "8183", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7875", + "$id": "8184", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -107402,13 +112241,13 @@ "isHttpMetadata": false }, { - "$id": "7876", + "$id": "8185", "kind": "property", "name": "upload_id", "serializedName": "upload_id", "doc": "The ID of the Upload object that this Part was added to.", "type": { - "$id": "7877", + "$id": "8186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107428,13 +112267,13 @@ "isHttpMetadata": false }, { - "$id": "7878", + "$id": "8187", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always `upload.part`.", "type": { - "$ref": "1895" + "$ref": "1963" }, "optional": false, "readOnly": false, @@ -107452,7 +112291,7 @@ ] }, { - "$id": "7879", + "$id": "8188", "kind": "model", "name": "CompleteUploadRequest", "namespace": "OpenAI", @@ -107466,13 +112305,13 @@ }, "properties": [ { - "$id": "7880", + "$id": "8189", "kind": "property", "name": "part_ids", "serializedName": "part_ids", "doc": "The ordered list of Part IDs.", "type": { - "$ref": "2573" + "$ref": "2641" }, "optional": false, "readOnly": false, @@ -107488,13 +112327,13 @@ "isHttpMetadata": false }, { - "$id": "7881", + "$id": "8190", "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": "7882", + "$id": "8191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107516,7 +112355,7 @@ ] }, { - "$id": "7883", + "$id": "8192", "kind": "model", "name": "CreateSpeechRequest", "namespace": "OpenAI", @@ -107530,13 +112369,13 @@ }, "properties": [ { - "$id": "7884", + "$id": "8193", "kind": "property", "name": "model", "serializedName": "model", "doc": "One of the available [TTS models](https://platform.openai.com/docs/models#tts): `tts-1`, `tts-1-hd`, `gpt-4o-mini-tts`, or `gpt-4o-mini-tts-2025-12-15`.", "type": { - "$ref": "1160" + "$ref": "1224" }, "optional": false, "readOnly": false, @@ -107552,13 +112391,13 @@ "isHttpMetadata": false }, { - "$id": "7885", + "$id": "8194", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text to generate audio for. The maximum length is 4096 characters.", "type": { - "$id": "7886", + "$id": "8195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107578,13 +112417,13 @@ "isHttpMetadata": false }, { - "$id": "7887", + "$id": "8196", "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": "7888", + "$id": "8197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107604,7 +112443,7 @@ "isHttpMetadata": false }, { - "$id": "7889", + "$id": "8198", "kind": "property", "name": "voice", "serializedName": "voice", @@ -107626,13 +112465,13 @@ "isHttpMetadata": false }, { - "$id": "7890", + "$id": "8199", "kind": "property", "name": "response_format", "serializedName": "response_format", "doc": "The format to audio in. Supported formats are `mp3`, `opus`, `aac`, `flac`, `wav`, and `pcm`.", "type": { - "$ref": "1166" + "$ref": "1230" }, "optional": true, "readOnly": false, @@ -107648,13 +112487,13 @@ "isHttpMetadata": false }, { - "$id": "7891", + "$id": "8200", "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.", "type": { - "$id": "7892", + "$id": "8201", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -107674,13 +112513,13 @@ "isHttpMetadata": false }, { - "$id": "7893", + "$id": "8202", "kind": "property", "name": "stream_format", "serializedName": "stream_format", "doc": "The format to stream the audio in. Supported formats are `sse` and `audio`. `sse` is not supported for `tts-1` or `tts-1-hd`.", "type": { - "$ref": "1174" + "$ref": "1238" }, "optional": true, "readOnly": false, @@ -107698,7 +112537,7 @@ ] }, { - "$id": "7894", + "$id": "8203", "kind": "model", "name": "CreateTranscriptionRequest", "namespace": "OpenAI", @@ -107708,13 +112547,13 @@ "serializationOptions": {}, "properties": [ { - "$id": "7895", + "$id": "8204", "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": "7896", + "$id": "8205", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -107741,13 +112580,13 @@ "isHttpMetadata": false }, { - "$id": "7897", + "$id": "8206", "kind": "property", "name": "model", "serializedName": "model", "doc": "ID of the model to use. The options are `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, `gpt-4o-mini-transcribe-2025-12-15`, `whisper-1` (which is powered by our open source Whisper V2 model), and `gpt-4o-transcribe-diarize`.", "type": { - "$ref": "1178" + "$ref": "1242" }, "optional": false, "readOnly": false, @@ -107769,13 +112608,13 @@ "isHttpMetadata": false }, { - "$id": "7898", + "$id": "8207", "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": "7899", + "$id": "8208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107801,13 +112640,13 @@ "isHttpMetadata": false }, { - "$id": "7900", + "$id": "8209", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting) should match the audio language. This field is not supported when using `gpt-4o-transcribe-diarize`.", "type": { - "$id": "7901", + "$id": "8210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107833,12 +112672,12 @@ "isHttpMetadata": false }, { - "$id": "7902", + "$id": "8211", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$ref": "1185" + "$ref": "1249" }, "optional": true, "readOnly": false, @@ -107860,13 +112699,13 @@ "isHttpMetadata": false }, { - "$id": "7903", + "$id": "8212", "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": "7904", + "$id": "8213", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -107892,17 +112731,17 @@ "isHttpMetadata": false }, { - "$id": "7905", + "$id": "8214", "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\n response to understand the model's confidence in the transcription.\n `logprobs` only works with response_format set to `json` and only with\n the models `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, and `gpt-4o-mini-transcribe-2025-12-15`. This field is not supported when using `gpt-4o-transcribe-diarize`.", "type": { - "$id": "7906", + "$id": "8215", "kind": "array", "name": "ArrayTranscriptionInclude", "valueType": { - "$ref": "1193" + "$ref": "1257" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -107927,17 +112766,17 @@ "isHttpMetadata": false }, { - "$id": "7907", + "$id": "8216", "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.\n This option is not available for `gpt-4o-transcribe-diarize`.", "type": { - "$id": "7908", + "$id": "8217", "kind": "array", "name": "Array34", "valueType": { - "$ref": "1196" + "$ref": "1260" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -107962,15 +112801,15 @@ "isHttpMetadata": false }, { - "$id": "7909", + "$id": "8218", "kind": "property", "name": "stream", "serializedName": "stream", "type": { - "$id": "7910", + "$id": "8219", "kind": "nullable", "type": { - "$id": "7911", + "$id": "8220", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -107998,23 +112837,23 @@ "isHttpMetadata": false }, { - "$id": "7912", + "$id": "8221", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "type": { - "$id": "7913", + "$id": "8222", "kind": "nullable", "type": { - "$id": "7914", + "$id": "8223", "kind": "union", "name": "CreateTranscriptionRequestChunkingStrategy", "variantTypes": [ { - "$ref": "1897" + "$ref": "1965" }, { - "$id": "7915", + "$id": "8224", "kind": "model", "name": "VadConfig", "namespace": "OpenAI", @@ -108024,12 +112863,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "7916", + "$id": "8225", "kind": "property", "name": "type", "doc": "Must be set to `server_vad` to enable manual chunking using server side VAD.", "type": { - "$ref": "1899" + "$ref": "1967" }, "optional": false, "readOnly": false, @@ -108041,12 +112880,12 @@ "isHttpMetadata": false }, { - "$id": "7917", + "$id": "8226", "kind": "property", "name": "prefix_padding_ms", "doc": "Amount of audio to include before the VAD detected speech (in\n milliseconds).", "type": { - "$id": "7918", + "$id": "8227", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -108062,12 +112901,12 @@ "isHttpMetadata": false }, { - "$id": "7919", + "$id": "8228", "kind": "property", "name": "silence_duration_ms", "doc": "Duration of silence to detect speech stop (in milliseconds).\n With shorter values the model will respond more quickly,\n but may jump in on short pauses from the user.", "type": { - "$id": "7920", + "$id": "8229", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -108083,12 +112922,12 @@ "isHttpMetadata": false }, { - "$id": "7921", + "$id": "8230", "kind": "property", "name": "threshold", "doc": "Sensitivity threshold (0.0 to 1.0) for voice activity detection. A\n higher threshold will require louder audio to activate the model, and\n thus might perform better in noisy environments.", "type": { - "$id": "7922", + "$id": "8231", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -108131,16 +112970,16 @@ "isHttpMetadata": false }, { - "$id": "7923", + "$id": "8232", "kind": "property", "name": "known_speaker_names", "serializedName": "known_speaker_names", "type": { - "$id": "7924", + "$id": "8233", "kind": "array", "name": "KnownSpeakerNames", "valueType": { - "$id": "7925", + "$id": "8234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108169,16 +113008,16 @@ "isHttpMetadata": false }, { - "$id": "7926", + "$id": "8235", "kind": "property", "name": "known_speaker_references", "serializedName": "known_speaker_references", "type": { - "$id": "7927", + "$id": "8236", "kind": "array", "name": "KnownSpeakerReferences", "valueType": { - "$id": "7928", + "$id": "8237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108209,10 +113048,10 @@ ] }, { - "$ref": "7915" + "$ref": "8224" }, { - "$id": "7929", + "$id": "8238", "kind": "model", "name": "CreateTranscriptionResponseJson", "namespace": "OpenAI", @@ -108227,13 +113066,13 @@ }, "properties": [ { - "$id": "7930", + "$id": "8239", "kind": "property", "name": "text", "serializedName": "text", "doc": "The transcribed text.", "type": { - "$id": "7931", + "$id": "8240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108253,17 +113092,17 @@ "isHttpMetadata": false }, { - "$id": "7932", + "$id": "8241", "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": "7933", + "$id": "8242", "kind": "array", "name": "ArrayCreateTranscriptionResponseJsonLogprobs", "valueType": { - "$id": "7934", + "$id": "8243", "kind": "model", "name": "CreateTranscriptionResponseJsonLogprobs", "namespace": "OpenAI", @@ -108277,12 +113116,12 @@ }, "properties": [ { - "$id": "7935", + "$id": "8244", "kind": "property", "name": "token", "serializedName": "token", "type": { - "$id": "7936", + "$id": "8245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108302,12 +113141,12 @@ "isHttpMetadata": false }, { - "$id": "7937", + "$id": "8246", "kind": "property", "name": "logprob", "serializedName": "logprob", "type": { - "$id": "7938", + "$id": "8247", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -108327,16 +113166,16 @@ "isHttpMetadata": false }, { - "$id": "7939", + "$id": "8248", "kind": "property", "name": "bytes", "serializedName": "bytes", "type": { - "$id": "7940", + "$id": "8249", "kind": "array", "name": "Array35", "valueType": { - "$id": "7941", + "$id": "8250", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -108377,12 +113216,12 @@ "isHttpMetadata": false }, { - "$id": "7942", + "$id": "8251", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "7943", + "$id": "8252", "kind": "model", "name": "CreateTranscriptionResponseJsonUsage", "namespace": "OpenAI", @@ -108396,12 +113235,12 @@ } }, "discriminatorProperty": { - "$id": "7944", + "$id": "8253", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1200" + "$ref": "1264" }, "optional": false, "readOnly": false, @@ -108418,12 +113257,12 @@ }, "properties": [ { - "$ref": "7944" + "$ref": "8253" } ], "discriminatedSubtypes": { "tokens": { - "$id": "7945", + "$id": "8254", "kind": "model", "name": "TranscriptTextUsageTokens", "namespace": "OpenAI", @@ -108439,32 +113278,32 @@ } }, "baseModel": { - "$ref": "7943" + "$ref": "8252" }, "properties": [ { - "$id": "7946", + "$id": "8255", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the usage object. Always `tokens` for this variant.", "type": { - "$id": "7947", + "$id": "8256", "kind": "enumvalue", "name": "tokens", "value": "tokens", "valueType": { - "$ref": "1201" + "$ref": "1265" }, "enumType": { - "$id": "7948", + "$id": "8257", "kind": "enum", "decorators": [], "name": "CreateTranscriptionResponseJsonUsageType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "7949", + "$id": "8258", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -108473,29 +113312,29 @@ }, "values": [ { - "$id": "7950", + "$id": "8259", "kind": "enumvalue", "decorators": [], "name": "tokens", "value": "tokens", "valueType": { - "$ref": "7949" + "$ref": "8258" }, "enumType": { - "$ref": "7948" + "$ref": "8257" } }, { - "$id": "7951", + "$id": "8260", "kind": "enumvalue", "decorators": [], "name": "duration", "value": "duration", "valueType": { - "$ref": "7949" + "$ref": "8258" }, "enumType": { - "$ref": "7948" + "$ref": "8257" } } ], @@ -108524,13 +113363,13 @@ "isHttpMetadata": false }, { - "$id": "7952", + "$id": "8261", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "doc": "Number of input tokens billed for this request.", "type": { - "$id": "7953", + "$id": "8262", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -108550,13 +113389,13 @@ "isHttpMetadata": false }, { - "$id": "7954", + "$id": "8263", "kind": "property", "name": "input_token_details", "serializedName": "input_token_details", "doc": "Details about the input tokens billed for this request.", "type": { - "$id": "7955", + "$id": "8264", "kind": "model", "name": "TranscriptTextUsageTokensInputTokenDetails", "namespace": "OpenAI", @@ -108570,12 +113409,12 @@ }, "properties": [ { - "$id": "7956", + "$id": "8265", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "type": { - "$id": "7957", + "$id": "8266", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -108595,12 +113434,12 @@ "isHttpMetadata": false }, { - "$id": "7958", + "$id": "8267", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "type": { - "$id": "7959", + "$id": "8268", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -108635,13 +113474,13 @@ "isHttpMetadata": false }, { - "$id": "7960", + "$id": "8269", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "doc": "Number of output tokens generated.", "type": { - "$id": "7961", + "$id": "8270", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -108661,13 +113500,13 @@ "isHttpMetadata": false }, { - "$id": "7962", + "$id": "8271", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used (input + output).", "type": { - "$id": "7963", + "$id": "8272", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -108689,7 +113528,7 @@ ] }, "duration": { - "$id": "7964", + "$id": "8273", "kind": "model", "name": "TranscriptTextUsageDuration", "namespace": "OpenAI", @@ -108705,25 +113544,25 @@ } }, "baseModel": { - "$ref": "7943" + "$ref": "8252" }, "properties": [ { - "$id": "7965", + "$id": "8274", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the usage object. Always `duration` for this variant.", "type": { - "$id": "7966", + "$id": "8275", "kind": "enumvalue", "name": "duration", "value": "duration", "valueType": { - "$ref": "1201" + "$ref": "1265" }, "enumType": { - "$ref": "7948" + "$ref": "8257" }, "decorators": [] }, @@ -108741,18 +113580,18 @@ "isHttpMetadata": false }, { - "$id": "7967", + "$id": "8276", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "Duration of the input audio in seconds.", "type": { - "$id": "7968", + "$id": "8277", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "7969", + "$id": "8278", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -108794,22 +113633,22 @@ ] }, { - "$ref": "7934" + "$ref": "8243" }, { - "$ref": "7943" + "$ref": "8252" }, { - "$ref": "7945" + "$ref": "8254" }, { - "$ref": "7955" + "$ref": "8264" }, { - "$ref": "7964" + "$ref": "8273" }, { - "$id": "7970", + "$id": "8279", "kind": "model", "name": "CreateTranscriptionResponseDiarizedJson", "namespace": "OpenAI", @@ -108824,13 +113663,13 @@ }, "properties": [ { - "$id": "7971", + "$id": "8280", "kind": "property", "name": "task", "serializedName": "task", "doc": "The type of task that was run. Always `transcribe`.", "type": { - "$ref": "1901" + "$ref": "1969" }, "optional": false, "readOnly": false, @@ -108846,18 +113685,18 @@ "isHttpMetadata": false }, { - "$id": "7972", + "$id": "8281", "kind": "property", "name": "duration", "serializedName": "duration", "doc": "Duration of the input audio in seconds.", "type": { - "$id": "7973", + "$id": "8282", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "7974", + "$id": "8283", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -108880,13 +113719,13 @@ "isHttpMetadata": false }, { - "$id": "7975", + "$id": "8284", "kind": "property", "name": "text", "serializedName": "text", "doc": "The concatenated transcript text for the entire audio input.", "type": { - "$id": "7976", + "$id": "8285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108906,17 +113745,17 @@ "isHttpMetadata": false }, { - "$id": "7977", + "$id": "8286", "kind": "property", "name": "segments", "serializedName": "segments", "doc": "Segments of the transcript annotated with timestamps and speaker labels.", "type": { - "$id": "7978", + "$id": "8287", "kind": "array", "name": "ArrayTranscriptionDiarizedSegment", "valueType": { - "$id": "7979", + "$id": "8288", "kind": "model", "name": "TranscriptionDiarizedSegment", "namespace": "OpenAI", @@ -108931,13 +113770,13 @@ }, "properties": [ { - "$id": "7980", + "$id": "8289", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the segment. Always `transcript.text.segment`.", "type": { - "$ref": "1903" + "$ref": "1971" }, "optional": false, "readOnly": false, @@ -108953,13 +113792,13 @@ "isHttpMetadata": false }, { - "$id": "7981", + "$id": "8290", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the segment.", "type": { - "$id": "7982", + "$id": "8291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108979,18 +113818,18 @@ "isHttpMetadata": false }, { - "$id": "7983", + "$id": "8292", "kind": "property", "name": "start", "serializedName": "start", "doc": "Start timestamp of the segment in seconds.", "type": { - "$id": "7984", + "$id": "8293", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "7985", + "$id": "8294", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -109013,18 +113852,18 @@ "isHttpMetadata": false }, { - "$id": "7986", + "$id": "8295", "kind": "property", "name": "end", "serializedName": "end", "doc": "End timestamp of the segment in seconds.", "type": { - "$id": "7987", + "$id": "8296", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "7988", + "$id": "8297", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -109047,13 +113886,13 @@ "isHttpMetadata": false }, { - "$id": "7989", + "$id": "8298", "kind": "property", "name": "text", "serializedName": "text", "doc": "Transcript text for this segment.", "type": { - "$id": "7990", + "$id": "8299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109073,13 +113912,13 @@ "isHttpMetadata": false }, { - "$id": "7991", + "$id": "8300", "kind": "property", "name": "speaker", "serializedName": "speaker", "doc": "Speaker label for this segment. When known speakers are provided, the label matches `known_speaker_names[]`. Otherwise speakers are labeled sequentially using capital letters (`A`, `B`, ...).", "type": { - "$id": "7992", + "$id": "8301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109117,12 +113956,12 @@ "isHttpMetadata": false }, { - "$id": "7993", + "$id": "8302", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$ref": "7943" + "$ref": "8252" }, "optional": true, "readOnly": false, @@ -109140,10 +113979,10 @@ ] }, { - "$ref": "7979" + "$ref": "8288" }, { - "$id": "7994", + "$id": "8303", "kind": "model", "name": "CreateTranscriptionResponseVerboseJson", "namespace": "OpenAI", @@ -109158,13 +113997,13 @@ }, "properties": [ { - "$id": "7995", + "$id": "8304", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the input audio.", "type": { - "$id": "7996", + "$id": "8305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109184,18 +114023,18 @@ "isHttpMetadata": false }, { - "$id": "7997", + "$id": "8306", "kind": "property", "name": "duration", "serializedName": "duration", "doc": "The duration of the input audio.", "type": { - "$id": "7998", + "$id": "8307", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "7999", + "$id": "8308", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -109218,13 +114057,13 @@ "isHttpMetadata": false }, { - "$id": "8000", + "$id": "8309", "kind": "property", "name": "text", "serializedName": "text", "doc": "The transcribed text.", "type": { - "$id": "8001", + "$id": "8310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109244,17 +114083,17 @@ "isHttpMetadata": false }, { - "$id": "8002", + "$id": "8311", "kind": "property", "name": "words", "serializedName": "words", "doc": "Extracted words and their corresponding timestamps.", "type": { - "$id": "8003", + "$id": "8312", "kind": "array", "name": "ArrayTranscriptionWord", "valueType": { - "$id": "8004", + "$id": "8313", "kind": "model", "name": "TranscriptionWord", "namespace": "OpenAI", @@ -109268,13 +114107,13 @@ }, "properties": [ { - "$id": "8005", + "$id": "8314", "kind": "property", "name": "word", "serializedName": "word", "doc": "The text content of the word.", "type": { - "$id": "8006", + "$id": "8315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109294,18 +114133,18 @@ "isHttpMetadata": false }, { - "$id": "8007", + "$id": "8316", "kind": "property", "name": "start", "serializedName": "start", "doc": "Start time of the word in seconds.", "type": { - "$id": "8008", + "$id": "8317", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8009", + "$id": "8318", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -109328,18 +114167,18 @@ "isHttpMetadata": false }, { - "$id": "8010", + "$id": "8319", "kind": "property", "name": "end", "serializedName": "end", "doc": "End time of the word in seconds.", "type": { - "$id": "8011", + "$id": "8320", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8012", + "$id": "8321", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -109380,17 +114219,17 @@ "isHttpMetadata": false }, { - "$id": "8013", + "$id": "8322", "kind": "property", "name": "segments", "serializedName": "segments", "doc": "Segments of the transcribed text and their corresponding details.", "type": { - "$id": "8014", + "$id": "8323", "kind": "array", "name": "ArrayTranscriptionSegment", "valueType": { - "$id": "8015", + "$id": "8324", "kind": "model", "name": "TranscriptionSegment", "namespace": "OpenAI", @@ -109404,13 +114243,13 @@ }, "properties": [ { - "$id": "8016", + "$id": "8325", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier of the segment.", "type": { - "$id": "8017", + "$id": "8326", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -109430,13 +114269,13 @@ "isHttpMetadata": false }, { - "$id": "8018", + "$id": "8327", "kind": "property", "name": "seek", "serializedName": "seek", "doc": "Seek offset of the segment.", "type": { - "$id": "8019", + "$id": "8328", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -109456,18 +114295,18 @@ "isHttpMetadata": false }, { - "$id": "8020", + "$id": "8329", "kind": "property", "name": "start", "serializedName": "start", "doc": "Start time of the segment in seconds.", "type": { - "$id": "8021", + "$id": "8330", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8022", + "$id": "8331", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -109490,18 +114329,18 @@ "isHttpMetadata": false }, { - "$id": "8023", + "$id": "8332", "kind": "property", "name": "end", "serializedName": "end", "doc": "End time of the segment in seconds.", "type": { - "$id": "8024", + "$id": "8333", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8025", + "$id": "8334", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -109524,13 +114363,13 @@ "isHttpMetadata": false }, { - "$id": "8026", + "$id": "8335", "kind": "property", "name": "text", "serializedName": "text", "doc": "Text content of the segment.", "type": { - "$id": "8027", + "$id": "8336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109550,17 +114389,17 @@ "isHttpMetadata": false }, { - "$id": "8028", + "$id": "8337", "kind": "property", "name": "tokens", "serializedName": "tokens", "doc": "Array of token IDs for the text content.", "type": { - "$id": "8029", + "$id": "8338", "kind": "array", "name": "Array36", "valueType": { - "$id": "8030", + "$id": "8339", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -109583,13 +114422,13 @@ "isHttpMetadata": false }, { - "$id": "8031", + "$id": "8340", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Temperature parameter used for generating the segment.", "type": { - "$id": "8032", + "$id": "8341", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -109609,13 +114448,13 @@ "isHttpMetadata": false }, { - "$id": "8033", + "$id": "8342", "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": "8034", + "$id": "8343", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -109635,13 +114474,13 @@ "isHttpMetadata": false }, { - "$id": "8035", + "$id": "8344", "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": "8036", + "$id": "8345", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -109661,13 +114500,13 @@ "isHttpMetadata": false }, { - "$id": "8037", + "$id": "8346", "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": "8038", + "$id": "8347", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -109705,12 +114544,12 @@ "isHttpMetadata": false }, { - "$id": "8039", + "$id": "8348", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$ref": "7964" + "$ref": "8273" }, "optional": true, "readOnly": false, @@ -109728,13 +114567,13 @@ ] }, { - "$ref": "8004" + "$ref": "8313" }, { - "$ref": "8015" + "$ref": "8324" }, { - "$id": "8040", + "$id": "8349", "kind": "model", "name": "CreateTranslationRequest", "namespace": "OpenAI", @@ -109744,13 +114583,13 @@ "serializationOptions": {}, "properties": [ { - "$id": "8041", + "$id": "8350", "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": "8042", + "$id": "8351", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -109777,13 +114616,13 @@ "isHttpMetadata": false }, { - "$id": "8043", + "$id": "8352", "kind": "property", "name": "model", "serializedName": "model", "doc": "ID of the model to use. Only `whisper-1` (which is powered by our open source Whisper V2 model) is currently available.", "type": { - "$ref": "1204" + "$ref": "1268" }, "optional": false, "readOnly": false, @@ -109805,13 +114644,13 @@ "isHttpMetadata": false }, { - "$id": "8044", + "$id": "8353", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "An optional text to guide the model's style or continue a previous audio segment. The [prompt](https://platform.openai.com/docs/guides/speech-to-text#prompting) should be in English.", "type": { - "$id": "8045", + "$id": "8354", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109837,13 +114676,13 @@ "isHttpMetadata": false }, { - "$id": "8046", + "$id": "8355", "kind": "property", "name": "response_format", "serializedName": "response_format", "doc": "The format of the output, in one of these options: `json`, `text`, `srt`, `verbose_json`, or `vtt`.", "type": { - "$ref": "1207" + "$ref": "1271" }, "optional": true, "readOnly": false, @@ -109865,13 +114704,13 @@ "isHttpMetadata": false }, { - "$id": "8047", + "$id": "8356", "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": "8048", + "$id": "8357", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -109899,7 +114738,7 @@ ] }, { - "$id": "8049", + "$id": "8358", "kind": "model", "name": "CreateTranslationResponseJson", "namespace": "OpenAI", @@ -109913,12 +114752,12 @@ }, "properties": [ { - "$id": "8050", + "$id": "8359", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "8051", + "$id": "8360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109940,7 +114779,7 @@ ] }, { - "$id": "8052", + "$id": "8361", "kind": "model", "name": "CreateTranslationResponseVerboseJson", "namespace": "OpenAI", @@ -109954,13 +114793,13 @@ }, "properties": [ { - "$id": "8053", + "$id": "8362", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the output translation (always `english`).", "type": { - "$id": "8054", + "$id": "8363", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109980,18 +114819,18 @@ "isHttpMetadata": false }, { - "$id": "8055", + "$id": "8364", "kind": "property", "name": "duration", "serializedName": "duration", "doc": "The duration of the input audio.", "type": { - "$id": "8056", + "$id": "8365", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8057", + "$id": "8366", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -110014,13 +114853,13 @@ "isHttpMetadata": false }, { - "$id": "8058", + "$id": "8367", "kind": "property", "name": "text", "serializedName": "text", "doc": "The translated text.", "type": { - "$id": "8059", + "$id": "8368", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110040,13 +114879,13 @@ "isHttpMetadata": false }, { - "$id": "8060", + "$id": "8369", "kind": "property", "name": "segments", "serializedName": "segments", "doc": "Segments of the translated text and their corresponding details.", "type": { - "$ref": "8014" + "$ref": "8323" }, "optional": true, "readOnly": true, @@ -110064,7 +114903,7 @@ ] }, { - "$id": "8061", + "$id": "8370", "kind": "model", "name": "CreateEmbeddingRequest", "namespace": "OpenAI", @@ -110083,35 +114922,35 @@ }, "properties": [ { - "$id": "8062", + "$id": "8371", "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": "8063", + "$id": "8372", "kind": "union", "name": "CreateEmbeddingRequestInput", "variantTypes": [ { - "$id": "8064", + "$id": "8373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2573" + "$ref": "2641" }, { - "$ref": "8029" + "$ref": "8338" }, { - "$id": "8065", + "$id": "8374", "kind": "array", "name": "ArrayArray1", "valueType": { - "$ref": "8029" + "$ref": "8338" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -110134,13 +114973,13 @@ "isHttpMetadata": false }, { - "$id": "8066", + "$id": "8375", "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": "1214" + "$ref": "1278" }, "optional": false, "readOnly": false, @@ -110156,13 +114995,13 @@ "isHttpMetadata": false }, { - "$id": "8067", + "$id": "8376", "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": "1219" + "$ref": "1283" }, "optional": true, "readOnly": false, @@ -110178,13 +115017,13 @@ "isHttpMetadata": false }, { - "$id": "8068", + "$id": "8377", "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": "8069", + "$id": "8378", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -110204,13 +115043,13 @@ "isHttpMetadata": false }, { - "$id": "8070", + "$id": "8379", "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": "8071", + "$id": "8380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110232,7 +115071,7 @@ ] }, { - "$id": "8072", + "$id": "8381", "kind": "model", "name": "CreateEmbeddingResponse", "namespace": "OpenAI", @@ -110251,17 +115090,17 @@ }, "properties": [ { - "$id": "8073", + "$id": "8382", "kind": "property", "name": "Items", "serializedName": "data", "doc": "The list of embeddings generated by the model.", "type": { - "$id": "8074", + "$id": "8383", "kind": "array", "name": "ArrayEmbedding", "valueType": { - "$id": "8075", + "$id": "8384", "kind": "model", "name": "Embedding", "namespace": "OpenAI", @@ -110281,13 +115120,13 @@ }, "properties": [ { - "$id": "8076", + "$id": "8385", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index of the embedding in the list of embeddings.", "type": { - "$id": "8077", + "$id": "8386", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -110307,13 +115146,13 @@ "isHttpMetadata": false }, { - "$id": "8078", + "$id": "8387", "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": "3571" + "$ref": "3639" }, "optional": false, "readOnly": false, @@ -110329,13 +115168,13 @@ "isHttpMetadata": false }, { - "$id": "8079", + "$id": "8388", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"embedding\".", "type": { - "$ref": "1905" + "$ref": "1973" }, "optional": false, "readOnly": false, @@ -110369,13 +115208,13 @@ "isHttpMetadata": false }, { - "$id": "8080", + "$id": "8389", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model used to generate the embedding.", "type": { - "$id": "8081", + "$id": "8390", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110395,13 +115234,13 @@ "isHttpMetadata": false }, { - "$id": "8082", + "$id": "8391", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"list\".", "type": { - "$ref": "1907" + "$ref": "1975" }, "optional": false, "readOnly": false, @@ -110417,13 +115256,13 @@ "isHttpMetadata": false }, { - "$id": "8083", + "$id": "8392", "kind": "property", "name": "usage", "serializedName": "usage", "doc": "The usage information for the request.", "type": { - "$id": "8084", + "$id": "8393", "kind": "model", "name": "CreateEmbeddingResponseUsage", "namespace": "OpenAI", @@ -110437,12 +115276,12 @@ }, "properties": [ { - "$id": "8085", + "$id": "8394", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "type": { - "$id": "8086", + "$id": "8395", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -110462,12 +115301,12 @@ "isHttpMetadata": false }, { - "$id": "8087", + "$id": "8396", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "type": { - "$id": "8088", + "$id": "8397", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -110504,13 +115343,13 @@ ] }, { - "$ref": "8075" + "$ref": "8384" }, { - "$ref": "8084" + "$ref": "8393" }, { - "$id": "8089", + "$id": "8398", "kind": "model", "name": "ListFilesResponse", "namespace": "OpenAI", @@ -110524,12 +115363,12 @@ }, "properties": [ { - "$id": "8090", + "$id": "8399", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$id": "8091", + "$id": "8400", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110549,16 +115388,16 @@ "isHttpMetadata": false }, { - "$id": "8092", + "$id": "8401", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "8093", + "$id": "8402", "kind": "array", "name": "ArrayOpenAiFile", "valueType": { - "$ref": "7848" + "$ref": "8157" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -110577,12 +115416,12 @@ "isHttpMetadata": false }, { - "$id": "8094", + "$id": "8403", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "8095", + "$id": "8404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110602,12 +115441,12 @@ "isHttpMetadata": false }, { - "$id": "8096", + "$id": "8405", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "8097", + "$id": "8406", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110627,12 +115466,12 @@ "isHttpMetadata": false }, { - "$id": "8098", + "$id": "8407", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "8099", + "$id": "8408", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -110654,7 +115493,7 @@ ] }, { - "$id": "8100", + "$id": "8409", "kind": "model", "name": "CreateFileRequest", "namespace": "OpenAI", @@ -110664,13 +115503,13 @@ "serializationOptions": {}, "properties": [ { - "$id": "8101", + "$id": "8410", "kind": "property", "name": "file", "serializedName": "file", "doc": "The File object (not file name) to be uploaded.", "type": { - "$id": "8102", + "$id": "8411", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -110697,12 +115536,12 @@ "isHttpMetadata": false }, { - "$id": "8103", + "$id": "8412", "kind": "property", "name": "purpose", "serializedName": "purpose", "type": { - "$ref": "1223" + "$ref": "1287" }, "optional": false, "readOnly": false, @@ -110724,12 +115563,12 @@ "isHttpMetadata": false }, { - "$id": "8104", + "$id": "8413", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$id": "8105", + "$id": "8414", "kind": "model", "name": "FileExpirationAfter", "namespace": "OpenAI", @@ -110741,13 +115580,13 @@ "serializationOptions": {}, "properties": [ { - "$id": "8106", + "$id": "8415", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "Anchor timestamp after which the expiration policy applies. Supported anchors: `created_at`.", "type": { - "$ref": "1909" + "$ref": "1977" }, "optional": false, "readOnly": false, @@ -110763,13 +115602,13 @@ "isHttpMetadata": false }, { - "$id": "8107", + "$id": "8416", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "The number of seconds after the anchor time that the file will expire. Must be between 3600 (1 hour) and 2592000 (30 days).", "type": { - "$id": "8108", + "$id": "8417", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -110812,10 +115651,10 @@ ] }, { - "$ref": "8105" + "$ref": "8414" }, { - "$id": "8109", + "$id": "8418", "kind": "model", "name": "DeleteFileResponse", "namespace": "OpenAI", @@ -110829,12 +115668,12 @@ }, "properties": [ { - "$id": "8110", + "$id": "8419", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "8111", + "$id": "8420", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110854,12 +115693,12 @@ "isHttpMetadata": false }, { - "$id": "8112", + "$id": "8421", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1911" + "$ref": "1979" }, "optional": false, "readOnly": false, @@ -110875,12 +115714,12 @@ "isHttpMetadata": false }, { - "$id": "8113", + "$id": "8422", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "8114", + "$id": "8423", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -110902,7 +115741,7 @@ ] }, { - "$id": "8115", + "$id": "8424", "kind": "model", "name": "CreateImageEditRequest", "namespace": "OpenAI", @@ -110912,18 +115751,18 @@ "serializationOptions": {}, "properties": [ { - "$id": "8116", + "$id": "8425", "kind": "property", "name": "image", "serializedName": "image", "doc": "The image(s) to edit. Must be a supported image file or an array of images.\n For the GPT image models (`gpt-image-1`, `gpt-image-1-mini`, and `gpt-image-1.5`), each image should be a `png`, `webp`, or `jpg`\n file less than 50MB. You can provide up to 16 images.\n For `dall-e-2`, you can only provide one image, and it should be a square\n `png` file less than 4MB.", "type": { - "$id": "8117", + "$id": "8426", "kind": "union", "name": "CreateImageEditRequestImage", "variantTypes": [ { - "$id": "8118", + "$id": "8427", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -110931,11 +115770,11 @@ "decorators": [] }, { - "$id": "8119", + "$id": "8428", "kind": "array", "name": "Array37", "valueType": { - "$id": "8120", + "$id": "8429", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -110970,13 +115809,13 @@ "isHttpMetadata": false }, { - "$id": "8121", + "$id": "8430", "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 the GPT image models.", "type": { - "$id": "8122", + "$id": "8431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111002,13 +115841,13 @@ "isHttpMetadata": false }, { - "$id": "8123", + "$id": "8432", "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": "8124", + "$id": "8433", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -111035,16 +115874,16 @@ "isHttpMetadata": false }, { - "$id": "8125", + "$id": "8434", "kind": "property", "name": "background", "serializedName": "background", "doc": "Allows to set transparency for the background of the generated image(s).\n This parameter is only supported for the GPT image models. 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 If `transparent`, the output format needs to support transparency, so it\n should be set to either `png` (default value) or `webp`.", "type": { - "$id": "8126", + "$id": "8435", "kind": "nullable", "type": { - "$ref": "1231" + "$ref": "1295" }, "namespace": "OpenAI" }, @@ -111068,16 +115907,16 @@ "isHttpMetadata": false }, { - "$id": "8127", + "$id": "8436", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for image generation. Only `dall-e-2` and the GPT image models are supported. Defaults to `dall-e-2` unless a parameter specific to the GPT image models is used.", "type": { - "$id": "8128", + "$id": "8437", "kind": "nullable", "type": { - "$ref": "1236" + "$ref": "1300" }, "namespace": "OpenAI" }, @@ -111101,16 +115940,16 @@ "isHttpMetadata": false }, { - "$id": "8129", + "$id": "8438", "kind": "property", "name": "n", "serializedName": "n", "doc": "The number of images to generate. Must be between 1 and 10.", "type": { - "$id": "8130", + "$id": "8439", "kind": "nullable", "type": { - "$id": "8131", + "$id": "8440", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111138,16 +115977,16 @@ "isHttpMetadata": false }, { - "$id": "8132", + "$id": "8441", "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 the GPT image models, and one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`.", "type": { - "$id": "8133", + "$id": "8442", "kind": "nullable", "type": { - "$ref": "1242" + "$ref": "1306" }, "namespace": "OpenAI" }, @@ -111171,16 +116010,16 @@ "isHttpMetadata": false }, { - "$id": "8134", + "$id": "8443", "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 the GPT image models always return base64-encoded images.", "type": { - "$id": "8135", + "$id": "8444", "kind": "nullable", "type": { - "$ref": "1250" + "$ref": "1314" }, "namespace": "OpenAI" }, @@ -111204,16 +116043,16 @@ "isHttpMetadata": false }, { - "$id": "8136", + "$id": "8445", "kind": "property", "name": "output_format", "serializedName": "output_format", "doc": "The format in which the generated images are returned. This parameter is\n only supported for the GPT image models. Must be one of `png`, `jpeg`, or `webp`.\n The default value is `png`.", "type": { - "$id": "8137", + "$id": "8446", "kind": "nullable", "type": { - "$ref": "1254" + "$ref": "1318" }, "namespace": "OpenAI" }, @@ -111237,16 +116076,16 @@ "isHttpMetadata": false }, { - "$id": "8138", + "$id": "8447", "kind": "property", "name": "output_compression", "serializedName": "output_compression", "doc": "The compression level (0-100%) for the generated images. This parameter\n is only supported for the GPT image models with the `webp` or `jpeg` output\n formats, and defaults to 100.", "type": { - "$id": "8139", + "$id": "8448", "kind": "nullable", "type": { - "$id": "8140", + "$id": "8449", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111274,13 +116113,13 @@ "isHttpMetadata": false }, { - "$id": "8141", + "$id": "8450", "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": "8142", + "$id": "8451", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111306,15 +116145,15 @@ "isHttpMetadata": false }, { - "$id": "8143", + "$id": "8452", "kind": "property", "name": "input_fidelity", "serializedName": "input_fidelity", "type": { - "$id": "8144", + "$id": "8453", "kind": "nullable", "type": { - "$ref": "1259" + "$ref": "1323" }, "namespace": "OpenAI" }, @@ -111338,16 +116177,16 @@ "isHttpMetadata": false }, { - "$id": "8145", + "$id": "8454", "kind": "property", "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": "8146", + "$id": "8455", "kind": "nullable", "type": { - "$id": "8147", + "$id": "8456", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -111375,15 +116214,15 @@ "isHttpMetadata": false }, { - "$id": "8148", + "$id": "8457", "kind": "property", "name": "partial_images", "serializedName": "partial_images", "type": { - "$id": "8149", + "$id": "8458", "kind": "nullable", "type": { - "$id": "8150", + "$id": "8459", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111411,16 +116250,16 @@ "isHttpMetadata": false }, { - "$id": "8151", + "$id": "8460", "kind": "property", "name": "quality", "serializedName": "quality", "doc": "The quality of the image that will be generated. `high`, `medium` and `low` are only supported for the GPT image models. `dall-e-2` only supports `standard` quality. Defaults to `auto`.", "type": { - "$id": "8152", + "$id": "8461", "kind": "nullable", "type": { - "$ref": "1263" + "$ref": "1327" }, "namespace": "OpenAI" }, @@ -111446,7 +116285,7 @@ ] }, { - "$id": "8153", + "$id": "8462", "kind": "model", "name": "ImagesResponse", "namespace": "OpenAI", @@ -111462,18 +116301,18 @@ }, "properties": [ { - "$id": "8154", + "$id": "8463", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) of when the image was created.", "type": { - "$id": "8155", + "$id": "8464", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "8156", + "$id": "8465", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111496,17 +116335,17 @@ "isHttpMetadata": false }, { - "$id": "8157", + "$id": "8466", "kind": "property", "name": "Items", "serializedName": "data", "doc": "The list of generated images.", "type": { - "$id": "8158", + "$id": "8467", "kind": "array", "name": "ArrayImage", "valueType": { - "$id": "8159", + "$id": "8468", "kind": "model", "name": "Image", "namespace": "OpenAI", @@ -111521,13 +116360,13 @@ }, "properties": [ { - "$id": "8160", + "$id": "8469", "kind": "property", "name": "b64_json", "serializedName": "b64_json", "doc": "The base64-encoded JSON of the generated image. Returned by default for the GPT image models, and only present if `response_format` is set to `b64_json` for `dall-e-2` and `dall-e-3`.", "type": { - "$id": "8161", + "$id": "8470", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -111548,13 +116387,13 @@ "isHttpMetadata": false }, { - "$id": "8162", + "$id": "8471", "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 the GPT image models.", "type": { - "$id": "8163", + "$id": "8472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111574,13 +116413,13 @@ "isHttpMetadata": false }, { - "$id": "8164", + "$id": "8473", "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": "8165", + "$id": "8474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111618,13 +116457,13 @@ "isHttpMetadata": false }, { - "$id": "8166", + "$id": "8475", "kind": "property", "name": "background", "serializedName": "background", "doc": "The background parameter used for the image generation. Either `transparent` or `opaque`.", "type": { - "$ref": "1270" + "$ref": "1334" }, "optional": true, "readOnly": false, @@ -111640,13 +116479,13 @@ "isHttpMetadata": false }, { - "$id": "8167", + "$id": "8476", "kind": "property", "name": "output_format", "serializedName": "output_format", "doc": "The output format of the image generation. Either `png`, `webp`, or `jpeg`.", "type": { - "$ref": "1274" + "$ref": "1338" }, "optional": true, "readOnly": false, @@ -111662,13 +116501,13 @@ "isHttpMetadata": false }, { - "$id": "8168", + "$id": "8477", "kind": "property", "name": "size", "serializedName": "size", "doc": "The size of the image generated. Either `1024x1024`, `1024x1536`, or `1536x1024`.", "type": { - "$ref": "1279" + "$ref": "1343" }, "optional": true, "readOnly": false, @@ -111684,13 +116523,13 @@ "isHttpMetadata": false }, { - "$id": "8169", + "$id": "8478", "kind": "property", "name": "quality", "serializedName": "quality", "doc": "The quality of the image generated. Either `low`, `medium`, or `high`.", "type": { - "$ref": "1284" + "$ref": "1348" }, "optional": true, "readOnly": false, @@ -111706,12 +116545,12 @@ "isHttpMetadata": false }, { - "$id": "8170", + "$id": "8479", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "8171", + "$id": "8480", "kind": "model", "name": "ImageGenUsage", "namespace": "OpenAI", @@ -111727,13 +116566,13 @@ }, "properties": [ { - "$id": "8172", + "$id": "8481", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "doc": "The number of tokens (images and text) in the input prompt.", "type": { - "$id": "8173", + "$id": "8482", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111753,13 +116592,13 @@ "isHttpMetadata": false }, { - "$id": "8174", + "$id": "8483", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens (images and text) used for the image generation.", "type": { - "$id": "8175", + "$id": "8484", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111779,13 +116618,13 @@ "isHttpMetadata": false }, { - "$id": "8176", + "$id": "8485", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "doc": "The number of output tokens generated by the model.", "type": { - "$id": "8177", + "$id": "8486", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111805,12 +116644,12 @@ "isHttpMetadata": false }, { - "$id": "8178", + "$id": "8487", "kind": "property", "name": "output_tokens_details", "serializedName": "output_tokens_details", "type": { - "$id": "8179", + "$id": "8488", "kind": "model", "name": "ImageGenOutputTokensDetails", "namespace": "OpenAI", @@ -111826,13 +116665,13 @@ }, "properties": [ { - "$id": "8180", + "$id": "8489", "kind": "property", "name": "image_tokens", "serializedName": "image_tokens", "doc": "The number of image output tokens generated by the model.", "type": { - "$id": "8181", + "$id": "8490", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111852,13 +116691,13 @@ "isHttpMetadata": false }, { - "$id": "8182", + "$id": "8491", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text output tokens generated by the model.", "type": { - "$id": "8183", + "$id": "8492", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111893,12 +116732,12 @@ "isHttpMetadata": false }, { - "$id": "8184", + "$id": "8493", "kind": "property", "name": "input_tokens_details", "serializedName": "input_tokens_details", "type": { - "$id": "8185", + "$id": "8494", "kind": "model", "name": "ImageGenInputUsageDetails", "namespace": "OpenAI", @@ -111914,13 +116753,13 @@ }, "properties": [ { - "$id": "8186", + "$id": "8495", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text tokens in the input prompt.", "type": { - "$id": "8187", + "$id": "8496", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111940,13 +116779,13 @@ "isHttpMetadata": false }, { - "$id": "8188", + "$id": "8497", "kind": "property", "name": "image_tokens", "serializedName": "image_tokens", "doc": "The number of image tokens in the input prompt.", "type": { - "$id": "8189", + "$id": "8498", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -111998,19 +116837,19 @@ ] }, { - "$ref": "8159" + "$ref": "8468" }, { - "$ref": "8171" + "$ref": "8480" }, { - "$ref": "8179" + "$ref": "8488" }, { - "$ref": "8185" + "$ref": "8494" }, { - "$id": "8190", + "$id": "8499", "kind": "model", "name": "CreateImageRequest", "namespace": "OpenAI", @@ -112024,13 +116863,13 @@ }, "properties": [ { - "$id": "8191", + "$id": "8500", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "A text description of the desired image(s). The maximum length is 32000 characters for the GPT image models, 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`.", "type": { - "$id": "8192", + "$id": "8501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112050,16 +116889,16 @@ "isHttpMetadata": false }, { - "$id": "8193", + "$id": "8502", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for image generation. One of `dall-e-2`, `dall-e-3`, or a GPT image model (`gpt-image-1`, `gpt-image-1-mini`, `gpt-image-1.5`). Defaults to `dall-e-2` unless a parameter specific to the GPT image models is used.", "type": { - "$id": "8194", + "$id": "8503", "kind": "nullable", "type": { - "$ref": "1289" + "$ref": "1353" }, "namespace": "OpenAI" }, @@ -112077,16 +116916,16 @@ "isHttpMetadata": false }, { - "$id": "8195", + "$id": "8504", "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": "8196", + "$id": "8505", "kind": "nullable", "type": { - "$id": "8197", + "$id": "8506", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -112108,16 +116947,16 @@ "isHttpMetadata": false }, { - "$id": "8198", + "$id": "8507", "kind": "property", "name": "quality", "serializedName": "quality", "doc": "The quality of the image that will be generated.\n - `auto` (default value) will automatically select the best quality for the given model.\n - `high`, `medium` and `low` are supported for the GPT image models.\n - `hd` and `standard` are supported for `dall-e-3`.\n - `standard` is the only option for `dall-e-2`.", "type": { - "$id": "8199", + "$id": "8508", "kind": "nullable", "type": { - "$ref": "1296" + "$ref": "1360" }, "namespace": "OpenAI" }, @@ -112135,16 +116974,16 @@ "isHttpMetadata": false }, { - "$id": "8200", + "$id": "8509", "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 the GPT image models, which always return base64-encoded images.", "type": { - "$id": "8201", + "$id": "8510", "kind": "nullable", "type": { - "$ref": "1304" + "$ref": "1368" }, "namespace": "OpenAI" }, @@ -112162,16 +117001,16 @@ "isHttpMetadata": false }, { - "$id": "8202", + "$id": "8511", "kind": "property", "name": "output_format", "serializedName": "output_format", "doc": "The format in which the generated images are returned. This parameter is only supported for the GPT image models. Must be one of `png`, `jpeg`, or `webp`.", "type": { - "$id": "8203", + "$id": "8512", "kind": "nullable", "type": { - "$ref": "1308" + "$ref": "1372" }, "namespace": "OpenAI" }, @@ -112189,16 +117028,16 @@ "isHttpMetadata": false }, { - "$id": "8204", + "$id": "8513", "kind": "property", "name": "output_compression", "serializedName": "output_compression", "doc": "The compression level (0-100%) for the generated images. This parameter is only supported for the GPT image models with the `webp` or `jpeg` output formats, and defaults to 100.", "type": { - "$id": "8205", + "$id": "8514", "kind": "nullable", "type": { - "$id": "8206", + "$id": "8515", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -112220,16 +117059,16 @@ "isHttpMetadata": false }, { - "$id": "8207", + "$id": "8516", "kind": "property", "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 the GPT image models.", "type": { - "$id": "8208", + "$id": "8517", "kind": "nullable", "type": { - "$id": "8209", + "$id": "8518", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -112251,12 +117090,12 @@ "isHttpMetadata": false }, { - "$id": "8210", + "$id": "8519", "kind": "property", "name": "partial_images", "serializedName": "partial_images", "type": { - "$ref": "8149" + "$ref": "8458" }, "optional": true, "readOnly": false, @@ -112272,16 +117111,16 @@ "isHttpMetadata": false }, { - "$id": "8211", + "$id": "8520", "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 the GPT image models, one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`, and one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3`.", "type": { - "$id": "8212", + "$id": "8521", "kind": "nullable", "type": { - "$ref": "1313" + "$ref": "1377" }, "namespace": "OpenAI" }, @@ -112299,16 +117138,16 @@ "isHttpMetadata": false }, { - "$id": "8213", + "$id": "8522", "kind": "property", "name": "moderation", "serializedName": "moderation", "doc": "Control the content-moderation level for images generated by the GPT image models. Must be either `low` for less restrictive filtering or `auto` (default value).", "type": { - "$id": "8214", + "$id": "8523", "kind": "nullable", "type": { - "$ref": "1323" + "$ref": "1387" }, "namespace": "OpenAI" }, @@ -112326,16 +117165,16 @@ "isHttpMetadata": false }, { - "$id": "8215", + "$id": "8524", "kind": "property", "name": "background", "serializedName": "background", "doc": "Allows to set transparency for the background of the generated image(s).\n This parameter is only supported for the GPT image models. 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 If `transparent`, the output format needs to support transparency, so it\n should be set to either `png` (default value) or `webp`.", "type": { - "$id": "8216", + "$id": "8525", "kind": "nullable", "type": { - "$ref": "1327" + "$ref": "1391" }, "namespace": "OpenAI" }, @@ -112353,16 +117192,16 @@ "isHttpMetadata": false }, { - "$id": "8217", + "$id": "8526", "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.", "type": { - "$id": "8218", + "$id": "8527", "kind": "nullable", "type": { - "$ref": "1332" + "$ref": "1396" }, "namespace": "OpenAI" }, @@ -112380,13 +117219,13 @@ "isHttpMetadata": false }, { - "$id": "8219", + "$id": "8528", "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": "8220", + "$id": "8529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112408,7 +117247,7 @@ ] }, { - "$id": "8221", + "$id": "8530", "kind": "model", "name": "CreateImageVariationRequest", "namespace": "OpenAI", @@ -112418,13 +117257,13 @@ "serializationOptions": {}, "properties": [ { - "$id": "8222", + "$id": "8531", "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": "8223", + "$id": "8532", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -112451,16 +117290,16 @@ "isHttpMetadata": false }, { - "$id": "8224", + "$id": "8533", "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": "8225", + "$id": "8534", "kind": "nullable", "type": { - "$ref": "1336" + "$ref": "1400" }, "namespace": "OpenAI" }, @@ -112484,16 +117323,16 @@ "isHttpMetadata": false }, { - "$id": "8226", + "$id": "8535", "kind": "property", "name": "n", "serializedName": "n", "doc": "The number of images to generate. Must be between 1 and 10.", "type": { - "$id": "8227", + "$id": "8536", "kind": "nullable", "type": { - "$id": "8228", + "$id": "8537", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -112521,16 +117360,16 @@ "isHttpMetadata": false }, { - "$id": "8229", + "$id": "8538", "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": "8230", + "$id": "8539", "kind": "nullable", "type": { - "$ref": "1339" + "$ref": "1403" }, "namespace": "OpenAI" }, @@ -112554,16 +117393,16 @@ "isHttpMetadata": false }, { - "$id": "8231", + "$id": "8540", "kind": "property", "name": "size", "serializedName": "size", "doc": "The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.", "type": { - "$id": "8232", + "$id": "8541", "kind": "nullable", "type": { - "$ref": "1343" + "$ref": "1407" }, "namespace": "OpenAI" }, @@ -112587,13 +117426,13 @@ "isHttpMetadata": false }, { - "$id": "8233", + "$id": "8542", "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": "8234", + "$id": "8543", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112621,7 +117460,7 @@ ] }, { - "$id": "8235", + "$id": "8544", "kind": "model", "name": "ListModelsResponse", "namespace": "OpenAI", @@ -112635,12 +117474,12 @@ }, "properties": [ { - "$id": "8236", + "$id": "8545", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$ref": "1913" + "$ref": "1981" }, "optional": false, "readOnly": false, @@ -112656,16 +117495,16 @@ "isHttpMetadata": false }, { - "$id": "8237", + "$id": "8546", "kind": "property", "name": "Items", "serializedName": "data", "type": { - "$id": "8238", + "$id": "8547", "kind": "array", "name": "ArrayModel", "valueType": { - "$id": "8239", + "$id": "8548", "kind": "model", "name": "Model", "namespace": "OpenAI", @@ -112681,13 +117520,13 @@ }, "properties": [ { - "$id": "8240", + "$id": "8549", "kind": "property", "name": "id", "serializedName": "id", "doc": "The model identifier, which can be referenced in the API endpoints.", "type": { - "$id": "8241", + "$id": "8550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112707,18 +117546,18 @@ "isHttpMetadata": false }, { - "$id": "8242", + "$id": "8551", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) when the model was created.", "type": { - "$id": "8243", + "$id": "8552", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "8244", + "$id": "8553", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -112741,13 +117580,13 @@ "isHttpMetadata": false }, { - "$id": "8245", + "$id": "8554", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, which is always \"model\".", "type": { - "$ref": "1915" + "$ref": "1983" }, "optional": false, "readOnly": false, @@ -112763,13 +117602,13 @@ "isHttpMetadata": false }, { - "$id": "8246", + "$id": "8555", "kind": "property", "name": "owned_by", "serializedName": "owned_by", "doc": "The organization that owns the model.", "type": { - "$id": "8247", + "$id": "8556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112809,10 +117648,10 @@ ] }, { - "$ref": "8239" + "$ref": "8548" }, { - "$id": "8248", + "$id": "8557", "kind": "model", "name": "DeleteModelResponse", "namespace": "OpenAI", @@ -112826,12 +117665,12 @@ }, "properties": [ { - "$id": "8249", + "$id": "8558", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "8250", + "$id": "8559", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112851,12 +117690,12 @@ "isHttpMetadata": false }, { - "$id": "8251", + "$id": "8560", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "8252", + "$id": "8561", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -112876,12 +117715,12 @@ "isHttpMetadata": false }, { - "$id": "8253", + "$id": "8562", "kind": "property", "name": "object", "serializedName": "object", "type": { - "$id": "8254", + "$id": "8563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112903,7 +117742,7 @@ ] }, { - "$id": "8255", + "$id": "8564", "kind": "model", "name": "CreateModerationRequest", "namespace": "OpenAI", @@ -112917,32 +117756,32 @@ }, "properties": [ { - "$id": "8256", + "$id": "8565", "kind": "property", "name": "input", "serializedName": "input", "doc": "Input (or inputs) to classify. Can be a single string, an array of strings, or\n an array of multi-modal input objects similar to other models.", "type": { - "$id": "8257", + "$id": "8566", "kind": "union", "name": "CreateModerationRequestInput1", "variantTypes": [ { - "$id": "8258", + "$id": "8567", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "2573" + "$ref": "2641" }, { - "$id": "8259", + "$id": "8568", "kind": "array", "name": "ArrayCreateModerationRequestInput", "valueType": { - "$id": "8260", + "$id": "8569", "kind": "model", "name": "CreateModerationRequestInput", "namespace": "OpenAI", @@ -112955,12 +117794,12 @@ } }, "discriminatorProperty": { - "$id": "8261", + "$id": "8570", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1348" + "$ref": "1412" }, "optional": false, "readOnly": false, @@ -112977,12 +117816,12 @@ }, "properties": [ { - "$ref": "8261" + "$ref": "8570" } ], "discriminatedSubtypes": { "image_url": { - "$id": "8262", + "$id": "8571", "kind": "model", "name": "ModerationImageURLInput", "namespace": "OpenAI", @@ -112997,32 +117836,32 @@ } }, "baseModel": { - "$ref": "8260" + "$ref": "8569" }, "properties": [ { - "$id": "8263", + "$id": "8572", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `image_url`.", "type": { - "$id": "8264", + "$id": "8573", "kind": "enumvalue", "name": "image_url", "value": "image_url", "valueType": { - "$ref": "1349" + "$ref": "1413" }, "enumType": { - "$id": "8265", + "$id": "8574", "kind": "enum", "decorators": [], "name": "CreateModerationRequestInputType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "8266", + "$id": "8575", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -113031,29 +117870,29 @@ }, "values": [ { - "$id": "8267", + "$id": "8576", "kind": "enumvalue", "decorators": [], "name": "image_url", "value": "image_url", "valueType": { - "$ref": "8266" + "$ref": "8575" }, "enumType": { - "$ref": "8265" + "$ref": "8574" } }, { - "$id": "8268", + "$id": "8577", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "valueType": { - "$ref": "8266" + "$ref": "8575" }, "enumType": { - "$ref": "8265" + "$ref": "8574" } } ], @@ -113082,13 +117921,13 @@ "isHttpMetadata": false }, { - "$id": "8269", + "$id": "8578", "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": "8270", + "$id": "8579", "kind": "model", "name": "ModerationImageURLInputImageUrl", "namespace": "OpenAI", @@ -113102,12 +117941,12 @@ }, "properties": [ { - "$id": "8271", + "$id": "8580", "kind": "property", "name": "url", "serializedName": "url", "type": { - "$id": "8272", + "$id": "8581", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -113144,7 +117983,7 @@ ] }, "text": { - "$id": "8273", + "$id": "8582", "kind": "model", "name": "ModerationTextInput", "namespace": "OpenAI", @@ -113159,25 +117998,25 @@ } }, "baseModel": { - "$ref": "8260" + "$ref": "8569" }, "properties": [ { - "$id": "8274", + "$id": "8583", "kind": "property", "name": "type", "serializedName": "type", "doc": "Always `text`.", "type": { - "$id": "8275", + "$id": "8584", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1349" + "$ref": "1413" }, "enumType": { - "$ref": "8265" + "$ref": "8574" }, "decorators": [] }, @@ -113195,13 +118034,13 @@ "isHttpMetadata": false }, { - "$id": "8276", + "$id": "8585", "kind": "property", "name": "text", "serializedName": "text", "doc": "A string of text to classify.", "type": { - "$id": "8277", + "$id": "8586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113245,13 +118084,13 @@ "isHttpMetadata": false }, { - "$id": "8278", + "$id": "8587", "kind": "property", "name": "model", "serializedName": "model", "doc": "The content moderation model you would like to use. Learn more in\n [the moderation guide](https://platform.openai.com/docs/guides/moderation), and learn about\n available models [here](https://platform.openai.com/docs/models#moderation).", "type": { - "$ref": "1352" + "$ref": "1416" }, "optional": true, "readOnly": false, @@ -113269,19 +118108,19 @@ ] }, { - "$ref": "8260" + "$ref": "8569" }, { - "$ref": "8262" + "$ref": "8571" }, { - "$ref": "8270" + "$ref": "8579" }, { - "$ref": "8273" + "$ref": "8582" }, { - "$id": "8279", + "$id": "8588", "kind": "model", "name": "CreateModerationResponse", "namespace": "OpenAI", @@ -113296,13 +118135,13 @@ }, "properties": [ { - "$id": "8280", + "$id": "8589", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique identifier for the moderation request.", "type": { - "$id": "8281", + "$id": "8590", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113322,13 +118161,13 @@ "isHttpMetadata": false }, { - "$id": "8282", + "$id": "8591", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used to generate the moderation results.", "type": { - "$id": "8283", + "$id": "8592", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113348,17 +118187,17 @@ "isHttpMetadata": false }, { - "$id": "8284", + "$id": "8593", "kind": "property", "name": "results", "serializedName": "results", "doc": "A list of moderation objects.", "type": { - "$id": "8285", + "$id": "8594", "kind": "array", "name": "ArrayCreateModerationResponseResults", "valueType": { - "$id": "8286", + "$id": "8595", "kind": "model", "name": "CreateModerationResponseResults", "namespace": "OpenAI", @@ -113372,12 +118211,12 @@ }, "properties": [ { - "$id": "8287", + "$id": "8596", "kind": "property", "name": "flagged", "serializedName": "flagged", "type": { - "$id": "8288", + "$id": "8597", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113397,12 +118236,12 @@ "isHttpMetadata": false }, { - "$id": "8289", + "$id": "8598", "kind": "property", "name": "categories", "serializedName": "categories", "type": { - "$id": "8290", + "$id": "8599", "kind": "model", "name": "CreateModerationResponseResultsCategories", "namespace": "OpenAI", @@ -113416,12 +118255,12 @@ }, "properties": [ { - "$id": "8291", + "$id": "8600", "kind": "property", "name": "hate", "serializedName": "hate", "type": { - "$id": "8292", + "$id": "8601", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113441,12 +118280,12 @@ "isHttpMetadata": false }, { - "$id": "8293", + "$id": "8602", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "type": { - "$id": "8294", + "$id": "8603", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113466,12 +118305,12 @@ "isHttpMetadata": false }, { - "$id": "8295", + "$id": "8604", "kind": "property", "name": "harassment", "serializedName": "harassment", "type": { - "$id": "8296", + "$id": "8605", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113491,12 +118330,12 @@ "isHttpMetadata": false }, { - "$id": "8297", + "$id": "8606", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "type": { - "$id": "8298", + "$id": "8607", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113516,12 +118355,12 @@ "isHttpMetadata": false }, { - "$id": "8299", + "$id": "8608", "kind": "property", "name": "illicit", "serializedName": "illicit", "type": { - "$id": "8300", + "$id": "8609", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113541,12 +118380,12 @@ "isHttpMetadata": false }, { - "$id": "8301", + "$id": "8610", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "type": { - "$id": "8302", + "$id": "8611", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113566,12 +118405,12 @@ "isHttpMetadata": false }, { - "$id": "8303", + "$id": "8612", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "type": { - "$id": "8304", + "$id": "8613", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113591,12 +118430,12 @@ "isHttpMetadata": false }, { - "$id": "8305", + "$id": "8614", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "type": { - "$id": "8306", + "$id": "8615", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113616,12 +118455,12 @@ "isHttpMetadata": false }, { - "$id": "8307", + "$id": "8616", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "type": { - "$id": "8308", + "$id": "8617", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113641,12 +118480,12 @@ "isHttpMetadata": false }, { - "$id": "8309", + "$id": "8618", "kind": "property", "name": "sexual", "serializedName": "sexual", "type": { - "$id": "8310", + "$id": "8619", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113666,12 +118505,12 @@ "isHttpMetadata": false }, { - "$id": "8311", + "$id": "8620", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "type": { - "$id": "8312", + "$id": "8621", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113691,12 +118530,12 @@ "isHttpMetadata": false }, { - "$id": "8313", + "$id": "8622", "kind": "property", "name": "violence", "serializedName": "violence", "type": { - "$id": "8314", + "$id": "8623", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113716,12 +118555,12 @@ "isHttpMetadata": false }, { - "$id": "8315", + "$id": "8624", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "type": { - "$id": "8316", + "$id": "8625", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -113756,12 +118595,12 @@ "isHttpMetadata": false }, { - "$id": "8317", + "$id": "8626", "kind": "property", "name": "category_scores", "serializedName": "category_scores", "type": { - "$id": "8318", + "$id": "8627", "kind": "model", "name": "CreateModerationResponseResultsCategoryScores", "namespace": "OpenAI", @@ -113775,12 +118614,12 @@ }, "properties": [ { - "$id": "8319", + "$id": "8628", "kind": "property", "name": "hate", "serializedName": "hate", "type": { - "$id": "8320", + "$id": "8629", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -113800,12 +118639,12 @@ "isHttpMetadata": false }, { - "$id": "8321", + "$id": "8630", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "type": { - "$id": "8322", + "$id": "8631", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -113825,12 +118664,12 @@ "isHttpMetadata": false }, { - "$id": "8323", + "$id": "8632", "kind": "property", "name": "harassment", "serializedName": "harassment", "type": { - "$id": "8324", + "$id": "8633", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -113850,12 +118689,12 @@ "isHttpMetadata": false }, { - "$id": "8325", + "$id": "8634", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "type": { - "$id": "8326", + "$id": "8635", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -113875,12 +118714,12 @@ "isHttpMetadata": false }, { - "$id": "8327", + "$id": "8636", "kind": "property", "name": "illicit", "serializedName": "illicit", "type": { - "$id": "8328", + "$id": "8637", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -113900,12 +118739,12 @@ "isHttpMetadata": false }, { - "$id": "8329", + "$id": "8638", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "type": { - "$id": "8330", + "$id": "8639", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -113925,12 +118764,12 @@ "isHttpMetadata": false }, { - "$id": "8331", + "$id": "8640", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "type": { - "$id": "8332", + "$id": "8641", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -113950,12 +118789,12 @@ "isHttpMetadata": false }, { - "$id": "8333", + "$id": "8642", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "type": { - "$id": "8334", + "$id": "8643", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -113975,12 +118814,12 @@ "isHttpMetadata": false }, { - "$id": "8335", + "$id": "8644", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "type": { - "$id": "8336", + "$id": "8645", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -114000,12 +118839,12 @@ "isHttpMetadata": false }, { - "$id": "8337", + "$id": "8646", "kind": "property", "name": "sexual", "serializedName": "sexual", "type": { - "$id": "8338", + "$id": "8647", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -114025,12 +118864,12 @@ "isHttpMetadata": false }, { - "$id": "8339", + "$id": "8648", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "type": { - "$id": "8340", + "$id": "8649", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -114050,12 +118889,12 @@ "isHttpMetadata": false }, { - "$id": "8341", + "$id": "8650", "kind": "property", "name": "violence", "serializedName": "violence", "type": { - "$id": "8342", + "$id": "8651", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -114075,12 +118914,12 @@ "isHttpMetadata": false }, { - "$id": "8343", + "$id": "8652", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "type": { - "$id": "8344", + "$id": "8653", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -114115,12 +118954,12 @@ "isHttpMetadata": false }, { - "$id": "8345", + "$id": "8654", "kind": "property", "name": "category_applied_input_types", "serializedName": "category_applied_input_types", "type": { - "$id": "8346", + "$id": "8655", "kind": "model", "name": "CreateModerationResponseResultsCategoryAppliedInputTypes", "namespace": "OpenAI", @@ -114134,24 +118973,24 @@ }, "properties": [ { - "$id": "8347", + "$id": "8656", "kind": "property", "name": "hate", "serializedName": "hate", "type": { - "$id": "8348", + "$id": "8657", "kind": "array", "name": "Array38", "valueType": { - "$id": "8349", + "$id": "8658", "kind": "enumvalue", "name": "text", "value": "text", "valueType": { - "$ref": "1359" + "$ref": "1423" }, "enumType": { - "$id": "8350", + "$id": "8659", "kind": "enum", "decorators": [], "doc": "The applied input type(s) for the category.", @@ -114159,7 +118998,7 @@ "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "8351", + "$id": "8660", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -114168,29 +119007,29 @@ }, "values": [ { - "$id": "8352", + "$id": "8661", "kind": "enumvalue", "decorators": [], "name": "text", "value": "text", "enumType": { - "$ref": "8350" + "$ref": "8659" }, "valueType": { - "$ref": "8351" + "$ref": "8660" } }, { - "$id": "8353", + "$id": "8662", "kind": "enumvalue", "decorators": [], "name": "image", "value": "image", "enumType": { - "$ref": "8350" + "$ref": "8659" }, "valueType": { - "$ref": "8351" + "$ref": "8660" } } ], @@ -114222,12 +119061,12 @@ "isHttpMetadata": false }, { - "$id": "8354", + "$id": "8663", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "type": { - "$ref": "8348" + "$ref": "8657" }, "optional": false, "readOnly": false, @@ -114243,12 +119082,12 @@ "isHttpMetadata": false }, { - "$id": "8355", + "$id": "8664", "kind": "property", "name": "harassment", "serializedName": "harassment", "type": { - "$ref": "8348" + "$ref": "8657" }, "optional": false, "readOnly": false, @@ -114264,12 +119103,12 @@ "isHttpMetadata": false }, { - "$id": "8356", + "$id": "8665", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "type": { - "$ref": "8348" + "$ref": "8657" }, "optional": false, "readOnly": false, @@ -114285,12 +119124,12 @@ "isHttpMetadata": false }, { - "$id": "8357", + "$id": "8666", "kind": "property", "name": "illicit", "serializedName": "illicit", "type": { - "$ref": "8348" + "$ref": "8657" }, "optional": false, "readOnly": false, @@ -114306,12 +119145,12 @@ "isHttpMetadata": false }, { - "$id": "8358", + "$id": "8667", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "type": { - "$ref": "8348" + "$ref": "8657" }, "optional": false, "readOnly": false, @@ -114327,16 +119166,16 @@ "isHttpMetadata": false }, { - "$id": "8359", + "$id": "8668", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "type": { - "$id": "8360", + "$id": "8669", "kind": "array", "name": "ArrayModerationCategoryInputType", "valueType": { - "$ref": "1358" + "$ref": "1422" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -114355,12 +119194,12 @@ "isHttpMetadata": false }, { - "$id": "8361", + "$id": "8670", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "type": { - "$ref": "8360" + "$ref": "8669" }, "optional": false, "readOnly": false, @@ -114376,12 +119215,12 @@ "isHttpMetadata": false }, { - "$id": "8362", + "$id": "8671", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "type": { - "$ref": "8360" + "$ref": "8669" }, "optional": false, "readOnly": false, @@ -114397,12 +119236,12 @@ "isHttpMetadata": false }, { - "$id": "8363", + "$id": "8672", "kind": "property", "name": "sexual", "serializedName": "sexual", "type": { - "$ref": "8360" + "$ref": "8669" }, "optional": false, "readOnly": false, @@ -114418,12 +119257,12 @@ "isHttpMetadata": false }, { - "$id": "8364", + "$id": "8673", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "type": { - "$ref": "8348" + "$ref": "8657" }, "optional": false, "readOnly": false, @@ -114439,12 +119278,12 @@ "isHttpMetadata": false }, { - "$id": "8365", + "$id": "8674", "kind": "property", "name": "violence", "serializedName": "violence", "type": { - "$ref": "8360" + "$ref": "8669" }, "optional": false, "readOnly": false, @@ -114460,12 +119299,12 @@ "isHttpMetadata": false }, { - "$id": "8366", + "$id": "8675", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "type": { - "$ref": "8360" + "$ref": "8669" }, "optional": false, "readOnly": false, @@ -114516,19 +119355,19 @@ ] }, { - "$ref": "8286" + "$ref": "8595" }, { - "$ref": "8290" + "$ref": "8599" }, { - "$ref": "8318" + "$ref": "8627" }, { - "$ref": "8346" + "$ref": "8655" }, { - "$id": "8367", + "$id": "8676", "kind": "model", "name": "SpeechAudioDoneEventUsage", "namespace": "OpenAI", @@ -114542,12 +119381,12 @@ }, "properties": [ { - "$id": "8368", + "$id": "8677", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "type": { - "$id": "8369", + "$id": "8678", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -114567,12 +119406,12 @@ "isHttpMetadata": false }, { - "$id": "8370", + "$id": "8679", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "type": { - "$id": "8371", + "$id": "8680", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -114592,12 +119431,12 @@ "isHttpMetadata": false }, { - "$id": "8372", + "$id": "8681", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "type": { - "$id": "8373", + "$id": "8682", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -114619,7 +119458,7 @@ ] }, { - "$id": "8374", + "$id": "8683", "kind": "model", "name": "TranscriptTextDeltaEventLogprobs", "namespace": "OpenAI", @@ -114633,12 +119472,12 @@ }, "properties": [ { - "$id": "8375", + "$id": "8684", "kind": "property", "name": "token", "serializedName": "token", "type": { - "$id": "8376", + "$id": "8685", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114658,12 +119497,12 @@ "isHttpMetadata": false }, { - "$id": "8377", + "$id": "8686", "kind": "property", "name": "logprob", "serializedName": "logprob", "type": { - "$id": "8378", + "$id": "8687", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -114683,12 +119522,12 @@ "isHttpMetadata": false }, { - "$id": "8379", + "$id": "8688", "kind": "property", "name": "bytes", "serializedName": "bytes", "type": { - "$ref": "8029" + "$ref": "8338" }, "optional": true, "readOnly": false, @@ -114706,7 +119545,7 @@ ] }, { - "$id": "8380", + "$id": "8689", "kind": "model", "name": "TranscriptTextDoneEventLogprobs", "namespace": "OpenAI", @@ -114720,12 +119559,12 @@ }, "properties": [ { - "$id": "8381", + "$id": "8690", "kind": "property", "name": "token", "serializedName": "token", "type": { - "$id": "8382", + "$id": "8691", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114745,12 +119584,12 @@ "isHttpMetadata": false }, { - "$id": "8383", + "$id": "8692", "kind": "property", "name": "logprob", "serializedName": "logprob", "type": { - "$id": "8384", + "$id": "8693", "kind": "numeric", "name": "numeric", "crossLanguageDefinitionId": "TypeSpec.numeric", @@ -114770,12 +119609,12 @@ "isHttpMetadata": false }, { - "$id": "8385", + "$id": "8694", "kind": "property", "name": "bytes", "serializedName": "bytes", "type": { - "$ref": "8029" + "$ref": "8338" }, "optional": true, "readOnly": false, @@ -114793,7 +119632,7 @@ ] }, { - "$id": "8386", + "$id": "8695", "kind": "model", "name": "BatchRequestInput", "namespace": "OpenAI", @@ -114805,12 +119644,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8387", + "$id": "8696", "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": "8388", + "$id": "8697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114826,12 +119665,12 @@ "isHttpMetadata": false }, { - "$id": "8389", + "$id": "8698", "kind": "property", "name": "method", "doc": "The HTTP method to be used for the request. Currently only `POST` is supported.", "type": { - "$ref": "1362" + "$ref": "1426" }, "optional": true, "readOnly": false, @@ -114843,12 +119682,12 @@ "isHttpMetadata": false }, { - "$id": "8390", + "$id": "8699", "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": "8391", + "$id": "8700", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -114866,7 +119705,7 @@ ] }, { - "$id": "8392", + "$id": "8701", "kind": "model", "name": "BatchRequestOutput", "namespace": "OpenAI", @@ -114878,11 +119717,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8393", + "$id": "8702", "kind": "property", "name": "id", "type": { - "$id": "8394", + "$id": "8703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114898,12 +119737,12 @@ "isHttpMetadata": false }, { - "$id": "8395", + "$id": "8704", "kind": "property", "name": "custom_id", "doc": "A developer-provided per-request id that will be used to match outputs to inputs.", "type": { - "$id": "8396", + "$id": "8705", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114919,14 +119758,14 @@ "isHttpMetadata": false }, { - "$id": "8397", + "$id": "8706", "kind": "property", "name": "response", "type": { - "$id": "8398", + "$id": "8707", "kind": "nullable", "type": { - "$id": "8399", + "$id": "8708", "kind": "model", "name": "BatchRequestOutputResponse1", "namespace": "OpenAI", @@ -114936,12 +119775,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8400", + "$id": "8709", "kind": "property", "name": "status_code", "doc": "The HTTP status code of the response", "type": { - "$id": "8401", + "$id": "8710", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -114957,12 +119796,12 @@ "isHttpMetadata": false }, { - "$id": "8402", + "$id": "8711", "kind": "property", "name": "request_id", "doc": "An unique identifier for the OpenAI API request. Please include this request ID when contacting support.", "type": { - "$id": "8403", + "$id": "8712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114978,12 +119817,12 @@ "isHttpMetadata": false }, { - "$id": "8404", + "$id": "8713", "kind": "property", "name": "body", "doc": "The JSON body of the response", "type": { - "$ref": "3863" + "$ref": "3931" }, "optional": true, "readOnly": false, @@ -115008,15 +119847,15 @@ "isHttpMetadata": false }, { - "$id": "8405", + "$id": "8714", "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": "8406", + "$id": "8715", "kind": "nullable", "type": { - "$id": "8407", + "$id": "8716", "kind": "model", "name": "BatchRequestOutputError1", "namespace": "OpenAI", @@ -115026,12 +119865,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8408", + "$id": "8717", "kind": "property", "name": "code", "doc": "A machine-readable error code.", "type": { - "$id": "8409", + "$id": "8718", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115047,12 +119886,12 @@ "isHttpMetadata": false }, { - "$id": "8410", + "$id": "8719", "kind": "property", "name": "message", "doc": "A human-readable error message.", "type": { - "$id": "8411", + "$id": "8720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115083,13 +119922,13 @@ ] }, { - "$ref": "8399" + "$ref": "8708" }, { - "$ref": "8407" + "$ref": "8716" }, { - "$id": "8412", + "$id": "8721", "kind": "model", "name": "ChatCompletionFunctionChoice", "namespace": "OpenAI", @@ -115106,7 +119945,7 @@ "properties": [] }, { - "$id": "8413", + "$id": "8722", "kind": "model", "name": "ChatCompletionToolChoice", "namespace": "OpenAI", @@ -115123,7 +119962,7 @@ "properties": [] }, { - "$id": "8414", + "$id": "8723", "kind": "model", "name": "FineTuneChatCompletionRequestAssistantMessage", "namespace": "OpenAI", @@ -115133,12 +119972,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8415", + "$id": "8724", "kind": "property", "name": "weight", "doc": "Controls whether the assistant message is trained against (0 or 1)", "type": { - "$ref": "1366" + "$ref": "1430" }, "optional": true, "readOnly": false, @@ -115150,12 +119989,12 @@ "isHttpMetadata": false }, { - "$id": "8416", + "$id": "8725", "kind": "property", "name": "content", "doc": "The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.", "type": { - "$ref": "3060" + "$ref": "3128" }, "optional": true, "readOnly": false, @@ -115167,12 +120006,12 @@ "isHttpMetadata": false }, { - "$id": "8417", + "$id": "8726", "kind": "property", "name": "refusal", "doc": "The refusal message by the assistant.", "type": { - "$ref": "3066" + "$ref": "3134" }, "optional": true, "readOnly": false, @@ -115184,12 +120023,12 @@ "isHttpMetadata": false }, { - "$id": "8418", + "$id": "8727", "kind": "property", "name": "role", "doc": "The role of the messages author, in this case `assistant`.", "type": { - "$id": "8419", + "$id": "8728", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -115197,7 +120036,7 @@ "$ref": "96" }, "enumType": { - "$ref": "2867" + "$ref": "2935" }, "decorators": [] }, @@ -115211,12 +120050,12 @@ "isHttpMetadata": false }, { - "$id": "8420", + "$id": "8729", "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": "8421", + "$id": "8730", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115232,12 +120071,12 @@ "isHttpMetadata": false }, { - "$id": "8422", + "$id": "8731", "kind": "property", "name": "audio", "doc": "Data about a previous audio response from the model.\n[Learn more](/docs/guides/audio).", "type": { - "$ref": "3073" + "$ref": "3141" }, "optional": true, "readOnly": false, @@ -115249,11 +120088,11 @@ "isHttpMetadata": false }, { - "$id": "8423", + "$id": "8732", "kind": "property", "name": "tool_calls", "type": { - "$ref": "2836" + "$ref": "2904" }, "optional": true, "readOnly": false, @@ -115265,12 +120104,12 @@ "isHttpMetadata": false }, { - "$id": "8424", + "$id": "8733", "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": "3079" + "$ref": "3147" }, "optional": true, "readOnly": false, @@ -115284,7 +120123,7 @@ ] }, { - "$id": "8425", + "$id": "8734", "kind": "model", "name": "FineTuneChatRequestInput", "namespace": "OpenAI", @@ -115296,32 +120135,32 @@ "serializationOptions": {}, "properties": [ { - "$id": "8426", + "$id": "8735", "kind": "property", "name": "messages", "type": { - "$id": "8427", + "$id": "8736", "kind": "array", "name": "Array39", "valueType": { - "$id": "8428", + "$id": "8737", "kind": "union", "name": "FineTuneChatRequestInputMessage", "variantTypes": [ { - "$ref": "3029" + "$ref": "3097" }, { - "$ref": "3048" + "$ref": "3116" }, { - "$ref": "8414" + "$ref": "8723" }, { - "$ref": "3085" + "$ref": "3153" }, { - "$ref": "3095" + "$ref": "3163" } ], "namespace": "OpenAI", @@ -115340,12 +120179,12 @@ "isHttpMetadata": false }, { - "$id": "8429", + "$id": "8738", "kind": "property", "name": "tools", "doc": "A list of tools the model may generate JSON inputs for.", "type": { - "$ref": "3187" + "$ref": "3255" }, "optional": true, "readOnly": false, @@ -115357,16 +120196,16 @@ "isHttpMetadata": false }, { - "$id": "8430", + "$id": "8739", "kind": "property", "name": "parallel_tool_calls", "type": { - "$id": "8431", + "$id": "8740", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "8432", + "$id": "8741", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -115384,12 +120223,12 @@ "isHttpMetadata": false }, { - "$id": "8433", + "$id": "8742", "kind": "property", "name": "functions", "doc": "A list of functions the model may generate JSON inputs for.", "type": { - "$ref": "3212" + "$ref": "3280" }, "optional": true, "readOnly": false, @@ -115403,7 +120242,7 @@ ] }, { - "$id": "8434", + "$id": "8743", "kind": "model", "name": "FineTuningJobsPageToken", "namespace": "OpenAI", @@ -115414,11 +120253,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8435", + "$id": "8744", "kind": "property", "name": "limit", "type": { - "$id": "8436", + "$id": "8745", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -115434,11 +120273,11 @@ "isHttpMetadata": false }, { - "$id": "8437", + "$id": "8746", "kind": "property", "name": "after", "type": { - "$id": "8438", + "$id": "8747", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115456,7 +120295,7 @@ ] }, { - "$id": "8439", + "$id": "8748", "kind": "model", "name": "ImageEditCompletedEvent", "namespace": "OpenAI", @@ -115467,12 +120306,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8440", + "$id": "8749", "kind": "property", "name": "type", "doc": "The type of the event. Always `image_edit.completed`.", "type": { - "$ref": "1917" + "$ref": "1985" }, "optional": false, "readOnly": false, @@ -115484,12 +120323,12 @@ "isHttpMetadata": false }, { - "$id": "8441", + "$id": "8750", "kind": "property", "name": "b64_json", "doc": "Base64-encoded final edited image data, suitable for rendering as an image.", "type": { - "$id": "8442", + "$id": "8751", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -115506,17 +120345,17 @@ "isHttpMetadata": false }, { - "$id": "8443", + "$id": "8752", "kind": "property", "name": "created_at", "doc": "The Unix timestamp when the event was created.", "type": { - "$id": "8444", + "$id": "8753", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "8445", + "$id": "8754", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -115535,12 +120374,12 @@ "isHttpMetadata": false }, { - "$id": "8446", + "$id": "8755", "kind": "property", "name": "size", "doc": "The size of the edited image.", "type": { - "$ref": "1370" + "$ref": "1434" }, "optional": false, "readOnly": false, @@ -115552,12 +120391,12 @@ "isHttpMetadata": false }, { - "$id": "8447", + "$id": "8756", "kind": "property", "name": "quality", "doc": "The quality setting for the edited image.", "type": { - "$ref": "1376" + "$ref": "1440" }, "optional": false, "readOnly": false, @@ -115569,12 +120408,12 @@ "isHttpMetadata": false }, { - "$id": "8448", + "$id": "8757", "kind": "property", "name": "background", "doc": "The background setting for the edited image.", "type": { - "$ref": "1382" + "$ref": "1446" }, "optional": false, "readOnly": false, @@ -115586,12 +120425,12 @@ "isHttpMetadata": false }, { - "$id": "8449", + "$id": "8758", "kind": "property", "name": "output_format", "doc": "The output format for the edited image.", "type": { - "$ref": "1387" + "$ref": "1451" }, "optional": false, "readOnly": false, @@ -115603,11 +120442,11 @@ "isHttpMetadata": false }, { - "$id": "8450", + "$id": "8759", "kind": "property", "name": "usage", "type": { - "$id": "8451", + "$id": "8760", "kind": "model", "name": "ImagesUsage", "namespace": "OpenAI", @@ -115618,12 +120457,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8452", + "$id": "8761", "kind": "property", "name": "total_tokens", "doc": "The total number of tokens (images and text) used for the image generation.", "type": { - "$id": "8453", + "$id": "8762", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -115639,12 +120478,12 @@ "isHttpMetadata": false }, { - "$id": "8454", + "$id": "8763", "kind": "property", "name": "input_tokens", "doc": "The number of tokens (images and text) in the input prompt.", "type": { - "$id": "8455", + "$id": "8764", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -115660,12 +120499,12 @@ "isHttpMetadata": false }, { - "$id": "8456", + "$id": "8765", "kind": "property", "name": "output_tokens", "doc": "The number of image tokens in the output image.", "type": { - "$id": "8457", + "$id": "8766", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -115681,12 +120520,12 @@ "isHttpMetadata": false }, { - "$id": "8458", + "$id": "8767", "kind": "property", "name": "input_tokens_details", "doc": "The input tokens detailed information for the image generation.", "type": { - "$id": "8459", + "$id": "8768", "kind": "model", "name": "ImagesUsageInputTokensDetails", "namespace": "OpenAI", @@ -115696,11 +120535,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8460", + "$id": "8769", "kind": "property", "name": "text_tokens", "type": { - "$id": "8461", + "$id": "8770", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -115716,11 +120555,11 @@ "isHttpMetadata": false }, { - "$id": "8462", + "$id": "8771", "kind": "property", "name": "image_tokens", "type": { - "$id": "8463", + "$id": "8772", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -115760,13 +120599,13 @@ ] }, { - "$ref": "8451" + "$ref": "8760" }, { - "$ref": "8459" + "$ref": "8768" }, { - "$id": "8464", + "$id": "8773", "kind": "model", "name": "ImageEditPartialImageEvent", "namespace": "OpenAI", @@ -115777,12 +120616,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8465", + "$id": "8774", "kind": "property", "name": "type", "doc": "The type of the event. Always `image_edit.partial_image`.", "type": { - "$ref": "1919" + "$ref": "1987" }, "optional": false, "readOnly": false, @@ -115794,12 +120633,12 @@ "isHttpMetadata": false }, { - "$id": "8466", + "$id": "8775", "kind": "property", "name": "b64_json", "doc": "Base64-encoded partial image data, suitable for rendering as an image.", "type": { - "$id": "8467", + "$id": "8776", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -115816,17 +120655,17 @@ "isHttpMetadata": false }, { - "$id": "8468", + "$id": "8777", "kind": "property", "name": "created_at", "doc": "The Unix timestamp when the event was created.", "type": { - "$id": "8469", + "$id": "8778", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "8470", + "$id": "8779", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -115845,12 +120684,12 @@ "isHttpMetadata": false }, { - "$id": "8471", + "$id": "8780", "kind": "property", "name": "size", "doc": "The size of the requested edited image.", "type": { - "$ref": "1392" + "$ref": "1456" }, "optional": false, "readOnly": false, @@ -115862,12 +120701,12 @@ "isHttpMetadata": false }, { - "$id": "8472", + "$id": "8781", "kind": "property", "name": "quality", "doc": "The quality setting for the requested edited image.", "type": { - "$ref": "1398" + "$ref": "1462" }, "optional": false, "readOnly": false, @@ -115879,12 +120718,12 @@ "isHttpMetadata": false }, { - "$id": "8473", + "$id": "8782", "kind": "property", "name": "background", "doc": "The background setting for the requested edited image.", "type": { - "$ref": "1404" + "$ref": "1468" }, "optional": false, "readOnly": false, @@ -115896,12 +120735,12 @@ "isHttpMetadata": false }, { - "$id": "8474", + "$id": "8783", "kind": "property", "name": "output_format", "doc": "The output format for the requested edited image.", "type": { - "$ref": "1409" + "$ref": "1473" }, "optional": false, "readOnly": false, @@ -115913,12 +120752,12 @@ "isHttpMetadata": false }, { - "$id": "8475", + "$id": "8784", "kind": "property", "name": "partial_image_index", "doc": "0-based index for the partial image (streaming).", "type": { - "$id": "8476", + "$id": "8785", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -115936,7 +120775,7 @@ ] }, { - "$id": "8477", + "$id": "8786", "kind": "model", "name": "ImageGenCompletedEvent", "namespace": "OpenAI", @@ -115947,12 +120786,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8478", + "$id": "8787", "kind": "property", "name": "type", "doc": "The type of the event. Always `image_generation.completed`.", "type": { - "$ref": "1921" + "$ref": "1989" }, "optional": false, "readOnly": false, @@ -115964,12 +120803,12 @@ "isHttpMetadata": false }, { - "$id": "8479", + "$id": "8788", "kind": "property", "name": "b64_json", "doc": "Base64-encoded image data, suitable for rendering as an image.", "type": { - "$id": "8480", + "$id": "8789", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -115986,17 +120825,17 @@ "isHttpMetadata": false }, { - "$id": "8481", + "$id": "8790", "kind": "property", "name": "created_at", "doc": "The Unix timestamp when the event was created.", "type": { - "$id": "8482", + "$id": "8791", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "8483", + "$id": "8792", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -116015,12 +120854,12 @@ "isHttpMetadata": false }, { - "$id": "8484", + "$id": "8793", "kind": "property", "name": "size", "doc": "The size of the generated image.", "type": { - "$ref": "1414" + "$ref": "1478" }, "optional": false, "readOnly": false, @@ -116032,12 +120871,12 @@ "isHttpMetadata": false }, { - "$id": "8485", + "$id": "8794", "kind": "property", "name": "quality", "doc": "The quality setting for the generated image.", "type": { - "$ref": "1420" + "$ref": "1484" }, "optional": false, "readOnly": false, @@ -116049,12 +120888,12 @@ "isHttpMetadata": false }, { - "$id": "8486", + "$id": "8795", "kind": "property", "name": "background", "doc": "The background setting for the generated image.", "type": { - "$ref": "1426" + "$ref": "1490" }, "optional": false, "readOnly": false, @@ -116066,12 +120905,12 @@ "isHttpMetadata": false }, { - "$id": "8487", + "$id": "8796", "kind": "property", "name": "output_format", "doc": "The output format for the generated image.", "type": { - "$ref": "1431" + "$ref": "1495" }, "optional": false, "readOnly": false, @@ -116083,11 +120922,11 @@ "isHttpMetadata": false }, { - "$id": "8488", + "$id": "8797", "kind": "property", "name": "usage", "type": { - "$ref": "8451" + "$ref": "8760" }, "optional": false, "readOnly": false, @@ -116101,7 +120940,7 @@ ] }, { - "$id": "8489", + "$id": "8798", "kind": "model", "name": "ImageGenPartialImageEvent", "namespace": "OpenAI", @@ -116112,12 +120951,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8490", + "$id": "8799", "kind": "property", "name": "type", "doc": "The type of the event. Always `image_generation.partial_image`.", "type": { - "$ref": "1923" + "$ref": "1991" }, "optional": false, "readOnly": false, @@ -116129,12 +120968,12 @@ "isHttpMetadata": false }, { - "$id": "8491", + "$id": "8800", "kind": "property", "name": "b64_json", "doc": "Base64-encoded partial image data, suitable for rendering as an image.", "type": { - "$id": "8492", + "$id": "8801", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -116151,17 +120990,17 @@ "isHttpMetadata": false }, { - "$id": "8493", + "$id": "8802", "kind": "property", "name": "created_at", "doc": "The Unix timestamp when the event was created.", "type": { - "$id": "8494", + "$id": "8803", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "8495", + "$id": "8804", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -116180,12 +121019,12 @@ "isHttpMetadata": false }, { - "$id": "8496", + "$id": "8805", "kind": "property", "name": "size", "doc": "The size of the requested image.", "type": { - "$ref": "1436" + "$ref": "1500" }, "optional": false, "readOnly": false, @@ -116197,12 +121036,12 @@ "isHttpMetadata": false }, { - "$id": "8497", + "$id": "8806", "kind": "property", "name": "quality", "doc": "The quality setting for the requested image.", "type": { - "$ref": "1442" + "$ref": "1506" }, "optional": false, "readOnly": false, @@ -116214,12 +121053,12 @@ "isHttpMetadata": false }, { - "$id": "8498", + "$id": "8807", "kind": "property", "name": "background", "doc": "The background setting for the requested image.", "type": { - "$ref": "1448" + "$ref": "1512" }, "optional": false, "readOnly": false, @@ -116231,12 +121070,12 @@ "isHttpMetadata": false }, { - "$id": "8499", + "$id": "8808", "kind": "property", "name": "output_format", "doc": "The output format for the requested image.", "type": { - "$ref": "1453" + "$ref": "1517" }, "optional": false, "readOnly": false, @@ -116248,12 +121087,12 @@ "isHttpMetadata": false }, { - "$id": "8500", + "$id": "8809", "kind": "property", "name": "partial_image_index", "doc": "0-based index for the partial image (streaming).", "type": { - "$id": "8501", + "$id": "8810", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -116271,7 +121110,7 @@ ] }, { - "$id": "8502", + "$id": "8811", "kind": "model", "name": "MessageDeltaContent", "namespace": "OpenAI", @@ -116282,12 +121121,12 @@ "decorators": [], "serializationOptions": {}, "discriminatorProperty": { - "$id": "8503", + "$id": "8812", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the content item.", "type": { - "$ref": "694" + "$ref": "758" }, "optional": false, "readOnly": false, @@ -116300,12 +121139,12 @@ }, "properties": [ { - "$ref": "8503" + "$ref": "8812" } ], "discriminatedSubtypes": { "image_file": { - "$id": "8504", + "$id": "8813", "kind": "model", "name": "MessageDeltaContentImageFileObject", "namespace": "OpenAI", @@ -116317,16 +121156,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8502" + "$ref": "8811" }, "properties": [ { - "$id": "8505", + "$id": "8814", "kind": "property", "name": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "8506", + "$id": "8815", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116342,12 +121181,12 @@ "isHttpMetadata": false }, { - "$id": "8507", + "$id": "8816", "kind": "property", "name": "type", "doc": "Always `image_file`.", "type": { - "$ref": "5797" + "$ref": "6106" }, "optional": false, "readOnly": false, @@ -116359,11 +121198,11 @@ "isHttpMetadata": false }, { - "$id": "8508", + "$id": "8817", "kind": "property", "name": "image_file", "type": { - "$id": "8509", + "$id": "8818", "kind": "model", "name": "MessageDeltaContentImageFileObjectImageFile", "namespace": "OpenAI", @@ -116373,12 +121212,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8510", + "$id": "8819", "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": "8511", + "$id": "8820", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116394,12 +121233,12 @@ "isHttpMetadata": false }, { - "$id": "8512", + "$id": "8821", "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": "1458" + "$ref": "1522" }, "optional": true, "readOnly": false, @@ -116424,7 +121263,7 @@ ] }, "image_url": { - "$id": "8513", + "$id": "8822", "kind": "model", "name": "MessageDeltaContentImageUrlObject", "namespace": "OpenAI", @@ -116436,16 +121275,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8502" + "$ref": "8811" }, "properties": [ { - "$id": "8514", + "$id": "8823", "kind": "property", "name": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "8515", + "$id": "8824", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116461,12 +121300,12 @@ "isHttpMetadata": false }, { - "$id": "8516", + "$id": "8825", "kind": "property", "name": "type", "doc": "Always `image_url`.", "type": { - "$ref": "5859" + "$ref": "6168" }, "optional": false, "readOnly": false, @@ -116478,11 +121317,11 @@ "isHttpMetadata": false }, { - "$id": "8517", + "$id": "8826", "kind": "property", "name": "image_url", "type": { - "$id": "8518", + "$id": "8827", "kind": "model", "name": "MessageDeltaContentImageUrlObjectImageUrl", "namespace": "OpenAI", @@ -116492,12 +121331,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8519", + "$id": "8828", "kind": "property", "name": "url", "doc": "The URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.", "type": { - "$id": "8520", + "$id": "8829", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -116513,12 +121352,12 @@ "isHttpMetadata": false }, { - "$id": "8521", + "$id": "8830", "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": "1463" + "$ref": "1527" }, "optional": true, "readOnly": false, @@ -116543,7 +121382,7 @@ ] }, "text": { - "$id": "8522", + "$id": "8831", "kind": "model", "name": "MessageDeltaContentTextObject", "namespace": "OpenAI", @@ -116555,16 +121394,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8502" + "$ref": "8811" }, "properties": [ { - "$id": "8523", + "$id": "8832", "kind": "property", "name": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "8524", + "$id": "8833", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116580,12 +121419,12 @@ "isHttpMetadata": false }, { - "$id": "8525", + "$id": "8834", "kind": "property", "name": "type", "doc": "Always `text`.", "type": { - "$ref": "5811" + "$ref": "6120" }, "optional": false, "readOnly": false, @@ -116597,11 +121436,11 @@ "isHttpMetadata": false }, { - "$id": "8526", + "$id": "8835", "kind": "property", "name": "text", "type": { - "$id": "8527", + "$id": "8836", "kind": "model", "name": "MessageDeltaContentTextObjectText", "namespace": "OpenAI", @@ -116611,12 +121450,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8528", + "$id": "8837", "kind": "property", "name": "value", "doc": "The data that makes up the text.", "type": { - "$id": "8529", + "$id": "8838", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116632,15 +121471,15 @@ "isHttpMetadata": false }, { - "$id": "8530", + "$id": "8839", "kind": "property", "name": "annotations", "type": { - "$id": "8531", + "$id": "8840", "kind": "array", "name": "ArrayMessageDeltaTextContentAnnotation", "valueType": { - "$id": "8532", + "$id": "8841", "kind": "model", "name": "MessageDeltaTextContentAnnotation", "namespace": "OpenAI", @@ -116650,12 +121489,12 @@ "decorators": [], "serializationOptions": {}, "discriminatorProperty": { - "$id": "8533", + "$id": "8842", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the content item.", "type": { - "$ref": "705" + "$ref": "769" }, "optional": false, "readOnly": false, @@ -116668,12 +121507,12 @@ }, "properties": [ { - "$ref": "8533" + "$ref": "8842" } ], "discriminatedSubtypes": { "file_citation": { - "$id": "8534", + "$id": "8843", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFileCitationObject", "namespace": "OpenAI", @@ -116685,16 +121524,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8532" + "$ref": "8841" }, "properties": [ { - "$id": "8535", + "$id": "8844", "kind": "property", "name": "index", "doc": "The index of the annotation in the text content part.", "type": { - "$id": "8536", + "$id": "8845", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116710,12 +121549,12 @@ "isHttpMetadata": false }, { - "$id": "8537", + "$id": "8846", "kind": "property", "name": "type", "doc": "Always `file_citation`.", "type": { - "$ref": "5824" + "$ref": "6133" }, "optional": false, "readOnly": false, @@ -116727,12 +121566,12 @@ "isHttpMetadata": false }, { - "$id": "8538", + "$id": "8847", "kind": "property", "name": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "8539", + "$id": "8848", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116748,11 +121587,11 @@ "isHttpMetadata": false }, { - "$id": "8540", + "$id": "8849", "kind": "property", "name": "file_citation", "type": { - "$id": "8541", + "$id": "8850", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation", "namespace": "OpenAI", @@ -116762,12 +121601,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8542", + "$id": "8851", "kind": "property", "name": "file_id", "doc": "The ID of the specific File the citation is from.", "type": { - "$id": "8543", + "$id": "8852", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116783,12 +121622,12 @@ "isHttpMetadata": false }, { - "$id": "8544", + "$id": "8853", "kind": "property", "name": "quote", "doc": "The specific quote in the file.", "type": { - "$id": "8545", + "$id": "8854", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116815,11 +121654,11 @@ "isHttpMetadata": false }, { - "$id": "8546", + "$id": "8855", "kind": "property", "name": "start_index", "type": { - "$id": "8547", + "$id": "8856", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116835,11 +121674,11 @@ "isHttpMetadata": false }, { - "$id": "8548", + "$id": "8857", "kind": "property", "name": "end_index", "type": { - "$id": "8549", + "$id": "8858", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116857,7 +121696,7 @@ ] }, "file_path": { - "$id": "8550", + "$id": "8859", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFilePathObject", "namespace": "OpenAI", @@ -116869,16 +121708,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8532" + "$ref": "8841" }, "properties": [ { - "$id": "8551", + "$id": "8860", "kind": "property", "name": "index", "doc": "The index of the annotation in the text content part.", "type": { - "$id": "8552", + "$id": "8861", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116894,12 +121733,12 @@ "isHttpMetadata": false }, { - "$id": "8553", + "$id": "8862", "kind": "property", "name": "type", "doc": "Always `file_path`.", "type": { - "$ref": "5841" + "$ref": "6150" }, "optional": false, "readOnly": false, @@ -116911,12 +121750,12 @@ "isHttpMetadata": false }, { - "$id": "8554", + "$id": "8863", "kind": "property", "name": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "8555", + "$id": "8864", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116932,11 +121771,11 @@ "isHttpMetadata": false }, { - "$id": "8556", + "$id": "8865", "kind": "property", "name": "file_path", "type": { - "$id": "8557", + "$id": "8866", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFilePathObjectFilePath", "namespace": "OpenAI", @@ -116946,12 +121785,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8558", + "$id": "8867", "kind": "property", "name": "file_id", "doc": "The ID of the file that was generated.", "type": { - "$id": "8559", + "$id": "8868", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116978,11 +121817,11 @@ "isHttpMetadata": false }, { - "$id": "8560", + "$id": "8869", "kind": "property", "name": "start_index", "type": { - "$id": "8561", + "$id": "8870", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116998,11 +121837,11 @@ "isHttpMetadata": false }, { - "$id": "8562", + "$id": "8871", "kind": "property", "name": "end_index", "type": { - "$id": "8563", + "$id": "8872", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117047,7 +121886,7 @@ ] }, "refusal": { - "$id": "8564", + "$id": "8873", "kind": "model", "name": "MessageDeltaContentRefusalObject", "namespace": "OpenAI", @@ -117058,16 +121897,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8502" + "$ref": "8811" }, "properties": [ { - "$id": "8565", + "$id": "8874", "kind": "property", "name": "index", "doc": "The index of the refusal part in the message.", "type": { - "$id": "8566", + "$id": "8875", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117083,12 +121922,12 @@ "isHttpMetadata": false }, { - "$id": "8567", + "$id": "8876", "kind": "property", "name": "type", "doc": "Always `refusal`.", "type": { - "$ref": "5854" + "$ref": "6163" }, "optional": false, "readOnly": false, @@ -117100,11 +121939,11 @@ "isHttpMetadata": false }, { - "$id": "8568", + "$id": "8877", "kind": "property", "name": "refusal", "type": { - "$id": "8569", + "$id": "8878", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117124,43 +121963,43 @@ } }, { - "$ref": "8504" + "$ref": "8813" }, { - "$ref": "8509" + "$ref": "8818" }, { - "$ref": "8513" + "$ref": "8822" }, { - "$ref": "8518" + "$ref": "8827" }, { - "$ref": "8522" + "$ref": "8831" }, { - "$ref": "8527" + "$ref": "8836" }, { - "$ref": "8532" + "$ref": "8841" }, { - "$ref": "8534" + "$ref": "8843" }, { - "$ref": "8541" + "$ref": "8850" }, { - "$ref": "8550" + "$ref": "8859" }, { - "$ref": "8557" + "$ref": "8866" }, { - "$ref": "8564" + "$ref": "8873" }, { - "$id": "8570", + "$id": "8879", "kind": "model", "name": "MessageDeltaObject", "namespace": "OpenAI", @@ -117172,12 +122011,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8571", + "$id": "8880", "kind": "property", "name": "id", "doc": "The identifier of the message, which can be referenced in API endpoints.", "type": { - "$id": "8572", + "$id": "8881", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117193,12 +122032,12 @@ "isHttpMetadata": false }, { - "$id": "8573", + "$id": "8882", "kind": "property", "name": "object", "doc": "The object type, which is always `thread.message.delta`.", "type": { - "$ref": "1925" + "$ref": "1993" }, "optional": false, "readOnly": false, @@ -117210,12 +122049,12 @@ "isHttpMetadata": false }, { - "$id": "8574", + "$id": "8883", "kind": "property", "name": "delta", "doc": "The delta containing the fields that have changed on the Message.", "type": { - "$id": "8575", + "$id": "8884", "kind": "model", "name": "MessageDeltaObjectDelta", "namespace": "OpenAI", @@ -117225,12 +122064,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8576", + "$id": "8885", "kind": "property", "name": "role", "doc": "The entity that produced the message. One of `user` or `assistant`.", "type": { - "$ref": "1468" + "$ref": "1532" }, "optional": true, "readOnly": false, @@ -117242,16 +122081,16 @@ "isHttpMetadata": false }, { - "$id": "8577", + "$id": "8886", "kind": "property", "name": "content", "doc": "The content of the message in array of text and/or images.", "type": { - "$id": "8578", + "$id": "8887", "kind": "array", "name": "ArrayMessageDeltaContent", "valueType": { - "$ref": "8502" + "$ref": "8811" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -117279,10 +122118,10 @@ ] }, { - "$ref": "8575" + "$ref": "8884" }, { - "$id": "8579", + "$id": "8888", "kind": "model", "name": "RunStepDeltaObject", "namespace": "OpenAI", @@ -117294,12 +122133,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8580", + "$id": "8889", "kind": "property", "name": "id", "doc": "The identifier of the run step, which can be referenced in API endpoints.", "type": { - "$id": "8581", + "$id": "8890", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117315,12 +122154,12 @@ "isHttpMetadata": false }, { - "$id": "8582", + "$id": "8891", "kind": "property", "name": "object", "doc": "The object type, which is always `thread.run.step.delta`.", "type": { - "$ref": "1927" + "$ref": "1995" }, "optional": false, "readOnly": false, @@ -117332,12 +122171,12 @@ "isHttpMetadata": false }, { - "$id": "8583", + "$id": "8892", "kind": "property", "name": "delta", "doc": "The delta containing the fields that have changed on the run step.", "type": { - "$id": "8584", + "$id": "8893", "kind": "model", "name": "RunStepDeltaObjectDelta", "namespace": "OpenAI", @@ -117347,12 +122186,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8585", + "$id": "8894", "kind": "property", "name": "step_details", "doc": "The details of the run step.", "type": { - "$id": "8586", + "$id": "8895", "kind": "model", "name": "RunStepDeltaStepDetails", "namespace": "OpenAI", @@ -117361,12 +122200,12 @@ "decorators": [], "serializationOptions": {}, "discriminatorProperty": { - "$id": "8587", + "$id": "8896", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "809" + "$ref": "873" }, "optional": false, "readOnly": false, @@ -117379,12 +122218,12 @@ }, "properties": [ { - "$ref": "8587" + "$ref": "8896" } ], "discriminatedSubtypes": { "message_creation": { - "$id": "8588", + "$id": "8897", "kind": "model", "name": "RunStepDeltaStepDetailsMessageCreationObject", "namespace": "OpenAI", @@ -117396,16 +122235,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8586" + "$ref": "8895" }, "properties": [ { - "$id": "8589", + "$id": "8898", "kind": "property", "name": "type", "doc": "Always `message_creation`.", "type": { - "$ref": "6186" + "$ref": "6495" }, "optional": false, "readOnly": false, @@ -117417,11 +122256,11 @@ "isHttpMetadata": false }, { - "$id": "8590", + "$id": "8899", "kind": "property", "name": "message_creation", "type": { - "$id": "8591", + "$id": "8900", "kind": "model", "name": "RunStepDeltaStepDetailsMessageCreationObjectMessageCreation", "namespace": "OpenAI", @@ -117431,12 +122270,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8592", + "$id": "8901", "kind": "property", "name": "message_id", "doc": "The ID of the message that was created by this run step.", "type": { - "$id": "8593", + "$id": "8902", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117465,7 +122304,7 @@ ] }, "tool_calls": { - "$id": "8594", + "$id": "8903", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsObject", "namespace": "OpenAI", @@ -117477,16 +122316,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8586" + "$ref": "8895" }, "properties": [ { - "$id": "8595", + "$id": "8904", "kind": "property", "name": "type", "doc": "Always `tool_calls`.", "type": { - "$ref": "6197" + "$ref": "6506" }, "optional": false, "readOnly": false, @@ -117498,16 +122337,16 @@ "isHttpMetadata": false }, { - "$id": "8596", + "$id": "8905", "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": "8597", + "$id": "8906", "kind": "array", "name": "ArrayRunStepDeltaStepDetailsToolCallsObjectToolCallsObject", "valueType": { - "$id": "8598", + "$id": "8907", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsObjectToolCallsObject", "namespace": "OpenAI", @@ -117517,12 +122356,12 @@ "decorators": [], "serializationOptions": {}, "discriminatorProperty": { - "$id": "8599", + "$id": "8908", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "813" + "$ref": "877" }, "optional": false, "readOnly": false, @@ -117535,12 +122374,12 @@ }, "properties": [ { - "$ref": "8599" + "$ref": "8908" } ], "discriminatedSubtypes": { "code_interpreter": { - "$id": "8600", + "$id": "8909", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObject", "namespace": "OpenAI", @@ -117552,16 +122391,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8598" + "$ref": "8907" }, "properties": [ { - "$id": "8601", + "$id": "8910", "kind": "property", "name": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "8602", + "$id": "8911", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117577,12 +122416,12 @@ "isHttpMetadata": false }, { - "$id": "8603", + "$id": "8912", "kind": "property", "name": "id", "doc": "The ID of the tool call.", "type": { - "$id": "8604", + "$id": "8913", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117598,12 +122437,12 @@ "isHttpMetadata": false }, { - "$id": "8605", + "$id": "8914", "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": "6206" + "$ref": "6515" }, "optional": false, "readOnly": false, @@ -117615,12 +122454,12 @@ "isHttpMetadata": false }, { - "$id": "8606", + "$id": "8915", "kind": "property", "name": "code_interpreter", "doc": "The Code Interpreter tool call definition.", "type": { - "$id": "8607", + "$id": "8916", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter", "namespace": "OpenAI", @@ -117630,12 +122469,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8608", + "$id": "8917", "kind": "property", "name": "input", "doc": "The input to the Code Interpreter tool call.", "type": { - "$id": "8609", + "$id": "8918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117651,16 +122490,16 @@ "isHttpMetadata": false }, { - "$id": "8610", + "$id": "8919", "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": "8611", + "$id": "8920", "kind": "array", "name": "ArrayRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "valueType": { - "$id": "8612", + "$id": "8921", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "namespace": "OpenAI", @@ -117670,12 +122509,12 @@ "decorators": [], "serializationOptions": {}, "discriminatorProperty": { - "$id": "8613", + "$id": "8922", "kind": "property", "name": "type", "doc": "The discriminated type identifier for the details object.", "type": { - "$ref": "818" + "$ref": "882" }, "optional": false, "readOnly": false, @@ -117688,12 +122527,12 @@ }, "properties": [ { - "$ref": "8613" + "$ref": "8922" } ], "discriminatedSubtypes": { "logs": { - "$id": "8614", + "$id": "8923", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject", "namespace": "OpenAI", @@ -117705,16 +122544,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8612" + "$ref": "8921" }, "properties": [ { - "$id": "8615", + "$id": "8924", "kind": "property", "name": "index", "doc": "The index of the output in the outputs array.", "type": { - "$id": "8616", + "$id": "8925", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117730,12 +122569,12 @@ "isHttpMetadata": false }, { - "$id": "8617", + "$id": "8926", "kind": "property", "name": "type", "doc": "Always `logs`.", "type": { - "$ref": "6222" + "$ref": "6531" }, "optional": false, "readOnly": false, @@ -117747,12 +122586,12 @@ "isHttpMetadata": false }, { - "$id": "8618", + "$id": "8927", "kind": "property", "name": "logs", "doc": "The text output from the Code Interpreter tool call.", "type": { - "$id": "8619", + "$id": "8928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117770,7 +122609,7 @@ ] }, "image": { - "$id": "8620", + "$id": "8929", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputImageObject", "namespace": "OpenAI", @@ -117781,16 +122620,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8612" + "$ref": "8921" }, "properties": [ { - "$id": "8621", + "$id": "8930", "kind": "property", "name": "index", "doc": "The index of the output in the outputs array.", "type": { - "$id": "8622", + "$id": "8931", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117806,12 +122645,12 @@ "isHttpMetadata": false }, { - "$id": "8623", + "$id": "8932", "kind": "property", "name": "type", "doc": "Always `image`.", "type": { - "$ref": "6231" + "$ref": "6540" }, "optional": false, "readOnly": false, @@ -117823,11 +122662,11 @@ "isHttpMetadata": false }, { - "$id": "8624", + "$id": "8933", "kind": "property", "name": "image", "type": { - "$id": "8625", + "$id": "8934", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage", "namespace": "OpenAI", @@ -117837,12 +122676,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8626", + "$id": "8935", "kind": "property", "name": "file_id", "doc": "The [file](/docs/api-reference/files) ID of the image.", "type": { - "$id": "8627", + "$id": "8936", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117898,7 +122737,7 @@ ] }, "file_search": { - "$id": "8628", + "$id": "8937", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFileSearchObject", "namespace": "OpenAI", @@ -117909,16 +122748,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8598" + "$ref": "8907" }, "properties": [ { - "$id": "8629", + "$id": "8938", "kind": "property", "name": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "8630", + "$id": "8939", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117934,12 +122773,12 @@ "isHttpMetadata": false }, { - "$id": "8631", + "$id": "8940", "kind": "property", "name": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "8632", + "$id": "8941", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117955,12 +122794,12 @@ "isHttpMetadata": false }, { - "$id": "8633", + "$id": "8942", "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": "6238" + "$ref": "6547" }, "optional": false, "readOnly": false, @@ -117972,12 +122811,12 @@ "isHttpMetadata": false }, { - "$id": "8634", + "$id": "8943", "kind": "property", "name": "file_search", "doc": "For now, this is always going to be an empty object.", "type": { - "$id": "8635", + "$id": "8944", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch", "namespace": "OpenAI", @@ -117987,11 +122826,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8636", + "$id": "8945", "kind": "property", "name": "ranking_options", "type": { - "$ref": "6242" + "$ref": "6551" }, "optional": true, "readOnly": false, @@ -118003,12 +122842,12 @@ "isHttpMetadata": false }, { - "$id": "8637", + "$id": "8946", "kind": "property", "name": "results", "doc": "The results of the file search.", "type": { - "$ref": "6247" + "$ref": "6556" }, "optional": true, "readOnly": true, @@ -118033,7 +122872,7 @@ ] }, "function": { - "$id": "8638", + "$id": "8947", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFunctionObject", "namespace": "OpenAI", @@ -118044,16 +122883,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8598" + "$ref": "8907" }, "properties": [ { - "$id": "8639", + "$id": "8948", "kind": "property", "name": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "8640", + "$id": "8949", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118069,12 +122908,12 @@ "isHttpMetadata": false }, { - "$id": "8641", + "$id": "8950", "kind": "property", "name": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "8642", + "$id": "8951", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118090,12 +122929,12 @@ "isHttpMetadata": false }, { - "$id": "8643", + "$id": "8952", "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": "6267" + "$ref": "6576" }, "optional": false, "readOnly": false, @@ -118107,12 +122946,12 @@ "isHttpMetadata": false }, { - "$id": "8644", + "$id": "8953", "kind": "property", "name": "function", "doc": "The definition of the function that was called.", "type": { - "$id": "8645", + "$id": "8954", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFunctionObjectFunction", "namespace": "OpenAI", @@ -118122,12 +122961,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8646", + "$id": "8955", "kind": "property", "name": "name", "doc": "The name of the function.", "type": { - "$id": "8647", + "$id": "8956", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118143,12 +122982,12 @@ "isHttpMetadata": false }, { - "$id": "8648", + "$id": "8957", "kind": "property", "name": "arguments", "doc": "The arguments passed to the function.", "type": { - "$id": "8649", + "$id": "8958", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118164,15 +123003,15 @@ "isHttpMetadata": false }, { - "$id": "8650", + "$id": "8959", "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": "8651", + "$id": "8960", "kind": "nullable", "type": { - "$id": "8652", + "$id": "8961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118243,55 +123082,55 @@ ] }, { - "$ref": "8584" + "$ref": "8893" }, { - "$ref": "8586" + "$ref": "8895" }, { - "$ref": "8588" + "$ref": "8897" }, { - "$ref": "8591" + "$ref": "8900" }, { - "$ref": "8594" + "$ref": "8903" }, { - "$ref": "8598" + "$ref": "8907" }, { - "$ref": "8600" + "$ref": "8909" }, { - "$ref": "8607" + "$ref": "8916" }, { - "$ref": "8612" + "$ref": "8921" }, { - "$ref": "8614" + "$ref": "8923" }, { - "$ref": "8620" + "$ref": "8929" }, { - "$ref": "8625" + "$ref": "8934" }, { - "$ref": "8628" + "$ref": "8937" }, { - "$ref": "8635" + "$ref": "8944" }, { - "$ref": "8638" + "$ref": "8947" }, { - "$ref": "8645" + "$ref": "8954" }, { - "$id": "8653", + "$id": "8962", "kind": "model", "name": "CreateThreadRequestToolResourcesFileSearchBase", "namespace": "OpenAI", @@ -118303,7 +123142,7 @@ "properties": [] }, { - "$id": "8654", + "$id": "8963", "kind": "model", "name": "AssistantCollectionOptions", "namespace": "OpenAI", @@ -118314,12 +123153,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8655", + "$id": "8964", "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": "8656", + "$id": "8965", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118335,12 +123174,12 @@ "isHttpMetadata": true }, { - "$id": "8657", + "$id": "8966", "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": "8658", + "$id": "8967", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118356,12 +123195,12 @@ "isHttpMetadata": true }, { - "$id": "8659", + "$id": "8968", "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": "8660", + "$id": "8969", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118377,12 +123216,12 @@ "isHttpMetadata": true }, { - "$id": "8661", + "$id": "8970", "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": "1472" + "$ref": "1536" }, "optional": true, "readOnly": false, @@ -118396,7 +123235,7 @@ ] }, { - "$id": "8662", + "$id": "8971", "kind": "model", "name": "MessageCollectionOptions", "namespace": "OpenAI", @@ -118407,12 +123246,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8663", + "$id": "8972", "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": "8664", + "$id": "8973", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118428,12 +123267,12 @@ "isHttpMetadata": true }, { - "$id": "8665", + "$id": "8974", "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": "8666", + "$id": "8975", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118449,12 +123288,12 @@ "isHttpMetadata": true }, { - "$id": "8667", + "$id": "8976", "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": "8668", + "$id": "8977", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118470,12 +123309,12 @@ "isHttpMetadata": true }, { - "$id": "8669", + "$id": "8978", "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": "1476" + "$ref": "1540" }, "optional": true, "readOnly": false, @@ -118489,7 +123328,7 @@ ] }, { - "$id": "8670", + "$id": "8979", "kind": "model", "name": "RunCollectionOptions", "namespace": "OpenAI", @@ -118500,12 +123339,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8671", + "$id": "8980", "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": "8672", + "$id": "8981", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118521,12 +123360,12 @@ "isHttpMetadata": true }, { - "$id": "8673", + "$id": "8982", "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": "8674", + "$id": "8983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118542,12 +123381,12 @@ "isHttpMetadata": true }, { - "$id": "8675", + "$id": "8984", "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": "8676", + "$id": "8985", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118563,12 +123402,12 @@ "isHttpMetadata": true }, { - "$id": "8677", + "$id": "8986", "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": "1480" + "$ref": "1544" }, "optional": true, "readOnly": false, @@ -118582,7 +123421,7 @@ ] }, { - "$id": "8678", + "$id": "8987", "kind": "model", "name": "RunStepCollectionOptions", "namespace": "OpenAI", @@ -118593,12 +123432,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8679", + "$id": "8988", "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": "8680", + "$id": "8989", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118614,12 +123453,12 @@ "isHttpMetadata": true }, { - "$id": "8681", + "$id": "8990", "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": "8682", + "$id": "8991", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118635,12 +123474,12 @@ "isHttpMetadata": true }, { - "$id": "8683", + "$id": "8992", "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": "8684", + "$id": "8993", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118656,12 +123495,12 @@ "isHttpMetadata": true }, { - "$id": "8685", + "$id": "8994", "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": "1484" + "$ref": "1548" }, "optional": true, "readOnly": false, @@ -118675,7 +123514,7 @@ ] }, { - "$id": "8686", + "$id": "8995", "kind": "model", "name": "DotNetChatResponseFormat", "namespace": "OpenAI", @@ -118690,7 +123529,7 @@ ], "serializationOptions": {}, "discriminatorProperty": { - "$id": "8687", + "$id": "8996", "kind": "property", "name": "type", "type": { @@ -118707,12 +123546,12 @@ }, "properties": [ { - "$ref": "8687" + "$ref": "8996" } ], "discriminatedSubtypes": { "text": { - "$id": "8688", + "$id": "8997", "kind": "model", "name": "DotNetChatResponseFormatText", "namespace": "OpenAI", @@ -118728,16 +123567,16 @@ ], "serializationOptions": {}, "baseModel": { - "$ref": "8686" + "$ref": "8995" }, "properties": [ { - "$id": "8689", + "$id": "8998", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `text`.", "type": { - "$ref": "2619" + "$ref": "2687" }, "optional": false, "readOnly": false, @@ -118751,7 +123590,7 @@ ] }, "json_object": { - "$id": "8690", + "$id": "8999", "kind": "model", "name": "DotNetChatResponseFormatJsonObject", "namespace": "OpenAI", @@ -118767,16 +123606,16 @@ ], "serializationOptions": {}, "baseModel": { - "$ref": "8686" + "$ref": "8995" }, "properties": [ { - "$id": "8691", + "$id": "9000", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `json_object`.", "type": { - "$ref": "2597" + "$ref": "2665" }, "optional": false, "readOnly": false, @@ -118790,7 +123629,7 @@ ] }, "json_schema": { - "$id": "8692", + "$id": "9001", "kind": "model", "name": "DotNetChatResponseFormatJsonSchema", "namespace": "OpenAI", @@ -118806,15 +123645,15 @@ ], "serializationOptions": {}, "baseModel": { - "$ref": "8686" + "$ref": "8995" }, "properties": [ { - "$id": "8693", + "$id": "9002", "kind": "property", "name": "type", "type": { - "$ref": "2605" + "$ref": "2673" }, "optional": false, "readOnly": false, @@ -118826,11 +123665,11 @@ "isHttpMetadata": false }, { - "$id": "8694", + "$id": "9003", "kind": "property", "name": "json_schema", "type": { - "$id": "8695", + "$id": "9004", "kind": "model", "name": "DotNetChatResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -118840,11 +123679,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8696", + "$id": "9005", "kind": "property", "name": "description", "type": { - "$id": "8697", + "$id": "9006", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118860,11 +123699,11 @@ "isHttpMetadata": false }, { - "$id": "8698", + "$id": "9007", "kind": "property", "name": "name", "type": { - "$id": "8699", + "$id": "9008", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118880,11 +123719,11 @@ "isHttpMetadata": false }, { - "$id": "8700", + "$id": "9009", "kind": "property", "name": "schema", "type": { - "$id": "8701", + "$id": "9010", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -118900,14 +123739,14 @@ "isHttpMetadata": false }, { - "$id": "8702", + "$id": "9011", "kind": "property", "name": "strict", "type": { - "$id": "8703", + "$id": "9012", "kind": "nullable", "type": { - "$id": "8704", + "$id": "9013", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -118940,19 +123779,19 @@ } }, { - "$ref": "8688" + "$ref": "8997" }, { - "$ref": "8690" + "$ref": "8999" }, { - "$ref": "8692" + "$ref": "9001" }, { - "$ref": "8695" + "$ref": "9004" }, { - "$id": "8705", + "$id": "9014", "kind": "model", "name": "DotNetAssistantResponseFormat", "namespace": "OpenAI", @@ -118962,7 +123801,7 @@ "decorators": [], "serializationOptions": {}, "discriminatorProperty": { - "$id": "8706", + "$id": "9015", "kind": "property", "name": "type", "type": { @@ -118979,12 +123818,12 @@ }, "properties": [ { - "$ref": "8706" + "$ref": "9015" } ], "discriminatedSubtypes": { "text": { - "$id": "8707", + "$id": "9016", "kind": "model", "name": "DotNetAssistantResponseFormatText", "namespace": "OpenAI", @@ -118995,16 +123834,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8705" + "$ref": "9014" }, "properties": [ { - "$id": "8708", + "$id": "9017", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `text`.", "type": { - "$ref": "2619" + "$ref": "2687" }, "optional": false, "readOnly": false, @@ -119018,7 +123857,7 @@ ] }, "json_object": { - "$id": "8709", + "$id": "9018", "kind": "model", "name": "DotNetAssistantResponseFormatJsonObject", "namespace": "OpenAI", @@ -119029,16 +123868,16 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8705" + "$ref": "9014" }, "properties": [ { - "$id": "8710", + "$id": "9019", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `json_object`.", "type": { - "$ref": "2597" + "$ref": "2665" }, "optional": false, "readOnly": false, @@ -119052,7 +123891,7 @@ ] }, "json_schema": { - "$id": "8711", + "$id": "9020", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchema", "namespace": "OpenAI", @@ -119063,15 +123902,15 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8705" + "$ref": "9014" }, "properties": [ { - "$id": "8712", + "$id": "9021", "kind": "property", "name": "type", "type": { - "$ref": "2605" + "$ref": "2673" }, "optional": false, "readOnly": false, @@ -119083,11 +123922,11 @@ "isHttpMetadata": false }, { - "$id": "8713", + "$id": "9022", "kind": "property", "name": "json_schema", "type": { - "$id": "8714", + "$id": "9023", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -119097,11 +123936,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8715", + "$id": "9024", "kind": "property", "name": "description", "type": { - "$id": "8716", + "$id": "9025", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119117,11 +123956,11 @@ "isHttpMetadata": false }, { - "$id": "8717", + "$id": "9026", "kind": "property", "name": "name", "type": { - "$id": "8718", + "$id": "9027", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119137,11 +123976,11 @@ "isHttpMetadata": false }, { - "$id": "8719", + "$id": "9028", "kind": "property", "name": "schema", "type": { - "$id": "8720", + "$id": "9029", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -119157,14 +123996,14 @@ "isHttpMetadata": false }, { - "$id": "8721", + "$id": "9030", "kind": "property", "name": "strict", "type": { - "$id": "8722", + "$id": "9031", "kind": "nullable", "type": { - "$id": "8723", + "$id": "9032", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -119197,19 +124036,19 @@ } }, { - "$ref": "8707" + "$ref": "9016" }, { - "$ref": "8709" + "$ref": "9018" }, { - "$ref": "8711" + "$ref": "9020" }, { - "$ref": "8714" + "$ref": "9023" }, { - "$id": "8724", + "$id": "9033", "kind": "model", "name": "DotNetAudioLogProbsProperties", "namespace": "OpenAI", @@ -119220,12 +124059,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8725", + "$id": "9034", "kind": "property", "name": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "8726", + "$id": "9035", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119241,12 +124080,12 @@ "isHttpMetadata": false }, { - "$id": "8727", + "$id": "9036", "kind": "property", "name": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "8728", + "$id": "9037", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -119262,12 +124101,12 @@ "isHttpMetadata": false }, { - "$id": "8729", + "$id": "9038", "kind": "property", "name": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { - "$ref": "2906" + "$ref": "2974" }, "optional": false, "readOnly": false, @@ -119281,7 +124120,7 @@ ] }, { - "$id": "8730", + "$id": "9039", "kind": "model", "name": "DotNetRealtimeLogProbsProperties", "namespace": "OpenAI", @@ -119292,12 +124131,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8731", + "$id": "9040", "kind": "property", "name": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "8732", + "$id": "9041", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119313,12 +124152,12 @@ "isHttpMetadata": false }, { - "$id": "8733", + "$id": "9042", "kind": "property", "name": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "8734", + "$id": "9043", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -119334,12 +124173,12 @@ "isHttpMetadata": false }, { - "$id": "8735", + "$id": "9044", "kind": "property", "name": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { - "$ref": "2906" + "$ref": "2974" }, "optional": false, "readOnly": false, @@ -119353,7 +124192,7 @@ ] }, { - "$id": "8736", + "$id": "9045", "kind": "model", "name": "DotNetCombinedJsonTranscriptionResponse", "namespace": "OpenAI", @@ -119364,12 +124203,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8737", + "$id": "9046", "kind": "property", "name": "language", "doc": "The language of the input audio.", "type": { - "$id": "8738", + "$id": "9047", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119385,17 +124224,17 @@ "isHttpMetadata": false }, { - "$id": "8739", + "$id": "9048", "kind": "property", "name": "duration", "doc": "The duration of the input audio.", "type": { - "$id": "8740", + "$id": "9049", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8741", + "$id": "9050", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -119414,12 +124253,12 @@ "isHttpMetadata": false }, { - "$id": "8742", + "$id": "9051", "kind": "property", "name": "text", "doc": "The transcribed text.", "type": { - "$id": "8743", + "$id": "9052", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119435,12 +124274,12 @@ "isHttpMetadata": false }, { - "$id": "8744", + "$id": "9053", "kind": "property", "name": "words", "doc": "Extracted words and their corresponding timestamps.", "type": { - "$ref": "8003" + "$ref": "8312" }, "optional": true, "readOnly": true, @@ -119452,12 +124291,12 @@ "isHttpMetadata": false }, { - "$id": "8745", + "$id": "9054", "kind": "property", "name": "segments", "doc": "Segments of the transcribed text and their corresponding details.", "type": { - "$ref": "8014" + "$ref": "8323" }, "optional": true, "readOnly": true, @@ -119469,11 +124308,11 @@ "isHttpMetadata": false }, { - "$id": "8746", + "$id": "9055", "kind": "property", "name": "usage", "type": { - "$ref": "7964" + "$ref": "8273" }, "optional": true, "readOnly": false, @@ -119485,11 +124324,11 @@ "isHttpMetadata": false }, { - "$id": "8747", + "$id": "9056", "kind": "property", "name": "logprobs", "type": { - "$ref": "7348" + "$ref": "7657" }, "optional": true, "readOnly": false, @@ -119503,7 +124342,7 @@ ] }, { - "$id": "8748", + "$id": "9057", "kind": "model", "name": "DotNetCreateTranscriptionStreamingResponse", "namespace": "OpenAI", @@ -119516,12 +124355,12 @@ } }, "discriminatorProperty": { - "$id": "8749", + "$id": "9058", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1488" + "$ref": "1552" }, "optional": false, "readOnly": false, @@ -119538,12 +124377,12 @@ }, "properties": [ { - "$ref": "8749" + "$ref": "9058" } ], "discriminatedSubtypes": { "transcript.text.segment": { - "$id": "8750", + "$id": "9059", "kind": "model", "name": "DotNetTranscriptTextSegmentEvent", "namespace": "OpenAI", @@ -119557,32 +124396,32 @@ } }, "baseModel": { - "$ref": "8748" + "$ref": "9057" }, "properties": [ { - "$id": "8751", + "$id": "9060", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `transcript.text.segment`.", "type": { - "$id": "8752", + "$id": "9061", "kind": "enumvalue", "name": "transcript.text.segment", "value": "transcript.text.segment", "valueType": { - "$ref": "1489" + "$ref": "1553" }, "enumType": { - "$id": "8753", + "$id": "9062", "kind": "enum", "decorators": [], "name": "DotNetCreateTranscriptionStreamingResponseType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "8754", + "$id": "9063", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -119591,42 +124430,42 @@ }, "values": [ { - "$id": "8755", + "$id": "9064", "kind": "enumvalue", "decorators": [], "name": "transcript.text.segment", "value": "transcript.text.segment", "valueType": { - "$ref": "8754" + "$ref": "9063" }, "enumType": { - "$ref": "8753" + "$ref": "9062" } }, { - "$id": "8756", + "$id": "9065", "kind": "enumvalue", "decorators": [], "name": "transcript.text.delta", "value": "transcript.text.delta", "valueType": { - "$ref": "8754" + "$ref": "9063" }, "enumType": { - "$ref": "8753" + "$ref": "9062" } }, { - "$id": "8757", + "$id": "9066", "kind": "enumvalue", "decorators": [], "name": "transcript.text.done", "value": "transcript.text.done", "valueType": { - "$ref": "8754" + "$ref": "9063" }, "enumType": { - "$ref": "8753" + "$ref": "9062" } } ], @@ -119655,13 +124494,13 @@ "isHttpMetadata": false }, { - "$id": "8758", + "$id": "9067", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the segment.", "type": { - "$id": "8759", + "$id": "9068", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119681,18 +124520,18 @@ "isHttpMetadata": false }, { - "$id": "8760", + "$id": "9069", "kind": "property", "name": "start", "serializedName": "start", "doc": "Start timestamp of the segment in seconds.", "type": { - "$id": "8761", + "$id": "9070", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8762", + "$id": "9071", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -119715,18 +124554,18 @@ "isHttpMetadata": false }, { - "$id": "8763", + "$id": "9072", "kind": "property", "name": "end", "serializedName": "end", "doc": "End timestamp of the segment in seconds.", "type": { - "$id": "8764", + "$id": "9073", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "8765", + "$id": "9074", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", @@ -119749,13 +124588,13 @@ "isHttpMetadata": false }, { - "$id": "8766", + "$id": "9075", "kind": "property", "name": "text", "serializedName": "text", "doc": "Transcript text for this segment.", "type": { - "$id": "8767", + "$id": "9076", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119775,13 +124614,13 @@ "isHttpMetadata": false }, { - "$id": "8768", + "$id": "9077", "kind": "property", "name": "speaker", "serializedName": "speaker", "doc": "Speaker label for this segment.", "type": { - "$id": "8769", + "$id": "9078", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119803,7 +124642,7 @@ ] }, "transcript.text.delta": { - "$id": "8770", + "$id": "9079", "kind": "model", "name": "DotNetTranscriptTextDeltaEvent", "namespace": "OpenAI", @@ -119817,25 +124656,25 @@ } }, "baseModel": { - "$ref": "8748" + "$ref": "9057" }, "properties": [ { - "$id": "8771", + "$id": "9080", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `transcript.text.delta`.", "type": { - "$id": "8772", + "$id": "9081", "kind": "enumvalue", "name": "transcript.text.delta", "value": "transcript.text.delta", "valueType": { - "$ref": "1489" + "$ref": "1553" }, "enumType": { - "$ref": "8753" + "$ref": "9062" }, "decorators": [] }, @@ -119853,13 +124692,13 @@ "isHttpMetadata": false }, { - "$id": "8773", + "$id": "9082", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta that was additionally transcribed.", "type": { - "$id": "8774", + "$id": "9083", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119879,17 +124718,17 @@ "isHttpMetadata": false }, { - "$id": "8775", + "$id": "9084", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "The log probabilities of the delta. Only included if you [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`.", "type": { - "$id": "8776", + "$id": "9085", "kind": "array", "name": "ArrayTranscriptTextDeltaEventLogprobs", "valueType": { - "$ref": "8374" + "$ref": "8683" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -119908,13 +124747,13 @@ "isHttpMetadata": false }, { - "$id": "8777", + "$id": "9086", "kind": "property", "name": "segment_id", "serializedName": "segment_id", "doc": "Identifier of the diarized segment that this delta belongs to. Only present when using `gpt-4o-transcribe-diarize`.", "type": { - "$id": "8778", + "$id": "9087", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119936,7 +124775,7 @@ ] }, "transcript.text.done": { - "$id": "8779", + "$id": "9088", "kind": "model", "name": "DotNetTranscriptTextDoneEvent", "namespace": "OpenAI", @@ -119950,25 +124789,25 @@ } }, "baseModel": { - "$ref": "8748" + "$ref": "9057" }, "properties": [ { - "$id": "8780", + "$id": "9089", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `transcript.text.done`.", "type": { - "$id": "8781", + "$id": "9090", "kind": "enumvalue", "name": "transcript.text.done", "value": "transcript.text.done", "valueType": { - "$ref": "1489" + "$ref": "1553" }, "enumType": { - "$ref": "8753" + "$ref": "9062" }, "decorators": [] }, @@ -119986,13 +124825,13 @@ "isHttpMetadata": false }, { - "$id": "8782", + "$id": "9091", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text that was transcribed.", "type": { - "$id": "8783", + "$id": "9092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120012,17 +124851,17 @@ "isHttpMetadata": false }, { - "$id": "8784", + "$id": "9093", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "The log probabilities of the individual tokens in the transcription. Only included if you [create a transcription](https://platform.openai.com/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`.", "type": { - "$id": "8785", + "$id": "9094", "kind": "array", "name": "ArrayTranscriptTextDoneEventLogprobs", "valueType": { - "$ref": "8380" + "$ref": "8689" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -120041,12 +124880,12 @@ "isHttpMetadata": false }, { - "$id": "8786", + "$id": "9095", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$ref": "7945" + "$ref": "8254" }, "optional": true, "readOnly": false, @@ -120066,16 +124905,16 @@ } }, { - "$ref": "8750" + "$ref": "9059" }, { - "$ref": "8770" + "$ref": "9079" }, { - "$ref": "8779" + "$ref": "9088" }, { - "$id": "8787", + "$id": "9096", "kind": "model", "name": "DotNetCreateSpeechStreamingResponse", "namespace": "OpenAI", @@ -120088,12 +124927,12 @@ } }, "discriminatorProperty": { - "$id": "8788", + "$id": "9097", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$ref": "1493" + "$ref": "1557" }, "optional": false, "readOnly": false, @@ -120110,12 +124949,12 @@ }, "properties": [ { - "$ref": "8788" + "$ref": "9097" } ], "discriminatedSubtypes": { "speech.audio.delta": { - "$id": "8789", + "$id": "9098", "kind": "model", "name": "DotNetSpeechAudioDeltaEvent", "namespace": "OpenAI", @@ -120129,32 +124968,32 @@ } }, "baseModel": { - "$ref": "8787" + "$ref": "9096" }, "properties": [ { - "$id": "8790", + "$id": "9099", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `speech.audio.delta`.", "type": { - "$id": "8791", + "$id": "9100", "kind": "enumvalue", "name": "speech.audio.delta", "value": "speech.audio.delta", "valueType": { - "$ref": "1494" + "$ref": "1558" }, "enumType": { - "$id": "8792", + "$id": "9101", "kind": "enum", "decorators": [], "name": "DotNetCreateSpeechStreamingResponseType", "isGeneratedName": false, "namespace": "OpenAI", "valueType": { - "$id": "8793", + "$id": "9102", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -120163,29 +125002,29 @@ }, "values": [ { - "$id": "8794", + "$id": "9103", "kind": "enumvalue", "decorators": [], "name": "speech.audio.delta", "value": "speech.audio.delta", "valueType": { - "$ref": "8793" + "$ref": "9102" }, "enumType": { - "$ref": "8792" + "$ref": "9101" } }, { - "$id": "8795", + "$id": "9104", "kind": "enumvalue", "decorators": [], "name": "speech.audio.done", "value": "speech.audio.done", "valueType": { - "$ref": "8793" + "$ref": "9102" }, "enumType": { - "$ref": "8792" + "$ref": "9101" } } ], @@ -120214,13 +125053,13 @@ "isHttpMetadata": false }, { - "$id": "8796", + "$id": "9105", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "A chunk of Base64-encoded audio data.", "type": { - "$id": "8797", + "$id": "9106", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -120243,7 +125082,7 @@ ] }, "speech.audio.done": { - "$id": "8798", + "$id": "9107", "kind": "model", "name": "DotNetSpeechAudioDoneEvent", "namespace": "OpenAI", @@ -120257,25 +125096,25 @@ } }, "baseModel": { - "$ref": "8787" + "$ref": "9096" }, "properties": [ { - "$id": "8799", + "$id": "9108", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the event. Always `speech.audio.done`.", "type": { - "$id": "8800", + "$id": "9109", "kind": "enumvalue", "name": "speech.audio.done", "value": "speech.audio.done", "valueType": { - "$ref": "1494" + "$ref": "1558" }, "enumType": { - "$ref": "8792" + "$ref": "9101" }, "decorators": [] }, @@ -120293,13 +125132,13 @@ "isHttpMetadata": false }, { - "$id": "8801", + "$id": "9110", "kind": "property", "name": "usage", "serializedName": "usage", "doc": "Token usage statistics for the request.", "type": { - "$ref": "8367" + "$ref": "8676" }, "optional": false, "readOnly": false, @@ -120319,13 +125158,13 @@ } }, { - "$ref": "8789" + "$ref": "9098" }, { - "$ref": "8798" + "$ref": "9107" }, { - "$id": "8802", + "$id": "9111", "kind": "model", "name": "BatchCollectionOptions", "namespace": "OpenAI", @@ -120336,12 +125175,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8803", + "$id": "9112", "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": "8804", + "$id": "9113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120357,12 +125196,12 @@ "isHttpMetadata": true }, { - "$id": "8805", + "$id": "9114", "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": "8806", + "$id": "9115", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120380,7 +125219,7 @@ ] }, { - "$id": "8807", + "$id": "9116", "kind": "model", "name": "ChatCompletionCollectionOptions", "namespace": "OpenAI", @@ -120396,12 +125235,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8808", + "$id": "9117", "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": "8809", + "$id": "9118", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120417,12 +125256,12 @@ "isHttpMetadata": true }, { - "$id": "8810", + "$id": "9119", "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": "8811", + "$id": "9120", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120438,12 +125277,12 @@ "isHttpMetadata": true }, { - "$id": "8812", + "$id": "9121", "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": "1497" + "$ref": "1561" }, "optional": true, "readOnly": false, @@ -120455,11 +125294,11 @@ "isHttpMetadata": true }, { - "$id": "8813", + "$id": "9122", "kind": "property", "name": "metadata", "type": { - "$ref": "2580" + "$ref": "2648" }, "optional": true, "readOnly": false, @@ -120471,11 +125310,11 @@ "isHttpMetadata": true }, { - "$id": "8814", + "$id": "9123", "kind": "property", "name": "model", "type": { - "$id": "8815", + "$id": "9124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120493,7 +125332,7 @@ ] }, { - "$id": "8816", + "$id": "9125", "kind": "model", "name": "ChatCompletionMessageCollectionOptions", "namespace": "OpenAI", @@ -120509,12 +125348,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8817", + "$id": "9126", "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": "8818", + "$id": "9127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120530,12 +125369,12 @@ "isHttpMetadata": true }, { - "$id": "8819", + "$id": "9128", "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": "8820", + "$id": "9129", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120551,12 +125390,12 @@ "isHttpMetadata": true }, { - "$id": "8821", + "$id": "9130", "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": "1501" + "$ref": "1565" }, "optional": true, "readOnly": false, @@ -120570,7 +125409,7 @@ ] }, { - "$id": "8822", + "$id": "9131", "kind": "model", "name": "ContainerCollectionOptions", "namespace": "OpenAI", @@ -120581,12 +125420,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8823", + "$id": "9132", "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": "8824", + "$id": "9133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120602,12 +125441,12 @@ "isHttpMetadata": true }, { - "$id": "8825", + "$id": "9134", "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": "8826", + "$id": "9135", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120623,12 +125462,12 @@ "isHttpMetadata": true }, { - "$id": "8827", + "$id": "9136", "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": "1505" + "$ref": "1569" }, "optional": true, "readOnly": false, @@ -120642,7 +125481,7 @@ ] }, { - "$id": "8828", + "$id": "9137", "kind": "model", "name": "ContainerFileCollectionOptions", "namespace": "OpenAI", @@ -120653,12 +125492,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8829", + "$id": "9138", "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": "8830", + "$id": "9139", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120674,12 +125513,12 @@ "isHttpMetadata": true }, { - "$id": "8831", + "$id": "9140", "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": "8832", + "$id": "9141", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120695,12 +125534,12 @@ "isHttpMetadata": true }, { - "$id": "8833", + "$id": "9142", "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": "1505" + "$ref": "1569" }, "optional": true, "readOnly": false, @@ -120714,7 +125553,7 @@ ] }, { - "$id": "8834", + "$id": "9143", "kind": "model", "name": "ConversationItemCollectionOptions", "namespace": "OpenAI", @@ -120725,12 +125564,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8835", + "$id": "9144", "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": "8836", + "$id": "9145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120746,12 +125585,12 @@ "isHttpMetadata": true }, { - "$id": "8837", + "$id": "9146", "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": "8838", + "$id": "9147", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120767,12 +125606,12 @@ "isHttpMetadata": true }, { - "$id": "8839", + "$id": "9148", "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": "1509" + "$ref": "1573" }, "optional": true, "readOnly": false, @@ -120786,7 +125625,7 @@ ] }, { - "$id": "8840", + "$id": "9149", "kind": "model", "name": "DotNetResponseItemCollectionOptions", "namespace": "OpenAI", @@ -120797,11 +125636,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8841", + "$id": "9150", "kind": "property", "name": "response_id", "type": { - "$id": "8842", + "$id": "9151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120817,12 +125656,12 @@ "isHttpMetadata": true }, { - "$id": "8843", + "$id": "9152", "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": "8844", + "$id": "9153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120838,12 +125677,12 @@ "isHttpMetadata": true }, { - "$id": "8845", + "$id": "9154", "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": "8846", + "$id": "9155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120859,12 +125698,12 @@ "isHttpMetadata": true }, { - "$id": "8847", + "$id": "9156", "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": "8848", + "$id": "9157", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120880,12 +125719,12 @@ "isHttpMetadata": true }, { - "$id": "8849", + "$id": "9158", "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": "1513" + "$ref": "1577" }, "optional": true, "readOnly": false, @@ -120899,7 +125738,7 @@ ] }, { - "$id": "8850", + "$id": "9159", "kind": "model", "name": "DotNetGetResponseOptions", "namespace": "OpenAI", @@ -120915,11 +125754,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8851", + "$id": "9160", "kind": "property", "name": "response_id", "type": { - "$id": "8852", + "$id": "9161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120935,11 +125774,11 @@ "isHttpMetadata": true }, { - "$id": "8853", + "$id": "9162", "kind": "property", "name": "startingAfter", "type": { - "$id": "8854", + "$id": "9163", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120955,11 +125794,11 @@ "isHttpMetadata": true }, { - "$id": "8855", + "$id": "9164", "kind": "property", "name": "includeObfuscation", "type": { - "$id": "8856", + "$id": "9165", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -120975,14 +125814,14 @@ "isHttpMetadata": true }, { - "$id": "8857", + "$id": "9166", "kind": "property", "name": "includedProperties", "type": { - "$id": "8858", + "$id": "9167", "kind": "nullable", "type": { - "$ref": "5080" + "$ref": "5328" }, "namespace": "OpenAI" }, @@ -120996,11 +125835,11 @@ "isHttpMetadata": true }, { - "$id": "8859", + "$id": "9168", "kind": "property", "name": "streamingEnabled", "type": { - "$id": "8860", + "$id": "9169", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -121018,7 +125857,7 @@ ] }, { - "$id": "8861", + "$id": "9170", "kind": "model", "name": "DotNetCustomToolCallApprovalPolicy", "namespace": "OpenAI", @@ -121034,12 +125873,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8862", + "$id": "9171", "kind": "property", "name": "always", "doc": "A list of tools that always require approval.", "type": { - "$ref": "4454" + "$ref": "4565" }, "optional": true, "readOnly": false, @@ -121051,12 +125890,12 @@ "isHttpMetadata": false }, { - "$id": "8863", + "$id": "9172", "kind": "property", "name": "never", "doc": "A list of tools that never require approval.", "type": { - "$ref": "4454" + "$ref": "4565" }, "optional": true, "readOnly": false, @@ -121070,7 +125909,7 @@ ] }, { - "$id": "8864", + "$id": "9173", "kind": "model", "name": "DotNetToolCallApprovalPolicy", "namespace": "OpenAI", @@ -121086,11 +125925,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8865", + "$id": "9174", "kind": "property", "name": "global_policy", "type": { - "$ref": "1517" + "$ref": "1581" }, "optional": true, "readOnly": false, @@ -121102,11 +125941,11 @@ "isHttpMetadata": false }, { - "$id": "8866", + "$id": "9175", "kind": "property", "name": "custom_policy", "type": { - "$ref": "8861" + "$ref": "9170" }, "optional": true, "readOnly": false, @@ -121120,7 +125959,7 @@ ] }, { - "$id": "8867", + "$id": "9176", "kind": "model", "name": "DotNetCodeInterpreterToolContainer", "namespace": "OpenAI", @@ -121136,11 +125975,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "8868", + "$id": "9177", "kind": "property", "name": "container_id", "type": { - "$id": "8869", + "$id": "9178", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121156,11 +125995,11 @@ "isHttpMetadata": false }, { - "$id": "8870", + "$id": "9179", "kind": "property", "name": "container", "type": { - "$ref": "4407" + "$ref": "4488" }, "optional": true, "readOnly": false, @@ -121174,7 +126013,7 @@ ] }, { - "$id": "8871", + "$id": "9180", "kind": "model", "name": "DotNetCombinedChunkingStrategyParam", "namespace": "OpenAI", @@ -121183,11 +126022,11 @@ "decorators": [], "serializationOptions": {}, "discriminatorProperty": { - "$id": "8872", + "$id": "9181", "kind": "property", "name": "type", "type": { - "$ref": "1521" + "$ref": "1585" }, "optional": false, "readOnly": false, @@ -121200,12 +126039,12 @@ }, "properties": [ { - "$ref": "8872" + "$ref": "9181" } ], "discriminatedSubtypes": { "auto": { - "$id": "8873", + "$id": "9182", "kind": "model", "name": "DotNetCombinedAutoChunkingStrategyParam", "namespace": "OpenAI", @@ -121216,31 +126055,31 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8871" + "$ref": "9180" }, "properties": [ { - "$id": "8874", + "$id": "9183", "kind": "property", "name": "type", "doc": "Always `auto`.", "type": { - "$id": "8875", + "$id": "9184", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "1522" + "$ref": "1586" }, "enumType": { - "$id": "8876", + "$id": "9185", "kind": "enum", "decorators": [], "name": "DotNetCombinedChunkingStrategyParamType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "8877", + "$id": "9186", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -121249,42 +126088,42 @@ }, "values": [ { - "$id": "8878", + "$id": "9187", "kind": "enumvalue", "decorators": [], "name": "auto", "value": "auto", "valueType": { - "$ref": "8877" + "$ref": "9186" }, "enumType": { - "$ref": "8876" + "$ref": "9185" } }, { - "$id": "8879", + "$id": "9188", "kind": "enumvalue", "decorators": [], "name": "static", "value": "static", "valueType": { - "$ref": "8877" + "$ref": "9186" }, "enumType": { - "$ref": "8876" + "$ref": "9185" } }, { - "$id": "8880", + "$id": "9189", "kind": "enumvalue", "decorators": [], "name": "other", "value": "other", "valueType": { - "$ref": "8877" + "$ref": "9186" }, "enumType": { - "$ref": "8876" + "$ref": "9185" } } ], @@ -121311,7 +126150,7 @@ ] }, "static": { - "$id": "8881", + "$id": "9190", "kind": "model", "name": "DotNetCombinedStaticChunkingStrategyParam", "namespace": "OpenAI", @@ -121322,24 +126161,24 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8871" + "$ref": "9180" }, "properties": [ { - "$id": "8882", + "$id": "9191", "kind": "property", "name": "type", "doc": "Always `static`.", "type": { - "$id": "8883", + "$id": "9192", "kind": "enumvalue", "name": "static", "value": "static", "valueType": { - "$ref": "1522" + "$ref": "1586" }, "enumType": { - "$ref": "8876" + "$ref": "9185" }, "decorators": [] }, @@ -121353,11 +126192,11 @@ "isHttpMetadata": false }, { - "$id": "8884", + "$id": "9193", "kind": "property", "name": "static", "type": { - "$ref": "2680" + "$ref": "2748" }, "optional": false, "readOnly": false, @@ -121371,7 +126210,7 @@ ] }, "other": { - "$id": "8885", + "$id": "9194", "kind": "model", "name": "DotNetCombinedOtherChunkingStrategyParam", "namespace": "OpenAI", @@ -121382,24 +126221,24 @@ "decorators": [], "serializationOptions": {}, "baseModel": { - "$ref": "8871" + "$ref": "9180" }, "properties": [ { - "$id": "8886", + "$id": "9195", "kind": "property", "name": "type", "doc": "Always `other`.", "type": { - "$id": "8887", + "$id": "9196", "kind": "enumvalue", "name": "other", "value": "other", "valueType": { - "$ref": "1522" + "$ref": "1586" }, "enumType": { - "$ref": "8876" + "$ref": "9185" }, "decorators": [] }, @@ -121417,16 +126256,16 @@ } }, { - "$ref": "8873" + "$ref": "9182" }, { - "$ref": "8881" + "$ref": "9190" }, { - "$ref": "8885" + "$ref": "9194" }, { - "$id": "8888", + "$id": "9197", "kind": "model", "name": "VectorStoreCollectionOptions", "namespace": "OpenAI", @@ -121437,12 +126276,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8889", + "$id": "9198", "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": "8890", + "$id": "9199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121458,12 +126297,12 @@ "isHttpMetadata": true }, { - "$id": "8891", + "$id": "9200", "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": "8892", + "$id": "9201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121479,12 +126318,12 @@ "isHttpMetadata": true }, { - "$id": "8893", + "$id": "9202", "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": "8894", + "$id": "9203", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121500,12 +126339,12 @@ "isHttpMetadata": true }, { - "$id": "8895", + "$id": "9204", "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": "1526" + "$ref": "1590" }, "optional": true, "readOnly": false, @@ -121519,7 +126358,7 @@ ] }, { - "$id": "8896", + "$id": "9205", "kind": "model", "name": "VectorStoreFileCollectionOptions", "namespace": "OpenAI", @@ -121530,12 +126369,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8897", + "$id": "9206", "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": "8898", + "$id": "9207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121551,12 +126390,12 @@ "isHttpMetadata": true }, { - "$id": "8899", + "$id": "9208", "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": "8900", + "$id": "9209", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121572,12 +126411,12 @@ "isHttpMetadata": true }, { - "$id": "8901", + "$id": "9210", "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": "8902", + "$id": "9211", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121593,12 +126432,12 @@ "isHttpMetadata": true }, { - "$id": "8903", + "$id": "9212", "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": "1530" + "$ref": "1594" }, "optional": true, "readOnly": false, @@ -121610,11 +126449,11 @@ "isHttpMetadata": true }, { - "$id": "8904", + "$id": "9213", "kind": "property", "name": "filter", "type": { - "$ref": "1534" + "$ref": "1598" }, "optional": true, "readOnly": false, @@ -121628,7 +126467,7 @@ ] }, { - "$id": "8905", + "$id": "9214", "kind": "model", "name": "VideoCollectionOptions", "namespace": "OpenAI", @@ -121639,12 +126478,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "8906", + "$id": "9215", "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": "8907", + "$id": "9216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121660,12 +126499,12 @@ "isHttpMetadata": true }, { - "$id": "8908", + "$id": "9217", "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": "8909", + "$id": "9218", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121681,12 +126520,12 @@ "isHttpMetadata": true }, { - "$id": "8910", + "$id": "9219", "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": "1540" + "$ref": "1604" }, "optional": true, "readOnly": false, @@ -121702,20 +126541,20 @@ ], "clients": [ { - "$id": "8911", + "$id": "9220", "kind": "client", "name": "OpenAIClient", "namespace": "OpenAI", "methods": [], "parameters": [ { - "$id": "8912", + "$id": "9221", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8913", + "$id": "9222", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -121726,7 +126565,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8914", + "$id": "9223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -121745,32 +126584,32 @@ "apiVersions": [], "children": [ { - "$id": "8915", + "$id": "9224", "kind": "client", "name": "Assistants", "namespace": "OpenAI", "methods": [ { - "$id": "8916", + "$id": "9225", "kind": "paging", "name": "GetAssistants", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of assistants.", "operation": { - "$id": "8917", + "$id": "9226", "name": "GetAssistants", "resourceName": "Assistants", "summary": "Returns a list of assistants.", "accessibility": "public", "parameters": [ { - "$id": "8918", + "$id": "9227", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1929" + "$ref": "1997" }, "isApiVersion": false, "optional": false, @@ -121781,12 +126620,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.accept" }, { - "$id": "8919", + "$id": "9228", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1931" + "$ref": "1999" }, "isApiVersion": false, "optional": false, @@ -121797,13 +126636,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.openAIBeta" }, { - "$id": "8920", + "$id": "9229", "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": "8921", + "$id": "9230", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121818,13 +126657,13 @@ "readOnly": false }, { - "$id": "8922", + "$id": "9231", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -121835,13 +126674,13 @@ "readOnly": false }, { - "$id": "8923", + "$id": "9232", "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": "8924", + "$id": "9233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121856,13 +126695,13 @@ "readOnly": false }, { - "$id": "8925", + "$id": "9234", "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": "8926", + "$id": "9235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121883,7 +126722,7 @@ 200 ], "bodyType": { - "$ref": "2507" + "$ref": "2575" }, "headers": [], "isErrorResponse": false, @@ -121904,12 +126743,12 @@ }, "parameters": [ { - "$id": "8927", + "$id": "9236", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1933" + "$ref": "2001" }, "location": "Header", "isApiVersion": false, @@ -121921,12 +126760,12 @@ "decorators": [] }, { - "$id": "8928", + "$id": "9237", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1935" + "$ref": "2003" }, "location": "Header", "isApiVersion": false, @@ -121938,13 +126777,13 @@ "decorators": [] }, { - "$id": "8929", + "$id": "9238", "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": "8930", + "$id": "9239", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121960,13 +126799,13 @@ "decorators": [] }, { - "$id": "8931", + "$id": "9240", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -121978,13 +126817,13 @@ "decorators": [] }, { - "$id": "8932", + "$id": "9241", "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": "8933", + "$id": "9242", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122000,13 +126839,13 @@ "decorators": [] }, { - "$id": "8934", + "$id": "9243", "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": "8935", + "$id": "9244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122024,7 +126863,7 @@ ], "response": { "type": { - "$ref": "2510" + "$ref": "2578" }, "resultSegments": [ "data" @@ -122040,7 +126879,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8923" + "$ref": "9232" }, "responseSegments": [ "last_id" @@ -122051,26 +126890,26 @@ } }, { - "$id": "8936", + "$id": "9245", "kind": "basic", "name": "createAssistant", "accessibility": "public", "apiVersions": [], "summary": "Create an assistant with a model and instructions.", "operation": { - "$id": "8937", + "$id": "9246", "name": "createAssistant", "resourceName": "Assistants", "summary": "Create an assistant with a model and instructions.", "accessibility": "public", "parameters": [ { - "$id": "8938", + "$id": "9247", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1937" + "$ref": "2005" }, "isApiVersion": false, "optional": false, @@ -122081,12 +126920,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.accept" }, { - "$id": "8939", + "$id": "9248", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1939" + "$ref": "2007" }, "isApiVersion": false, "optional": false, @@ -122097,13 +126936,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.openAIBeta" }, { - "$id": "8940", + "$id": "9249", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1941" + "$ref": "2009" }, "isApiVersion": false, "optional": false, @@ -122114,12 +126953,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.contentType" }, { - "$id": "8941", + "$id": "9250", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2639" + "$ref": "2707" }, "isApiVersion": false, "contentTypes": [ @@ -122139,7 +126978,7 @@ 200 ], "bodyType": { - "$ref": "2511" + "$ref": "2579" }, "headers": [], "isErrorResponse": false, @@ -122163,12 +127002,12 @@ }, "parameters": [ { - "$id": "8942", + "$id": "9251", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1943" + "$ref": "2011" }, "location": "Header", "isApiVersion": false, @@ -122180,12 +127019,12 @@ "decorators": [] }, { - "$id": "8943", + "$id": "9252", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1945" + "$ref": "2013" }, "location": "Header", "isApiVersion": false, @@ -122197,12 +127036,12 @@ "decorators": [] }, { - "$id": "8944", + "$id": "9253", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2639" + "$ref": "2707" }, "location": "Body", "isApiVersion": false, @@ -122214,13 +127053,13 @@ "decorators": [] }, { - "$id": "8945", + "$id": "9254", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1941" + "$ref": "2009" }, "location": "Header", "isApiVersion": false, @@ -122234,7 +127073,7 @@ ], "response": { "type": { - "$ref": "2511" + "$ref": "2579" } }, "isOverride": false, @@ -122243,26 +127082,26 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant" }, { - "$id": "8946", + "$id": "9255", "kind": "basic", "name": "getAssistant", "accessibility": "public", "apiVersions": [], "summary": "Retrieves an assistant.", "operation": { - "$id": "8947", + "$id": "9256", "name": "getAssistant", "resourceName": "Assistants", "summary": "Retrieves an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8948", + "$id": "9257", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1947" + "$ref": "2015" }, "isApiVersion": false, "optional": false, @@ -122273,12 +127112,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.accept" }, { - "$id": "8949", + "$id": "9258", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1949" + "$ref": "2017" }, "isApiVersion": false, "optional": false, @@ -122289,13 +127128,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.openAIBeta" }, { - "$id": "8950", + "$id": "9259", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { - "$id": "8951", + "$id": "9260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122319,7 +127158,7 @@ 200 ], "bodyType": { - "$ref": "2511" + "$ref": "2579" }, "headers": [], "isErrorResponse": false, @@ -122340,12 +127179,12 @@ }, "parameters": [ { - "$id": "8952", + "$id": "9261", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1951" + "$ref": "2019" }, "location": "Header", "isApiVersion": false, @@ -122357,12 +127196,12 @@ "decorators": [] }, { - "$id": "8953", + "$id": "9262", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1953" + "$ref": "2021" }, "location": "Header", "isApiVersion": false, @@ -122374,13 +127213,13 @@ "decorators": [] }, { - "$id": "8954", + "$id": "9263", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { - "$id": "8955", + "$id": "9264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122398,7 +127237,7 @@ ], "response": { "type": { - "$ref": "2511" + "$ref": "2579" } }, "isOverride": false, @@ -122407,26 +127246,26 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant" }, { - "$id": "8956", + "$id": "9265", "kind": "basic", "name": "modifyAssistant", "accessibility": "public", "apiVersions": [], "summary": "Modifies an assistant.", "operation": { - "$id": "8957", + "$id": "9266", "name": "modifyAssistant", "resourceName": "Assistants", "summary": "Modifies an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8958", + "$id": "9267", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1955" + "$ref": "2023" }, "isApiVersion": false, "optional": false, @@ -122437,12 +127276,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.accept" }, { - "$id": "8959", + "$id": "9268", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1957" + "$ref": "2025" }, "isApiVersion": false, "optional": false, @@ -122453,13 +127292,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.openAIBeta" }, { - "$id": "8960", + "$id": "9269", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { - "$id": "8961", + "$id": "9270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122477,13 +127316,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.assistant_id" }, { - "$id": "8962", + "$id": "9271", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1959" + "$ref": "2027" }, "isApiVersion": false, "optional": false, @@ -122494,12 +127333,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.contentType" }, { - "$id": "8963", + "$id": "9272", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2695" + "$ref": "2763" }, "isApiVersion": false, "contentTypes": [ @@ -122519,7 +127358,7 @@ 200 ], "bodyType": { - "$ref": "2511" + "$ref": "2579" }, "headers": [], "isErrorResponse": false, @@ -122543,12 +127382,12 @@ }, "parameters": [ { - "$id": "8964", + "$id": "9273", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1961" + "$ref": "2029" }, "location": "Header", "isApiVersion": false, @@ -122560,12 +127399,12 @@ "decorators": [] }, { - "$id": "8965", + "$id": "9274", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1963" + "$ref": "2031" }, "location": "Header", "isApiVersion": false, @@ -122577,13 +127416,13 @@ "decorators": [] }, { - "$id": "8966", + "$id": "9275", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { - "$id": "8967", + "$id": "9276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122599,12 +127438,12 @@ "decorators": [] }, { - "$id": "8968", + "$id": "9277", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2695" + "$ref": "2763" }, "location": "Body", "isApiVersion": false, @@ -122616,13 +127455,13 @@ "decorators": [] }, { - "$id": "8969", + "$id": "9278", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1959" + "$ref": "2027" }, "location": "Header", "isApiVersion": false, @@ -122636,7 +127475,7 @@ ], "response": { "type": { - "$ref": "2511" + "$ref": "2579" } }, "isOverride": false, @@ -122645,26 +127484,26 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant" }, { - "$id": "8970", + "$id": "9279", "kind": "basic", "name": "deleteAssistant", "accessibility": "public", "apiVersions": [], "summary": "Delete an assistant.", "operation": { - "$id": "8971", + "$id": "9280", "name": "deleteAssistant", "resourceName": "Assistants", "summary": "Delete an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8972", + "$id": "9281", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1965" + "$ref": "2033" }, "isApiVersion": false, "optional": false, @@ -122675,12 +127514,12 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.accept" }, { - "$id": "8973", + "$id": "9282", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1967" + "$ref": "2035" }, "isApiVersion": false, "optional": false, @@ -122691,13 +127530,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.openAIBeta" }, { - "$id": "8974", + "$id": "9283", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { - "$id": "8975", + "$id": "9284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122721,7 +127560,7 @@ 200 ], "bodyType": { - "$ref": "2725" + "$ref": "2793" }, "headers": [], "isErrorResponse": false, @@ -122742,12 +127581,12 @@ }, "parameters": [ { - "$id": "8976", + "$id": "9285", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1969" + "$ref": "2037" }, "location": "Header", "isApiVersion": false, @@ -122759,12 +127598,12 @@ "decorators": [] }, { - "$id": "8977", + "$id": "9286", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "1971" + "$ref": "2039" }, "location": "Header", "isApiVersion": false, @@ -122776,13 +127615,13 @@ "decorators": [] }, { - "$id": "8978", + "$id": "9287", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { - "$id": "8979", + "$id": "9288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122800,7 +127639,7 @@ ], "response": { "type": { - "$ref": "2725" + "$ref": "2793" } }, "isOverride": false, @@ -122811,13 +127650,13 @@ ], "parameters": [ { - "$id": "8980", + "$id": "9289", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8981", + "$id": "9290", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -122828,7 +127667,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8982", + "$id": "9291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -122846,37 +127685,37 @@ "crossLanguageDefinitionId": "OpenAI.Assistants", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "8983", + "$id": "9292", "kind": "client", "name": "Batches", "namespace": "OpenAI", "methods": [ { - "$id": "8984", + "$id": "9293", "kind": "basic", "name": "createBatch", "accessibility": "public", "apiVersions": [], "summary": "Creates and executes a batch from an uploaded file of requests", "operation": { - "$id": "8985", + "$id": "9294", "name": "createBatch", "resourceName": "Batches", "summary": "Creates and executes a batch from an uploaded file of requests", "accessibility": "public", "parameters": [ { - "$id": "8986", + "$id": "9295", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1973" + "$ref": "2041" }, "isApiVersion": false, "optional": false, @@ -122887,13 +127726,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.accept" }, { - "$id": "8987", + "$id": "9296", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1975" + "$ref": "2043" }, "isApiVersion": false, "optional": false, @@ -122904,12 +127743,12 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.contentType" }, { - "$id": "8988", + "$id": "9297", "kind": "body", "name": "createBatchRequest", "serializedName": "createBatchRequest", "type": { - "$ref": "2731" + "$ref": "2799" }, "isApiVersion": false, "contentTypes": [ @@ -122929,7 +127768,7 @@ 200 ], "bodyType": { - "$ref": "2737" + "$ref": "2805" }, "headers": [], "isErrorResponse": false, @@ -122953,12 +127792,12 @@ }, "parameters": [ { - "$id": "8989", + "$id": "9298", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1977" + "$ref": "2045" }, "location": "Header", "isApiVersion": false, @@ -122970,13 +127809,13 @@ "decorators": [] }, { - "$id": "8990", + "$id": "9299", "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": "8991", + "$id": "9300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122992,7 +127831,7 @@ "decorators": [] }, { - "$id": "8992", + "$id": "9301", "kind": "method", "name": "endpoint", "serializedName": "endpoint", @@ -123010,13 +127849,13 @@ "decorators": [] }, { - "$id": "8993", + "$id": "9302", "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": "1691" + "$ref": "1755" }, "location": "Body", "isApiVersion": false, @@ -123028,13 +127867,13 @@ "decorators": [] }, { - "$id": "8994", + "$id": "9303", "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": "2580" + "$ref": "2648" }, "location": "Body", "isApiVersion": false, @@ -123046,13 +127885,13 @@ "decorators": [] }, { - "$id": "8995", + "$id": "9304", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1975" + "$ref": "2043" }, "location": "Header", "isApiVersion": false, @@ -123066,7 +127905,7 @@ ], "response": { "type": { - "$ref": "2737" + "$ref": "2805" } }, "isOverride": false, @@ -123075,26 +127914,26 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch" }, { - "$id": "8996", + "$id": "9305", "kind": "paging", "name": "GetBatches", "accessibility": "public", "apiVersions": [], "summary": "List your organization's batches.", "operation": { - "$id": "8997", + "$id": "9306", "name": "GetBatches", "resourceName": "Batches", "summary": "List your organization's batches.", "accessibility": "public", "parameters": [ { - "$id": "8998", + "$id": "9307", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1981" + "$ref": "2049" }, "isApiVersion": false, "optional": false, @@ -123105,13 +127944,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.accept" }, { - "$id": "8999", + "$id": "9308", "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": "9000", + "$id": "9309", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123126,13 +127965,13 @@ "readOnly": false }, { - "$id": "9001", + "$id": "9310", "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": "9002", + "$id": "9311", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -123153,7 +127992,7 @@ 200 ], "bodyType": { - "$ref": "2804" + "$ref": "2872" }, "headers": [], "isErrorResponse": false, @@ -123174,12 +128013,12 @@ }, "parameters": [ { - "$id": "9003", + "$id": "9312", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1983" + "$ref": "2051" }, "location": "Header", "isApiVersion": false, @@ -123191,13 +128030,13 @@ "decorators": [] }, { - "$id": "9004", + "$id": "9313", "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": "9005", + "$id": "9314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123213,13 +128052,13 @@ "decorators": [] }, { - "$id": "9006", + "$id": "9315", "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": "9007", + "$id": "9316", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -123237,7 +128076,7 @@ ], "response": { "type": { - "$ref": "2806" + "$ref": "2874" }, "resultSegments": [ "data" @@ -123253,7 +128092,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8999" + "$ref": "9308" }, "responseSegments": [ "last_id" @@ -123264,26 +128103,26 @@ } }, { - "$id": "9008", + "$id": "9317", "kind": "basic", "name": "GetBatch", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a batch.", "operation": { - "$id": "9009", + "$id": "9318", "name": "GetBatch", "resourceName": "Batches", "summary": "Retrieves a batch.", "accessibility": "public", "parameters": [ { - "$id": "9010", + "$id": "9319", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1985" + "$ref": "2053" }, "isApiVersion": false, "optional": false, @@ -123294,13 +128133,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch.accept" }, { - "$id": "9011", + "$id": "9320", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { - "$id": "9012", + "$id": "9321", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123324,7 +128163,7 @@ 200 ], "bodyType": { - "$ref": "2737" + "$ref": "2805" }, "headers": [], "isErrorResponse": false, @@ -123345,12 +128184,12 @@ }, "parameters": [ { - "$id": "9013", + "$id": "9322", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1987" + "$ref": "2055" }, "location": "Header", "isApiVersion": false, @@ -123362,13 +128201,13 @@ "decorators": [] }, { - "$id": "9014", + "$id": "9323", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { - "$id": "9015", + "$id": "9324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123386,7 +128225,7 @@ ], "response": { "type": { - "$ref": "2737" + "$ref": "2805" } }, "isOverride": false, @@ -123395,26 +128234,26 @@ "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch" }, { - "$id": "9016", + "$id": "9325", "kind": "basic", "name": "cancelBatch", "accessibility": "public", "apiVersions": [], "summary": "Cancels an in-progress batch.", "operation": { - "$id": "9017", + "$id": "9326", "name": "cancelBatch", "resourceName": "Batches", "summary": "Cancels an in-progress batch.", "accessibility": "public", "parameters": [ { - "$id": "9018", + "$id": "9327", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1989" + "$ref": "2057" }, "isApiVersion": false, "optional": false, @@ -123425,13 +128264,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.cancelBatch.accept" }, { - "$id": "9019", + "$id": "9328", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to cancel.", "type": { - "$id": "9020", + "$id": "9329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123455,7 +128294,7 @@ 200 ], "bodyType": { - "$ref": "2737" + "$ref": "2805" }, "headers": [], "isErrorResponse": false, @@ -123476,12 +128315,12 @@ }, "parameters": [ { - "$id": "9021", + "$id": "9330", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1991" + "$ref": "2059" }, "location": "Header", "isApiVersion": false, @@ -123493,13 +128332,13 @@ "decorators": [] }, { - "$id": "9022", + "$id": "9331", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to cancel.", "type": { - "$id": "9023", + "$id": "9332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123517,7 +128356,7 @@ ], "response": { "type": { - "$ref": "2737" + "$ref": "2805" } }, "isOverride": false, @@ -123528,13 +128367,13 @@ ], "parameters": [ { - "$id": "9024", + "$id": "9333", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9025", + "$id": "9334", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -123545,7 +128384,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9026", + "$id": "9335", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -123563,38 +128402,38 @@ "crossLanguageDefinitionId": "OpenAI.Batches", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "9027", + "$id": "9336", "kind": "client", "name": "Chat", "namespace": "OpenAI", "methods": [ { - "$id": "9028", + "$id": "9337", "kind": "paging", "name": "listChatCompletions", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of chat completions.", "operation": { - "$id": "9029", + "$id": "9338", "name": "listChatCompletions", "resourceName": "Chat", "summary": "Returns a list of chat completions.", "accessibility": "public", "parameters": [ { - "$id": "9030", + "$id": "9339", "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": "9031", + "$id": "9340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123609,13 +128448,13 @@ "readOnly": false }, { - "$id": "9032", + "$id": "9341", "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": "9033", + "$id": "9342", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -123630,13 +128469,13 @@ "readOnly": false }, { - "$id": "9034", + "$id": "9343", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -123647,12 +128486,12 @@ "readOnly": false }, { - "$id": "9035", + "$id": "9344", "kind": "query", "name": "metadata", "serializedName": "metadata", "type": { - "$ref": "2580" + "$ref": "2648" }, "isApiVersion": false, "explode": false, @@ -123663,12 +128502,12 @@ "readOnly": false }, { - "$id": "9036", + "$id": "9345", "kind": "query", "name": "model", "serializedName": "model", "type": { - "$id": "9037", + "$id": "9346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123683,12 +128522,12 @@ "readOnly": false }, { - "$id": "9038", + "$id": "9347", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1993" + "$ref": "2061" }, "isApiVersion": false, "optional": false, @@ -123705,7 +128544,7 @@ 200 ], "bodyType": { - "$ref": "2814" + "$ref": "2882" }, "headers": [], "isErrorResponse": false, @@ -123726,13 +128565,13 @@ }, "parameters": [ { - "$id": "9039", + "$id": "9348", "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": "9040", + "$id": "9349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123748,13 +128587,13 @@ "decorators": [] }, { - "$id": "9041", + "$id": "9350", "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": "9042", + "$id": "9351", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -123770,13 +128609,13 @@ "decorators": [] }, { - "$id": "9043", + "$id": "9352", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -123788,12 +128627,12 @@ "decorators": [] }, { - "$id": "9044", + "$id": "9353", "kind": "method", "name": "metadata", "serializedName": "metadata", "type": { - "$ref": "2580" + "$ref": "2648" }, "location": "Query", "isApiVersion": false, @@ -123805,12 +128644,12 @@ "decorators": [] }, { - "$id": "9045", + "$id": "9354", "kind": "method", "name": "model", "serializedName": "model", "type": { - "$id": "9046", + "$id": "9355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123826,12 +128665,12 @@ "decorators": [] }, { - "$id": "9047", + "$id": "9356", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1993" + "$ref": "2061" }, "location": "Header", "isApiVersion": false, @@ -123845,7 +128684,7 @@ ], "response": { "type": { - "$ref": "2817" + "$ref": "2885" }, "resultSegments": [ "data" @@ -123861,7 +128700,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9030" + "$ref": "9339" }, "responseSegments": [ "last_id" @@ -123872,26 +128711,26 @@ } }, { - "$id": "9048", + "$id": "9357", "kind": "basic", "name": "CompleteChat", "accessibility": "public", "apiVersions": [], "summary": "Creates a model response for the given chat conversation.", "operation": { - "$id": "9049", + "$id": "9358", "name": "CompleteChat", "resourceName": "Chat", "summary": "Creates a model response for the given chat conversation.", "accessibility": "public", "parameters": [ { - "$id": "9050", + "$id": "9359", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1995" + "$ref": "2063" }, "isApiVersion": false, "optional": false, @@ -123902,13 +128741,13 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.accept" }, { - "$id": "9051", + "$id": "9360", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1997" + "$ref": "2065" }, "isApiVersion": false, "optional": false, @@ -123919,12 +128758,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.contentType" }, { - "$id": "9052", + "$id": "9361", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2958" + "$ref": "3026" }, "isApiVersion": false, "contentTypes": [ @@ -123944,15 +128783,15 @@ 200 ], "bodyType": { - "$id": "9053", + "$id": "9362", "kind": "union", "name": "", "variantTypes": [ { - "$ref": "2818" + "$ref": "2886" }, { - "$ref": "3220" + "$ref": "3288" } ], "namespace": "", @@ -123963,7 +128802,7 @@ "name": "contentType", "nameInResponse": "Content-Type", "type": { - "$ref": "1999" + "$ref": "2067" } } ], @@ -123989,12 +128828,12 @@ }, "parameters": [ { - "$id": "9054", + "$id": "9363", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2001" + "$ref": "2069" }, "location": "Header", "isApiVersion": false, @@ -124006,12 +128845,12 @@ "decorators": [] }, { - "$id": "9055", + "$id": "9364", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "2958" + "$ref": "3026" }, "location": "Body", "isApiVersion": false, @@ -124023,13 +128862,13 @@ "decorators": [] }, { - "$id": "9056", + "$id": "9365", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "1997" + "$ref": "2065" }, "location": "Header", "isApiVersion": false, @@ -124043,7 +128882,7 @@ ], "response": { "type": { - "$ref": "9053" + "$ref": "9362" } }, "isOverride": false, @@ -124052,27 +128891,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion" }, { - "$id": "9057", + "$id": "9366", "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": "9058", + "$id": "9367", "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": "9059", + "$id": "9368", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { - "$id": "9060", + "$id": "9369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124090,12 +128929,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion.completion_id" }, { - "$id": "9061", + "$id": "9370", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2003" + "$ref": "2071" }, "isApiVersion": false, "optional": false, @@ -124112,7 +128951,7 @@ 200 ], "bodyType": { - "$ref": "2818" + "$ref": "2886" }, "headers": [], "isErrorResponse": false, @@ -124133,13 +128972,13 @@ }, "parameters": [ { - "$id": "9062", + "$id": "9371", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { - "$id": "9063", + "$id": "9372", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124155,12 +128994,12 @@ "decorators": [] }, { - "$id": "9064", + "$id": "9373", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2003" + "$ref": "2071" }, "location": "Header", "isApiVersion": false, @@ -124174,7 +129013,7 @@ ], "response": { "type": { - "$ref": "2818" + "$ref": "2886" } }, "isOverride": false, @@ -124183,27 +129022,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion" }, { - "$id": "9065", + "$id": "9374", "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": "9066", + "$id": "9375", "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": "9067", + "$id": "9376", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { - "$id": "9068", + "$id": "9377", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124221,13 +129060,13 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.completion_id" }, { - "$id": "9069", + "$id": "9378", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2005" + "$ref": "2073" }, "isApiVersion": false, "optional": false, @@ -124238,12 +129077,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.contentType" }, { - "$id": "9070", + "$id": "9379", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2007" + "$ref": "2075" }, "isApiVersion": false, "optional": false, @@ -124254,12 +129093,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.accept" }, { - "$id": "9071", + "$id": "9380", "kind": "body", "name": "updateChatCompletionRequest", "serializedName": "updateChatCompletionRequest", "type": { - "$ref": "3288" + "$ref": "3356" }, "isApiVersion": false, "contentTypes": [ @@ -124279,7 +129118,7 @@ 200 ], "bodyType": { - "$ref": "2818" + "$ref": "2886" }, "headers": [], "isErrorResponse": false, @@ -124303,13 +129142,13 @@ }, "parameters": [ { - "$id": "9072", + "$id": "9381", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { - "$id": "9073", + "$id": "9382", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124325,13 +129164,13 @@ "decorators": [] }, { - "$id": "9074", + "$id": "9383", "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": "2580" + "$ref": "2648" }, "location": "Body", "isApiVersion": false, @@ -124343,13 +129182,13 @@ "decorators": [] }, { - "$id": "9075", + "$id": "9384", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2005" + "$ref": "2073" }, "location": "Header", "isApiVersion": false, @@ -124361,12 +129200,12 @@ "decorators": [] }, { - "$id": "9076", + "$id": "9385", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2007" + "$ref": "2075" }, "location": "Header", "isApiVersion": false, @@ -124380,7 +129219,7 @@ ], "response": { "type": { - "$ref": "2818" + "$ref": "2886" } }, "isOverride": false, @@ -124389,27 +129228,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion" }, { - "$id": "9077", + "$id": "9386", "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": "9078", + "$id": "9387", "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": "9079", + "$id": "9388", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { - "$id": "9080", + "$id": "9389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124427,12 +129266,12 @@ "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion.completion_id" }, { - "$id": "9081", + "$id": "9390", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2009" + "$ref": "2077" }, "isApiVersion": false, "optional": false, @@ -124449,7 +129288,7 @@ 200 ], "bodyType": { - "$ref": "3290" + "$ref": "3358" }, "headers": [], "isErrorResponse": false, @@ -124470,13 +129309,13 @@ }, "parameters": [ { - "$id": "9082", + "$id": "9391", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { - "$id": "9083", + "$id": "9392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124492,12 +129331,12 @@ "decorators": [] }, { - "$id": "9084", + "$id": "9393", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2009" + "$ref": "2077" }, "location": "Header", "isApiVersion": false, @@ -124511,7 +129350,7 @@ ], "response": { "type": { - "$ref": "3290" + "$ref": "3358" } }, "isOverride": false, @@ -124520,27 +129359,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion" }, { - "$id": "9085", + "$id": "9394", "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": "9086", + "$id": "9395", "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": "9087", + "$id": "9396", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { - "$id": "9088", + "$id": "9397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124558,13 +129397,13 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.completion_id" }, { - "$id": "9089", + "$id": "9398", "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": "9090", + "$id": "9399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124579,13 +129418,13 @@ "readOnly": false }, { - "$id": "9091", + "$id": "9400", "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": "9092", + "$id": "9401", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124600,13 +129439,13 @@ "readOnly": false }, { - "$id": "9093", + "$id": "9402", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -124617,12 +129456,12 @@ "readOnly": false }, { - "$id": "9094", + "$id": "9403", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2011" + "$ref": "2079" }, "isApiVersion": false, "optional": false, @@ -124639,7 +129478,7 @@ 200 ], "bodyType": { - "$ref": "3296" + "$ref": "3364" }, "headers": [], "isErrorResponse": false, @@ -124660,13 +129499,13 @@ }, "parameters": [ { - "$id": "9095", + "$id": "9404", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { - "$id": "9096", + "$id": "9405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124682,13 +129521,13 @@ "decorators": [] }, { - "$id": "9097", + "$id": "9406", "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": "9098", + "$id": "9407", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124704,13 +129543,13 @@ "decorators": [] }, { - "$id": "9099", + "$id": "9408", "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": "9100", + "$id": "9409", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124726,13 +129565,13 @@ "decorators": [] }, { - "$id": "9101", + "$id": "9410", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -124744,12 +129583,12 @@ "decorators": [] }, { - "$id": "9102", + "$id": "9411", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2011" + "$ref": "2079" }, "location": "Header", "isApiVersion": false, @@ -124763,7 +129602,7 @@ ], "response": { "type": { - "$ref": "3299" + "$ref": "3367" }, "resultSegments": [ "data" @@ -124779,7 +129618,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9089" + "$ref": "9398" }, "responseSegments": [ "last_id" @@ -124792,13 +129631,13 @@ ], "parameters": [ { - "$id": "9103", + "$id": "9412", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9104", + "$id": "9413", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -124809,7 +129648,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9105", + "$id": "9414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -124827,36 +129666,36 @@ "crossLanguageDefinitionId": "OpenAI.Chat", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "9106", + "$id": "9415", "kind": "client", "name": "Containers", "namespace": "OpenAI", "methods": [ { - "$id": "9107", + "$id": "9416", "kind": "paging", "name": "listContainers", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9108", + "$id": "9417", "name": "listContainers", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9109", + "$id": "9418", "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": "9110", + "$id": "9419", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124871,13 +129710,13 @@ "readOnly": false }, { - "$id": "9111", + "$id": "9420", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -124888,13 +129727,13 @@ "readOnly": false }, { - "$id": "9112", + "$id": "9421", "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": "9113", + "$id": "9422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124909,12 +129748,12 @@ "readOnly": false }, { - "$id": "9114", + "$id": "9423", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2013" + "$ref": "2081" }, "isApiVersion": false, "optional": false, @@ -124931,7 +129770,7 @@ 200 ], "bodyType": { - "$ref": "3319" + "$ref": "3387" }, "headers": [], "isErrorResponse": false, @@ -124952,13 +129791,13 @@ }, "parameters": [ { - "$id": "9115", + "$id": "9424", "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": "9116", + "$id": "9425", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124974,13 +129813,13 @@ "decorators": [] }, { - "$id": "9117", + "$id": "9426", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -124992,13 +129831,13 @@ "decorators": [] }, { - "$id": "9118", + "$id": "9427", "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": "9119", + "$id": "9428", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125014,12 +129853,12 @@ "decorators": [] }, { - "$id": "9120", + "$id": "9429", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2013" + "$ref": "2081" }, "location": "Header", "isApiVersion": false, @@ -125033,7 +129872,7 @@ ], "response": { "type": { - "$ref": "3322" + "$ref": "3390" }, "resultSegments": [ "data" @@ -125049,7 +129888,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9112" + "$ref": "9421" }, "responseSegments": [ "last_id" @@ -125060,25 +129899,25 @@ } }, { - "$id": "9121", + "$id": "9430", "kind": "basic", "name": "createContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9122", + "$id": "9431", "name": "createContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9123", + "$id": "9432", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2015" + "$ref": "2083" }, "isApiVersion": false, "optional": false, @@ -125089,12 +129928,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.contentType" }, { - "$id": "9124", + "$id": "9433", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2017" + "$ref": "2085" }, "isApiVersion": false, "optional": false, @@ -125105,12 +129944,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.accept" }, { - "$id": "9125", + "$id": "9434", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "3346" + "$ref": "3414" }, "isApiVersion": false, "contentTypes": [ @@ -125130,7 +129969,7 @@ 200 ], "bodyType": { - "$ref": "3323" + "$ref": "3391" }, "headers": [], "isErrorResponse": false, @@ -125154,12 +129993,12 @@ }, "parameters": [ { - "$id": "9126", + "$id": "9435", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "3346" + "$ref": "3414" }, "location": "Body", "isApiVersion": false, @@ -125171,13 +130010,13 @@ "decorators": [] }, { - "$id": "9127", + "$id": "9436", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2015" + "$ref": "2083" }, "location": "Header", "isApiVersion": false, @@ -125189,12 +130028,12 @@ "decorators": [] }, { - "$id": "9128", + "$id": "9437", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2017" + "$ref": "2085" }, "location": "Header", "isApiVersion": false, @@ -125208,7 +130047,7 @@ ], "response": { "type": { - "$ref": "3323" + "$ref": "3391" } }, "isOverride": false, @@ -125217,24 +130056,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer" }, { - "$id": "9129", + "$id": "9438", "kind": "basic", "name": "GetContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9130", + "$id": "9439", "name": "GetContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9131", + "$id": "9440", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9132", + "$id": "9441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125252,12 +130091,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer.container_id" }, { - "$id": "9133", + "$id": "9442", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2019" + "$ref": "2087" }, "isApiVersion": false, "optional": false, @@ -125274,7 +130113,7 @@ 200 ], "bodyType": { - "$ref": "3323" + "$ref": "3391" }, "headers": [], "isErrorResponse": false, @@ -125295,12 +130134,12 @@ }, "parameters": [ { - "$id": "9134", + "$id": "9443", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9135", + "$id": "9444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125316,12 +130155,12 @@ "decorators": [] }, { - "$id": "9136", + "$id": "9445", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2019" + "$ref": "2087" }, "location": "Header", "isApiVersion": false, @@ -125335,7 +130174,7 @@ ], "response": { "type": { - "$ref": "3323" + "$ref": "3391" } }, "isOverride": false, @@ -125344,24 +130183,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer" }, { - "$id": "9137", + "$id": "9446", "kind": "basic", "name": "deleteContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9138", + "$id": "9447", "name": "deleteContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9139", + "$id": "9448", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9140", + "$id": "9449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125379,12 +130218,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer.container_id" }, { - "$id": "9141", + "$id": "9450", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2021" + "$ref": "2089" }, "isApiVersion": false, "optional": false, @@ -125401,7 +130240,7 @@ 200 ], "bodyType": { - "$ref": "3355" + "$ref": "3423" }, "headers": [], "isErrorResponse": false, @@ -125422,12 +130261,12 @@ }, "parameters": [ { - "$id": "9142", + "$id": "9451", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9143", + "$id": "9452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125443,12 +130282,12 @@ "decorators": [] }, { - "$id": "9144", + "$id": "9453", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2021" + "$ref": "2089" }, "location": "Header", "isApiVersion": false, @@ -125462,7 +130301,7 @@ ], "response": { "type": { - "$ref": "3355" + "$ref": "3423" } }, "isOverride": false, @@ -125471,24 +130310,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer" }, { - "$id": "9145", + "$id": "9454", "kind": "basic", "name": "createContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9146", + "$id": "9455", "name": "createContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9147", + "$id": "9456", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9148", + "$id": "9457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125506,12 +130345,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.container_id" }, { - "$id": "9149", + "$id": "9458", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2023" + "$ref": "2091" }, "isApiVersion": false, "optional": false, @@ -125522,12 +130361,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.contentType" }, { - "$id": "9150", + "$id": "9459", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2025" + "$ref": "2093" }, "isApiVersion": false, "optional": false, @@ -125538,12 +130377,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.accept" }, { - "$id": "9151", + "$id": "9460", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "3360" + "$ref": "3428" }, "isApiVersion": false, "contentTypes": [ @@ -125563,7 +130402,7 @@ 200 ], "bodyType": { - "$ref": "3365" + "$ref": "3433" }, "headers": [], "isErrorResponse": false, @@ -125587,12 +130426,12 @@ }, "parameters": [ { - "$id": "9152", + "$id": "9461", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9153", + "$id": "9462", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125608,12 +130447,12 @@ "decorators": [] }, { - "$id": "9154", + "$id": "9463", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2027" + "$ref": "2095" }, "location": "Header", "isApiVersion": false, @@ -125625,12 +130464,12 @@ "decorators": [] }, { - "$id": "9155", + "$id": "9464", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "3360" + "$ref": "3428" }, "location": "Body", "isApiVersion": false, @@ -125642,12 +130481,12 @@ "decorators": [] }, { - "$id": "9156", + "$id": "9465", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2025" + "$ref": "2093" }, "location": "Header", "isApiVersion": false, @@ -125661,7 +130500,7 @@ ], "response": { "type": { - "$ref": "3365" + "$ref": "3433" } }, "isOverride": false, @@ -125670,24 +130509,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile" }, { - "$id": "9157", + "$id": "9466", "kind": "paging", "name": "listContainerFiles", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9158", + "$id": "9467", "name": "listContainerFiles", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9159", + "$id": "9468", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9160", + "$id": "9469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125705,13 +130544,13 @@ "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.container_id" }, { - "$id": "9161", + "$id": "9470", "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": "9162", + "$id": "9471", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -125726,13 +130565,13 @@ "readOnly": false }, { - "$id": "9163", + "$id": "9472", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -125743,13 +130582,13 @@ "readOnly": false }, { - "$id": "9164", + "$id": "9473", "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": "9165", + "$id": "9474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125764,12 +130603,12 @@ "readOnly": false }, { - "$id": "9166", + "$id": "9475", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2029" + "$ref": "2097" }, "isApiVersion": false, "optional": false, @@ -125786,7 +130625,7 @@ 200 ], "bodyType": { - "$ref": "3381" + "$ref": "3449" }, "headers": [], "isErrorResponse": false, @@ -125807,12 +130646,12 @@ }, "parameters": [ { - "$id": "9167", + "$id": "9476", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9168", + "$id": "9477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125828,13 +130667,13 @@ "decorators": [] }, { - "$id": "9169", + "$id": "9478", "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": "9170", + "$id": "9479", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -125850,13 +130689,13 @@ "decorators": [] }, { - "$id": "9171", + "$id": "9480", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -125868,13 +130707,13 @@ "decorators": [] }, { - "$id": "9172", + "$id": "9481", "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": "9173", + "$id": "9482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125890,12 +130729,12 @@ "decorators": [] }, { - "$id": "9174", + "$id": "9483", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2029" + "$ref": "2097" }, "location": "Header", "isApiVersion": false, @@ -125909,7 +130748,7 @@ ], "response": { "type": { - "$ref": "3384" + "$ref": "3452" }, "resultSegments": [ "data" @@ -125925,7 +130764,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9164" + "$ref": "9473" }, "responseSegments": [ "last_id" @@ -125936,24 +130775,24 @@ } }, { - "$id": "9175", + "$id": "9484", "kind": "basic", "name": "GetContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9176", + "$id": "9485", "name": "GetContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9177", + "$id": "9486", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9178", + "$id": "9487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125971,12 +130810,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.container_id" }, { - "$id": "9179", + "$id": "9488", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "9180", + "$id": "9489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125994,12 +130833,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.file_id" }, { - "$id": "9181", + "$id": "9490", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2031" + "$ref": "2099" }, "isApiVersion": false, "optional": false, @@ -126016,7 +130855,7 @@ 200 ], "bodyType": { - "$ref": "3365" + "$ref": "3433" }, "headers": [], "isErrorResponse": false, @@ -126037,12 +130876,12 @@ }, "parameters": [ { - "$id": "9182", + "$id": "9491", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9183", + "$id": "9492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126058,12 +130897,12 @@ "decorators": [] }, { - "$id": "9184", + "$id": "9493", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "9185", + "$id": "9494", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126079,12 +130918,12 @@ "decorators": [] }, { - "$id": "9186", + "$id": "9495", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2031" + "$ref": "2099" }, "location": "Header", "isApiVersion": false, @@ -126098,7 +130937,7 @@ ], "response": { "type": { - "$ref": "3365" + "$ref": "3433" } }, "isOverride": false, @@ -126107,24 +130946,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile" }, { - "$id": "9187", + "$id": "9496", "kind": "basic", "name": "deleteContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9188", + "$id": "9497", "name": "deleteContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9189", + "$id": "9498", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9190", + "$id": "9499", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126142,12 +130981,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.container_id" }, { - "$id": "9191", + "$id": "9500", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "9192", + "$id": "9501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126165,12 +131004,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.file_id" }, { - "$id": "9193", + "$id": "9502", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2033" + "$ref": "2101" }, "isApiVersion": false, "optional": false, @@ -126187,7 +131026,7 @@ 200 ], "bodyType": { - "$ref": "3391" + "$ref": "3459" }, "headers": [], "isErrorResponse": false, @@ -126208,12 +131047,12 @@ }, "parameters": [ { - "$id": "9194", + "$id": "9503", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9195", + "$id": "9504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126229,12 +131068,12 @@ "decorators": [] }, { - "$id": "9196", + "$id": "9505", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "9197", + "$id": "9506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126250,12 +131089,12 @@ "decorators": [] }, { - "$id": "9198", + "$id": "9507", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2033" + "$ref": "2101" }, "location": "Header", "isApiVersion": false, @@ -126269,7 +131108,7 @@ ], "response": { "type": { - "$ref": "3391" + "$ref": "3459" } }, "isOverride": false, @@ -126278,24 +131117,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile" }, { - "$id": "9199", + "$id": "9508", "kind": "basic", "name": "DownloadContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9200", + "$id": "9509", "name": "DownloadContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "9201", + "$id": "9510", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9202", + "$id": "9511", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126313,12 +131152,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.container_id" }, { - "$id": "9203", + "$id": "9512", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "9204", + "$id": "9513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126336,12 +131175,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.file_id" }, { - "$id": "9205", + "$id": "9514", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2035" + "$ref": "2103" }, "isApiVersion": false, "optional": false, @@ -126358,7 +131197,7 @@ 200 ], "bodyType": { - "$id": "9206", + "$id": "9515", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -126384,12 +131223,12 @@ }, "parameters": [ { - "$id": "9207", + "$id": "9516", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "9208", + "$id": "9517", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126405,12 +131244,12 @@ "decorators": [] }, { - "$id": "9209", + "$id": "9518", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "9210", + "$id": "9519", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126426,12 +131265,12 @@ "decorators": [] }, { - "$id": "9211", + "$id": "9520", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2035" + "$ref": "2103" }, "location": "Header", "isApiVersion": false, @@ -126445,7 +131284,7 @@ ], "response": { "type": { - "$ref": "9206" + "$ref": "9515" } }, "isOverride": false, @@ -126456,13 +131295,13 @@ ], "parameters": [ { - "$id": "9212", + "$id": "9521", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9213", + "$id": "9522", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -126473,7 +131312,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9214", + "$id": "9523", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -126491,38 +131330,38 @@ "crossLanguageDefinitionId": "OpenAI.Containers", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "9215", + "$id": "9524", "kind": "client", "name": "FineTuning", "namespace": "OpenAI", "methods": [ { - "$id": "9216", + "$id": "9525", "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": "9217", + "$id": "9526", "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": "9218", + "$id": "9527", "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": "9219", + "$id": "9528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126540,13 +131379,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.fine_tuned_model_checkpoint" }, { - "$id": "9220", + "$id": "9529", "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": "9221", + "$id": "9530", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126561,13 +131400,13 @@ "readOnly": false }, { - "$id": "9222", + "$id": "9531", "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": "9223", + "$id": "9532", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -126582,13 +131421,13 @@ "readOnly": false }, { - "$id": "9224", + "$id": "9533", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -126599,13 +131438,13 @@ "readOnly": false }, { - "$id": "9225", + "$id": "9534", "kind": "query", "name": "project_id", "serializedName": "project_id", "doc": "The ID of the project to get permissions for.", "type": { - "$id": "9226", + "$id": "9535", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126620,12 +131459,12 @@ "readOnly": false }, { - "$id": "9227", + "$id": "9536", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2037" + "$ref": "2105" }, "isApiVersion": false, "optional": false, @@ -126642,7 +131481,7 @@ 200 ], "bodyType": { - "$ref": "3396" + "$ref": "3464" }, "headers": [], "isErrorResponse": false, @@ -126663,13 +131502,13 @@ }, "parameters": [ { - "$id": "9228", + "$id": "9537", "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": "9229", + "$id": "9538", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126685,13 +131524,13 @@ "decorators": [] }, { - "$id": "9230", + "$id": "9539", "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": "9231", + "$id": "9540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126707,13 +131546,13 @@ "decorators": [] }, { - "$id": "9232", + "$id": "9541", "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": "9233", + "$id": "9542", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -126729,13 +131568,13 @@ "decorators": [] }, { - "$id": "9234", + "$id": "9543", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -126747,13 +131586,13 @@ "decorators": [] }, { - "$id": "9235", + "$id": "9544", "kind": "method", "name": "project_id", "serializedName": "project_id", "doc": "The ID of the project to get permissions for.", "type": { - "$id": "9236", + "$id": "9545", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126769,12 +131608,12 @@ "decorators": [] }, { - "$id": "9237", + "$id": "9546", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2037" + "$ref": "2105" }, "location": "Header", "isApiVersion": false, @@ -126788,7 +131627,7 @@ ], "response": { "type": { - "$ref": "3396" + "$ref": "3464" } }, "isOverride": false, @@ -126797,27 +131636,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions" }, { - "$id": "9238", + "$id": "9547", "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": "9239", + "$id": "9548", "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": "9240", + "$id": "9549", "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": "9241", + "$id": "9550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126835,13 +131674,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.fine_tuned_model_checkpoint" }, { - "$id": "9242", + "$id": "9551", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2039" + "$ref": "2107" }, "isApiVersion": false, "optional": false, @@ -126852,12 +131691,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.contentType" }, { - "$id": "9243", + "$id": "9552", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2041" + "$ref": "2109" }, "isApiVersion": false, "optional": false, @@ -126868,12 +131707,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.accept" }, { - "$id": "9244", + "$id": "9553", "kind": "body", "name": "createFineTuningCheckpointPermissionRequest", "serializedName": "createFineTuningCheckpointPermissionRequest", "type": { - "$ref": "3417" + "$ref": "3485" }, "isApiVersion": false, "contentTypes": [ @@ -126893,7 +131732,7 @@ 200 ], "bodyType": { - "$ref": "3396" + "$ref": "3464" }, "headers": [], "isErrorResponse": false, @@ -126917,13 +131756,13 @@ }, "parameters": [ { - "$id": "9245", + "$id": "9554", "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": "9246", + "$id": "9555", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126939,13 +131778,13 @@ "decorators": [] }, { - "$id": "9247", + "$id": "9556", "kind": "method", "name": "project_ids", "serializedName": "project_ids", "doc": "The project identifiers to grant access to.", "type": { - "$ref": "2573" + "$ref": "2641" }, "location": "Body", "isApiVersion": false, @@ -126957,13 +131796,13 @@ "decorators": [] }, { - "$id": "9248", + "$id": "9557", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2039" + "$ref": "2107" }, "location": "Header", "isApiVersion": false, @@ -126975,12 +131814,12 @@ "decorators": [] }, { - "$id": "9249", + "$id": "9558", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2041" + "$ref": "2109" }, "location": "Header", "isApiVersion": false, @@ -126994,7 +131833,7 @@ ], "response": { "type": { - "$ref": "3396" + "$ref": "3464" } }, "isOverride": false, @@ -127003,27 +131842,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission" }, { - "$id": "9250", + "$id": "9559", "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": "9251", + "$id": "9560", "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": "9252", + "$id": "9561", "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": "9253", + "$id": "9562", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127041,13 +131880,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.fine_tuned_model_checkpoint" }, { - "$id": "9254", + "$id": "9563", "kind": "path", "name": "permission_id", "serializedName": "permission_id", "doc": "The ID of the permission to delete.", "type": { - "$id": "9255", + "$id": "9564", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127065,12 +131904,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.permission_id" }, { - "$id": "9256", + "$id": "9565", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2043" + "$ref": "2111" }, "isApiVersion": false, "optional": false, @@ -127087,7 +131926,7 @@ 200 ], "bodyType": { - "$ref": "3419" + "$ref": "3487" }, "headers": [], "isErrorResponse": false, @@ -127108,13 +131947,13 @@ }, "parameters": [ { - "$id": "9257", + "$id": "9566", "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": "9258", + "$id": "9567", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127130,13 +131969,13 @@ "decorators": [] }, { - "$id": "9259", + "$id": "9568", "kind": "method", "name": "permission_id", "serializedName": "permission_id", "doc": "The ID of the permission to delete.", "type": { - "$id": "9260", + "$id": "9569", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127152,12 +131991,12 @@ "decorators": [] }, { - "$id": "9261", + "$id": "9570", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2043" + "$ref": "2111" }, "location": "Header", "isApiVersion": false, @@ -127171,7 +132010,7 @@ ], "response": { "type": { - "$ref": "3419" + "$ref": "3487" } }, "isOverride": false, @@ -127180,26 +132019,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission" }, { - "$id": "9262", + "$id": "9571", "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": "9263", + "$id": "9572", "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": "9264", + "$id": "9573", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2045" + "$ref": "2113" }, "isApiVersion": false, "optional": false, @@ -127210,13 +132049,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.accept" }, { - "$id": "9265", + "$id": "9574", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2047" + "$ref": "2115" }, "isApiVersion": false, "optional": false, @@ -127227,12 +132066,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.contentType" }, { - "$id": "9266", + "$id": "9575", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "3425" + "$ref": "3493" }, "isApiVersion": false, "contentTypes": [ @@ -127252,7 +132091,7 @@ 200 ], "bodyType": { - "$ref": "3623" + "$ref": "3691" }, "headers": [], "isErrorResponse": false, @@ -127276,12 +132115,12 @@ }, "parameters": [ { - "$id": "9267", + "$id": "9576", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2049" + "$ref": "2117" }, "location": "Header", "isApiVersion": false, @@ -127293,12 +132132,12 @@ "decorators": [] }, { - "$id": "9268", + "$id": "9577", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "3425" + "$ref": "3493" }, "location": "Body", "isApiVersion": false, @@ -127310,13 +132149,13 @@ "decorators": [] }, { - "$id": "9269", + "$id": "9578", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2047" + "$ref": "2115" }, "location": "Header", "isApiVersion": false, @@ -127330,7 +132169,7 @@ ], "response": { "type": { - "$ref": "3623" + "$ref": "3691" } }, "isOverride": false, @@ -127339,26 +132178,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob" }, { - "$id": "9270", + "$id": "9579", "kind": "basic", "name": "listPaginatedFineTuningJobs", "accessibility": "public", "apiVersions": [], "summary": "List your organization's fine-tuning jobs", "operation": { - "$id": "9271", + "$id": "9580", "name": "listPaginatedFineTuningJobs", "resourceName": "FineTuning", "summary": "List your organization's fine-tuning jobs", "accessibility": "public", "parameters": [ { - "$id": "9272", + "$id": "9581", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2051" + "$ref": "2119" }, "isApiVersion": false, "optional": false, @@ -127369,13 +132208,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.accept" }, { - "$id": "9273", + "$id": "9582", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { - "$id": "9274", + "$id": "9583", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127390,13 +132229,13 @@ "readOnly": false }, { - "$id": "9275", + "$id": "9584", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { - "$id": "9276", + "$id": "9585", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127417,7 +132256,7 @@ 200 ], "bodyType": { - "$ref": "3706" + "$ref": "3774" }, "headers": [], "isErrorResponse": false, @@ -127438,12 +132277,12 @@ }, "parameters": [ { - "$id": "9277", + "$id": "9586", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2053" + "$ref": "2121" }, "location": "Header", "isApiVersion": false, @@ -127455,13 +132294,13 @@ "decorators": [] }, { - "$id": "9278", + "$id": "9587", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { - "$id": "9279", + "$id": "9588", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127477,13 +132316,13 @@ "decorators": [] }, { - "$id": "9280", + "$id": "9589", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { - "$id": "9281", + "$id": "9590", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127501,7 +132340,7 @@ ], "response": { "type": { - "$ref": "3706" + "$ref": "3774" } }, "isOverride": false, @@ -127510,26 +132349,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs" }, { - "$id": "9282", + "$id": "9591", "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": "9283", + "$id": "9592", "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": "9284", + "$id": "9593", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2055" + "$ref": "2123" }, "isApiVersion": false, "optional": false, @@ -127540,13 +132379,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob.accept" }, { - "$id": "9285", + "$id": "9594", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { - "$id": "9286", + "$id": "9595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127570,7 +132409,7 @@ 200 ], "bodyType": { - "$ref": "3623" + "$ref": "3691" }, "headers": [], "isErrorResponse": false, @@ -127591,12 +132430,12 @@ }, "parameters": [ { - "$id": "9287", + "$id": "9596", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2057" + "$ref": "2125" }, "location": "Header", "isApiVersion": false, @@ -127608,13 +132447,13 @@ "decorators": [] }, { - "$id": "9288", + "$id": "9597", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { - "$id": "9289", + "$id": "9598", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127632,7 +132471,7 @@ ], "response": { "type": { - "$ref": "3623" + "$ref": "3691" } }, "isOverride": false, @@ -127641,26 +132480,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob" }, { - "$id": "9290", + "$id": "9599", "kind": "basic", "name": "cancelFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Immediately cancel a fine-tune job.", "operation": { - "$id": "9291", + "$id": "9600", "name": "cancelFineTuningJob", "resourceName": "FineTuning", "summary": "Immediately cancel a fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "9292", + "$id": "9601", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2059" + "$ref": "2127" }, "isApiVersion": false, "optional": false, @@ -127671,13 +132510,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob.accept" }, { - "$id": "9293", + "$id": "9602", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { - "$id": "9294", + "$id": "9603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127701,7 +132540,7 @@ 200 ], "bodyType": { - "$ref": "3623" + "$ref": "3691" }, "headers": [], "isErrorResponse": false, @@ -127722,12 +132561,12 @@ }, "parameters": [ { - "$id": "9295", + "$id": "9604", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2061" + "$ref": "2129" }, "location": "Header", "isApiVersion": false, @@ -127739,13 +132578,13 @@ "decorators": [] }, { - "$id": "9296", + "$id": "9605", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { - "$id": "9297", + "$id": "9606", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127763,7 +132602,7 @@ ], "response": { "type": { - "$ref": "3623" + "$ref": "3691" } }, "isOverride": false, @@ -127772,26 +132611,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob" }, { - "$id": "9298", + "$id": "9607", "kind": "basic", "name": "listFineTuningJobCheckpoints", "accessibility": "public", "apiVersions": [], "summary": "List the checkpoints for a fine-tuning job.", "operation": { - "$id": "9299", + "$id": "9608", "name": "listFineTuningJobCheckpoints", "resourceName": "FineTuning", "summary": "List the checkpoints for a fine-tuning job.", "accessibility": "public", "parameters": [ { - "$id": "9300", + "$id": "9609", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2063" + "$ref": "2131" }, "isApiVersion": false, "optional": false, @@ -127802,13 +132641,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.accept" }, { - "$id": "9301", + "$id": "9610", "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": "9302", + "$id": "9611", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127826,13 +132665,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.fine_tuning_job_id" }, { - "$id": "9303", + "$id": "9612", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { - "$id": "9304", + "$id": "9613", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127847,13 +132686,13 @@ "readOnly": false }, { - "$id": "9305", + "$id": "9614", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of checkpoints to retrieve.", "type": { - "$id": "9306", + "$id": "9615", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127874,7 +132713,7 @@ 200 ], "bodyType": { - "$ref": "3712" + "$ref": "3780" }, "headers": [], "isErrorResponse": false, @@ -127895,12 +132734,12 @@ }, "parameters": [ { - "$id": "9307", + "$id": "9616", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2065" + "$ref": "2133" }, "location": "Header", "isApiVersion": false, @@ -127912,13 +132751,13 @@ "decorators": [] }, { - "$id": "9308", + "$id": "9617", "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": "9309", + "$id": "9618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127934,13 +132773,13 @@ "decorators": [] }, { - "$id": "9310", + "$id": "9619", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { - "$id": "9311", + "$id": "9620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127956,13 +132795,13 @@ "decorators": [] }, { - "$id": "9312", + "$id": "9621", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of checkpoints to retrieve.", "type": { - "$id": "9313", + "$id": "9622", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127980,7 +132819,7 @@ ], "response": { "type": { - "$ref": "3712" + "$ref": "3780" } }, "isOverride": false, @@ -127989,26 +132828,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints" }, { - "$id": "9314", + "$id": "9623", "kind": "basic", "name": "listFineTuningEvents", "accessibility": "public", "apiVersions": [], "summary": "Get status updates for a fine-tuning job.", "operation": { - "$id": "9315", + "$id": "9624", "name": "listFineTuningEvents", "resourceName": "FineTuning", "summary": "Get status updates for a fine-tuning job.", "accessibility": "public", "parameters": [ { - "$id": "9316", + "$id": "9625", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2067" + "$ref": "2135" }, "isApiVersion": false, "optional": false, @@ -128019,13 +132858,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.accept" }, { - "$id": "9317", + "$id": "9626", "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": "9318", + "$id": "9627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128043,13 +132882,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.fine_tuning_job_id" }, { - "$id": "9319", + "$id": "9628", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { - "$id": "9320", + "$id": "9629", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128064,13 +132903,13 @@ "readOnly": false }, { - "$id": "9321", + "$id": "9630", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of events to retrieve.", "type": { - "$id": "9322", + "$id": "9631", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -128091,7 +132930,7 @@ 200 ], "bodyType": { - "$ref": "3753" + "$ref": "3821" }, "headers": [], "isErrorResponse": false, @@ -128112,12 +132951,12 @@ }, "parameters": [ { - "$id": "9323", + "$id": "9632", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2069" + "$ref": "2137" }, "location": "Header", "isApiVersion": false, @@ -128129,13 +132968,13 @@ "decorators": [] }, { - "$id": "9324", + "$id": "9633", "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": "9325", + "$id": "9634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128151,13 +132990,13 @@ "decorators": [] }, { - "$id": "9326", + "$id": "9635", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { - "$id": "9327", + "$id": "9636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128173,13 +133012,13 @@ "decorators": [] }, { - "$id": "9328", + "$id": "9637", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of events to retrieve.", "type": { - "$id": "9329", + "$id": "9638", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -128197,7 +133036,7 @@ ], "response": { "type": { - "$ref": "3753" + "$ref": "3821" } }, "isOverride": false, @@ -128206,27 +133045,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents" }, { - "$id": "9330", + "$id": "9639", "kind": "basic", "name": "pauseFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Pause a fine-tune job.", "operation": { - "$id": "9331", + "$id": "9640", "name": "pauseFineTuningJob", "resourceName": "FineTuning", "summary": "Pause a fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "9332", + "$id": "9641", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { - "$id": "9333", + "$id": "9642", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128244,12 +133083,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob.fine_tuning_job_id" }, { - "$id": "9334", + "$id": "9643", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2071" + "$ref": "2139" }, "isApiVersion": false, "optional": false, @@ -128266,7 +133105,7 @@ 200 ], "bodyType": { - "$ref": "3623" + "$ref": "3691" }, "headers": [], "isErrorResponse": false, @@ -128287,13 +133126,13 @@ }, "parameters": [ { - "$id": "9335", + "$id": "9644", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { - "$id": "9336", + "$id": "9645", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128309,12 +133148,12 @@ "decorators": [] }, { - "$id": "9337", + "$id": "9646", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2071" + "$ref": "2139" }, "location": "Header", "isApiVersion": false, @@ -128328,7 +133167,7 @@ ], "response": { "type": { - "$ref": "3623" + "$ref": "3691" } }, "isOverride": false, @@ -128337,27 +133176,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob" }, { - "$id": "9338", + "$id": "9647", "kind": "basic", "name": "resumeFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Resume a paused fine-tune job.", "operation": { - "$id": "9339", + "$id": "9648", "name": "resumeFineTuningJob", "resourceName": "FineTuning", "summary": "Resume a paused fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "9340", + "$id": "9649", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { - "$id": "9341", + "$id": "9650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128375,12 +133214,12 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.resumeFineTuningJob.fine_tuning_job_id" }, { - "$id": "9342", + "$id": "9651", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2073" + "$ref": "2141" }, "isApiVersion": false, "optional": false, @@ -128397,7 +133236,7 @@ 200 ], "bodyType": { - "$ref": "3623" + "$ref": "3691" }, "headers": [], "isErrorResponse": false, @@ -128418,13 +133257,13 @@ }, "parameters": [ { - "$id": "9343", + "$id": "9652", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { - "$id": "9344", + "$id": "9653", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128440,12 +133279,12 @@ "decorators": [] }, { - "$id": "9345", + "$id": "9654", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2073" + "$ref": "2141" }, "location": "Header", "isApiVersion": false, @@ -128459,7 +133298,7 @@ ], "response": { "type": { - "$ref": "3623" + "$ref": "3691" } }, "isOverride": false, @@ -128470,13 +133309,13 @@ ], "parameters": [ { - "$id": "9346", + "$id": "9655", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9347", + "$id": "9656", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -128487,7 +133326,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9348", + "$id": "9657", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -128505,38 +133344,38 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "9349", + "$id": "9658", "kind": "client", "name": "Graders", "namespace": "OpenAI", "methods": [ { - "$id": "9350", + "$id": "9659", "kind": "basic", "name": "runGrader", "accessibility": "public", "apiVersions": [], "summary": "Run a grader.", "operation": { - "$id": "9351", + "$id": "9660", "name": "runGrader", "resourceName": "Graders", "summary": "Run a grader.", "accessibility": "public", "parameters": [ { - "$id": "9352", + "$id": "9661", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2075" + "$ref": "2143" }, "isApiVersion": false, "optional": false, @@ -128547,12 +133386,12 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.contentType" }, { - "$id": "9353", + "$id": "9662", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2077" + "$ref": "2145" }, "isApiVersion": false, "optional": false, @@ -128563,12 +133402,12 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.accept" }, { - "$id": "9354", + "$id": "9663", "kind": "body", "name": "request", "serializedName": "request", "type": { - "$ref": "3772" + "$ref": "3840" }, "isApiVersion": false, "contentTypes": [ @@ -128588,7 +133427,7 @@ 200 ], "bodyType": { - "$ref": "3779" + "$ref": "3847" }, "headers": [], "isErrorResponse": false, @@ -128612,12 +133451,12 @@ }, "parameters": [ { - "$id": "9355", + "$id": "9664", "kind": "method", "name": "request", "serializedName": "request", "type": { - "$ref": "3772" + "$ref": "3840" }, "location": "Body", "isApiVersion": false, @@ -128629,13 +133468,13 @@ "decorators": [] }, { - "$id": "9356", + "$id": "9665", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2075" + "$ref": "2143" }, "location": "Header", "isApiVersion": false, @@ -128647,12 +133486,12 @@ "decorators": [] }, { - "$id": "9357", + "$id": "9666", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2077" + "$ref": "2145" }, "location": "Header", "isApiVersion": false, @@ -128666,7 +133505,7 @@ ], "response": { "type": { - "$ref": "3779" + "$ref": "3847" } }, "isOverride": false, @@ -128675,27 +133514,27 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader" }, { - "$id": "9358", + "$id": "9667", "kind": "basic", "name": "validateGrader", "accessibility": "public", "apiVersions": [], "summary": "Validate a grader.", "operation": { - "$id": "9359", + "$id": "9668", "name": "validateGrader", "resourceName": "Graders", "summary": "Validate a grader.", "accessibility": "public", "parameters": [ { - "$id": "9360", + "$id": "9669", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2079" + "$ref": "2147" }, "isApiVersion": false, "optional": false, @@ -128706,12 +133545,12 @@ "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.contentType" }, { - "$id": "9361", + "$id": "9670", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2081" + "$ref": "2149" }, "isApiVersion": false, "optional": false, @@ -128722,12 +133561,12 @@ "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.accept" }, { - "$id": "9362", + "$id": "9671", "kind": "body", "name": "request", "serializedName": "request", "type": { - "$ref": "3835" + "$ref": "3903" }, "isApiVersion": false, "contentTypes": [ @@ -128747,7 +133586,7 @@ 200 ], "bodyType": { - "$ref": "3838" + "$ref": "3906" }, "headers": [], "isErrorResponse": false, @@ -128771,12 +133610,12 @@ }, "parameters": [ { - "$id": "9363", + "$id": "9672", "kind": "method", "name": "request", "serializedName": "request", "type": { - "$ref": "3835" + "$ref": "3903" }, "location": "Body", "isApiVersion": false, @@ -128788,13 +133627,13 @@ "decorators": [] }, { - "$id": "9364", + "$id": "9673", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2079" + "$ref": "2147" }, "location": "Header", "isApiVersion": false, @@ -128806,12 +133645,12 @@ "decorators": [] }, { - "$id": "9365", + "$id": "9674", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2081" + "$ref": "2149" }, "location": "Header", "isApiVersion": false, @@ -128825,7 +133664,7 @@ ], "response": { "type": { - "$ref": "3838" + "$ref": "3906" } }, "isOverride": false, @@ -128836,13 +133675,13 @@ ], "parameters": [ { - "$id": "9366", + "$id": "9675", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9367", + "$id": "9676", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -128853,7 +133692,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9368", + "$id": "9677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -128871,38 +133710,38 @@ "crossLanguageDefinitionId": "OpenAI.Graders", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "9369", + "$id": "9678", "kind": "client", "name": "Evals", "namespace": "OpenAI", "methods": [ { - "$id": "9370", + "$id": "9679", "kind": "basic", "name": "listEvals", "accessibility": "public", "apiVersions": [], "summary": "List evaluations for a project.", "operation": { - "$id": "9371", + "$id": "9680", "name": "listEvals", "resourceName": "Evals", "summary": "List evaluations for a project.", "accessibility": "public", "parameters": [ { - "$id": "9372", + "$id": "9681", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { - "$id": "9373", + "$id": "9682", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128917,13 +133756,13 @@ "readOnly": false }, { - "$id": "9374", + "$id": "9683", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { - "$id": "9375", + "$id": "9684", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -128938,13 +133777,13 @@ "readOnly": false }, { - "$id": "9376", + "$id": "9685", "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": "1550" + "$ref": "1614" }, "isApiVersion": false, "explode": false, @@ -128955,13 +133794,13 @@ "readOnly": false }, { - "$id": "9377", + "$id": "9686", "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": "1554" + "$ref": "1618" }, "isApiVersion": false, "explode": false, @@ -128972,12 +133811,12 @@ "readOnly": false }, { - "$id": "9378", + "$id": "9687", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2083" + "$ref": "2151" }, "isApiVersion": false, "optional": false, @@ -128994,7 +133833,7 @@ 200 ], "bodyType": { - "$ref": "3841" + "$ref": "3909" }, "headers": [], "isErrorResponse": false, @@ -129015,13 +133854,13 @@ }, "parameters": [ { - "$id": "9379", + "$id": "9688", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { - "$id": "9380", + "$id": "9689", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129037,13 +133876,13 @@ "decorators": [] }, { - "$id": "9381", + "$id": "9690", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { - "$id": "9382", + "$id": "9691", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -129059,13 +133898,13 @@ "decorators": [] }, { - "$id": "9383", + "$id": "9692", "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": "1550" + "$ref": "1614" }, "location": "Query", "isApiVersion": false, @@ -129077,13 +133916,13 @@ "decorators": [] }, { - "$id": "9384", + "$id": "9693", "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": "1554" + "$ref": "1618" }, "location": "Query", "isApiVersion": false, @@ -129095,12 +133934,12 @@ "decorators": [] }, { - "$id": "9385", + "$id": "9694", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2083" + "$ref": "2151" }, "location": "Header", "isApiVersion": false, @@ -129114,7 +133953,7 @@ ], "response": { "type": { - "$ref": "3841" + "$ref": "3909" } }, "isOverride": false, @@ -129123,27 +133962,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.listEvals" }, { - "$id": "9386", + "$id": "9695", "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": "9387", + "$id": "9696", "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": "9388", + "$id": "9697", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2085" + "$ref": "2153" }, "isApiVersion": false, "optional": false, @@ -129154,12 +133993,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval.contentType" }, { - "$id": "9389", + "$id": "9698", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2087" + "$ref": "2155" }, "isApiVersion": false, "optional": false, @@ -129170,12 +134009,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval.accept" }, { - "$id": "9390", + "$id": "9699", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "3933" + "$ref": "4001" }, "isApiVersion": false, "contentTypes": [ @@ -129195,7 +134034,7 @@ 201 ], "bodyType": { - "$ref": "3845" + "$ref": "3913" }, "headers": [], "isErrorResponse": false, @@ -129219,12 +134058,12 @@ }, "parameters": [ { - "$id": "9391", + "$id": "9700", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "3933" + "$ref": "4001" }, "location": "Body", "isApiVersion": false, @@ -129236,13 +134075,13 @@ "decorators": [] }, { - "$id": "9392", + "$id": "9701", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2085" + "$ref": "2153" }, "location": "Header", "isApiVersion": false, @@ -129254,12 +134093,12 @@ "decorators": [] }, { - "$id": "9393", + "$id": "9702", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2087" + "$ref": "2155" }, "location": "Header", "isApiVersion": false, @@ -129273,7 +134112,7 @@ ], "response": { "type": { - "$ref": "3845" + "$ref": "3913" } }, "isOverride": false, @@ -129282,26 +134121,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval" }, { - "$id": "9394", + "$id": "9703", "kind": "basic", "name": "getEval", "accessibility": "public", "apiVersions": [], "summary": "Retrieve an evaluation by its ID.", "operation": { - "$id": "9395", + "$id": "9704", "name": "getEval", "resourceName": "Evals", "summary": "Retrieve an evaluation by its ID.", "accessibility": "public", "parameters": [ { - "$id": "9396", + "$id": "9705", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "9397", + "$id": "9706", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129319,12 +134158,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEval.eval_id" }, { - "$id": "9398", + "$id": "9707", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2089" + "$ref": "2157" }, "isApiVersion": false, "optional": false, @@ -129341,7 +134180,7 @@ 200 ], "bodyType": { - "$ref": "3845" + "$ref": "3913" }, "headers": [], "isErrorResponse": false, @@ -129362,12 +134201,12 @@ }, "parameters": [ { - "$id": "9399", + "$id": "9708", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "9400", + "$id": "9709", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129383,12 +134222,12 @@ "decorators": [] }, { - "$id": "9401", + "$id": "9710", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2089" + "$ref": "2157" }, "location": "Header", "isApiVersion": false, @@ -129402,7 +134241,7 @@ ], "response": { "type": { - "$ref": "3845" + "$ref": "3913" } }, "isOverride": false, @@ -129411,27 +134250,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEval" }, { - "$id": "9402", + "$id": "9711", "kind": "basic", "name": "updateEval", "accessibility": "public", "apiVersions": [], "doc": "Update select, mutable properties of a specified evaluation.", "operation": { - "$id": "9403", + "$id": "9712", "name": "updateEval", "resourceName": "Evals", "doc": "Update select, mutable properties of a specified evaluation.", "accessibility": "public", "parameters": [ { - "$id": "9404", + "$id": "9713", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to update.", "type": { - "$id": "9405", + "$id": "9714", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129449,13 +134288,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.eval_id" }, { - "$id": "9406", + "$id": "9715", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2091" + "$ref": "2159" }, "isApiVersion": false, "optional": false, @@ -129466,12 +134305,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.contentType" }, { - "$id": "9407", + "$id": "9716", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2093" + "$ref": "2161" }, "isApiVersion": false, "optional": false, @@ -129482,12 +134321,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.accept" }, { - "$id": "9408", + "$id": "9717", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "4013" + "$ref": "4081" }, "isApiVersion": false, "contentTypes": [ @@ -129507,7 +134346,7 @@ 200 ], "bodyType": { - "$ref": "3845" + "$ref": "3913" }, "headers": [], "isErrorResponse": false, @@ -129531,13 +134370,13 @@ }, "parameters": [ { - "$id": "9409", + "$id": "9718", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to update.", "type": { - "$id": "9410", + "$id": "9719", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129553,12 +134392,12 @@ "decorators": [] }, { - "$id": "9411", + "$id": "9720", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "4013" + "$ref": "4081" }, "location": "Body", "isApiVersion": false, @@ -129570,13 +134409,13 @@ "decorators": [] }, { - "$id": "9412", + "$id": "9721", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2091" + "$ref": "2159" }, "location": "Header", "isApiVersion": false, @@ -129588,12 +134427,12 @@ "decorators": [] }, { - "$id": "9413", + "$id": "9722", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2093" + "$ref": "2161" }, "location": "Header", "isApiVersion": false, @@ -129607,7 +134446,7 @@ ], "response": { "type": { - "$ref": "3845" + "$ref": "3913" } }, "isOverride": false, @@ -129616,27 +134455,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval" }, { - "$id": "9414", + "$id": "9723", "kind": "basic", "name": "deleteEval", "accessibility": "public", "apiVersions": [], "doc": "Delete a specified evaluation.", "operation": { - "$id": "9415", + "$id": "9724", "name": "deleteEval", "resourceName": "Evals", "doc": "Delete a specified evaluation.", "accessibility": "public", "parameters": [ { - "$id": "9416", + "$id": "9725", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { - "$id": "9417", + "$id": "9726", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129654,12 +134493,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval.eval_id" }, { - "$id": "9418", + "$id": "9727", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2095" + "$ref": "2163" }, "isApiVersion": false, "optional": false, @@ -129676,7 +134515,7 @@ 200 ], "bodyType": { - "$ref": "4019" + "$ref": "4087" }, "headers": [], "isErrorResponse": false, @@ -129697,13 +134536,13 @@ }, "parameters": [ { - "$id": "9419", + "$id": "9728", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { - "$id": "9420", + "$id": "9729", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129719,12 +134558,12 @@ "decorators": [] }, { - "$id": "9421", + "$id": "9730", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2095" + "$ref": "2163" }, "location": "Header", "isApiVersion": false, @@ -129738,7 +134577,7 @@ ], "response": { "type": { - "$ref": "4019" + "$ref": "4087" } }, "isOverride": false, @@ -129747,7 +134586,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval" }, { - "$id": "9422", + "$id": "9731", "kind": "basic", "name": "getEvalRuns", "accessibility": "public", @@ -129755,7 +134594,7 @@ "doc": "Retrieve a list of runs for a specified evaluation.", "summary": "", "operation": { - "$id": "9423", + "$id": "9732", "name": "getEvalRuns", "resourceName": "Evals", "summary": "", @@ -129763,13 +134602,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9424", + "$id": "9733", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { - "$id": "9425", + "$id": "9734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129787,13 +134626,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.eval_id" }, { - "$id": "9426", + "$id": "9735", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { - "$id": "9427", + "$id": "9736", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129808,13 +134647,13 @@ "readOnly": false }, { - "$id": "9428", + "$id": "9737", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { - "$id": "9429", + "$id": "9738", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -129829,13 +134668,13 @@ "readOnly": false }, { - "$id": "9430", + "$id": "9739", "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": "1558" + "$ref": "1622" }, "isApiVersion": false, "explode": false, @@ -129846,13 +134685,13 @@ "readOnly": false }, { - "$id": "9431", + "$id": "9740", "kind": "query", "name": "status", "serializedName": "status", "doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.", "type": { - "$ref": "1562" + "$ref": "1626" }, "isApiVersion": false, "explode": false, @@ -129863,12 +134702,12 @@ "readOnly": false }, { - "$id": "9432", + "$id": "9741", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2097" + "$ref": "2165" }, "isApiVersion": false, "optional": false, @@ -129885,7 +134724,7 @@ 200 ], "bodyType": { - "$ref": "4025" + "$ref": "4093" }, "headers": [], "isErrorResponse": false, @@ -129906,13 +134745,13 @@ }, "parameters": [ { - "$id": "9433", + "$id": "9742", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { - "$id": "9434", + "$id": "9743", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129928,13 +134767,13 @@ "decorators": [] }, { - "$id": "9435", + "$id": "9744", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { - "$id": "9436", + "$id": "9745", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129950,13 +134789,13 @@ "decorators": [] }, { - "$id": "9437", + "$id": "9746", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { - "$id": "9438", + "$id": "9747", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -129972,13 +134811,13 @@ "decorators": [] }, { - "$id": "9439", + "$id": "9748", "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": "1558" + "$ref": "1622" }, "location": "Query", "isApiVersion": false, @@ -129990,13 +134829,13 @@ "decorators": [] }, { - "$id": "9440", + "$id": "9749", "kind": "method", "name": "status", "serializedName": "status", "doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.", "type": { - "$ref": "1562" + "$ref": "1626" }, "location": "Query", "isApiVersion": false, @@ -130008,12 +134847,12 @@ "decorators": [] }, { - "$id": "9441", + "$id": "9750", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2097" + "$ref": "2165" }, "location": "Header", "isApiVersion": false, @@ -130027,7 +134866,7 @@ ], "response": { "type": { - "$ref": "4025" + "$ref": "4093" } }, "isOverride": false, @@ -130036,27 +134875,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns" }, { - "$id": "9442", + "$id": "9751", "kind": "basic", "name": "createEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Create a new evaluation run, beginning the grading process.", "operation": { - "$id": "9443", + "$id": "9752", "name": "createEvalRun", "resourceName": "Evals", "doc": "Create a new evaluation run, beginning the grading process.", "accessibility": "public", "parameters": [ { - "$id": "9444", + "$id": "9753", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to run.", "type": { - "$id": "9445", + "$id": "9754", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130074,13 +134913,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.eval_id" }, { - "$id": "9446", + "$id": "9755", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2099" + "$ref": "2167" }, "isApiVersion": false, "optional": false, @@ -130091,12 +134930,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.contentType" }, { - "$id": "9447", + "$id": "9756", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2101" + "$ref": "2169" }, "isApiVersion": false, "optional": false, @@ -130107,12 +134946,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.accept" }, { - "$id": "9448", + "$id": "9757", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "4096" + "$ref": "4164" }, "isApiVersion": false, "contentTypes": [ @@ -130132,7 +134971,7 @@ 201 ], "bodyType": { - "$ref": "4029" + "$ref": "4097" }, "headers": [], "isErrorResponse": false, @@ -130156,13 +134995,13 @@ }, "parameters": [ { - "$id": "9449", + "$id": "9758", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to run.", "type": { - "$id": "9450", + "$id": "9759", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130178,12 +135017,12 @@ "decorators": [] }, { - "$id": "9451", + "$id": "9760", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "4096" + "$ref": "4164" }, "location": "Body", "isApiVersion": false, @@ -130195,13 +135034,13 @@ "decorators": [] }, { - "$id": "9452", + "$id": "9761", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2099" + "$ref": "2167" }, "location": "Header", "isApiVersion": false, @@ -130213,12 +135052,12 @@ "decorators": [] }, { - "$id": "9453", + "$id": "9762", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2101" + "$ref": "2169" }, "location": "Header", "isApiVersion": false, @@ -130232,7 +135071,7 @@ ], "response": { "type": { - "$ref": "4029" + "$ref": "4097" } }, "isOverride": false, @@ -130241,27 +135080,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun" }, { - "$id": "9454", + "$id": "9763", "kind": "basic", "name": "getEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Retrieve a specific evaluation run by its ID.", "operation": { - "$id": "9455", + "$id": "9764", "name": "getEvalRun", "resourceName": "Evals", "doc": "Retrieve a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "9456", + "$id": "9765", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9457", + "$id": "9766", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130279,13 +135118,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.eval_id" }, { - "$id": "9458", + "$id": "9767", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { - "$id": "9459", + "$id": "9768", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130303,12 +135142,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.run_id" }, { - "$id": "9460", + "$id": "9769", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2103" + "$ref": "2171" }, "isApiVersion": false, "optional": false, @@ -130325,7 +135164,7 @@ 200 ], "bodyType": { - "$ref": "4029" + "$ref": "4097" }, "headers": [], "isErrorResponse": false, @@ -130346,13 +135185,13 @@ }, "parameters": [ { - "$id": "9461", + "$id": "9770", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9462", + "$id": "9771", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130368,13 +135207,13 @@ "decorators": [] }, { - "$id": "9463", + "$id": "9772", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { - "$id": "9464", + "$id": "9773", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130390,12 +135229,12 @@ "decorators": [] }, { - "$id": "9465", + "$id": "9774", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2103" + "$ref": "2171" }, "location": "Header", "isApiVersion": false, @@ -130409,7 +135248,7 @@ ], "response": { "type": { - "$ref": "4029" + "$ref": "4097" } }, "isOverride": false, @@ -130418,27 +135257,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun" }, { - "$id": "9466", + "$id": "9775", "kind": "basic", "name": "cancelEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Cancel a specific evaluation run by its ID.", "operation": { - "$id": "9467", + "$id": "9776", "name": "cancelEvalRun", "resourceName": "Evals", "doc": "Cancel a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "9468", + "$id": "9777", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9469", + "$id": "9778", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130456,13 +135295,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.eval_id" }, { - "$id": "9470", + "$id": "9779", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { - "$id": "9471", + "$id": "9780", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130480,12 +135319,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.run_id" }, { - "$id": "9472", + "$id": "9781", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2105" + "$ref": "2173" }, "isApiVersion": false, "optional": false, @@ -130502,7 +135341,7 @@ 200 ], "bodyType": { - "$ref": "4029" + "$ref": "4097" }, "headers": [], "isErrorResponse": false, @@ -130523,13 +135362,13 @@ }, "parameters": [ { - "$id": "9473", + "$id": "9782", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9474", + "$id": "9783", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130545,13 +135384,13 @@ "decorators": [] }, { - "$id": "9475", + "$id": "9784", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { - "$id": "9476", + "$id": "9785", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130567,12 +135406,12 @@ "decorators": [] }, { - "$id": "9477", + "$id": "9786", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2105" + "$ref": "2173" }, "location": "Header", "isApiVersion": false, @@ -130586,7 +135425,7 @@ ], "response": { "type": { - "$ref": "4029" + "$ref": "4097" } }, "isOverride": false, @@ -130595,27 +135434,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun" }, { - "$id": "9478", + "$id": "9787", "kind": "basic", "name": "deleteEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Delete a specific evaluation run by its ID.", "operation": { - "$id": "9479", + "$id": "9788", "name": "deleteEvalRun", "resourceName": "Evals", "doc": "Delete a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "9480", + "$id": "9789", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9481", + "$id": "9790", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130633,13 +135472,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.eval_id" }, { - "$id": "9482", + "$id": "9791", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { - "$id": "9483", + "$id": "9792", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130657,12 +135496,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.run_id" }, { - "$id": "9484", + "$id": "9793", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2107" + "$ref": "2175" }, "isApiVersion": false, "optional": false, @@ -130679,7 +135518,7 @@ 200 ], "bodyType": { - "$ref": "4471" + "$ref": "4582" }, "headers": [], "isErrorResponse": false, @@ -130700,13 +135539,13 @@ }, "parameters": [ { - "$id": "9485", + "$id": "9794", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9486", + "$id": "9795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130722,13 +135561,13 @@ "decorators": [] }, { - "$id": "9487", + "$id": "9796", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { - "$id": "9488", + "$id": "9797", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130744,12 +135583,12 @@ "decorators": [] }, { - "$id": "9489", + "$id": "9798", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2107" + "$ref": "2175" }, "location": "Header", "isApiVersion": false, @@ -130763,7 +135602,7 @@ ], "response": { "type": { - "$ref": "4471" + "$ref": "4582" } }, "isOverride": false, @@ -130772,27 +135611,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun" }, { - "$id": "9490", + "$id": "9799", "kind": "basic", "name": "getEvalRunOutputItems", "accessibility": "public", "apiVersions": [], "doc": "Get a list of output items for a specified evaluation run.", "operation": { - "$id": "9491", + "$id": "9800", "name": "getEvalRunOutputItems", "resourceName": "Evals", "doc": "Get a list of output items for a specified evaluation run.", "accessibility": "public", "parameters": [ { - "$id": "9492", + "$id": "9801", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9493", + "$id": "9802", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130810,13 +135649,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.eval_id" }, { - "$id": "9494", + "$id": "9803", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { - "$id": "9495", + "$id": "9804", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130834,13 +135673,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.run_id" }, { - "$id": "9496", + "$id": "9805", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { - "$id": "9497", + "$id": "9806", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130855,13 +135694,13 @@ "readOnly": false }, { - "$id": "9498", + "$id": "9807", "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": "9499", + "$id": "9808", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -130876,13 +135715,13 @@ "readOnly": false }, { - "$id": "9500", + "$id": "9809", "kind": "query", "name": "status", "serializedName": "status", "doc": "Filter output items by their status. Possible values are `fail` and `pass`.", "type": { - "$ref": "1569" + "$ref": "1633" }, "isApiVersion": false, "explode": false, @@ -130893,13 +135732,13 @@ "readOnly": false }, { - "$id": "9501", + "$id": "9810", "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": "1573" + "$ref": "1637" }, "isApiVersion": false, "explode": false, @@ -130910,12 +135749,12 @@ "readOnly": false }, { - "$id": "9502", + "$id": "9811", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2109" + "$ref": "2177" }, "isApiVersion": false, "optional": false, @@ -130932,7 +135771,7 @@ 200 ], "bodyType": { - "$ref": "4477" + "$ref": "4588" }, "headers": [], "isErrorResponse": false, @@ -130953,13 +135792,13 @@ }, "parameters": [ { - "$id": "9503", + "$id": "9812", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9504", + "$id": "9813", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130975,13 +135814,13 @@ "decorators": [] }, { - "$id": "9505", + "$id": "9814", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { - "$id": "9506", + "$id": "9815", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130997,13 +135836,13 @@ "decorators": [] }, { - "$id": "9507", + "$id": "9816", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { - "$id": "9508", + "$id": "9817", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131019,13 +135858,13 @@ "decorators": [] }, { - "$id": "9509", + "$id": "9818", "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": "9510", + "$id": "9819", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -131041,13 +135880,13 @@ "decorators": [] }, { - "$id": "9511", + "$id": "9820", "kind": "method", "name": "status", "serializedName": "status", "doc": "Filter output items by their status. Possible values are `fail` and `pass`.", "type": { - "$ref": "1569" + "$ref": "1633" }, "location": "Query", "isApiVersion": false, @@ -131059,13 +135898,13 @@ "decorators": [] }, { - "$id": "9512", + "$id": "9821", "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": "1573" + "$ref": "1637" }, "location": "Query", "isApiVersion": false, @@ -131077,12 +135916,12 @@ "decorators": [] }, { - "$id": "9513", + "$id": "9822", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2109" + "$ref": "2177" }, "location": "Header", "isApiVersion": false, @@ -131096,7 +135935,7 @@ ], "response": { "type": { - "$ref": "4477" + "$ref": "4588" } }, "isOverride": false, @@ -131105,27 +135944,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems" }, { - "$id": "9514", + "$id": "9823", "kind": "basic", "name": "getEvalRunOutputItem", "accessibility": "public", "apiVersions": [], "doc": "Retrieve a specific output item from an evaluation run by its ID.", "operation": { - "$id": "9515", + "$id": "9824", "name": "getEvalRunOutputItem", "resourceName": "Evals", "doc": "Retrieve a specific output item from an evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "9516", + "$id": "9825", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9517", + "$id": "9826", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131143,13 +135982,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.eval_id" }, { - "$id": "9518", + "$id": "9827", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { - "$id": "9519", + "$id": "9828", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131167,13 +136006,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.run_id" }, { - "$id": "9520", + "$id": "9829", "kind": "path", "name": "output_item_id", "serializedName": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { - "$id": "9521", + "$id": "9830", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131191,12 +136030,12 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.output_item_id" }, { - "$id": "9522", + "$id": "9831", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2111" + "$ref": "2179" }, "isApiVersion": false, "optional": false, @@ -131213,7 +136052,7 @@ 200 ], "bodyType": { - "$ref": "4481" + "$ref": "4592" }, "headers": [], "isErrorResponse": false, @@ -131234,13 +136073,13 @@ }, "parameters": [ { - "$id": "9523", + "$id": "9832", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "9524", + "$id": "9833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131256,13 +136095,13 @@ "decorators": [] }, { - "$id": "9525", + "$id": "9834", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { - "$id": "9526", + "$id": "9835", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131278,13 +136117,13 @@ "decorators": [] }, { - "$id": "9527", + "$id": "9836", "kind": "method", "name": "output_item_id", "serializedName": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { - "$id": "9528", + "$id": "9837", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131300,12 +136139,12 @@ "decorators": [] }, { - "$id": "9529", + "$id": "9838", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2111" + "$ref": "2179" }, "location": "Header", "isApiVersion": false, @@ -131319,7 +136158,7 @@ ], "response": { "type": { - "$ref": "4481" + "$ref": "4592" } }, "isOverride": false, @@ -131330,13 +136169,13 @@ ], "parameters": [ { - "$id": "9530", + "$id": "9839", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9531", + "$id": "9840", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -131347,7 +136186,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9532", + "$id": "9841", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -131365,37 +136204,37 @@ "crossLanguageDefinitionId": "OpenAI.Evals", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "9533", + "$id": "9842", "kind": "client", "name": "Responses", "namespace": "OpenAI", "methods": [ { - "$id": "9534", + "$id": "9843", "kind": "basic", "name": "createResponse", "accessibility": "public", "apiVersions": [], "doc": "Creates a model response.", "operation": { - "$id": "9535", + "$id": "9844", "name": "createResponse", "resourceName": "Responses", "doc": "Creates a model response.", "accessibility": "public", "parameters": [ { - "$id": "9536", + "$id": "9845", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1577" + "$ref": "1641" }, "isApiVersion": false, "optional": false, @@ -131406,13 +136245,13 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.accept" }, { - "$id": "9537", + "$id": "9846", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2113" + "$ref": "2181" }, "isApiVersion": false, "optional": false, @@ -131423,12 +136262,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.contentType" }, { - "$id": "9538", + "$id": "9847", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "4544" + "$ref": "4655" }, "isApiVersion": false, "contentTypes": [ @@ -131448,15 +136287,15 @@ 200 ], "bodyType": { - "$id": "9539", + "$id": "9848", "kind": "union", "name": "", "variantTypes": [ { - "$ref": "5094" + "$ref": "5342" }, { - "$ref": "5288" + "$ref": "5577" } ], "namespace": "", @@ -131467,7 +136306,7 @@ "name": "contentType", "nameInResponse": "Content-Type", "type": { - "$ref": "2115" + "$ref": "2183" } } ], @@ -131493,12 +136332,12 @@ }, "parameters": [ { - "$id": "9540", + "$id": "9849", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1577" + "$ref": "1641" }, "location": "Header", "isApiVersion": false, @@ -131510,12 +136349,12 @@ "decorators": [] }, { - "$id": "9541", + "$id": "9850", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "4544" + "$ref": "4655" }, "location": "Body", "isApiVersion": false, @@ -131527,13 +136366,13 @@ "decorators": [] }, { - "$id": "9542", + "$id": "9851", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2113" + "$ref": "2181" }, "location": "Header", "isApiVersion": false, @@ -131547,7 +136386,7 @@ ], "response": { "type": { - "$ref": "9539" + "$ref": "9848" } }, "isOverride": false, @@ -131556,27 +136395,27 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse" }, { - "$id": "9543", + "$id": "9852", "kind": "basic", "name": "getResponse", "accessibility": "public", "apiVersions": [], "doc": "Retrieves a model response with the given ID.", "operation": { - "$id": "9544", + "$id": "9853", "name": "getResponse", "resourceName": "Responses", "doc": "Retrieves a model response with the given ID.", "accessibility": "public", "parameters": [ { - "$id": "9545", + "$id": "9854", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9546", + "$id": "9855", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131594,13 +136433,13 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.response_id" }, { - "$id": "9547", + "$id": "9856", "kind": "query", "name": "include", "serializedName": "include[]", "doc": "Specifies additional output data to include in the model response.", "type": { - "$ref": "5080" + "$ref": "5328" }, "isApiVersion": false, "explode": true, @@ -131611,13 +136450,13 @@ "readOnly": false }, { - "$id": "9548", + "$id": "9857", "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": "9549", + "$id": "9858", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -131632,13 +136471,13 @@ "readOnly": false }, { - "$id": "9550", + "$id": "9859", "kind": "query", "name": "starting_after", "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "9551", + "$id": "9860", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -131653,12 +136492,12 @@ "readOnly": false }, { - "$id": "9552", + "$id": "9861", "kind": "query", "name": "include_obfuscation", "serializedName": "include_obfuscation", "type": { - "$id": "9553", + "$id": "9862", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -131673,12 +136512,12 @@ "readOnly": false }, { - "$id": "9554", + "$id": "9863", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "9555", + "$id": "9864", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131699,15 +136538,15 @@ 200 ], "bodyType": { - "$id": "9556", + "$id": "9865", "kind": "union", "name": "", "variantTypes": [ { - "$ref": "5094" + "$ref": "5342" }, { - "$ref": "5288" + "$ref": "5577" } ], "namespace": "", @@ -131718,7 +136557,7 @@ "name": "contentType", "nameInResponse": "Content-Type", "type": { - "$ref": "2117" + "$ref": "2185" } } ], @@ -131741,13 +136580,13 @@ }, "parameters": [ { - "$id": "9557", + "$id": "9866", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9558", + "$id": "9867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131763,13 +136602,13 @@ "decorators": [] }, { - "$id": "9559", + "$id": "9868", "kind": "method", "name": "include", "serializedName": "include[]", "doc": "Specifies additional output data to include in the model response.", "type": { - "$ref": "5080" + "$ref": "5328" }, "location": "Query", "isApiVersion": false, @@ -131781,13 +136620,13 @@ "decorators": [] }, { - "$id": "9560", + "$id": "9869", "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": "9561", + "$id": "9870", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -131803,13 +136642,13 @@ "decorators": [] }, { - "$id": "9562", + "$id": "9871", "kind": "method", "name": "starting_after", "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "9563", + "$id": "9872", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -131825,12 +136664,12 @@ "decorators": [] }, { - "$id": "9564", + "$id": "9873", "kind": "method", "name": "include_obfuscation", "serializedName": "include_obfuscation", "type": { - "$id": "9565", + "$id": "9874", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -131846,12 +136685,12 @@ "decorators": [] }, { - "$id": "9566", + "$id": "9875", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "9555" + "$ref": "9864" }, "location": "Header", "isApiVersion": false, @@ -131865,7 +136704,7 @@ ], "response": { "type": { - "$ref": "9556" + "$ref": "9865" } }, "isOverride": false, @@ -131874,25 +136713,25 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getResponse" }, { - "$id": "9567", + "$id": "9876", "kind": "basic", "name": "deleteResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9568", + "$id": "9877", "name": "deleteResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "9569", + "$id": "9878", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "9570", + "$id": "9879", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131910,12 +136749,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.response_id" }, { - "$id": "9571", + "$id": "9880", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2119" + "$ref": "2187" }, "isApiVersion": false, "optional": false, @@ -131932,7 +136771,7 @@ 200 ], "bodyType": { - "$ref": "5774" + "$ref": "6083" }, "headers": [], "isErrorResponse": false, @@ -131953,13 +136792,13 @@ }, "parameters": [ { - "$id": "9572", + "$id": "9881", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "9573", + "$id": "9882", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131975,12 +136814,12 @@ "decorators": [] }, { - "$id": "9574", + "$id": "9883", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2119" + "$ref": "2187" }, "location": "Header", "isApiVersion": false, @@ -131994,7 +136833,7 @@ ], "response": { "type": { - "$ref": "5774" + "$ref": "6083" } }, "isOverride": false, @@ -132003,25 +136842,25 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse" }, { - "$id": "9575", + "$id": "9884", "kind": "basic", "name": "cancelResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9576", + "$id": "9885", "name": "cancelResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "9577", + "$id": "9886", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "9578", + "$id": "9887", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132039,12 +136878,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.response_id" }, { - "$id": "9579", + "$id": "9888", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2121" + "$ref": "2189" }, "isApiVersion": false, "optional": false, @@ -132061,7 +136900,7 @@ 200 ], "bodyType": { - "$ref": "5094" + "$ref": "5342" }, "headers": [], "isErrorResponse": false, @@ -132082,13 +136921,13 @@ }, "parameters": [ { - "$id": "9580", + "$id": "9889", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "9581", + "$id": "9890", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132104,12 +136943,12 @@ "decorators": [] }, { - "$id": "9582", + "$id": "9891", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2121" + "$ref": "2189" }, "location": "Header", "isApiVersion": false, @@ -132123,7 +136962,7 @@ ], "response": { "type": { - "$ref": "5094" + "$ref": "5342" } }, "isOverride": false, @@ -132132,27 +136971,27 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse" }, { - "$id": "9583", + "$id": "9892", "kind": "paging", "name": "GetResponseInputItems", "accessibility": "public", "apiVersions": [], "doc": "Returns a list of input items for a given response.", "operation": { - "$id": "9584", + "$id": "9893", "name": "GetResponseInputItems", "resourceName": "Responses", "doc": "Returns a list of input items for a given response.", "accessibility": "public", "parameters": [ { - "$id": "9585", + "$id": "9894", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9586", + "$id": "9895", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132170,13 +137009,13 @@ "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.response_id" }, { - "$id": "9587", + "$id": "9896", "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": "9588", + "$id": "9897", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -132191,13 +137030,13 @@ "readOnly": false }, { - "$id": "9589", + "$id": "9898", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -132208,13 +137047,13 @@ "readOnly": false }, { - "$id": "9590", + "$id": "9899", "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": "9591", + "$id": "9900", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132229,13 +137068,13 @@ "readOnly": false }, { - "$id": "9592", + "$id": "9901", "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": "9593", + "$id": "9902", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132250,12 +137089,12 @@ "readOnly": false }, { - "$id": "9594", + "$id": "9903", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2123" + "$ref": "2191" }, "isApiVersion": false, "optional": false, @@ -132272,7 +137111,7 @@ 200 ], "bodyType": { - "$ref": "5780" + "$ref": "6089" }, "headers": [], "isErrorResponse": false, @@ -132293,13 +137132,13 @@ }, "parameters": [ { - "$id": "9595", + "$id": "9904", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9596", + "$id": "9905", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132315,13 +137154,13 @@ "decorators": [] }, { - "$id": "9597", + "$id": "9906", "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": "9598", + "$id": "9907", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -132337,13 +137176,13 @@ "decorators": [] }, { - "$id": "9599", + "$id": "9908", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -132355,13 +137194,13 @@ "decorators": [] }, { - "$id": "9600", + "$id": "9909", "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": "9601", + "$id": "9910", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132377,13 +137216,13 @@ "decorators": [] }, { - "$id": "9602", + "$id": "9911", "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": "9603", + "$id": "9912", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132399,12 +137238,12 @@ "decorators": [] }, { - "$id": "9604", + "$id": "9913", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2123" + "$ref": "2191" }, "location": "Header", "isApiVersion": false, @@ -132418,7 +137257,7 @@ ], "response": { "type": { - "$ref": "5141" + "$ref": "5390" }, "resultSegments": [ "data" @@ -132434,7 +137273,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9590" + "$ref": "9899" }, "responseSegments": [ "last_id" @@ -132445,7 +137284,7 @@ } }, { - "$id": "9605", + "$id": "9914", "kind": "basic", "name": "GetInputTokenCount", "accessibility": "public", @@ -132453,7 +137292,7 @@ "doc": "Get input token counts", "summary": "Get input token counts", "operation": { - "$id": "9606", + "$id": "9915", "name": "GetInputTokenCount", "resourceName": "Responses", "summary": "Get input token counts", @@ -132461,12 +137300,12 @@ "accessibility": "public", "parameters": [ { - "$id": "9607", + "$id": "9916", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1581" + "$ref": "1645" }, "isApiVersion": false, "optional": false, @@ -132477,12 +137316,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getInputTokenCounts.contentType" }, { - "$id": "9608", + "$id": "9917", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2125" + "$ref": "2193" }, "isApiVersion": false, "optional": false, @@ -132493,12 +137332,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getInputTokenCounts.accept" }, { - "$id": "9609", + "$id": "9918", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9610", + "$id": "9919", "kind": "model", "name": "TokenCountsBody", "namespace": "OpenAI", @@ -132508,14 +137347,14 @@ "serializationOptions": {}, "properties": [ { - "$id": "9611", + "$id": "9920", "kind": "property", "name": "model", "type": { - "$id": "9612", + "$id": "9921", "kind": "nullable", "type": { - "$id": "9613", + "$id": "9922", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132533,30 +137372,30 @@ "isHttpMetadata": false }, { - "$id": "9614", + "$id": "9923", "kind": "property", "name": "input", "type": { - "$id": "9615", + "$id": "9924", "kind": "nullable", "type": { - "$id": "9616", + "$id": "9925", "kind": "union", "name": "TokenCountsBodyInput", "variantTypes": [ { - "$id": "9617", + "$id": "9926", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "9618", + "$id": "9927", "kind": "array", "name": "ArrayItemParam", "valueType": { - "$ref": "4757" + "$ref": "4904" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -132577,14 +137416,14 @@ "isHttpMetadata": false }, { - "$id": "9619", + "$id": "9928", "kind": "property", "name": "previous_response_id", "type": { - "$id": "9620", + "$id": "9929", "kind": "nullable", "type": { - "$id": "9621", + "$id": "9930", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132602,14 +137441,14 @@ "isHttpMetadata": false }, { - "$id": "9622", + "$id": "9931", "kind": "property", "name": "tools", "type": { - "$id": "9623", + "$id": "9932", "kind": "nullable", "type": { - "$ref": "4263" + "$ref": "4341" }, "namespace": "OpenAI" }, @@ -132623,14 +137462,14 @@ "isHttpMetadata": false }, { - "$id": "9624", + "$id": "9933", "kind": "property", "name": "text", "type": { - "$id": "9625", + "$id": "9934", "kind": "nullable", "type": { - "$id": "9626", + "$id": "9935", "kind": "model", "name": "ResponseTextParam", "namespace": "OpenAI", @@ -132641,11 +137480,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "9627", + "$id": "9936", "kind": "property", "name": "format", "type": { - "$ref": "4204" + "$ref": "4272" }, "optional": true, "readOnly": false, @@ -132657,19 +137496,19 @@ "isHttpMetadata": false }, { - "$id": "9628", + "$id": "9937", "kind": "property", "name": "verbosity", "type": { - "$id": "9629", + "$id": "9938", "kind": "nullable", "type": { - "$id": "9630", + "$id": "9939", "kind": "enum", "name": "ResponseTextParamVerbosity", "crossLanguageDefinitionId": "OpenAI.ResponseTextParam.verbosity.anonymous", "valueType": { - "$id": "9631", + "$id": "9940", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132677,41 +137516,41 @@ }, "values": [ { - "$id": "9632", + "$id": "9941", "kind": "enumvalue", "name": "low", "value": "low", "valueType": { - "$ref": "9631" + "$ref": "9940" }, "enumType": { - "$ref": "9630" + "$ref": "9939" }, "decorators": [] }, { - "$id": "9633", + "$id": "9942", "kind": "enumvalue", "name": "medium", "value": "medium", "valueType": { - "$ref": "9631" + "$ref": "9940" }, "enumType": { - "$ref": "9630" + "$ref": "9939" }, "decorators": [] }, { - "$id": "9634", + "$id": "9943", "kind": "enumvalue", "name": "high", "value": "high", "valueType": { - "$ref": "9631" + "$ref": "9940" }, "enumType": { - "$ref": "9630" + "$ref": "9939" }, "decorators": [] } @@ -132747,14 +137586,14 @@ "isHttpMetadata": false }, { - "$id": "9635", + "$id": "9944", "kind": "property", "name": "reasoning", "type": { - "$id": "9636", + "$id": "9945", "kind": "nullable", "type": { - "$ref": "4561" + "$ref": "4672" }, "namespace": "OpenAI" }, @@ -132768,17 +137607,17 @@ "isHttpMetadata": false }, { - "$id": "9637", + "$id": "9946", "kind": "property", "name": "truncation", "doc": "The truncation strategy to use for the model response. - `auto`: If the input to this Response exceeds the model's context window size, the model will truncate the response to fit the context window by dropping items from the beginning of the conversation. - `disabled` (default): If the input size will exceed the context window size for a model, the request will fail with a 400 error.", "type": { - "$id": "9638", + "$id": "9947", "kind": "enum", "name": "TruncationEnum", "crossLanguageDefinitionId": "OpenAI.TruncationEnum", "valueType": { - "$id": "9639", + "$id": "9948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132786,28 +137625,28 @@ }, "values": [ { - "$id": "9640", + "$id": "9949", "kind": "enumvalue", "name": "auto", "value": "auto", "valueType": { - "$ref": "9639" + "$ref": "9948" }, "enumType": { - "$ref": "9638" + "$ref": "9947" }, "decorators": [] }, { - "$id": "9641", + "$id": "9950", "kind": "enumvalue", "name": "disabled", "value": "disabled", "valueType": { - "$ref": "9639" + "$ref": "9948" }, "enumType": { - "$ref": "9638" + "$ref": "9947" }, "decorators": [] } @@ -132828,14 +137667,14 @@ "isHttpMetadata": false }, { - "$id": "9642", + "$id": "9951", "kind": "property", "name": "instructions", "type": { - "$id": "9643", + "$id": "9952", "kind": "nullable", "type": { - "$id": "9644", + "$id": "9953", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132853,26 +137692,26 @@ "isHttpMetadata": false }, { - "$id": "9645", + "$id": "9954", "kind": "property", "name": "conversation", "type": { - "$id": "9646", + "$id": "9955", "kind": "nullable", "type": { - "$id": "9647", + "$id": "9956", "kind": "union", "name": "ConversationParam", "variantTypes": [ { - "$id": "9648", + "$id": "9957", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "5091" + "$ref": "5339" } ], "namespace": "OpenAI", @@ -132890,23 +137729,23 @@ "isHttpMetadata": false }, { - "$id": "9649", + "$id": "9958", "kind": "property", "name": "tool_choice", "doc": "Controls which tool the model should use, if any.", "type": { - "$id": "9650", + "$id": "9959", "kind": "nullable", "type": { - "$id": "9651", + "$id": "9960", "kind": "union", "name": "TokenCountsBodyToolChoice", "variantTypes": [ { - "$ref": "4586" + "$ref": "4697" }, { - "$ref": "435" + "$ref": "448" } ], "namespace": "OpenAI", @@ -132924,14 +137763,14 @@ "isHttpMetadata": false }, { - "$id": "9652", + "$id": "9961", "kind": "property", "name": "parallel_tool_calls", "type": { - "$id": "9653", + "$id": "9962", "kind": "nullable", "type": { - "$id": "9654", + "$id": "9963", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -132969,7 +137808,7 @@ 200 ], "bodyType": { - "$id": "9655", + "$id": "9964", "kind": "model", "name": "TokenCountsResource", "namespace": "OpenAI", @@ -132980,11 +137819,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "9656", + "$id": "9965", "kind": "property", "name": "object", "type": { - "$ref": "2127" + "$ref": "2195" }, "optional": false, "readOnly": false, @@ -132996,11 +137835,11 @@ "isHttpMetadata": false }, { - "$id": "9657", + "$id": "9966", "kind": "property", "name": "input_tokens", "type": { - "$id": "9658", + "$id": "9967", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -133040,12 +137879,12 @@ }, "parameters": [ { - "$id": "9659", + "$id": "9968", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1581" + "$ref": "1645" }, "location": "Header", "isApiVersion": false, @@ -133057,12 +137896,12 @@ "decorators": [] }, { - "$id": "9660", + "$id": "9969", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9610" + "$ref": "9919" }, "location": "Body", "isApiVersion": false, @@ -133074,12 +137913,12 @@ "decorators": [] }, { - "$id": "9661", + "$id": "9970", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2125" + "$ref": "2193" }, "location": "Header", "isApiVersion": false, @@ -133093,7 +137932,7 @@ ], "response": { "type": { - "$ref": "9655" + "$ref": "9964" } }, "isOverride": false, @@ -133102,24 +137941,24 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getInputTokenCounts" }, { - "$id": "9662", + "$id": "9971", "kind": "basic", "name": "CompactResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9663", + "$id": "9972", "name": "CompactResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "9664", + "$id": "9973", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1585" + "$ref": "1649" }, "isApiVersion": false, "optional": false, @@ -133130,12 +137969,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.compactConversation.contentType" }, { - "$id": "9665", + "$id": "9974", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2129" + "$ref": "2197" }, "isApiVersion": false, "optional": false, @@ -133146,12 +137985,12 @@ "crossLanguageDefinitionId": "OpenAI.Responses.compactConversation.accept" }, { - "$id": "9666", + "$id": "9975", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9667", + "$id": "9976", "kind": "model", "name": "CompactResponseMethodPublicBody", "namespace": "OpenAI", @@ -133161,19 +138000,19 @@ "serializationOptions": {}, "properties": [ { - "$id": "9668", + "$id": "9977", "kind": "property", "name": "model", "type": { - "$id": "9669", + "$id": "9978", "kind": "nullable", "type": { - "$id": "9670", + "$id": "9979", "kind": "enum", "name": "ModelIdsCompaction", "crossLanguageDefinitionId": "OpenAI.ModelIdsCompaction", "valueType": { - "$id": "9671", + "$id": "9980", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133181,899 +138020,899 @@ }, "values": [ { - "$id": "9672", + "$id": "9981", "kind": "enumvalue", "name": "gpt-4.1", "value": "gpt-4.1", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9673", + "$id": "9982", "kind": "enumvalue", "name": "gpt-4.1-mini", "value": "gpt-4.1-mini", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9674", + "$id": "9983", "kind": "enumvalue", "name": "gpt-4.1-nano", "value": "gpt-4.1-nano", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9675", + "$id": "9984", "kind": "enumvalue", "name": "gpt-4.1-2025-04-14", "value": "gpt-4.1-2025-04-14", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9676", + "$id": "9985", "kind": "enumvalue", "name": "gpt-4.1-mini-2025-04-14", "value": "gpt-4.1-mini-2025-04-14", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9677", + "$id": "9986", "kind": "enumvalue", "name": "gpt-4.1-nano-2025-04-14", "value": "gpt-4.1-nano-2025-04-14", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9678", + "$id": "9987", "kind": "enumvalue", "name": "o4-mini", "value": "o4-mini", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9679", + "$id": "9988", "kind": "enumvalue", "name": "o4-mini-2025-04-16", "value": "o4-mini-2025-04-16", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9680", + "$id": "9989", "kind": "enumvalue", "name": "o3", "value": "o3", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9681", + "$id": "9990", "kind": "enumvalue", "name": "o3-2025-04-16", "value": "o3-2025-04-16", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9682", + "$id": "9991", "kind": "enumvalue", "name": "o3-mini", "value": "o3-mini", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9683", + "$id": "9992", "kind": "enumvalue", "name": "o3-mini-2025-01-31", "value": "o3-mini-2025-01-31", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9684", + "$id": "9993", "kind": "enumvalue", "name": "o1", "value": "o1", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9685", + "$id": "9994", "kind": "enumvalue", "name": "o1-2024-12-17", "value": "o1-2024-12-17", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9686", + "$id": "9995", "kind": "enumvalue", "name": "o1-preview", "value": "o1-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9687", + "$id": "9996", "kind": "enumvalue", "name": "o1-preview-2024-09-12", "value": "o1-preview-2024-09-12", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9688", + "$id": "9997", "kind": "enumvalue", "name": "o1-mini", "value": "o1-mini", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9689", + "$id": "9998", "kind": "enumvalue", "name": "o1-mini-2024-09-12", "value": "o1-mini-2024-09-12", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9690", + "$id": "9999", "kind": "enumvalue", "name": "gpt-4o", "value": "gpt-4o", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9691", + "$id": "10000", "kind": "enumvalue", "name": "gpt-4o-2024-11-20", "value": "gpt-4o-2024-11-20", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9692", + "$id": "10001", "kind": "enumvalue", "name": "gpt-4o-2024-08-06", "value": "gpt-4o-2024-08-06", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9693", + "$id": "10002", "kind": "enumvalue", "name": "gpt-4o-2024-05-13", "value": "gpt-4o-2024-05-13", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9694", + "$id": "10003", "kind": "enumvalue", "name": "gpt-4o-audio-preview", "value": "gpt-4o-audio-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9695", + "$id": "10004", "kind": "enumvalue", "name": "gpt-4o-audio-preview-2024-10-01", "value": "gpt-4o-audio-preview-2024-10-01", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9696", + "$id": "10005", "kind": "enumvalue", "name": "gpt-4o-audio-preview-2024-12-17", "value": "gpt-4o-audio-preview-2024-12-17", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9697", + "$id": "10006", "kind": "enumvalue", "name": "gpt-4o-audio-preview-2025-06-03", "value": "gpt-4o-audio-preview-2025-06-03", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9698", + "$id": "10007", "kind": "enumvalue", "name": "gpt-4o-mini-audio-preview", "value": "gpt-4o-mini-audio-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9699", + "$id": "10008", "kind": "enumvalue", "name": "gpt-4o-mini-audio-preview-2024-12-17", "value": "gpt-4o-mini-audio-preview-2024-12-17", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9700", + "$id": "10009", "kind": "enumvalue", "name": "gpt-4o-search-preview", "value": "gpt-4o-search-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9701", + "$id": "10010", "kind": "enumvalue", "name": "gpt-4o-mini-search-preview", "value": "gpt-4o-mini-search-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9702", + "$id": "10011", "kind": "enumvalue", "name": "gpt-4o-search-preview-2025-03-11", "value": "gpt-4o-search-preview-2025-03-11", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9703", + "$id": "10012", "kind": "enumvalue", "name": "gpt-4o-mini-search-preview-2025-03-11", "value": "gpt-4o-mini-search-preview-2025-03-11", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9704", + "$id": "10013", "kind": "enumvalue", "name": "chatgpt-4o-latest", "value": "chatgpt-4o-latest", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9705", + "$id": "10014", "kind": "enumvalue", "name": "codex-mini-latest", "value": "codex-mini-latest", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9706", + "$id": "10015", "kind": "enumvalue", "name": "gpt-4o-mini", "value": "gpt-4o-mini", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9707", + "$id": "10016", "kind": "enumvalue", "name": "gpt-4o-mini-2024-07-18", "value": "gpt-4o-mini-2024-07-18", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9708", + "$id": "10017", "kind": "enumvalue", "name": "gpt-4-turbo", "value": "gpt-4-turbo", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9709", + "$id": "10018", "kind": "enumvalue", "name": "gpt-4-turbo-2024-04-09", "value": "gpt-4-turbo-2024-04-09", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9710", + "$id": "10019", "kind": "enumvalue", "name": "gpt-4-0125-preview", "value": "gpt-4-0125-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9711", + "$id": "10020", "kind": "enumvalue", "name": "gpt-4-turbo-preview", "value": "gpt-4-turbo-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9712", + "$id": "10021", "kind": "enumvalue", "name": "gpt-4-1106-preview", "value": "gpt-4-1106-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9713", + "$id": "10022", "kind": "enumvalue", "name": "gpt-4-vision-preview", "value": "gpt-4-vision-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9714", + "$id": "10023", "kind": "enumvalue", "name": "gpt-4", "value": "gpt-4", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9715", + "$id": "10024", "kind": "enumvalue", "name": "gpt-4-0314", "value": "gpt-4-0314", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9716", + "$id": "10025", "kind": "enumvalue", "name": "gpt-4-0613", "value": "gpt-4-0613", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9717", + "$id": "10026", "kind": "enumvalue", "name": "gpt-4-32k", "value": "gpt-4-32k", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9718", + "$id": "10027", "kind": "enumvalue", "name": "gpt-4-32k-0314", "value": "gpt-4-32k-0314", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9719", + "$id": "10028", "kind": "enumvalue", "name": "gpt-4-32k-0613", "value": "gpt-4-32k-0613", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9720", + "$id": "10029", "kind": "enumvalue", "name": "gpt-3.5-turbo", "value": "gpt-3.5-turbo", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9721", + "$id": "10030", "kind": "enumvalue", "name": "gpt-3.5-turbo-16k", "value": "gpt-3.5-turbo-16k", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9722", + "$id": "10031", "kind": "enumvalue", "name": "gpt-3.5-turbo-0301", "value": "gpt-3.5-turbo-0301", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9723", + "$id": "10032", "kind": "enumvalue", "name": "gpt-3.5-turbo-0613", "value": "gpt-3.5-turbo-0613", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9724", + "$id": "10033", "kind": "enumvalue", "name": "gpt-3.5-turbo-1106", "value": "gpt-3.5-turbo-1106", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9725", + "$id": "10034", "kind": "enumvalue", "name": "gpt-3.5-turbo-0125", "value": "gpt-3.5-turbo-0125", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9726", + "$id": "10035", "kind": "enumvalue", "name": "gpt-3.5-turbo-16k-0613", "value": "gpt-3.5-turbo-16k-0613", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9727", + "$id": "10036", "kind": "enumvalue", "name": "o1-pro", "value": "o1-pro", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9728", + "$id": "10037", "kind": "enumvalue", "name": "o1-pro-2025-03-19", "value": "o1-pro-2025-03-19", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9729", + "$id": "10038", "kind": "enumvalue", "name": "o3-pro", "value": "o3-pro", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9730", + "$id": "10039", "kind": "enumvalue", "name": "o3-pro-2025-06-10", "value": "o3-pro-2025-06-10", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9731", + "$id": "10040", "kind": "enumvalue", "name": "o3-deep-research", "value": "o3-deep-research", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9732", + "$id": "10041", "kind": "enumvalue", "name": "o3-deep-research-2025-06-26", "value": "o3-deep-research-2025-06-26", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9733", + "$id": "10042", "kind": "enumvalue", "name": "o4-mini-deep-research", "value": "o4-mini-deep-research", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9734", + "$id": "10043", "kind": "enumvalue", "name": "o4-mini-deep-research-2025-06-26", "value": "o4-mini-deep-research-2025-06-26", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9735", + "$id": "10044", "kind": "enumvalue", "name": "computer-use-preview", "value": "computer-use-preview", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9736", + "$id": "10045", "kind": "enumvalue", "name": "computer-use-preview-2025-03-11", "value": "computer-use-preview-2025-03-11", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9737", + "$id": "10046", "kind": "enumvalue", "name": "gpt-5-codex", "value": "gpt-5-codex", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9738", + "$id": "10047", "kind": "enumvalue", "name": "gpt-5-pro", "value": "gpt-5-pro", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9739", + "$id": "10048", "kind": "enumvalue", "name": "gpt-5-pro-2025-10-06", "value": "gpt-5-pro-2025-10-06", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] }, { - "$id": "9740", + "$id": "10049", "kind": "enumvalue", "name": "gpt-5.1-codex-max", "value": "gpt-5.1-codex-max", "valueType": { - "$ref": "9671" + "$ref": "9980" }, "enumType": { - "$ref": "9670" + "$ref": "9979" }, "decorators": [] } @@ -134097,26 +138936,26 @@ "isHttpMetadata": false }, { - "$id": "9741", + "$id": "10050", "kind": "property", "name": "input", "type": { - "$id": "9742", + "$id": "10051", "kind": "nullable", "type": { - "$id": "9743", + "$id": "10052", "kind": "union", "name": "CompactResponseMethodPublicBodyInput", "variantTypes": [ { - "$id": "9744", + "$id": "10053", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$ref": "9618" + "$ref": "9927" } ], "namespace": "OpenAI", @@ -134134,14 +138973,14 @@ "isHttpMetadata": false }, { - "$id": "9745", + "$id": "10054", "kind": "property", "name": "previous_response_id", "type": { - "$id": "9746", + "$id": "10055", "kind": "nullable", "type": { - "$id": "9747", + "$id": "10056", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134159,14 +138998,14 @@ "isHttpMetadata": false }, { - "$id": "9748", + "$id": "10057", "kind": "property", "name": "instructions", "type": { - "$id": "9749", + "$id": "10058", "kind": "nullable", "type": { - "$id": "9750", + "$id": "10059", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134204,7 +139043,7 @@ 200 ], "bodyType": { - "$id": "9751", + "$id": "10060", "kind": "model", "name": "CompactResource", "namespace": "OpenAI", @@ -134215,12 +139054,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "9752", + "$id": "10061", "kind": "property", "name": "id", "doc": "The unique identifier for the compacted response.", "type": { - "$id": "9753", + "$id": "10062", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134236,12 +139075,12 @@ "isHttpMetadata": false }, { - "$id": "9754", + "$id": "10063", "kind": "property", "name": "object", "doc": "The object type. Always `response.compaction`.", "type": { - "$ref": "2131" + "$ref": "2199" }, "optional": false, "readOnly": false, @@ -134253,12 +139092,12 @@ "isHttpMetadata": false }, { - "$id": "9755", + "$id": "10064", "kind": "property", "name": "output", "doc": "The compacted list of output items. This is a list of all user messages, followed by a single compaction item.", "type": { - "$ref": "5141" + "$ref": "5390" }, "optional": false, "readOnly": false, @@ -134270,17 +139109,17 @@ "isHttpMetadata": false }, { - "$id": "9756", + "$id": "10065", "kind": "property", "name": "created_at", "doc": "Unix timestamp (in seconds) when the compacted conversation was created.", "type": { - "$id": "9757", + "$id": "10066", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "9758", + "$id": "10067", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -134299,12 +139138,12 @@ "isHttpMetadata": false }, { - "$id": "9759", + "$id": "10068", "kind": "property", "name": "usage", "doc": "Token accounting for the compaction pass, including cached, reasoning, and total tokens.", "type": { - "$ref": "5269" + "$ref": "5558" }, "optional": false, "readOnly": false, @@ -134340,12 +139179,12 @@ }, "parameters": [ { - "$id": "9760", + "$id": "10069", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "1585" + "$ref": "1649" }, "location": "Header", "isApiVersion": false, @@ -134357,12 +139196,12 @@ "decorators": [] }, { - "$id": "9761", + "$id": "10070", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9667" + "$ref": "9976" }, "location": "Body", "isApiVersion": false, @@ -134374,12 +139213,12 @@ "decorators": [] }, { - "$id": "9762", + "$id": "10071", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2129" + "$ref": "2197" }, "location": "Header", "isApiVersion": false, @@ -134393,7 +139232,7 @@ ], "response": { "type": { - "$ref": "9751" + "$ref": "10060" } }, "isOverride": false, @@ -134404,13 +139243,13 @@ ], "parameters": [ { - "$id": "9763", + "$id": "10072", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9764", + "$id": "10073", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -134421,7 +139260,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9765", + "$id": "10074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -134439,37 +139278,37 @@ "crossLanguageDefinitionId": "OpenAI.Responses", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "9766", + "$id": "10075", "kind": "client", "name": "Messages", "namespace": "OpenAI", "methods": [ { - "$id": "9767", + "$id": "10076", "kind": "basic", "name": "createMessage", "accessibility": "public", "apiVersions": [], "summary": "Create a message.", "operation": { - "$id": "9768", + "$id": "10077", "name": "createMessage", "resourceName": "Messages", "summary": "Create a message.", "accessibility": "public", "parameters": [ { - "$id": "9769", + "$id": "10078", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2133" + "$ref": "2201" }, "isApiVersion": false, "optional": false, @@ -134480,12 +139319,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.accept" }, { - "$id": "9770", + "$id": "10079", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2135" + "$ref": "2203" }, "isApiVersion": false, "optional": false, @@ -134496,13 +139335,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.openAIBeta" }, { - "$id": "9771", + "$id": "10080", "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": "9772", + "$id": "10081", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134520,13 +139359,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.thread_id" }, { - "$id": "9773", + "$id": "10082", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2137" + "$ref": "2205" }, "isApiVersion": false, "optional": false, @@ -134537,12 +139376,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.contentType" }, { - "$id": "9774", + "$id": "10083", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5789" + "$ref": "6098" }, "isApiVersion": false, "contentTypes": [ @@ -134562,7 +139401,7 @@ 200 ], "bodyType": { - "$ref": "5877" + "$ref": "6186" }, "headers": [], "isErrorResponse": false, @@ -134586,12 +139425,12 @@ }, "parameters": [ { - "$id": "9775", + "$id": "10084", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2139" + "$ref": "2207" }, "location": "Header", "isApiVersion": false, @@ -134603,12 +139442,12 @@ "decorators": [] }, { - "$id": "9776", + "$id": "10085", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2141" + "$ref": "2209" }, "location": "Header", "isApiVersion": false, @@ -134620,13 +139459,13 @@ "decorators": [] }, { - "$id": "9777", + "$id": "10086", "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": "9778", + "$id": "10087", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134642,12 +139481,12 @@ "decorators": [] }, { - "$id": "9779", + "$id": "10088", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5789" + "$ref": "6098" }, "location": "Body", "isApiVersion": false, @@ -134659,13 +139498,13 @@ "decorators": [] }, { - "$id": "9780", + "$id": "10089", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2137" + "$ref": "2205" }, "location": "Header", "isApiVersion": false, @@ -134679,7 +139518,7 @@ ], "response": { "type": { - "$ref": "5877" + "$ref": "6186" } }, "isOverride": false, @@ -134688,26 +139527,26 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage" }, { - "$id": "9781", + "$id": "10090", "kind": "paging", "name": "listMessages", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of messages for a given thread.", "operation": { - "$id": "9782", + "$id": "10091", "name": "listMessages", "resourceName": "Messages", "summary": "Returns a list of messages for a given thread.", "accessibility": "public", "parameters": [ { - "$id": "9783", + "$id": "10092", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2143" + "$ref": "2211" }, "isApiVersion": false, "optional": false, @@ -134718,12 +139557,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.accept" }, { - "$id": "9784", + "$id": "10093", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2145" + "$ref": "2213" }, "isApiVersion": false, "optional": false, @@ -134734,13 +139573,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.openAIBeta" }, { - "$id": "9785", + "$id": "10094", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "9786", + "$id": "10095", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134758,13 +139597,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.thread_id" }, { - "$id": "9787", + "$id": "10096", "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": "9788", + "$id": "10097", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -134779,13 +139618,13 @@ "readOnly": false }, { - "$id": "9789", + "$id": "10098", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -134796,13 +139635,13 @@ "readOnly": false }, { - "$id": "9790", + "$id": "10099", "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": "9791", + "$id": "10100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134817,13 +139656,13 @@ "readOnly": false }, { - "$id": "9792", + "$id": "10101", "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": "9793", + "$id": "10102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134844,7 +139683,7 @@ 200 ], "bodyType": { - "$ref": "5917" + "$ref": "6226" }, "headers": [], "isErrorResponse": false, @@ -134865,12 +139704,12 @@ }, "parameters": [ { - "$id": "9794", + "$id": "10103", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2147" + "$ref": "2215" }, "location": "Header", "isApiVersion": false, @@ -134882,12 +139721,12 @@ "decorators": [] }, { - "$id": "9795", + "$id": "10104", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2149" + "$ref": "2217" }, "location": "Header", "isApiVersion": false, @@ -134899,13 +139738,13 @@ "decorators": [] }, { - "$id": "9796", + "$id": "10105", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "9797", + "$id": "10106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134921,13 +139760,13 @@ "decorators": [] }, { - "$id": "9798", + "$id": "10107", "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": "9799", + "$id": "10108", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -134943,13 +139782,13 @@ "decorators": [] }, { - "$id": "9800", + "$id": "10109", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -134961,13 +139800,13 @@ "decorators": [] }, { - "$id": "9801", + "$id": "10110", "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": "9802", + "$id": "10111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134983,13 +139822,13 @@ "decorators": [] }, { - "$id": "9803", + "$id": "10112", "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": "9804", + "$id": "10113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135007,7 +139846,7 @@ ], "response": { "type": { - "$ref": "5920" + "$ref": "6229" }, "resultSegments": [ "data" @@ -135023,7 +139862,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9790" + "$ref": "10099" }, "responseSegments": [ "last_id" @@ -135034,26 +139873,26 @@ } }, { - "$id": "9805", + "$id": "10114", "kind": "basic", "name": "getMessage", "accessibility": "public", "apiVersions": [], "summary": "Retrieve a message.", "operation": { - "$id": "9806", + "$id": "10115", "name": "getMessage", "resourceName": "Messages", "summary": "Retrieve a message.", "accessibility": "public", "parameters": [ { - "$id": "9807", + "$id": "10116", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2151" + "$ref": "2219" }, "isApiVersion": false, "optional": false, @@ -135064,12 +139903,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.accept" }, { - "$id": "9808", + "$id": "10117", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2153" + "$ref": "2221" }, "isApiVersion": false, "optional": false, @@ -135080,13 +139919,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.openAIBeta" }, { - "$id": "9809", + "$id": "10118", "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": "9810", + "$id": "10119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135104,13 +139943,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.thread_id" }, { - "$id": "9811", + "$id": "10120", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "9812", + "$id": "10121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135134,7 +139973,7 @@ 200 ], "bodyType": { - "$ref": "5877" + "$ref": "6186" }, "headers": [], "isErrorResponse": false, @@ -135155,12 +139994,12 @@ }, "parameters": [ { - "$id": "9813", + "$id": "10122", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2155" + "$ref": "2223" }, "location": "Header", "isApiVersion": false, @@ -135172,12 +140011,12 @@ "decorators": [] }, { - "$id": "9814", + "$id": "10123", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2157" + "$ref": "2225" }, "location": "Header", "isApiVersion": false, @@ -135189,13 +140028,13 @@ "decorators": [] }, { - "$id": "9815", + "$id": "10124", "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": "9816", + "$id": "10125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135211,13 +140050,13 @@ "decorators": [] }, { - "$id": "9817", + "$id": "10126", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "9818", + "$id": "10127", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135235,7 +140074,7 @@ ], "response": { "type": { - "$ref": "5877" + "$ref": "6186" } }, "isOverride": false, @@ -135244,26 +140083,26 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage" }, { - "$id": "9819", + "$id": "10128", "kind": "basic", "name": "modifyMessage", "accessibility": "public", "apiVersions": [], "summary": "Modifies a message.", "operation": { - "$id": "9820", + "$id": "10129", "name": "modifyMessage", "resourceName": "Messages", "summary": "Modifies a message.", "accessibility": "public", "parameters": [ { - "$id": "9821", + "$id": "10130", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2159" + "$ref": "2227" }, "isApiVersion": false, "optional": false, @@ -135274,12 +140113,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.accept" }, { - "$id": "9822", + "$id": "10131", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2161" + "$ref": "2229" }, "isApiVersion": false, "optional": false, @@ -135290,13 +140129,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.openAIBeta" }, { - "$id": "9823", + "$id": "10132", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9824", + "$id": "10133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135314,13 +140153,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.thread_id" }, { - "$id": "9825", + "$id": "10134", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "9826", + "$id": "10135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135338,13 +140177,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.message_id" }, { - "$id": "9827", + "$id": "10136", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2163" + "$ref": "2231" }, "isApiVersion": false, "optional": false, @@ -135355,12 +140194,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.contentType" }, { - "$id": "9828", + "$id": "10137", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5927" + "$ref": "6236" }, "isApiVersion": false, "contentTypes": [ @@ -135380,7 +140219,7 @@ 200 ], "bodyType": { - "$ref": "5877" + "$ref": "6186" }, "headers": [], "isErrorResponse": false, @@ -135404,12 +140243,12 @@ }, "parameters": [ { - "$id": "9829", + "$id": "10138", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2165" + "$ref": "2233" }, "location": "Header", "isApiVersion": false, @@ -135421,12 +140260,12 @@ "decorators": [] }, { - "$id": "9830", + "$id": "10139", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2167" + "$ref": "2235" }, "location": "Header", "isApiVersion": false, @@ -135438,13 +140277,13 @@ "decorators": [] }, { - "$id": "9831", + "$id": "10140", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9832", + "$id": "10141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135460,13 +140299,13 @@ "decorators": [] }, { - "$id": "9833", + "$id": "10142", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "9834", + "$id": "10143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135482,12 +140321,12 @@ "decorators": [] }, { - "$id": "9835", + "$id": "10144", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5927" + "$ref": "6236" }, "location": "Body", "isApiVersion": false, @@ -135499,13 +140338,13 @@ "decorators": [] }, { - "$id": "9836", + "$id": "10145", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2163" + "$ref": "2231" }, "location": "Header", "isApiVersion": false, @@ -135519,7 +140358,7 @@ ], "response": { "type": { - "$ref": "5877" + "$ref": "6186" } }, "isOverride": false, @@ -135528,26 +140367,26 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage" }, { - "$id": "9837", + "$id": "10146", "kind": "basic", "name": "deleteMessage", "accessibility": "public", "apiVersions": [], "summary": "Deletes a message.", "operation": { - "$id": "9838", + "$id": "10147", "name": "deleteMessage", "resourceName": "Messages", "summary": "Deletes a message.", "accessibility": "public", "parameters": [ { - "$id": "9839", + "$id": "10148", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2169" + "$ref": "2237" }, "isApiVersion": false, "optional": false, @@ -135558,12 +140397,12 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.accept" }, { - "$id": "9840", + "$id": "10149", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2171" + "$ref": "2239" }, "isApiVersion": false, "optional": false, @@ -135574,13 +140413,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.openAIBeta" }, { - "$id": "9841", + "$id": "10150", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9842", + "$id": "10151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135598,13 +140437,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.thread_id" }, { - "$id": "9843", + "$id": "10152", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "9844", + "$id": "10153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135628,7 +140467,7 @@ 200 ], "bodyType": { - "$ref": "5929" + "$ref": "6238" }, "headers": [], "isErrorResponse": false, @@ -135649,12 +140488,12 @@ }, "parameters": [ { - "$id": "9845", + "$id": "10154", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2173" + "$ref": "2241" }, "location": "Header", "isApiVersion": false, @@ -135666,12 +140505,12 @@ "decorators": [] }, { - "$id": "9846", + "$id": "10155", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2175" + "$ref": "2243" }, "location": "Header", "isApiVersion": false, @@ -135683,13 +140522,13 @@ "decorators": [] }, { - "$id": "9847", + "$id": "10156", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9848", + "$id": "10157", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135705,13 +140544,13 @@ "decorators": [] }, { - "$id": "9849", + "$id": "10158", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "9850", + "$id": "10159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135729,7 +140568,7 @@ ], "response": { "type": { - "$ref": "5929" + "$ref": "6238" } }, "isOverride": false, @@ -135740,13 +140579,13 @@ ], "parameters": [ { - "$id": "9851", + "$id": "10160", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9852", + "$id": "10161", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -135757,7 +140596,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9853", + "$id": "10162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -135775,37 +140614,37 @@ "crossLanguageDefinitionId": "OpenAI.Messages", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "9854", + "$id": "10163", "kind": "client", "name": "Runs", "namespace": "OpenAI", "methods": [ { - "$id": "9855", + "$id": "10164", "kind": "basic", "name": "createThreadAndRun", "accessibility": "public", "apiVersions": [], "summary": "Create a thread and run it in one request.", "operation": { - "$id": "9856", + "$id": "10165", "name": "createThreadAndRun", "resourceName": "Runs", "summary": "Create a thread and run it in one request.", "accessibility": "public", "parameters": [ { - "$id": "9857", + "$id": "10166", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1577" + "$ref": "1641" }, "isApiVersion": false, "optional": false, @@ -135816,12 +140655,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.accept" }, { - "$id": "9858", + "$id": "10167", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2177" + "$ref": "2245" }, "isApiVersion": false, "optional": false, @@ -135832,13 +140671,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.openAIBeta" }, { - "$id": "9859", + "$id": "10168", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2179" + "$ref": "2247" }, "isApiVersion": false, "optional": false, @@ -135849,12 +140688,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.contentType" }, { - "$id": "9860", + "$id": "10169", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5935" + "$ref": "6244" }, "isApiVersion": false, "contentTypes": [ @@ -135874,7 +140713,7 @@ 200 ], "bodyType": { - "$ref": "6001" + "$ref": "6310" }, "headers": [], "isErrorResponse": false, @@ -135898,12 +140737,12 @@ }, "parameters": [ { - "$id": "9861", + "$id": "10170", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1577" + "$ref": "1641" }, "location": "Header", "isApiVersion": false, @@ -135915,12 +140754,12 @@ "decorators": [] }, { - "$id": "9862", + "$id": "10171", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2181" + "$ref": "2249" }, "location": "Header", "isApiVersion": false, @@ -135932,12 +140771,12 @@ "decorators": [] }, { - "$id": "9863", + "$id": "10172", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5935" + "$ref": "6244" }, "location": "Body", "isApiVersion": false, @@ -135949,13 +140788,13 @@ "decorators": [] }, { - "$id": "9864", + "$id": "10173", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2179" + "$ref": "2247" }, "location": "Header", "isApiVersion": false, @@ -135969,7 +140808,7 @@ ], "response": { "type": { - "$ref": "6001" + "$ref": "6310" } }, "isOverride": false, @@ -135978,26 +140817,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun" }, { - "$id": "9865", + "$id": "10174", "kind": "basic", "name": "createRun", "accessibility": "public", "apiVersions": [], "summary": "Create a run.", "operation": { - "$id": "9866", + "$id": "10175", "name": "createRun", "resourceName": "Runs", "summary": "Create a run.", "accessibility": "public", "parameters": [ { - "$id": "9867", + "$id": "10176", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1577" + "$ref": "1641" }, "isApiVersion": false, "optional": false, @@ -136008,12 +140847,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.accept" }, { - "$id": "9868", + "$id": "10177", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2183" + "$ref": "2251" }, "isApiVersion": false, "optional": false, @@ -136024,13 +140863,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.openAIBeta" }, { - "$id": "9869", + "$id": "10178", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "9870", + "$id": "10179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136048,17 +140887,17 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.thread_id" }, { - "$id": "9871", + "$id": "10180", "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": "9872", + "$id": "10181", "kind": "array", "name": "ArrayIncludedRunStepProperty", "valueType": { - "$ref": "1589" + "$ref": "1653" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -136073,13 +140912,13 @@ "readOnly": false }, { - "$id": "9873", + "$id": "10182", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2185" + "$ref": "2253" }, "isApiVersion": false, "optional": false, @@ -136090,12 +140929,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.contentType" }, { - "$id": "9874", + "$id": "10183", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6097" + "$ref": "6406" }, "isApiVersion": false, "contentTypes": [ @@ -136115,7 +140954,7 @@ 200 ], "bodyType": { - "$ref": "6001" + "$ref": "6310" }, "headers": [], "isErrorResponse": false, @@ -136139,12 +140978,12 @@ }, "parameters": [ { - "$id": "9875", + "$id": "10184", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1577" + "$ref": "1641" }, "location": "Header", "isApiVersion": false, @@ -136156,12 +140995,12 @@ "decorators": [] }, { - "$id": "9876", + "$id": "10185", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2187" + "$ref": "2255" }, "location": "Header", "isApiVersion": false, @@ -136173,13 +141012,13 @@ "decorators": [] }, { - "$id": "9877", + "$id": "10186", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "9878", + "$id": "10187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136195,13 +141034,13 @@ "decorators": [] }, { - "$id": "9879", + "$id": "10188", "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": "9872" + "$ref": "10181" }, "location": "Query", "isApiVersion": false, @@ -136213,12 +141052,12 @@ "decorators": [] }, { - "$id": "9880", + "$id": "10189", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6097" + "$ref": "6406" }, "location": "Body", "isApiVersion": false, @@ -136230,13 +141069,13 @@ "decorators": [] }, { - "$id": "9881", + "$id": "10190", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2185" + "$ref": "2253" }, "location": "Header", "isApiVersion": false, @@ -136250,7 +141089,7 @@ ], "response": { "type": { - "$ref": "6001" + "$ref": "6310" } }, "isOverride": false, @@ -136259,26 +141098,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun" }, { - "$id": "9882", + "$id": "10191", "kind": "paging", "name": "listRuns", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of runs belonging to a thread.", "operation": { - "$id": "9883", + "$id": "10192", "name": "listRuns", "resourceName": "Runs", "summary": "Returns a list of runs belonging to a thread.", "accessibility": "public", "parameters": [ { - "$id": "9884", + "$id": "10193", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2189" + "$ref": "2257" }, "isApiVersion": false, "optional": false, @@ -136289,12 +141128,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.accept" }, { - "$id": "9885", + "$id": "10194", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2191" + "$ref": "2259" }, "isApiVersion": false, "optional": false, @@ -136305,13 +141144,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.openAIBeta" }, { - "$id": "9886", + "$id": "10195", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "9887", + "$id": "10196", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136329,13 +141168,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.thread_id" }, { - "$id": "9888", + "$id": "10197", "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": "9889", + "$id": "10198", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -136350,13 +141189,13 @@ "readOnly": false }, { - "$id": "9890", + "$id": "10199", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -136367,13 +141206,13 @@ "readOnly": false }, { - "$id": "9891", + "$id": "10200", "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": "9892", + "$id": "10201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136388,13 +141227,13 @@ "readOnly": false }, { - "$id": "9893", + "$id": "10202", "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": "9894", + "$id": "10203", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136415,7 +141254,7 @@ 200 ], "bodyType": { - "$ref": "6139" + "$ref": "6448" }, "headers": [], "isErrorResponse": false, @@ -136436,12 +141275,12 @@ }, "parameters": [ { - "$id": "9895", + "$id": "10204", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2193" + "$ref": "2261" }, "location": "Header", "isApiVersion": false, @@ -136453,12 +141292,12 @@ "decorators": [] }, { - "$id": "9896", + "$id": "10205", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2195" + "$ref": "2263" }, "location": "Header", "isApiVersion": false, @@ -136470,13 +141309,13 @@ "decorators": [] }, { - "$id": "9897", + "$id": "10206", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "9898", + "$id": "10207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136492,13 +141331,13 @@ "decorators": [] }, { - "$id": "9899", + "$id": "10208", "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": "9900", + "$id": "10209", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -136514,13 +141353,13 @@ "decorators": [] }, { - "$id": "9901", + "$id": "10210", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -136532,13 +141371,13 @@ "decorators": [] }, { - "$id": "9902", + "$id": "10211", "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": "9903", + "$id": "10212", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136554,13 +141393,13 @@ "decorators": [] }, { - "$id": "9904", + "$id": "10213", "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": "9905", + "$id": "10214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136578,7 +141417,7 @@ ], "response": { "type": { - "$ref": "6142" + "$ref": "6451" }, "resultSegments": [ "data" @@ -136594,7 +141433,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9891" + "$ref": "10200" }, "responseSegments": [ "last_id" @@ -136605,26 +141444,26 @@ } }, { - "$id": "9906", + "$id": "10215", "kind": "basic", "name": "getRun", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run.", "operation": { - "$id": "9907", + "$id": "10216", "name": "getRun", "resourceName": "Runs", "summary": "Retrieves a run.", "accessibility": "public", "parameters": [ { - "$id": "9908", + "$id": "10217", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2197" + "$ref": "2265" }, "isApiVersion": false, "optional": false, @@ -136635,12 +141474,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.accept" }, { - "$id": "9909", + "$id": "10218", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2199" + "$ref": "2267" }, "isApiVersion": false, "optional": false, @@ -136651,13 +141490,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.openAIBeta" }, { - "$id": "9910", + "$id": "10219", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9911", + "$id": "10220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136675,13 +141514,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.thread_id" }, { - "$id": "9912", + "$id": "10221", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "9913", + "$id": "10222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136705,7 +141544,7 @@ 200 ], "bodyType": { - "$ref": "6001" + "$ref": "6310" }, "headers": [], "isErrorResponse": false, @@ -136726,12 +141565,12 @@ }, "parameters": [ { - "$id": "9914", + "$id": "10223", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2201" + "$ref": "2269" }, "location": "Header", "isApiVersion": false, @@ -136743,12 +141582,12 @@ "decorators": [] }, { - "$id": "9915", + "$id": "10224", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2203" + "$ref": "2271" }, "location": "Header", "isApiVersion": false, @@ -136760,13 +141599,13 @@ "decorators": [] }, { - "$id": "9916", + "$id": "10225", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9917", + "$id": "10226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136782,13 +141621,13 @@ "decorators": [] }, { - "$id": "9918", + "$id": "10227", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "9919", + "$id": "10228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136806,7 +141645,7 @@ ], "response": { "type": { - "$ref": "6001" + "$ref": "6310" } }, "isOverride": false, @@ -136815,26 +141654,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun" }, { - "$id": "9920", + "$id": "10229", "kind": "basic", "name": "modifyRun", "accessibility": "public", "apiVersions": [], "summary": "Modifies a run.", "operation": { - "$id": "9921", + "$id": "10230", "name": "modifyRun", "resourceName": "Runs", "summary": "Modifies a run.", "accessibility": "public", "parameters": [ { - "$id": "9922", + "$id": "10231", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2205" + "$ref": "2273" }, "isApiVersion": false, "optional": false, @@ -136845,12 +141684,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.accept" }, { - "$id": "9923", + "$id": "10232", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2207" + "$ref": "2275" }, "isApiVersion": false, "optional": false, @@ -136861,13 +141700,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.openAIBeta" }, { - "$id": "9924", + "$id": "10233", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9925", + "$id": "10234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136885,13 +141724,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.thread_id" }, { - "$id": "9926", + "$id": "10235", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "9927", + "$id": "10236", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -136909,13 +141748,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.run_id" }, { - "$id": "9928", + "$id": "10237", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2209" + "$ref": "2277" }, "isApiVersion": false, "optional": false, @@ -136926,12 +141765,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.contentType" }, { - "$id": "9929", + "$id": "10238", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6149" + "$ref": "6458" }, "isApiVersion": false, "contentTypes": [ @@ -136951,7 +141790,7 @@ 200 ], "bodyType": { - "$ref": "6001" + "$ref": "6310" }, "headers": [], "isErrorResponse": false, @@ -136975,12 +141814,12 @@ }, "parameters": [ { - "$id": "9930", + "$id": "10239", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2211" + "$ref": "2279" }, "location": "Header", "isApiVersion": false, @@ -136992,12 +141831,12 @@ "decorators": [] }, { - "$id": "9931", + "$id": "10240", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2213" + "$ref": "2281" }, "location": "Header", "isApiVersion": false, @@ -137009,13 +141848,13 @@ "decorators": [] }, { - "$id": "9932", + "$id": "10241", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9933", + "$id": "10242", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137031,13 +141870,13 @@ "decorators": [] }, { - "$id": "9934", + "$id": "10243", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "9935", + "$id": "10244", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137053,12 +141892,12 @@ "decorators": [] }, { - "$id": "9936", + "$id": "10245", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6149" + "$ref": "6458" }, "location": "Body", "isApiVersion": false, @@ -137070,13 +141909,13 @@ "decorators": [] }, { - "$id": "9937", + "$id": "10246", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2209" + "$ref": "2277" }, "location": "Header", "isApiVersion": false, @@ -137090,7 +141929,7 @@ ], "response": { "type": { - "$ref": "6001" + "$ref": "6310" } }, "isOverride": false, @@ -137099,26 +141938,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun" }, { - "$id": "9938", + "$id": "10247", "kind": "basic", "name": "cancelRun", "accessibility": "public", "apiVersions": [], "summary": "Cancels a run that is `in_progress`.", "operation": { - "$id": "9939", + "$id": "10248", "name": "cancelRun", "resourceName": "Runs", "summary": "Cancels a run that is `in_progress`.", "accessibility": "public", "parameters": [ { - "$id": "9940", + "$id": "10249", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2215" + "$ref": "2283" }, "isApiVersion": false, "optional": false, @@ -137129,12 +141968,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.accept" }, { - "$id": "9941", + "$id": "10250", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2217" + "$ref": "2285" }, "isApiVersion": false, "optional": false, @@ -137145,13 +141984,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.openAIBeta" }, { - "$id": "9942", + "$id": "10251", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "9943", + "$id": "10252", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137169,13 +142008,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.thread_id" }, { - "$id": "9944", + "$id": "10253", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "9945", + "$id": "10254", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137199,7 +142038,7 @@ 200 ], "bodyType": { - "$ref": "6001" + "$ref": "6310" }, "headers": [], "isErrorResponse": false, @@ -137220,12 +142059,12 @@ }, "parameters": [ { - "$id": "9946", + "$id": "10255", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2219" + "$ref": "2287" }, "location": "Header", "isApiVersion": false, @@ -137237,12 +142076,12 @@ "decorators": [] }, { - "$id": "9947", + "$id": "10256", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2221" + "$ref": "2289" }, "location": "Header", "isApiVersion": false, @@ -137254,13 +142093,13 @@ "decorators": [] }, { - "$id": "9948", + "$id": "10257", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "9949", + "$id": "10258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137276,13 +142115,13 @@ "decorators": [] }, { - "$id": "9950", + "$id": "10259", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "9951", + "$id": "10260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137300,7 +142139,7 @@ ], "response": { "type": { - "$ref": "6001" + "$ref": "6310" } }, "isOverride": false, @@ -137309,26 +142148,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun" }, { - "$id": "9952", + "$id": "10261", "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": "9953", + "$id": "10262", "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": "9954", + "$id": "10263", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1577" + "$ref": "1641" }, "isApiVersion": false, "optional": false, @@ -137339,12 +142178,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.accept" }, { - "$id": "9955", + "$id": "10264", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2223" + "$ref": "2291" }, "isApiVersion": false, "optional": false, @@ -137355,13 +142194,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.openAIBeta" }, { - "$id": "9956", + "$id": "10265", "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": "9957", + "$id": "10266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137379,13 +142218,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.thread_id" }, { - "$id": "9958", + "$id": "10267", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "9959", + "$id": "10268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137403,13 +142242,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.run_id" }, { - "$id": "9960", + "$id": "10269", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2225" + "$ref": "2293" }, "isApiVersion": false, "optional": false, @@ -137420,12 +142259,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.contentType" }, { - "$id": "9961", + "$id": "10270", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6151" + "$ref": "6460" }, "isApiVersion": false, "contentTypes": [ @@ -137445,7 +142284,7 @@ 200 ], "bodyType": { - "$ref": "6001" + "$ref": "6310" }, "headers": [], "isErrorResponse": false, @@ -137469,12 +142308,12 @@ }, "parameters": [ { - "$id": "9962", + "$id": "10271", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "1577" + "$ref": "1641" }, "location": "Header", "isApiVersion": false, @@ -137486,12 +142325,12 @@ "decorators": [] }, { - "$id": "9963", + "$id": "10272", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2227" + "$ref": "2295" }, "location": "Header", "isApiVersion": false, @@ -137503,13 +142342,13 @@ "decorators": [] }, { - "$id": "9964", + "$id": "10273", "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": "9965", + "$id": "10274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137525,13 +142364,13 @@ "decorators": [] }, { - "$id": "9966", + "$id": "10275", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "9967", + "$id": "10276", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137547,12 +142386,12 @@ "decorators": [] }, { - "$id": "9968", + "$id": "10277", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6151" + "$ref": "6460" }, "location": "Body", "isApiVersion": false, @@ -137564,13 +142403,13 @@ "decorators": [] }, { - "$id": "9969", + "$id": "10278", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2225" + "$ref": "2293" }, "location": "Header", "isApiVersion": false, @@ -137584,7 +142423,7 @@ ], "response": { "type": { - "$ref": "6001" + "$ref": "6310" } }, "isOverride": false, @@ -137593,26 +142432,26 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun" }, { - "$id": "9970", + "$id": "10279", "kind": "paging", "name": "listRunSteps", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of run steps belonging to a run.", "operation": { - "$id": "9971", + "$id": "10280", "name": "listRunSteps", "resourceName": "Runs", "summary": "Returns a list of run steps belonging to a run.", "accessibility": "public", "parameters": [ { - "$id": "9972", + "$id": "10281", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2229" + "$ref": "2297" }, "isApiVersion": false, "optional": false, @@ -137623,12 +142462,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.accept" }, { - "$id": "9973", + "$id": "10282", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2231" + "$ref": "2299" }, "isApiVersion": false, "optional": false, @@ -137639,13 +142478,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.openAIBeta" }, { - "$id": "9974", + "$id": "10283", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "9975", + "$id": "10284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137663,13 +142502,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.thread_id" }, { - "$id": "9976", + "$id": "10285", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "9977", + "$id": "10286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137687,13 +142526,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.run_id" }, { - "$id": "9978", + "$id": "10287", "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": "9979", + "$id": "10288", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -137708,13 +142547,13 @@ "readOnly": false }, { - "$id": "9980", + "$id": "10289", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -137725,13 +142564,13 @@ "readOnly": false }, { - "$id": "9981", + "$id": "10290", "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": "9982", + "$id": "10291", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137746,13 +142585,13 @@ "readOnly": false }, { - "$id": "9983", + "$id": "10292", "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": "9984", + "$id": "10293", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137767,13 +142606,13 @@ "readOnly": false }, { - "$id": "9985", + "$id": "10294", "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": "9872" + "$ref": "10181" }, "isApiVersion": false, "explode": false, @@ -137791,7 +142630,7 @@ 200 ], "bodyType": { - "$ref": "6162" + "$ref": "6471" }, "headers": [], "isErrorResponse": false, @@ -137812,12 +142651,12 @@ }, "parameters": [ { - "$id": "9986", + "$id": "10295", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2233" + "$ref": "2301" }, "location": "Header", "isApiVersion": false, @@ -137829,12 +142668,12 @@ "decorators": [] }, { - "$id": "9987", + "$id": "10296", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2235" + "$ref": "2303" }, "location": "Header", "isApiVersion": false, @@ -137846,13 +142685,13 @@ "decorators": [] }, { - "$id": "9988", + "$id": "10297", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "9989", + "$id": "10298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137868,13 +142707,13 @@ "decorators": [] }, { - "$id": "9990", + "$id": "10299", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "9991", + "$id": "10300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137890,13 +142729,13 @@ "decorators": [] }, { - "$id": "9992", + "$id": "10301", "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": "9993", + "$id": "10302", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -137912,13 +142751,13 @@ "decorators": [] }, { - "$id": "9994", + "$id": "10303", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -137930,13 +142769,13 @@ "decorators": [] }, { - "$id": "9995", + "$id": "10304", "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": "9996", + "$id": "10305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137952,13 +142791,13 @@ "decorators": [] }, { - "$id": "9997", + "$id": "10306", "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": "9998", + "$id": "10307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -137974,13 +142813,13 @@ "decorators": [] }, { - "$id": "9999", + "$id": "10308", "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": "9872" + "$ref": "10181" }, "location": "Query", "isApiVersion": false, @@ -137994,7 +142833,7 @@ ], "response": { "type": { - "$ref": "6165" + "$ref": "6474" }, "resultSegments": [ "data" @@ -138010,7 +142849,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9981" + "$ref": "10290" }, "responseSegments": [ "last_id" @@ -138021,26 +142860,26 @@ } }, { - "$id": "10000", + "$id": "10309", "kind": "basic", "name": "getRunStep", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run step.", "operation": { - "$id": "10001", + "$id": "10310", "name": "getRunStep", "resourceName": "Runs", "summary": "Retrieves a run step.", "accessibility": "public", "parameters": [ { - "$id": "10002", + "$id": "10311", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2237" + "$ref": "2305" }, "isApiVersion": false, "optional": false, @@ -138051,12 +142890,12 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.accept" }, { - "$id": "10003", + "$id": "10312", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2239" + "$ref": "2307" }, "isApiVersion": false, "optional": false, @@ -138067,13 +142906,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.openAIBeta" }, { - "$id": "10004", + "$id": "10313", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "10005", + "$id": "10314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138091,13 +142930,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.thread_id" }, { - "$id": "10006", + "$id": "10315", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "10007", + "$id": "10316", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138115,13 +142954,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.run_id" }, { - "$id": "10008", + "$id": "10317", "kind": "path", "name": "step_id", "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "10009", + "$id": "10318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138139,13 +142978,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.step_id" }, { - "$id": "10010", + "$id": "10319", "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": "9872" + "$ref": "10181" }, "isApiVersion": false, "explode": false, @@ -138163,7 +143002,7 @@ 200 ], "bodyType": { - "$ref": "6166" + "$ref": "6475" }, "headers": [], "isErrorResponse": false, @@ -138184,12 +143023,12 @@ }, "parameters": [ { - "$id": "10011", + "$id": "10320", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2241" + "$ref": "2309" }, "location": "Header", "isApiVersion": false, @@ -138201,12 +143040,12 @@ "decorators": [] }, { - "$id": "10012", + "$id": "10321", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2243" + "$ref": "2311" }, "location": "Header", "isApiVersion": false, @@ -138218,13 +143057,13 @@ "decorators": [] }, { - "$id": "10013", + "$id": "10322", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "10014", + "$id": "10323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138240,13 +143079,13 @@ "decorators": [] }, { - "$id": "10015", + "$id": "10324", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "10016", + "$id": "10325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138262,13 +143101,13 @@ "decorators": [] }, { - "$id": "10017", + "$id": "10326", "kind": "method", "name": "step_id", "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "10018", + "$id": "10327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138284,13 +143123,13 @@ "decorators": [] }, { - "$id": "10019", + "$id": "10328", "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": "9872" + "$ref": "10181" }, "location": "Query", "isApiVersion": false, @@ -138304,7 +143143,7 @@ ], "response": { "type": { - "$ref": "6166" + "$ref": "6475" } }, "isOverride": false, @@ -138315,13 +143154,13 @@ ], "parameters": [ { - "$id": "10020", + "$id": "10329", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10021", + "$id": "10330", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -138332,7 +143171,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10022", + "$id": "10331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -138350,37 +143189,37 @@ "crossLanguageDefinitionId": "OpenAI.Runs", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10023", + "$id": "10332", "kind": "client", "name": "Threads", "namespace": "OpenAI", "methods": [ { - "$id": "10024", + "$id": "10333", "kind": "basic", "name": "createThread", "accessibility": "public", "apiVersions": [], "summary": "Create a thread.", "operation": { - "$id": "10025", + "$id": "10334", "name": "createThread", "resourceName": "Threads", "summary": "Create a thread.", "accessibility": "public", "parameters": [ { - "$id": "10026", + "$id": "10335", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2245" + "$ref": "2313" }, "isApiVersion": false, "optional": false, @@ -138391,12 +143230,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.accept" }, { - "$id": "10027", + "$id": "10336", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2247" + "$ref": "2315" }, "isApiVersion": false, "optional": false, @@ -138407,13 +143246,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.openAIBeta" }, { - "$id": "10028", + "$id": "10337", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2249" + "$ref": "2317" }, "isApiVersion": false, "optional": false, @@ -138424,12 +143263,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.contentType" }, { - "$id": "10029", + "$id": "10338", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5939" + "$ref": "6248" }, "isApiVersion": false, "contentTypes": [ @@ -138449,7 +143288,7 @@ 200 ], "bodyType": { - "$ref": "6315" + "$ref": "6624" }, "headers": [], "isErrorResponse": false, @@ -138473,12 +143312,12 @@ }, "parameters": [ { - "$id": "10030", + "$id": "10339", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2251" + "$ref": "2319" }, "location": "Header", "isApiVersion": false, @@ -138490,12 +143329,12 @@ "decorators": [] }, { - "$id": "10031", + "$id": "10340", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2253" + "$ref": "2321" }, "location": "Header", "isApiVersion": false, @@ -138507,12 +143346,12 @@ "decorators": [] }, { - "$id": "10032", + "$id": "10341", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "5939" + "$ref": "6248" }, "location": "Body", "isApiVersion": false, @@ -138524,13 +143363,13 @@ "decorators": [] }, { - "$id": "10033", + "$id": "10342", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2249" + "$ref": "2317" }, "location": "Header", "isApiVersion": false, @@ -138544,7 +143383,7 @@ ], "response": { "type": { - "$ref": "6315" + "$ref": "6624" } }, "isOverride": false, @@ -138553,26 +143392,26 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread" }, { - "$id": "10034", + "$id": "10343", "kind": "basic", "name": "getThread", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a thread.", "operation": { - "$id": "10035", + "$id": "10344", "name": "getThread", "resourceName": "Threads", "summary": "Retrieves a thread.", "accessibility": "public", "parameters": [ { - "$id": "10036", + "$id": "10345", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2255" + "$ref": "2323" }, "isApiVersion": false, "optional": false, @@ -138583,12 +143422,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread.accept" }, { - "$id": "10037", + "$id": "10346", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2257" + "$ref": "2325" }, "isApiVersion": false, "optional": false, @@ -138599,13 +143438,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread.openAIBeta" }, { - "$id": "10038", + "$id": "10347", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "10039", + "$id": "10348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138629,7 +143468,7 @@ 200 ], "bodyType": { - "$ref": "6315" + "$ref": "6624" }, "headers": [], "isErrorResponse": false, @@ -138650,12 +143489,12 @@ }, "parameters": [ { - "$id": "10040", + "$id": "10349", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2259" + "$ref": "2327" }, "location": "Header", "isApiVersion": false, @@ -138667,12 +143506,12 @@ "decorators": [] }, { - "$id": "10041", + "$id": "10350", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2261" + "$ref": "2329" }, "location": "Header", "isApiVersion": false, @@ -138684,13 +143523,13 @@ "decorators": [] }, { - "$id": "10042", + "$id": "10351", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "10043", + "$id": "10352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138708,7 +143547,7 @@ ], "response": { "type": { - "$ref": "6315" + "$ref": "6624" } }, "isOverride": false, @@ -138717,26 +143556,26 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread" }, { - "$id": "10044", + "$id": "10353", "kind": "basic", "name": "modifyThread", "accessibility": "public", "apiVersions": [], "summary": "Modifies a thread.", "operation": { - "$id": "10045", + "$id": "10354", "name": "modifyThread", "resourceName": "Threads", "summary": "Modifies a thread.", "accessibility": "public", "parameters": [ { - "$id": "10046", + "$id": "10355", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2263" + "$ref": "2331" }, "isApiVersion": false, "optional": false, @@ -138747,12 +143586,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.accept" }, { - "$id": "10047", + "$id": "10356", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2265" + "$ref": "2333" }, "isApiVersion": false, "optional": false, @@ -138763,13 +143602,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.openAIBeta" }, { - "$id": "10048", + "$id": "10357", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "10049", + "$id": "10358", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138787,13 +143626,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.thread_id" }, { - "$id": "10050", + "$id": "10359", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2267" + "$ref": "2335" }, "isApiVersion": false, "optional": false, @@ -138804,12 +143643,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.contentType" }, { - "$id": "10051", + "$id": "10360", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6332" + "$ref": "6641" }, "isApiVersion": false, "contentTypes": [ @@ -138829,7 +143668,7 @@ 200 ], "bodyType": { - "$ref": "6315" + "$ref": "6624" }, "headers": [], "isErrorResponse": false, @@ -138853,12 +143692,12 @@ }, "parameters": [ { - "$id": "10052", + "$id": "10361", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2269" + "$ref": "2337" }, "location": "Header", "isApiVersion": false, @@ -138870,12 +143709,12 @@ "decorators": [] }, { - "$id": "10053", + "$id": "10362", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2271" + "$ref": "2339" }, "location": "Header", "isApiVersion": false, @@ -138887,13 +143726,13 @@ "decorators": [] }, { - "$id": "10054", + "$id": "10363", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "10055", + "$id": "10364", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -138909,12 +143748,12 @@ "decorators": [] }, { - "$id": "10056", + "$id": "10365", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6332" + "$ref": "6641" }, "location": "Body", "isApiVersion": false, @@ -138926,13 +143765,13 @@ "decorators": [] }, { - "$id": "10057", + "$id": "10366", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2267" + "$ref": "2335" }, "location": "Header", "isApiVersion": false, @@ -138946,7 +143785,7 @@ ], "response": { "type": { - "$ref": "6315" + "$ref": "6624" } }, "isOverride": false, @@ -138955,26 +143794,26 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread" }, { - "$id": "10058", + "$id": "10367", "kind": "basic", "name": "deleteThread", "accessibility": "public", "apiVersions": [], "summary": "Delete a thread.", "operation": { - "$id": "10059", + "$id": "10368", "name": "deleteThread", "resourceName": "Threads", "summary": "Delete a thread.", "accessibility": "public", "parameters": [ { - "$id": "10060", + "$id": "10369", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2273" + "$ref": "2341" }, "isApiVersion": false, "optional": false, @@ -138985,12 +143824,12 @@ "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.accept" }, { - "$id": "10061", + "$id": "10370", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2275" + "$ref": "2343" }, "isApiVersion": false, "optional": false, @@ -139001,13 +143840,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.openAIBeta" }, { - "$id": "10062", + "$id": "10371", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "10063", + "$id": "10372", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139031,7 +143870,7 @@ 200 ], "bodyType": { - "$ref": "6341" + "$ref": "6650" }, "headers": [], "isErrorResponse": false, @@ -139052,12 +143891,12 @@ }, "parameters": [ { - "$id": "10064", + "$id": "10373", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2277" + "$ref": "2345" }, "location": "Header", "isApiVersion": false, @@ -139069,12 +143908,12 @@ "decorators": [] }, { - "$id": "10065", + "$id": "10374", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", "type": { - "$ref": "2279" + "$ref": "2347" }, "location": "Header", "isApiVersion": false, @@ -139086,13 +143925,13 @@ "decorators": [] }, { - "$id": "10066", + "$id": "10375", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "10067", + "$id": "10376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139110,7 +143949,7 @@ ], "response": { "type": { - "$ref": "6341" + "$ref": "6650" } }, "isOverride": false, @@ -139121,13 +143960,13 @@ ], "parameters": [ { - "$id": "10068", + "$id": "10377", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10069", + "$id": "10378", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -139138,7 +143977,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10070", + "$id": "10379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -139156,37 +143995,37 @@ "crossLanguageDefinitionId": "OpenAI.Threads", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10071", + "$id": "10380", "kind": "client", "name": "VectorStores", "namespace": "OpenAI", "methods": [ { - "$id": "10072", + "$id": "10381", "kind": "paging", "name": "GetVectorStores", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector stores.", "operation": { - "$id": "10073", + "$id": "10382", "name": "GetVectorStores", "resourceName": "VectorStores", "summary": "Returns a list of vector stores.", "accessibility": "public", "parameters": [ { - "$id": "10074", + "$id": "10383", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2281" + "$ref": "2349" }, "isApiVersion": false, "optional": false, @@ -139197,13 +144036,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.accept" }, { - "$id": "10075", + "$id": "10384", "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": "10076", + "$id": "10385", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -139218,13 +144057,13 @@ "readOnly": false }, { - "$id": "10077", + "$id": "10386", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -139235,13 +144074,13 @@ "readOnly": false }, { - "$id": "10078", + "$id": "10387", "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": "10079", + "$id": "10388", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139256,13 +144095,13 @@ "readOnly": false }, { - "$id": "10080", + "$id": "10389", "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": "10081", + "$id": "10390", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139283,7 +144122,7 @@ 200 ], "bodyType": { - "$ref": "6347" + "$ref": "6656" }, "headers": [], "isErrorResponse": false, @@ -139304,12 +144143,12 @@ }, "parameters": [ { - "$id": "10082", + "$id": "10391", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2283" + "$ref": "2351" }, "location": "Header", "isApiVersion": false, @@ -139321,13 +144160,13 @@ "decorators": [] }, { - "$id": "10083", + "$id": "10392", "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": "10084", + "$id": "10393", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -139343,13 +144182,13 @@ "decorators": [] }, { - "$id": "10085", + "$id": "10394", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -139361,13 +144200,13 @@ "decorators": [] }, { - "$id": "10086", + "$id": "10395", "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": "10087", + "$id": "10396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139383,13 +144222,13 @@ "decorators": [] }, { - "$id": "10088", + "$id": "10397", "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": "10089", + "$id": "10398", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139407,7 +144246,7 @@ ], "response": { "type": { - "$ref": "6350" + "$ref": "6659" }, "resultSegments": [ "data" @@ -139423,7 +144262,7 @@ ], "continuationToken": { "parameter": { - "$ref": "10078" + "$ref": "10387" }, "responseSegments": [ "last_id" @@ -139434,26 +144273,26 @@ } }, { - "$id": "10090", + "$id": "10399", "kind": "basic", "name": "createVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Creates a vector store.", "operation": { - "$id": "10091", + "$id": "10400", "name": "createVectorStore", "resourceName": "VectorStores", "summary": "Creates a vector store.", "accessibility": "public", "parameters": [ { - "$id": "10092", + "$id": "10401", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2285" + "$ref": "2353" }, "isApiVersion": false, "optional": false, @@ -139464,13 +144303,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.accept" }, { - "$id": "10093", + "$id": "10402", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2287" + "$ref": "2355" }, "isApiVersion": false, "optional": false, @@ -139481,12 +144320,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.contentType" }, { - "$id": "10094", + "$id": "10403", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6399" + "$ref": "6708" }, "isApiVersion": false, "contentTypes": [ @@ -139506,7 +144345,7 @@ 200 ], "bodyType": { - "$ref": "6351" + "$ref": "6660" }, "headers": [], "isErrorResponse": false, @@ -139530,12 +144369,12 @@ }, "parameters": [ { - "$id": "10095", + "$id": "10404", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2289" + "$ref": "2357" }, "location": "Header", "isApiVersion": false, @@ -139547,12 +144386,12 @@ "decorators": [] }, { - "$id": "10096", + "$id": "10405", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6399" + "$ref": "6708" }, "location": "Body", "isApiVersion": false, @@ -139564,13 +144403,13 @@ "decorators": [] }, { - "$id": "10097", + "$id": "10406", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2287" + "$ref": "2355" }, "location": "Header", "isApiVersion": false, @@ -139584,7 +144423,7 @@ ], "response": { "type": { - "$ref": "6351" + "$ref": "6660" } }, "isOverride": false, @@ -139593,26 +144432,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore" }, { - "$id": "10098", + "$id": "10407", "kind": "basic", "name": "getVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store.", "operation": { - "$id": "10099", + "$id": "10408", "name": "getVectorStore", "resourceName": "VectorStores", "summary": "Retrieves a vector store.", "accessibility": "public", "parameters": [ { - "$id": "10100", + "$id": "10409", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2291" + "$ref": "2359" }, "isApiVersion": false, "optional": false, @@ -139623,13 +144462,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept" }, { - "$id": "10101", + "$id": "10410", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { - "$id": "10102", + "$id": "10411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139653,7 +144492,7 @@ 200 ], "bodyType": { - "$ref": "6351" + "$ref": "6660" }, "headers": [], "isErrorResponse": false, @@ -139674,12 +144513,12 @@ }, "parameters": [ { - "$id": "10103", + "$id": "10412", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2293" + "$ref": "2361" }, "location": "Header", "isApiVersion": false, @@ -139691,13 +144530,13 @@ "decorators": [] }, { - "$id": "10104", + "$id": "10413", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { - "$id": "10105", + "$id": "10414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139715,7 +144554,7 @@ ], "response": { "type": { - "$ref": "6351" + "$ref": "6660" } }, "isOverride": false, @@ -139724,26 +144563,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore" }, { - "$id": "10106", + "$id": "10415", "kind": "basic", "name": "modifyVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Modifies a vector store.", "operation": { - "$id": "10107", + "$id": "10416", "name": "modifyVectorStore", "resourceName": "VectorStores", "summary": "Modifies a vector store.", "accessibility": "public", "parameters": [ { - "$id": "10108", + "$id": "10417", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2295" + "$ref": "2363" }, "isApiVersion": false, "optional": false, @@ -139754,13 +144593,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept" }, { - "$id": "10109", + "$id": "10418", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { - "$id": "10110", + "$id": "10419", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139778,13 +144617,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id" }, { - "$id": "10111", + "$id": "10420", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2297" + "$ref": "2365" }, "isApiVersion": false, "optional": false, @@ -139795,12 +144634,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType" }, { - "$id": "10112", + "$id": "10421", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6407" + "$ref": "6716" }, "isApiVersion": false, "contentTypes": [ @@ -139820,7 +144659,7 @@ 200 ], "bodyType": { - "$ref": "6351" + "$ref": "6660" }, "headers": [], "isErrorResponse": false, @@ -139844,12 +144683,12 @@ }, "parameters": [ { - "$id": "10113", + "$id": "10422", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2299" + "$ref": "2367" }, "location": "Header", "isApiVersion": false, @@ -139861,13 +144700,13 @@ "decorators": [] }, { - "$id": "10114", + "$id": "10423", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { - "$id": "10115", + "$id": "10424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139883,12 +144722,12 @@ "decorators": [] }, { - "$id": "10116", + "$id": "10425", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6407" + "$ref": "6716" }, "location": "Body", "isApiVersion": false, @@ -139900,13 +144739,13 @@ "decorators": [] }, { - "$id": "10117", + "$id": "10426", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2297" + "$ref": "2365" }, "location": "Header", "isApiVersion": false, @@ -139920,7 +144759,7 @@ ], "response": { "type": { - "$ref": "6351" + "$ref": "6660" } }, "isOverride": false, @@ -139929,26 +144768,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore" }, { - "$id": "10118", + "$id": "10427", "kind": "basic", "name": "deleteVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Delete a vector store.", "operation": { - "$id": "10119", + "$id": "10428", "name": "deleteVectorStore", "resourceName": "VectorStores", "summary": "Delete a vector store.", "accessibility": "public", "parameters": [ { - "$id": "10120", + "$id": "10429", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2301" + "$ref": "2369" }, "isApiVersion": false, "optional": false, @@ -139959,13 +144798,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept" }, { - "$id": "10121", + "$id": "10430", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { - "$id": "10122", + "$id": "10431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -139989,7 +144828,7 @@ 200 ], "bodyType": { - "$ref": "6414" + "$ref": "6723" }, "headers": [], "isErrorResponse": false, @@ -140010,12 +144849,12 @@ }, "parameters": [ { - "$id": "10123", + "$id": "10432", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2303" + "$ref": "2371" }, "location": "Header", "isApiVersion": false, @@ -140027,13 +144866,13 @@ "decorators": [] }, { - "$id": "10124", + "$id": "10433", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { - "$id": "10125", + "$id": "10434", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140051,7 +144890,7 @@ ], "response": { "type": { - "$ref": "6414" + "$ref": "6723" } }, "isOverride": false, @@ -140060,26 +144899,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore" }, { - "$id": "10126", + "$id": "10435", "kind": "basic", "name": "AddFileBatchToVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Create a vector store file batch.", "operation": { - "$id": "10127", + "$id": "10436", "name": "AddFileBatchToVectorStore", "resourceName": "VectorStores", "summary": "Create a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "10128", + "$id": "10437", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2305" + "$ref": "2373" }, "isApiVersion": false, "optional": false, @@ -140090,13 +144929,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept" }, { - "$id": "10129", + "$id": "10438", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a file batch.", "type": { - "$id": "10130", + "$id": "10439", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140114,13 +144953,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id" }, { - "$id": "10131", + "$id": "10440", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2307" + "$ref": "2375" }, "isApiVersion": false, "optional": false, @@ -140131,12 +144970,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType" }, { - "$id": "10132", + "$id": "10441", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6420" + "$ref": "6729" }, "isApiVersion": false, "contentTypes": [ @@ -140156,7 +144995,7 @@ 200 ], "bodyType": { - "$ref": "6425" + "$ref": "6734" }, "headers": [], "isErrorResponse": false, @@ -140180,12 +145019,12 @@ }, "parameters": [ { - "$id": "10133", + "$id": "10442", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2309" + "$ref": "2377" }, "location": "Header", "isApiVersion": false, @@ -140197,13 +145036,13 @@ "decorators": [] }, { - "$id": "10134", + "$id": "10443", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a file batch.", "type": { - "$id": "10135", + "$id": "10444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140219,12 +145058,12 @@ "decorators": [] }, { - "$id": "10136", + "$id": "10445", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6420" + "$ref": "6729" }, "location": "Body", "isApiVersion": false, @@ -140236,13 +145075,13 @@ "decorators": [] }, { - "$id": "10137", + "$id": "10446", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2307" + "$ref": "2375" }, "location": "Header", "isApiVersion": false, @@ -140256,7 +145095,7 @@ ], "response": { "type": { - "$ref": "6425" + "$ref": "6734" } }, "isOverride": false, @@ -140265,26 +145104,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch" }, { - "$id": "10138", + "$id": "10447", "kind": "basic", "name": "getVectorStoreFileBatch", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store file batch.", "operation": { - "$id": "10139", + "$id": "10448", "name": "getVectorStoreFileBatch", "resourceName": "VectorStores", "summary": "Retrieves a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "10140", + "$id": "10449", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2311" + "$ref": "2379" }, "isApiVersion": false, "optional": false, @@ -140295,13 +145134,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept" }, { - "$id": "10141", + "$id": "10450", "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": "10142", + "$id": "10451", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140319,13 +145158,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id" }, { - "$id": "10143", + "$id": "10452", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { - "$id": "10144", + "$id": "10453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140349,7 +145188,7 @@ 200 ], "bodyType": { - "$ref": "6425" + "$ref": "6734" }, "headers": [], "isErrorResponse": false, @@ -140370,12 +145209,12 @@ }, "parameters": [ { - "$id": "10145", + "$id": "10454", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2313" + "$ref": "2381" }, "location": "Header", "isApiVersion": false, @@ -140387,13 +145226,13 @@ "decorators": [] }, { - "$id": "10146", + "$id": "10455", "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": "10147", + "$id": "10456", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140409,13 +145248,13 @@ "decorators": [] }, { - "$id": "10148", + "$id": "10457", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { - "$id": "10149", + "$id": "10458", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140433,7 +145272,7 @@ ], "response": { "type": { - "$ref": "6425" + "$ref": "6734" } }, "isOverride": false, @@ -140442,26 +145281,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch" }, { - "$id": "10150", + "$id": "10459", "kind": "basic", "name": "cancelVectorStoreFileBatch", "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.", "operation": { - "$id": "10151", + "$id": "10460", "name": "cancelVectorStoreFileBatch", "resourceName": "VectorStores", "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": "10152", + "$id": "10461", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2315" + "$ref": "2383" }, "isApiVersion": false, "optional": false, @@ -140472,13 +145311,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept" }, { - "$id": "10153", + "$id": "10462", "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": "10154", + "$id": "10463", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140496,13 +145335,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id" }, { - "$id": "10155", + "$id": "10464", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { - "$id": "10156", + "$id": "10465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140526,7 +145365,7 @@ 200 ], "bodyType": { - "$ref": "6425" + "$ref": "6734" }, "headers": [], "isErrorResponse": false, @@ -140547,12 +145386,12 @@ }, "parameters": [ { - "$id": "10157", + "$id": "10466", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2317" + "$ref": "2385" }, "location": "Header", "isApiVersion": false, @@ -140564,13 +145403,13 @@ "decorators": [] }, { - "$id": "10158", + "$id": "10467", "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": "10159", + "$id": "10468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140586,13 +145425,13 @@ "decorators": [] }, { - "$id": "10160", + "$id": "10469", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { - "$id": "10161", + "$id": "10470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140610,7 +145449,7 @@ ], "response": { "type": { - "$ref": "6425" + "$ref": "6734" } }, "isOverride": false, @@ -140619,26 +145458,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch" }, { - "$id": "10162", + "$id": "10471", "kind": "paging", "name": "GetVectorStoreFilesInBatch", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector store files in a batch.", "operation": { - "$id": "10163", + "$id": "10472", "name": "GetVectorStoreFilesInBatch", "resourceName": "VectorStores", "summary": "Returns a list of vector store files in a batch.", "accessibility": "public", "parameters": [ { - "$id": "10164", + "$id": "10473", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2319" + "$ref": "2387" }, "isApiVersion": false, "optional": false, @@ -140649,13 +145488,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept" }, { - "$id": "10165", + "$id": "10474", "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": "10166", + "$id": "10475", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140673,13 +145512,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id" }, { - "$id": "10167", + "$id": "10476", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { - "$id": "10168", + "$id": "10477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140697,13 +145536,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id" }, { - "$id": "10169", + "$id": "10478", "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": "10170", + "$id": "10479", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -140718,13 +145557,13 @@ "readOnly": false }, { - "$id": "10171", + "$id": "10480", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -140735,13 +145574,13 @@ "readOnly": false }, { - "$id": "10172", + "$id": "10481", "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": "10173", + "$id": "10482", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140756,13 +145595,13 @@ "readOnly": false }, { - "$id": "10174", + "$id": "10483", "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": "10175", + "$id": "10484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140777,13 +145616,13 @@ "readOnly": false }, { - "$id": "10176", + "$id": "10485", "kind": "query", "name": "filter", "serializedName": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { - "$ref": "1534" + "$ref": "1598" }, "isApiVersion": false, "explode": false, @@ -140800,7 +145639,7 @@ 200 ], "bodyType": { - "$ref": "6447" + "$ref": "6756" }, "headers": [], "isErrorResponse": false, @@ -140821,12 +145660,12 @@ }, "parameters": [ { - "$id": "10177", + "$id": "10486", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2321" + "$ref": "2389" }, "location": "Header", "isApiVersion": false, @@ -140838,13 +145677,13 @@ "decorators": [] }, { - "$id": "10178", + "$id": "10487", "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": "10179", + "$id": "10488", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140860,13 +145699,13 @@ "decorators": [] }, { - "$id": "10180", + "$id": "10489", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { - "$id": "10181", + "$id": "10490", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140882,13 +145721,13 @@ "decorators": [] }, { - "$id": "10182", + "$id": "10491", "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": "10183", + "$id": "10492", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -140904,13 +145743,13 @@ "decorators": [] }, { - "$id": "10184", + "$id": "10493", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -140922,13 +145761,13 @@ "decorators": [] }, { - "$id": "10185", + "$id": "10494", "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": "10186", + "$id": "10495", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140944,13 +145783,13 @@ "decorators": [] }, { - "$id": "10187", + "$id": "10496", "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": "10188", + "$id": "10497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -140966,13 +145805,13 @@ "decorators": [] }, { - "$id": "10189", + "$id": "10498", "kind": "method", "name": "filter", "serializedName": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { - "$ref": "1534" + "$ref": "1598" }, "location": "Query", "isApiVersion": false, @@ -140986,7 +145825,7 @@ ], "response": { "type": { - "$ref": "6450" + "$ref": "6759" }, "resultSegments": [ "data" @@ -141002,7 +145841,7 @@ ], "continuationToken": { "parameter": { - "$ref": "10172" + "$ref": "10481" }, "responseSegments": [ "last_id" @@ -141013,26 +145852,26 @@ } }, { - "$id": "10190", + "$id": "10499", "kind": "paging", "name": "listVectorStoreFiles", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector store files.", "operation": { - "$id": "10191", + "$id": "10500", "name": "listVectorStoreFiles", "resourceName": "VectorStores", "summary": "Returns a list of vector store files.", "accessibility": "public", "parameters": [ { - "$id": "10192", + "$id": "10501", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2323" + "$ref": "2391" }, "isApiVersion": false, "optional": false, @@ -141043,13 +145882,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept" }, { - "$id": "10193", + "$id": "10502", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "10194", + "$id": "10503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141067,13 +145906,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id" }, { - "$id": "10195", + "$id": "10504", "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": "10196", + "$id": "10505", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -141088,13 +145927,13 @@ "readOnly": false }, { - "$id": "10197", + "$id": "10506", "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": "1526" + "$ref": "1590" }, "isApiVersion": false, "explode": false, @@ -141105,13 +145944,13 @@ "readOnly": false }, { - "$id": "10198", + "$id": "10507", "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": "10199", + "$id": "10508", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141126,13 +145965,13 @@ "readOnly": false }, { - "$id": "10200", + "$id": "10509", "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": "10201", + "$id": "10510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141147,13 +145986,13 @@ "readOnly": false }, { - "$id": "10202", + "$id": "10511", "kind": "query", "name": "filter", "serializedName": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { - "$ref": "1534" + "$ref": "1598" }, "isApiVersion": false, "explode": false, @@ -141170,7 +146009,7 @@ 200 ], "bodyType": { - "$ref": "6447" + "$ref": "6756" }, "headers": [], "isErrorResponse": false, @@ -141191,12 +146030,12 @@ }, "parameters": [ { - "$id": "10203", + "$id": "10512", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2325" + "$ref": "2393" }, "location": "Header", "isApiVersion": false, @@ -141208,13 +146047,13 @@ "decorators": [] }, { - "$id": "10204", + "$id": "10513", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "10205", + "$id": "10514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141230,13 +146069,13 @@ "decorators": [] }, { - "$id": "10206", + "$id": "10515", "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": "10207", + "$id": "10516", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -141252,13 +146091,13 @@ "decorators": [] }, { - "$id": "10208", + "$id": "10517", "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": "1526" + "$ref": "1590" }, "location": "Query", "isApiVersion": false, @@ -141270,13 +146109,13 @@ "decorators": [] }, { - "$id": "10209", + "$id": "10518", "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": "10210", + "$id": "10519", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141292,13 +146131,13 @@ "decorators": [] }, { - "$id": "10211", + "$id": "10520", "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": "10212", + "$id": "10521", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141314,13 +146153,13 @@ "decorators": [] }, { - "$id": "10213", + "$id": "10522", "kind": "method", "name": "filter", "serializedName": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { - "$ref": "1534" + "$ref": "1598" }, "location": "Query", "isApiVersion": false, @@ -141334,7 +146173,7 @@ ], "response": { "type": { - "$ref": "6450" + "$ref": "6759" }, "resultSegments": [ "data" @@ -141350,7 +146189,7 @@ ], "continuationToken": { "parameter": { - "$ref": "10198" + "$ref": "10507" }, "responseSegments": [ "last_id" @@ -141361,26 +146200,26 @@ } }, { - "$id": "10214", + "$id": "10523", "kind": "basic", "name": "AddFileToVectorStore", "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).", "operation": { - "$id": "10215", + "$id": "10524", "name": "AddFileToVectorStore", "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).", "accessibility": "public", "parameters": [ { - "$id": "10216", + "$id": "10525", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2327" + "$ref": "2395" }, "isApiVersion": false, "optional": false, @@ -141391,13 +146230,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept" }, { - "$id": "10217", + "$id": "10526", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a File.", "type": { - "$id": "10218", + "$id": "10527", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141415,13 +146254,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id" }, { - "$id": "10219", + "$id": "10528", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2329" + "$ref": "2397" }, "isApiVersion": false, "optional": false, @@ -141432,12 +146271,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType" }, { - "$id": "10220", + "$id": "10529", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6491" + "$ref": "6800" }, "isApiVersion": false, "contentTypes": [ @@ -141457,7 +146296,7 @@ 200 ], "bodyType": { - "$ref": "6451" + "$ref": "6760" }, "headers": [], "isErrorResponse": false, @@ -141481,12 +146320,12 @@ }, "parameters": [ { - "$id": "10221", + "$id": "10530", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2331" + "$ref": "2399" }, "location": "Header", "isApiVersion": false, @@ -141498,13 +146337,13 @@ "decorators": [] }, { - "$id": "10222", + "$id": "10531", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a File.", "type": { - "$id": "10223", + "$id": "10532", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141520,12 +146359,12 @@ "decorators": [] }, { - "$id": "10224", + "$id": "10533", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6491" + "$ref": "6800" }, "location": "Body", "isApiVersion": false, @@ -141537,13 +146376,13 @@ "decorators": [] }, { - "$id": "10225", + "$id": "10534", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2329" + "$ref": "2397" }, "location": "Header", "isApiVersion": false, @@ -141557,7 +146396,7 @@ ], "response": { "type": { - "$ref": "6451" + "$ref": "6760" } }, "isOverride": false, @@ -141566,26 +146405,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile" }, { - "$id": "10226", + "$id": "10535", "kind": "basic", "name": "getVectorStoreFile", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store file.", "operation": { - "$id": "10227", + "$id": "10536", "name": "getVectorStoreFile", "resourceName": "VectorStores", "summary": "Retrieves a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "10228", + "$id": "10537", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2333" + "$ref": "2401" }, "isApiVersion": false, "optional": false, @@ -141596,13 +146435,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept" }, { - "$id": "10229", + "$id": "10538", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "10230", + "$id": "10539", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141620,13 +146459,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id" }, { - "$id": "10231", + "$id": "10540", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file being retrieved.", "type": { - "$id": "10232", + "$id": "10541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141650,7 +146489,7 @@ 200 ], "bodyType": { - "$ref": "6451" + "$ref": "6760" }, "headers": [], "isErrorResponse": false, @@ -141671,12 +146510,12 @@ }, "parameters": [ { - "$id": "10233", + "$id": "10542", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2335" + "$ref": "2403" }, "location": "Header", "isApiVersion": false, @@ -141688,13 +146527,13 @@ "decorators": [] }, { - "$id": "10234", + "$id": "10543", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "10235", + "$id": "10544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141710,13 +146549,13 @@ "decorators": [] }, { - "$id": "10236", + "$id": "10545", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file being retrieved.", "type": { - "$id": "10237", + "$id": "10546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141734,7 +146573,7 @@ ], "response": { "type": { - "$ref": "6451" + "$ref": "6760" } }, "isOverride": false, @@ -141743,26 +146582,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile" }, { - "$id": "10238", + "$id": "10547", "kind": "basic", "name": "RemoveFileFromVectorStore", "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.", "operation": { - "$id": "10239", + "$id": "10548", "name": "RemoveFileFromVectorStore", "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.", "accessibility": "public", "parameters": [ { - "$id": "10240", + "$id": "10549", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2337" + "$ref": "2405" }, "isApiVersion": false, "optional": false, @@ -141773,13 +146612,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept" }, { - "$id": "10241", + "$id": "10550", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "10242", + "$id": "10551", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141797,13 +146636,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id" }, { - "$id": "10243", + "$id": "10552", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to delete.", "type": { - "$id": "10244", + "$id": "10553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141827,7 +146666,7 @@ 200 ], "bodyType": { - "$ref": "6497" + "$ref": "6806" }, "headers": [], "isErrorResponse": false, @@ -141848,12 +146687,12 @@ }, "parameters": [ { - "$id": "10245", + "$id": "10554", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2339" + "$ref": "2407" }, "location": "Header", "isApiVersion": false, @@ -141865,13 +146704,13 @@ "decorators": [] }, { - "$id": "10246", + "$id": "10555", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "10247", + "$id": "10556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141887,13 +146726,13 @@ "decorators": [] }, { - "$id": "10248", + "$id": "10557", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to delete.", "type": { - "$id": "10249", + "$id": "10558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141911,7 +146750,7 @@ ], "response": { "type": { - "$ref": "6497" + "$ref": "6806" } }, "isOverride": false, @@ -141920,27 +146759,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile" }, { - "$id": "10250", + "$id": "10559", "kind": "basic", "name": "updateVectorStoreFileAttributes", "accessibility": "public", "apiVersions": [], "summary": "Update the attributes of a vector store file.", "operation": { - "$id": "10251", + "$id": "10560", "name": "updateVectorStoreFileAttributes", "resourceName": "VectorStores", "summary": "Update the attributes of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "10252", + "$id": "10561", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store the file being updated belongs to.", "type": { - "$id": "10253", + "$id": "10562", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141958,13 +146797,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id" }, { - "$id": "10254", + "$id": "10563", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to update attributes for.", "type": { - "$id": "10255", + "$id": "10564", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -141982,13 +146821,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id" }, { - "$id": "10256", + "$id": "10565", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2341" + "$ref": "2409" }, "isApiVersion": false, "optional": false, @@ -141999,12 +146838,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType" }, { - "$id": "10257", + "$id": "10566", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2343" + "$ref": "2411" }, "isApiVersion": false, "optional": false, @@ -142015,12 +146854,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept" }, { - "$id": "10258", + "$id": "10567", "kind": "body", "name": "updateVectorStoreFileAttributesRequest", "serializedName": "updateVectorStoreFileAttributesRequest", "type": { - "$ref": "6503" + "$ref": "6812" }, "isApiVersion": false, "contentTypes": [ @@ -142040,7 +146879,7 @@ 200 ], "bodyType": { - "$ref": "6451" + "$ref": "6760" }, "headers": [], "isErrorResponse": false, @@ -142064,13 +146903,13 @@ }, "parameters": [ { - "$id": "10259", + "$id": "10568", "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": "10260", + "$id": "10569", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -142086,13 +146925,13 @@ "decorators": [] }, { - "$id": "10261", + "$id": "10570", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to update attributes for.", "type": { - "$id": "10262", + "$id": "10571", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -142108,12 +146947,12 @@ "decorators": [] }, { - "$id": "10263", + "$id": "10572", "kind": "method", "name": "attributes", "serializedName": "attributes", "type": { - "$ref": "6505" + "$ref": "6814" }, "location": "Body", "isApiVersion": false, @@ -142125,13 +146964,13 @@ "decorators": [] }, { - "$id": "10264", + "$id": "10573", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2341" + "$ref": "2409" }, "location": "Header", "isApiVersion": false, @@ -142143,12 +146982,12 @@ "decorators": [] }, { - "$id": "10265", + "$id": "10574", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2343" + "$ref": "2411" }, "location": "Header", "isApiVersion": false, @@ -142162,7 +147001,7 @@ ], "response": { "type": { - "$ref": "6451" + "$ref": "6760" } }, "isOverride": false, @@ -142171,27 +147010,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes" }, { - "$id": "10266", + "$id": "10575", "kind": "basic", "name": "retrieveVectorStoreFileContent", "accessibility": "public", "apiVersions": [], "summary": "Retrieves the content of a vector store file.", "operation": { - "$id": "10267", + "$id": "10576", "name": "retrieveVectorStoreFileContent", "resourceName": "VectorStores", "summary": "Retrieves the content of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "10268", + "$id": "10577", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "10269", + "$id": "10578", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -142209,13 +147048,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id" }, { - "$id": "10270", + "$id": "10579", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "10271", + "$id": "10580", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -142233,12 +147072,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id" }, { - "$id": "10272", + "$id": "10581", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2345" + "$ref": "2413" }, "isApiVersion": false, "optional": false, @@ -142255,7 +147094,7 @@ 200 ], "bodyType": { - "$ref": "6506" + "$ref": "6815" }, "headers": [], "isErrorResponse": false, @@ -142276,13 +147115,13 @@ }, "parameters": [ { - "$id": "10273", + "$id": "10582", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "10274", + "$id": "10583", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -142298,13 +147137,13 @@ "decorators": [] }, { - "$id": "10275", + "$id": "10584", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "10276", + "$id": "10585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -142320,12 +147159,12 @@ "decorators": [] }, { - "$id": "10277", + "$id": "10586", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2345" + "$ref": "2413" }, "location": "Header", "isApiVersion": false, @@ -142339,7 +147178,7 @@ ], "response": { "type": { - "$ref": "6506" + "$ref": "6815" } }, "isOverride": false, @@ -142348,27 +147187,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent" }, { - "$id": "10278", + "$id": "10587", "kind": "basic", "name": "searchVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", "operation": { - "$id": "10279", + "$id": "10588", "name": "searchVectorStore", "resourceName": "VectorStores", "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", "accessibility": "public", "parameters": [ { - "$id": "10280", + "$id": "10589", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { - "$id": "10281", + "$id": "10590", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -142386,13 +147225,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id" }, { - "$id": "10282", + "$id": "10591", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2347" + "$ref": "2415" }, "isApiVersion": false, "optional": false, @@ -142403,12 +147242,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType" }, { - "$id": "10283", + "$id": "10592", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2349" + "$ref": "2417" }, "isApiVersion": false, "optional": false, @@ -142419,12 +147258,12 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept" }, { - "$id": "10284", + "$id": "10593", "kind": "body", "name": "vectorStoreSearchRequest", "serializedName": "vectorStoreSearchRequest", "type": { - "$ref": "6524" + "$ref": "6833" }, "isApiVersion": false, "contentTypes": [ @@ -142444,7 +147283,7 @@ 200 ], "bodyType": { - "$ref": "6535" + "$ref": "6844" }, "headers": [], "isErrorResponse": false, @@ -142468,13 +147307,13 @@ }, "parameters": [ { - "$id": "10285", + "$id": "10594", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { - "$id": "10286", + "$id": "10595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -142490,13 +147329,13 @@ "decorators": [] }, { - "$id": "10287", + "$id": "10596", "kind": "method", "name": "query", "serializedName": "query", "doc": "A query string for a search", "type": { - "$ref": "6526" + "$ref": "6835" }, "location": "Body", "isApiVersion": false, @@ -142508,13 +147347,13 @@ "decorators": [] }, { - "$id": "10288", + "$id": "10597", "kind": "method", "name": "rewrite_query", "serializedName": "rewrite_query", "doc": "Whether to rewrite the natural language query for vector search.", "type": { - "$id": "10289", + "$id": "10598", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -142530,13 +147369,13 @@ "decorators": [] }, { - "$id": "10290", + "$id": "10599", "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": "10291", + "$id": "10600", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -142552,13 +147391,13 @@ "decorators": [] }, { - "$id": "10292", + "$id": "10601", "kind": "method", "name": "filters", "serializedName": "filters", "doc": "A filter to apply based on file attributes.", "type": { - "$ref": "6533" + "$ref": "6842" }, "location": "Body", "isApiVersion": false, @@ -142570,13 +147409,13 @@ "decorators": [] }, { - "$id": "10293", + "$id": "10602", "kind": "method", "name": "ranking_options", "serializedName": "ranking_options", "doc": "Ranking options for search.", "type": { - "$ref": "6520" + "$ref": "6829" }, "location": "Body", "isApiVersion": false, @@ -142588,13 +147427,13 @@ "decorators": [] }, { - "$id": "10294", + "$id": "10603", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2347" + "$ref": "2415" }, "location": "Header", "isApiVersion": false, @@ -142606,12 +147445,12 @@ "decorators": [] }, { - "$id": "10295", + "$id": "10604", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2349" + "$ref": "2417" }, "location": "Header", "isApiVersion": false, @@ -142625,7 +147464,7 @@ ], "response": { "type": { - "$ref": "6535" + "$ref": "6844" } }, "isOverride": false, @@ -142636,13 +147475,13 @@ ], "parameters": [ { - "$id": "10296", + "$id": "10605", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10297", + "$id": "10606", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -142653,7 +147492,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10298", + "$id": "10607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -142671,37 +147510,37 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10299", + "$id": "10608", "kind": "client", "name": "Completions", "namespace": "OpenAI", "methods": [ { - "$id": "10300", + "$id": "10609", "kind": "basic", "name": "createCompletion", "accessibility": "public", "apiVersions": [], "summary": "Creates a completion for the provided prompt and parameters.", "operation": { - "$id": "10301", + "$id": "10610", "name": "createCompletion", "resourceName": "Completions", "summary": "Creates a completion for the provided prompt and parameters.", "accessibility": "public", "parameters": [ { - "$id": "10302", + "$id": "10611", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2351" + "$ref": "2419" }, "isApiVersion": false, "optional": false, @@ -142712,13 +147551,13 @@ "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept" }, { - "$id": "10303", + "$id": "10612", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2353" + "$ref": "2421" }, "isApiVersion": false, "optional": false, @@ -142729,12 +147568,12 @@ "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType" }, { - "$id": "10304", + "$id": "10613", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6560" + "$ref": "6869" }, "isApiVersion": false, "contentTypes": [ @@ -142754,7 +147593,7 @@ 200 ], "bodyType": { - "$ref": "6611" + "$ref": "6920" }, "headers": [], "isErrorResponse": false, @@ -142778,12 +147617,12 @@ }, "parameters": [ { - "$id": "10305", + "$id": "10614", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2355" + "$ref": "2423" }, "location": "Header", "isApiVersion": false, @@ -142795,12 +147634,12 @@ "decorators": [] }, { - "$id": "10306", + "$id": "10615", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "6560" + "$ref": "6869" }, "location": "Body", "isApiVersion": false, @@ -142812,13 +147651,13 @@ "decorators": [] }, { - "$id": "10307", + "$id": "10616", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2353" + "$ref": "2421" }, "location": "Header", "isApiVersion": false, @@ -142832,7 +147671,7 @@ ], "response": { "type": { - "$ref": "6611" + "$ref": "6920" } }, "isOverride": false, @@ -142843,13 +147682,13 @@ ], "parameters": [ { - "$id": "10308", + "$id": "10617", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10309", + "$id": "10618", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -142860,7 +147699,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10310", + "$id": "10619", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -142878,38 +147717,38 @@ "crossLanguageDefinitionId": "OpenAI.Completions", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10311", + "$id": "10620", "kind": "client", "name": "Realtime", "namespace": "OpenAI", "methods": [ { - "$id": "10312", + "$id": "10621", "kind": "basic", "name": "startRealtimeSession", "accessibility": "public", "apiVersions": [], "summary": "Starts a real-time session for conversation or transcription.", "operation": { - "$id": "10313", + "$id": "10622", "name": "startRealtimeSession", "resourceName": "Realtime", "summary": "Starts a real-time session for conversation or transcription.", "accessibility": "public", "parameters": [ { - "$id": "10314", + "$id": "10623", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2357" + "$ref": "2425" }, "isApiVersion": false, "optional": false, @@ -142920,12 +147759,12 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType" }, { - "$id": "10315", + "$id": "10624", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2359" + "$ref": "2427" }, "isApiVersion": false, "optional": false, @@ -142936,16 +147775,16 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept" }, { - "$id": "10316", + "$id": "10625", "kind": "body", "name": "requestMessages", "serializedName": "requestMessages", "type": { - "$id": "10317", + "$id": "10626", "kind": "array", "name": "ArrayRealtimeClientEvent", "valueType": { - "$ref": "6642" + "$ref": "6951" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -142968,11 +147807,11 @@ 200 ], "bodyType": { - "$id": "10318", + "$id": "10627", "kind": "array", "name": "ArrayRealtimeServerEvent", "valueType": { - "$ref": "7073" + "$ref": "7382" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -142999,12 +147838,12 @@ }, "parameters": [ { - "$id": "10319", + "$id": "10628", "kind": "method", "name": "requestMessages", "serializedName": "requestMessages", "type": { - "$ref": "10317" + "$ref": "10626" }, "location": "Body", "isApiVersion": false, @@ -143016,13 +147855,13 @@ "decorators": [] }, { - "$id": "10320", + "$id": "10629", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2357" + "$ref": "2425" }, "location": "Header", "isApiVersion": false, @@ -143034,12 +147873,12 @@ "decorators": [] }, { - "$id": "10321", + "$id": "10630", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2359" + "$ref": "2427" }, "location": "Header", "isApiVersion": false, @@ -143053,7 +147892,7 @@ ], "response": { "type": { - "$ref": "10318" + "$ref": "10627" } }, "isOverride": false, @@ -143062,7 +147901,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession" }, { - "$id": "10322", + "$id": "10631", "kind": "basic", "name": "create-realtime-client-secret", "accessibility": "public", @@ -143070,7 +147909,7 @@ "doc": "Create a Realtime client secret with an associated session configuration.", "summary": "Create client secret", "operation": { - "$id": "10323", + "$id": "10632", "name": "create-realtime-client-secret", "resourceName": "Realtime", "summary": "Create client secret", @@ -143078,13 +147917,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10324", + "$id": "10633", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2361" + "$ref": "2429" }, "isApiVersion": false, "optional": false, @@ -143095,12 +147934,12 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.create-realtime-client-secret.contentType" }, { - "$id": "10325", + "$id": "10634", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2363" + "$ref": "2431" }, "isApiVersion": false, "optional": false, @@ -143111,13 +147950,13 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.create-realtime-client-secret.accept" }, { - "$id": "10326", + "$id": "10635", "kind": "body", "name": "body", "serializedName": "body", "doc": "Create a client secret with the given session configuration.", "type": { - "$ref": "7747" + "$ref": "8056" }, "isApiVersion": false, "contentTypes": [ @@ -143137,7 +147976,7 @@ 200 ], "bodyType": { - "$ref": "7768" + "$ref": "8077" }, "headers": [], "isErrorResponse": false, @@ -143250,7 +148089,7 @@ 499 ], "bodyType": { - "$ref": "2628" + "$ref": "2696" }, "headers": [], "isErrorResponse": false, @@ -143363,7 +148202,7 @@ 599 ], "bodyType": { - "$ref": "2628" + "$ref": "2696" }, "headers": [], "isErrorResponse": false, @@ -143387,13 +148226,13 @@ }, "parameters": [ { - "$id": "10327", + "$id": "10636", "kind": "method", "name": "body", "serializedName": "body", "doc": "Create a client secret with the given session configuration.", "type": { - "$ref": "7747" + "$ref": "8056" }, "location": "Body", "isApiVersion": false, @@ -143405,13 +148244,13 @@ "decorators": [] }, { - "$id": "10328", + "$id": "10637", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2361" + "$ref": "2429" }, "location": "Header", "isApiVersion": false, @@ -143423,12 +148262,12 @@ "decorators": [] }, { - "$id": "10329", + "$id": "10638", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2363" + "$ref": "2431" }, "location": "Header", "isApiVersion": false, @@ -143442,18 +148281,18 @@ ], "response": { "type": { - "$id": "10330", + "$id": "10639", "kind": "union", "name": "create-realtime-client-secretUnionResponse", "variantTypes": [ { - "$ref": "7768" + "$ref": "8077" }, { - "$ref": "2628" + "$ref": "2696" }, { - "$ref": "2628" + "$ref": "2696" } ], "namespace": "OpenAI", @@ -143468,13 +148307,13 @@ ], "parameters": [ { - "$id": "10331", + "$id": "10640", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10332", + "$id": "10641", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -143485,7 +148324,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10333", + "$id": "10642", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -143503,37 +148342,37 @@ "crossLanguageDefinitionId": "OpenAI.Realtime", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10334", + "$id": "10643", "kind": "client", "name": "Uploads", "namespace": "OpenAI", "methods": [ { - "$id": "10335", + "$id": "10644", "kind": "basic", "name": "createUpload", "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).", "operation": { - "$id": "10336", + "$id": "10645", "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": "10337", + "$id": "10646", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2365" + "$ref": "2433" }, "isApiVersion": false, "optional": false, @@ -143544,13 +148383,13 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept" }, { - "$id": "10338", + "$id": "10647", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2367" + "$ref": "2435" }, "isApiVersion": false, "optional": false, @@ -143561,12 +148400,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType" }, { - "$id": "10339", + "$id": "10648", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "7821" + "$ref": "8130" }, "isApiVersion": false, "contentTypes": [ @@ -143586,7 +148425,7 @@ 200 ], "bodyType": { - "$ref": "7829" + "$ref": "8138" }, "headers": [], "isErrorResponse": false, @@ -143610,12 +148449,12 @@ }, "parameters": [ { - "$id": "10340", + "$id": "10649", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2369" + "$ref": "2437" }, "location": "Header", "isApiVersion": false, @@ -143627,12 +148466,12 @@ "decorators": [] }, { - "$id": "10341", + "$id": "10650", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "7821" + "$ref": "8130" }, "location": "Body", "isApiVersion": false, @@ -143644,13 +148483,13 @@ "decorators": [] }, { - "$id": "10342", + "$id": "10651", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2367" + "$ref": "2435" }, "location": "Header", "isApiVersion": false, @@ -143664,7 +148503,7 @@ ], "response": { "type": { - "$ref": "7829" + "$ref": "8138" } }, "isOverride": false, @@ -143673,26 +148512,26 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload" }, { - "$id": "10343", + "$id": "10652", "kind": "basic", "name": "addUploadPart", "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).", "operation": { - "$id": "10344", + "$id": "10653", "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": "10345", + "$id": "10654", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2371" + "$ref": "2439" }, "isApiVersion": false, "optional": false, @@ -143703,12 +148542,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept" }, { - "$id": "10346", + "$id": "10655", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2373" + "$ref": "2441" }, "isApiVersion": false, "optional": false, @@ -143719,12 +148558,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType" }, { - "$id": "10347", + "$id": "10656", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "10348", + "$id": "10657", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -143742,12 +148581,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id" }, { - "$id": "10349", + "$id": "10658", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "7867" + "$ref": "8176" }, "isApiVersion": false, "contentTypes": [ @@ -143767,7 +148606,7 @@ 200 ], "bodyType": { - "$ref": "7870" + "$ref": "8179" }, "headers": [], "isErrorResponse": false, @@ -143791,12 +148630,12 @@ }, "parameters": [ { - "$id": "10350", + "$id": "10659", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2375" + "$ref": "2443" }, "location": "Header", "isApiVersion": false, @@ -143808,12 +148647,12 @@ "decorators": [] }, { - "$id": "10351", + "$id": "10660", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2377" + "$ref": "2445" }, "location": "Header", "isApiVersion": false, @@ -143825,12 +148664,12 @@ "decorators": [] }, { - "$id": "10352", + "$id": "10661", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "10353", + "$id": "10662", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -143846,12 +148685,12 @@ "decorators": [] }, { - "$id": "10354", + "$id": "10663", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "7867" + "$ref": "8176" }, "location": "Body", "isApiVersion": false, @@ -143865,7 +148704,7 @@ ], "response": { "type": { - "$ref": "7870" + "$ref": "8179" } }, "isOverride": false, @@ -143874,26 +148713,26 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart" }, { - "$id": "10355", + "$id": "10664", "kind": "basic", "name": "completeUpload", "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.", "operation": { - "$id": "10356", + "$id": "10665", "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": "10357", + "$id": "10666", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2379" + "$ref": "2447" }, "isApiVersion": false, "optional": false, @@ -143904,12 +148743,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept" }, { - "$id": "10358", + "$id": "10667", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "10359", + "$id": "10668", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -143927,13 +148766,13 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id" }, { - "$id": "10360", + "$id": "10669", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2381" + "$ref": "2449" }, "isApiVersion": false, "optional": false, @@ -143944,12 +148783,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType" }, { - "$id": "10361", + "$id": "10670", "kind": "body", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "7879" + "$ref": "8188" }, "isApiVersion": false, "contentTypes": [ @@ -143969,7 +148808,7 @@ 200 ], "bodyType": { - "$ref": "7829" + "$ref": "8138" }, "headers": [], "isErrorResponse": false, @@ -143993,12 +148832,12 @@ }, "parameters": [ { - "$id": "10362", + "$id": "10671", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2383" + "$ref": "2451" }, "location": "Header", "isApiVersion": false, @@ -144010,12 +148849,12 @@ "decorators": [] }, { - "$id": "10363", + "$id": "10672", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "10364", + "$id": "10673", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144031,12 +148870,12 @@ "decorators": [] }, { - "$id": "10365", + "$id": "10674", "kind": "method", "name": "requestBody", "serializedName": "requestBody", "type": { - "$ref": "7879" + "$ref": "8188" }, "location": "Body", "isApiVersion": false, @@ -144048,13 +148887,13 @@ "decorators": [] }, { - "$id": "10366", + "$id": "10675", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2381" + "$ref": "2449" }, "location": "Header", "isApiVersion": false, @@ -144068,7 +148907,7 @@ ], "response": { "type": { - "$ref": "7829" + "$ref": "8138" } }, "isOverride": false, @@ -144077,26 +148916,26 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload" }, { - "$id": "10367", + "$id": "10676", "kind": "basic", "name": "cancelUpload", "accessibility": "public", "apiVersions": [], "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "operation": { - "$id": "10368", + "$id": "10677", "name": "cancelUpload", "resourceName": "Uploads", "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "accessibility": "public", "parameters": [ { - "$id": "10369", + "$id": "10678", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2385" + "$ref": "2453" }, "isApiVersion": false, "optional": false, @@ -144107,12 +148946,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept" }, { - "$id": "10370", + "$id": "10679", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "10371", + "$id": "10680", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144136,7 +148975,7 @@ 200 ], "bodyType": { - "$ref": "7829" + "$ref": "8138" }, "headers": [], "isErrorResponse": false, @@ -144157,12 +148996,12 @@ }, "parameters": [ { - "$id": "10372", + "$id": "10681", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2387" + "$ref": "2455" }, "location": "Header", "isApiVersion": false, @@ -144174,12 +149013,12 @@ "decorators": [] }, { - "$id": "10373", + "$id": "10682", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "10374", + "$id": "10683", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144197,7 +149036,7 @@ ], "response": { "type": { - "$ref": "7829" + "$ref": "8138" } }, "isOverride": false, @@ -144208,13 +149047,13 @@ ], "parameters": [ { - "$id": "10375", + "$id": "10684", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10376", + "$id": "10685", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -144225,7 +149064,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10377", + "$id": "10686", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -144243,18 +149082,18 @@ "crossLanguageDefinitionId": "OpenAI.Uploads", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10378", + "$id": "10687", "kind": "client", "name": "Audio", "namespace": "OpenAI", "methods": [ { - "$id": "10379", + "$id": "10688", "kind": "basic", "name": "GenerateSpeech", "accessibility": "public", @@ -144262,7 +149101,7 @@ "doc": "Generates audio from the input text.", "summary": "Create speech", "operation": { - "$id": "10380", + "$id": "10689", "name": "GenerateSpeech", "resourceName": "OpenAI", "summary": "Create speech", @@ -144270,13 +149109,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10381", + "$id": "10690", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2389" + "$ref": "2457" }, "isApiVersion": false, "optional": false, @@ -144287,12 +149126,12 @@ "crossLanguageDefinitionId": "OpenAI.createSpeech.contentType" }, { - "$id": "10382", + "$id": "10691", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "10383", + "$id": "10692", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144307,12 +149146,12 @@ "crossLanguageDefinitionId": "OpenAI.createSpeech.accept" }, { - "$id": "10384", + "$id": "10693", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "7883" + "$ref": "8192" }, "isApiVersion": false, "contentTypes": [ @@ -144332,7 +149171,7 @@ 200 ], "bodyType": { - "$id": "10385", + "$id": "10694", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "", @@ -144344,7 +149183,7 @@ "nameInResponse": "Transfer-Encoding", "doc": "chunked", "type": { - "$id": "10386", + "$id": "10695", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144355,14 +149194,14 @@ "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2391" + "$ref": "2459" } }, { "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2393" + "$ref": "2461" } } ], @@ -144388,12 +149227,12 @@ }, "parameters": [ { - "$id": "10387", + "$id": "10696", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "7883" + "$ref": "8192" }, "location": "Body", "isApiVersion": false, @@ -144405,13 +149244,13 @@ "decorators": [] }, { - "$id": "10388", + "$id": "10697", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2389" + "$ref": "2457" }, "location": "Header", "isApiVersion": false, @@ -144423,12 +149262,12 @@ "decorators": [] }, { - "$id": "10389", + "$id": "10698", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "10383" + "$ref": "10692" }, "location": "Header", "isApiVersion": false, @@ -144442,7 +149281,7 @@ ], "response": { "type": { - "$ref": "10385" + "$ref": "10694" } }, "isOverride": false, @@ -144451,7 +149290,7 @@ "crossLanguageDefinitionId": "OpenAI.createSpeech" }, { - "$id": "10390", + "$id": "10699", "kind": "basic", "name": "TranscribeAudio", "accessibility": "public", @@ -144459,7 +149298,7 @@ "doc": "Transcribes audio into the input language.", "summary": "Create transcription", "operation": { - "$id": "10391", + "$id": "10700", "name": "TranscribeAudio", "resourceName": "OpenAI", "summary": "Create transcription", @@ -144467,12 +149306,12 @@ "accessibility": "public", "parameters": [ { - "$id": "10392", + "$id": "10701", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2395" + "$ref": "2463" }, "isApiVersion": false, "optional": false, @@ -144483,12 +149322,12 @@ "crossLanguageDefinitionId": "OpenAI.createTranscription.contentType" }, { - "$id": "10393", + "$id": "10702", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "10394", + "$id": "10703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144503,12 +149342,12 @@ "crossLanguageDefinitionId": "OpenAI.createTranscription.accept" }, { - "$id": "10395", + "$id": "10704", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "7894" + "$ref": "8203" }, "isApiVersion": false, "contentTypes": [ @@ -144528,7 +149367,7 @@ 200 ], "bodyType": { - "$id": "10396", + "$id": "10705", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "", @@ -144539,7 +149378,7 @@ "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2397" + "$ref": "2465" } } ], @@ -144565,12 +149404,12 @@ }, "parameters": [ { - "$id": "10397", + "$id": "10706", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2399" + "$ref": "2467" }, "location": "Header", "isApiVersion": false, @@ -144582,12 +149421,12 @@ "decorators": [] }, { - "$id": "10398", + "$id": "10707", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "7894" + "$ref": "8203" }, "location": "Body", "isApiVersion": false, @@ -144599,12 +149438,12 @@ "decorators": [] }, { - "$id": "10399", + "$id": "10708", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "10394" + "$ref": "10703" }, "location": "Header", "isApiVersion": false, @@ -144618,7 +149457,7 @@ ], "response": { "type": { - "$ref": "10396" + "$ref": "10705" } }, "isOverride": false, @@ -144627,7 +149466,7 @@ "crossLanguageDefinitionId": "OpenAI.createTranscription" }, { - "$id": "10400", + "$id": "10709", "kind": "basic", "name": "TranslateAudio", "accessibility": "public", @@ -144635,7 +149474,7 @@ "doc": "Translates audio into English.", "summary": "Create translation", "operation": { - "$id": "10401", + "$id": "10710", "name": "TranslateAudio", "resourceName": "OpenAI", "summary": "Create translation", @@ -144643,12 +149482,12 @@ "accessibility": "public", "parameters": [ { - "$id": "10402", + "$id": "10711", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2401" + "$ref": "2469" }, "isApiVersion": false, "optional": false, @@ -144659,12 +149498,12 @@ "crossLanguageDefinitionId": "OpenAI.createTranslation.contentType" }, { - "$id": "10403", + "$id": "10712", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2403" + "$ref": "2471" }, "isApiVersion": false, "optional": false, @@ -144675,12 +149514,12 @@ "crossLanguageDefinitionId": "OpenAI.createTranslation.accept" }, { - "$id": "10404", + "$id": "10713", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "8040" + "$ref": "8349" }, "isApiVersion": false, "contentTypes": [ @@ -144700,15 +149539,15 @@ 200 ], "bodyType": { - "$id": "10405", + "$id": "10714", "kind": "union", "name": "CreateTranslationResponse", "variantTypes": [ { - "$ref": "8049" + "$ref": "8358" }, { - "$ref": "8052" + "$ref": "8361" } ], "namespace": "OpenAI", @@ -144736,12 +149575,12 @@ }, "parameters": [ { - "$id": "10406", + "$id": "10715", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2405" + "$ref": "2473" }, "location": "Header", "isApiVersion": false, @@ -144753,12 +149592,12 @@ "decorators": [] }, { - "$id": "10407", + "$id": "10716", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "8040" + "$ref": "8349" }, "location": "Body", "isApiVersion": false, @@ -144770,12 +149609,12 @@ "decorators": [] }, { - "$id": "10408", + "$id": "10717", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2403" + "$ref": "2471" }, "location": "Header", "isApiVersion": false, @@ -144789,7 +149628,7 @@ ], "response": { "type": { - "$ref": "10405" + "$ref": "10714" } }, "isOverride": false, @@ -144800,13 +149639,13 @@ ], "parameters": [ { - "$id": "10409", + "$id": "10718", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10410", + "$id": "10719", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -144817,7 +149656,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10411", + "$id": "10720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -144835,18 +149674,18 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10412", + "$id": "10721", "kind": "client", "name": "Conversations", "namespace": "OpenAI", "methods": [ { - "$id": "10413", + "$id": "10722", "kind": "paging", "name": "GetConversationItems", "accessibility": "public", @@ -144854,7 +149693,7 @@ "doc": "List all items for a conversation with the given ID.", "summary": "List items", "operation": { - "$id": "10414", + "$id": "10723", "name": "GetConversationItems", "resourceName": "OpenAI", "summary": "List items", @@ -144862,13 +149701,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10415", + "$id": "10724", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to list items for.", "type": { - "$id": "10416", + "$id": "10725", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144886,13 +149725,13 @@ "crossLanguageDefinitionId": "OpenAI.listConversationItems.conversation_id" }, { - "$id": "10417", + "$id": "10726", "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": "10418", + "$id": "10727", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -144907,13 +149746,13 @@ "readOnly": false }, { - "$id": "10419", + "$id": "10728", "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": "1598" + "$ref": "1662" }, "isApiVersion": false, "explode": true, @@ -144924,13 +149763,13 @@ "readOnly": false }, { - "$id": "10420", + "$id": "10729", "kind": "query", "name": "after", "serializedName": "after", "doc": "An item ID to list items after, used in pagination.", "type": { - "$id": "10421", + "$id": "10730", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -144945,17 +149784,17 @@ "readOnly": false }, { - "$id": "10422", + "$id": "10731", "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": "10423", + "$id": "10732", "kind": "array", "name": "ArrayIncludeEnum", "valueType": { - "$ref": "1602" + "$ref": "1666" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -144969,12 +149808,12 @@ "readOnly": false }, { - "$id": "10424", + "$id": "10733", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2407" + "$ref": "2475" }, "isApiVersion": false, "optional": false, @@ -144991,7 +149830,7 @@ 200 ], "bodyType": { - "$id": "10425", + "$id": "10734", "kind": "model", "name": "ConversationItemList", "namespace": "OpenAI", @@ -145003,12 +149842,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "10426", + "$id": "10735", "kind": "property", "name": "object", "doc": "The type of object returned, must be `list`.", "type": { - "$ref": "2409" + "$ref": "2477" }, "optional": false, "readOnly": false, @@ -145020,12 +149859,12 @@ "isHttpMetadata": false }, { - "$id": "10427", + "$id": "10736", "kind": "property", "name": "data", "doc": "A list of conversation items.", "type": { - "$ref": "5141" + "$ref": "5390" }, "optional": false, "readOnly": false, @@ -145037,12 +149876,12 @@ "isHttpMetadata": false }, { - "$id": "10428", + "$id": "10737", "kind": "property", "name": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "10429", + "$id": "10738", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -145058,12 +149897,12 @@ "isHttpMetadata": false }, { - "$id": "10430", + "$id": "10739", "kind": "property", "name": "first_id", "doc": "The ID of the first item in the list.", "type": { - "$id": "10431", + "$id": "10740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145079,12 +149918,12 @@ "isHttpMetadata": false }, { - "$id": "10432", + "$id": "10741", "kind": "property", "name": "last_id", "doc": "The ID of the last item in the list.", "type": { - "$id": "10433", + "$id": "10742", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145120,13 +149959,13 @@ }, "parameters": [ { - "$id": "10434", + "$id": "10743", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to list items for.", "type": { - "$id": "10435", + "$id": "10744", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145142,13 +149981,13 @@ "decorators": [] }, { - "$id": "10436", + "$id": "10745", "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.", "type": { - "$id": "10437", + "$id": "10746", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -145164,13 +150003,13 @@ "decorators": [] }, { - "$id": "10438", + "$id": "10747", "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": "1598" + "$ref": "1662" }, "location": "Query", "isApiVersion": false, @@ -145182,13 +150021,13 @@ "decorators": [] }, { - "$id": "10439", + "$id": "10748", "kind": "method", "name": "after", "serializedName": "after", "doc": "An item ID to list items after, used in pagination.", "type": { - "$id": "10440", + "$id": "10749", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145204,13 +150043,13 @@ "decorators": [] }, { - "$id": "10441", + "$id": "10750", "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": "10423" + "$ref": "10732" }, "location": "Query", "isApiVersion": false, @@ -145222,12 +150061,12 @@ "decorators": [] }, { - "$id": "10442", + "$id": "10751", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2407" + "$ref": "2475" }, "location": "Header", "isApiVersion": false, @@ -145241,7 +150080,7 @@ ], "response": { "type": { - "$ref": "5141" + "$ref": "5390" }, "resultSegments": [ "data" @@ -145259,7 +150098,7 @@ } }, { - "$id": "10443", + "$id": "10752", "kind": "basic", "name": "createConversationItems", "accessibility": "public", @@ -145267,7 +150106,7 @@ "doc": "Create items in a conversation with the given ID.", "summary": "Create items", "operation": { - "$id": "10444", + "$id": "10753", "name": "createConversationItems", "resourceName": "OpenAI", "summary": "Create items", @@ -145275,13 +150114,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10445", + "$id": "10754", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to add the item to.", "type": { - "$id": "10446", + "$id": "10755", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145299,13 +150138,13 @@ "crossLanguageDefinitionId": "OpenAI.createConversationItems.conversation_id" }, { - "$id": "10447", + "$id": "10756", "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": "10423" + "$ref": "10732" }, "isApiVersion": false, "explode": true, @@ -145316,13 +150155,13 @@ "readOnly": false }, { - "$id": "10448", + "$id": "10757", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2411" + "$ref": "2479" }, "isApiVersion": false, "optional": false, @@ -145333,12 +150172,12 @@ "crossLanguageDefinitionId": "OpenAI.createConversationItems.contentType" }, { - "$id": "10449", + "$id": "10758", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2413" + "$ref": "2481" }, "isApiVersion": false, "optional": false, @@ -145349,12 +150188,12 @@ "crossLanguageDefinitionId": "OpenAI.createConversationItems.accept" }, { - "$id": "10450", + "$id": "10759", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "10451", + "$id": "10760", "kind": "model", "name": "CreateConversationItemsParametersBody", "namespace": "OpenAI", @@ -145364,11 +150203,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "10452", + "$id": "10761", "kind": "property", "name": "items", "type": { - "$ref": "5141" + "$ref": "5390" }, "optional": false, "readOnly": false, @@ -145399,7 +150238,7 @@ 200 ], "bodyType": { - "$ref": "10425" + "$ref": "10734" }, "headers": [], "isErrorResponse": false, @@ -145423,13 +150262,13 @@ }, "parameters": [ { - "$id": "10453", + "$id": "10762", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to add the item to.", "type": { - "$id": "10454", + "$id": "10763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145445,13 +150284,13 @@ "decorators": [] }, { - "$id": "10455", + "$id": "10764", "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": "10423" + "$ref": "10732" }, "location": "Query", "isApiVersion": false, @@ -145463,12 +150302,12 @@ "decorators": [] }, { - "$id": "10456", + "$id": "10765", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "10451" + "$ref": "10760" }, "location": "Body", "isApiVersion": false, @@ -145480,13 +150319,13 @@ "decorators": [] }, { - "$id": "10457", + "$id": "10766", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2411" + "$ref": "2479" }, "location": "Header", "isApiVersion": false, @@ -145498,12 +150337,12 @@ "decorators": [] }, { - "$id": "10458", + "$id": "10767", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2413" + "$ref": "2481" }, "location": "Header", "isApiVersion": false, @@ -145517,7 +150356,7 @@ ], "response": { "type": { - "$ref": "10425" + "$ref": "10734" } }, "isOverride": false, @@ -145526,7 +150365,7 @@ "crossLanguageDefinitionId": "OpenAI.createConversationItems" }, { - "$id": "10459", + "$id": "10768", "kind": "basic", "name": "deleteConversationItem", "accessibility": "public", @@ -145534,7 +150373,7 @@ "doc": "Delete an item from a conversation with the given IDs.", "summary": "Delete an item", "operation": { - "$id": "10460", + "$id": "10769", "name": "deleteConversationItem", "resourceName": "OpenAI", "summary": "Delete an item", @@ -145542,13 +150381,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10461", + "$id": "10770", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation that contains the item.", "type": { - "$id": "10462", + "$id": "10771", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145566,13 +150405,13 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.conversation_id" }, { - "$id": "10463", + "$id": "10772", "kind": "path", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to delete.", "type": { - "$id": "10464", + "$id": "10773", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145590,12 +150429,12 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.item_id" }, { - "$id": "10465", + "$id": "10774", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2415" + "$ref": "2483" }, "isApiVersion": false, "optional": false, @@ -145612,7 +150451,7 @@ 200 ], "bodyType": { - "$id": "10466", + "$id": "10775", "kind": "model", "name": "ConversationResource", "namespace": "OpenAI", @@ -145622,12 +150461,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "10467", + "$id": "10776", "kind": "property", "name": "id", "doc": "The unique ID of the conversation.", "type": { - "$id": "10468", + "$id": "10777", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145643,12 +150482,12 @@ "isHttpMetadata": false }, { - "$id": "10469", + "$id": "10778", "kind": "property", "name": "object", "doc": "The object type, which is always `conversation`.", "type": { - "$ref": "2417" + "$ref": "2485" }, "optional": false, "readOnly": false, @@ -145660,12 +150499,12 @@ "isHttpMetadata": false }, { - "$id": "10470", + "$id": "10779", "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": "10471", + "$id": "10780", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -145681,12 +150520,12 @@ "isHttpMetadata": false }, { - "$id": "10472", + "$id": "10781", "kind": "property", "name": "created_at", "doc": "The time at which the conversation was created, measured in seconds since the Unix epoch.", "type": { - "$id": "10473", + "$id": "10782", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -145722,13 +150561,13 @@ }, "parameters": [ { - "$id": "10474", + "$id": "10783", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation that contains the item.", "type": { - "$id": "10475", + "$id": "10784", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145744,13 +150583,13 @@ "decorators": [] }, { - "$id": "10476", + "$id": "10785", "kind": "method", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to delete.", "type": { - "$id": "10477", + "$id": "10786", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145766,12 +150605,12 @@ "decorators": [] }, { - "$id": "10478", + "$id": "10787", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2415" + "$ref": "2483" }, "location": "Header", "isApiVersion": false, @@ -145785,7 +150624,7 @@ ], "response": { "type": { - "$ref": "10466" + "$ref": "10775" } }, "isOverride": false, @@ -145794,7 +150633,7 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversationItem" }, { - "$id": "10479", + "$id": "10788", "kind": "basic", "name": "getConversationItem", "accessibility": "public", @@ -145802,7 +150641,7 @@ "doc": "Get a single item from a conversation with the given IDs.", "summary": "Retrieve an item", "operation": { - "$id": "10480", + "$id": "10789", "name": "getConversationItem", "resourceName": "OpenAI", "summary": "Retrieve an item", @@ -145810,13 +150649,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10481", + "$id": "10790", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation that contains the item.", "type": { - "$id": "10482", + "$id": "10791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145834,13 +150673,13 @@ "crossLanguageDefinitionId": "OpenAI.getConversationItem.conversation_id" }, { - "$id": "10483", + "$id": "10792", "kind": "path", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to retrieve.", "type": { - "$id": "10484", + "$id": "10793", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145858,13 +150697,13 @@ "crossLanguageDefinitionId": "OpenAI.getConversationItem.item_id" }, { - "$id": "10485", + "$id": "10794", "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": "10423" + "$ref": "10732" }, "isApiVersion": false, "explode": true, @@ -145875,12 +150714,12 @@ "readOnly": false }, { - "$id": "10486", + "$id": "10795", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2419" + "$ref": "2487" }, "isApiVersion": false, "optional": false, @@ -145897,7 +150736,7 @@ 200 ], "bodyType": { - "$ref": "5142" + "$ref": "5391" }, "headers": [], "isErrorResponse": false, @@ -145918,13 +150757,13 @@ }, "parameters": [ { - "$id": "10487", + "$id": "10796", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation that contains the item.", "type": { - "$id": "10488", + "$id": "10797", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145940,13 +150779,13 @@ "decorators": [] }, { - "$id": "10489", + "$id": "10798", "kind": "method", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to retrieve.", "type": { - "$id": "10490", + "$id": "10799", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -145962,13 +150801,13 @@ "decorators": [] }, { - "$id": "10491", + "$id": "10800", "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": "10423" + "$ref": "10732" }, "location": "Query", "isApiVersion": false, @@ -145980,12 +150819,12 @@ "decorators": [] }, { - "$id": "10492", + "$id": "10801", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2419" + "$ref": "2487" }, "location": "Header", "isApiVersion": false, @@ -145999,7 +150838,7 @@ ], "response": { "type": { - "$ref": "5142" + "$ref": "5391" } }, "isOverride": false, @@ -146008,7 +150847,7 @@ "crossLanguageDefinitionId": "OpenAI.getConversationItem" }, { - "$id": "10493", + "$id": "10802", "kind": "basic", "name": "createConversation", "accessibility": "public", @@ -146016,7 +150855,7 @@ "doc": "Create a conversation.", "summary": "Create a conversation", "operation": { - "$id": "10494", + "$id": "10803", "name": "createConversation", "resourceName": "OpenAI", "summary": "Create a conversation", @@ -146024,13 +150863,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10495", + "$id": "10804", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2421" + "$ref": "2489" }, "isApiVersion": false, "optional": false, @@ -146041,12 +150880,12 @@ "crossLanguageDefinitionId": "OpenAI.createConversation.contentType" }, { - "$id": "10496", + "$id": "10805", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2423" + "$ref": "2491" }, "isApiVersion": false, "optional": false, @@ -146057,12 +150896,12 @@ "crossLanguageDefinitionId": "OpenAI.createConversation.accept" }, { - "$id": "10497", + "$id": "10806", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "10498", + "$id": "10807", "kind": "model", "name": "CreateConversationBody", "namespace": "OpenAI", @@ -146072,14 +150911,14 @@ "serializationOptions": {}, "properties": [ { - "$id": "10499", + "$id": "10808", "kind": "property", "name": "metadata", "type": { - "$id": "10500", + "$id": "10809", "kind": "nullable", "type": { - "$id": "10501", + "$id": "10810", "kind": "model", "name": "Metadata", "namespace": "OpenAI", @@ -146102,14 +150941,14 @@ "isHttpMetadata": false }, { - "$id": "10502", + "$id": "10811", "kind": "property", "name": "items", "type": { - "$id": "10503", + "$id": "10812", "kind": "nullable", "type": { - "$ref": "5141" + "$ref": "5390" }, "namespace": "OpenAI" }, @@ -146142,7 +150981,7 @@ 200 ], "bodyType": { - "$ref": "10466" + "$ref": "10775" }, "headers": [], "isErrorResponse": false, @@ -146166,12 +151005,12 @@ }, "parameters": [ { - "$id": "10504", + "$id": "10813", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "10498" + "$ref": "10807" }, "location": "Body", "isApiVersion": false, @@ -146183,13 +151022,13 @@ "decorators": [] }, { - "$id": "10505", + "$id": "10814", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2421" + "$ref": "2489" }, "location": "Header", "isApiVersion": false, @@ -146201,12 +151040,12 @@ "decorators": [] }, { - "$id": "10506", + "$id": "10815", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2423" + "$ref": "2491" }, "location": "Header", "isApiVersion": false, @@ -146220,7 +151059,7 @@ ], "response": { "type": { - "$ref": "10466" + "$ref": "10775" } }, "isOverride": false, @@ -146229,7 +151068,7 @@ "crossLanguageDefinitionId": "OpenAI.createConversation" }, { - "$id": "10507", + "$id": "10816", "kind": "basic", "name": "deleteConversation", "accessibility": "public", @@ -146237,7 +151076,7 @@ "doc": "Delete a conversation. Items in the conversation will not be deleted.", "summary": "Delete a conversation", "operation": { - "$id": "10508", + "$id": "10817", "name": "deleteConversation", "resourceName": "OpenAI", "summary": "Delete a conversation", @@ -146245,13 +151084,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10509", + "$id": "10818", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to delete.", "type": { - "$id": "10510", + "$id": "10819", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -146269,12 +151108,12 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversation.conversation_id" }, { - "$id": "10511", + "$id": "10820", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2425" + "$ref": "2493" }, "isApiVersion": false, "optional": false, @@ -146291,7 +151130,7 @@ 200 ], "bodyType": { - "$id": "10512", + "$id": "10821", "kind": "model", "name": "DeletedConversationResource", "namespace": "OpenAI", @@ -146301,11 +151140,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "10513", + "$id": "10822", "kind": "property", "name": "object", "type": { - "$ref": "2427" + "$ref": "2495" }, "optional": false, "readOnly": false, @@ -146317,11 +151156,11 @@ "isHttpMetadata": false }, { - "$id": "10514", + "$id": "10823", "kind": "property", "name": "deleted", "type": { - "$id": "10515", + "$id": "10824", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -146337,11 +151176,11 @@ "isHttpMetadata": false }, { - "$id": "10516", + "$id": "10825", "kind": "property", "name": "id", "type": { - "$id": "10517", + "$id": "10826", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -146377,13 +151216,13 @@ }, "parameters": [ { - "$id": "10518", + "$id": "10827", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to delete.", "type": { - "$id": "10519", + "$id": "10828", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -146399,12 +151238,12 @@ "decorators": [] }, { - "$id": "10520", + "$id": "10829", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2425" + "$ref": "2493" }, "location": "Header", "isApiVersion": false, @@ -146418,7 +151257,7 @@ ], "response": { "type": { - "$ref": "10512" + "$ref": "10821" } }, "isOverride": false, @@ -146427,7 +151266,7 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversation" }, { - "$id": "10521", + "$id": "10830", "kind": "basic", "name": "getConversation", "accessibility": "public", @@ -146435,7 +151274,7 @@ "doc": "Get a conversation", "summary": "Retrieve a conversation", "operation": { - "$id": "10522", + "$id": "10831", "name": "getConversation", "resourceName": "OpenAI", "summary": "Retrieve a conversation", @@ -146443,13 +151282,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10523", + "$id": "10832", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to retrieve.", "type": { - "$id": "10524", + "$id": "10833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -146467,12 +151306,12 @@ "crossLanguageDefinitionId": "OpenAI.getConversation.conversation_id" }, { - "$id": "10525", + "$id": "10834", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2429" + "$ref": "2497" }, "isApiVersion": false, "optional": false, @@ -146489,7 +151328,7 @@ 200 ], "bodyType": { - "$ref": "10466" + "$ref": "10775" }, "headers": [], "isErrorResponse": false, @@ -146510,13 +151349,13 @@ }, "parameters": [ { - "$id": "10526", + "$id": "10835", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to retrieve.", "type": { - "$id": "10527", + "$id": "10836", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -146532,12 +151371,12 @@ "decorators": [] }, { - "$id": "10528", + "$id": "10837", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2429" + "$ref": "2497" }, "location": "Header", "isApiVersion": false, @@ -146551,7 +151390,7 @@ ], "response": { "type": { - "$ref": "10466" + "$ref": "10775" } }, "isOverride": false, @@ -146560,7 +151399,7 @@ "crossLanguageDefinitionId": "OpenAI.getConversation" }, { - "$id": "10529", + "$id": "10838", "kind": "basic", "name": "updateConversation", "accessibility": "public", @@ -146568,7 +151407,7 @@ "doc": "Update a conversation", "summary": "Update a conversation", "operation": { - "$id": "10530", + "$id": "10839", "name": "updateConversation", "resourceName": "OpenAI", "summary": "Update a conversation", @@ -146576,13 +151415,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10531", + "$id": "10840", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to update.", "type": { - "$id": "10532", + "$id": "10841", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -146600,13 +151439,13 @@ "crossLanguageDefinitionId": "OpenAI.updateConversation.conversation_id" }, { - "$id": "10533", + "$id": "10842", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2431" + "$ref": "2499" }, "isApiVersion": false, "optional": false, @@ -146617,12 +151456,12 @@ "crossLanguageDefinitionId": "OpenAI.updateConversation.contentType" }, { - "$id": "10534", + "$id": "10843", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2433" + "$ref": "2501" }, "isApiVersion": false, "optional": false, @@ -146633,12 +151472,12 @@ "crossLanguageDefinitionId": "OpenAI.updateConversation.accept" }, { - "$id": "10535", + "$id": "10844", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "10536", + "$id": "10845", "kind": "model", "name": "UpdateConversationBody", "namespace": "OpenAI", @@ -146648,15 +151487,15 @@ "serializationOptions": {}, "properties": [ { - "$id": "10537", + "$id": "10846", "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": "10538", + "$id": "10847", "kind": "nullable", "type": { - "$ref": "10501" + "$ref": "10810" }, "namespace": "OpenAI" }, @@ -146689,7 +151528,7 @@ 200 ], "bodyType": { - "$ref": "10466" + "$ref": "10775" }, "headers": [], "isErrorResponse": false, @@ -146713,13 +151552,13 @@ }, "parameters": [ { - "$id": "10539", + "$id": "10848", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to update.", "type": { - "$id": "10540", + "$id": "10849", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -146735,12 +151574,12 @@ "decorators": [] }, { - "$id": "10541", + "$id": "10850", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "10536" + "$ref": "10845" }, "location": "Body", "isApiVersion": false, @@ -146752,13 +151591,13 @@ "decorators": [] }, { - "$id": "10542", + "$id": "10851", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2431" + "$ref": "2499" }, "location": "Header", "isApiVersion": false, @@ -146770,12 +151609,12 @@ "decorators": [] }, { - "$id": "10543", + "$id": "10852", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2433" + "$ref": "2501" }, "location": "Header", "isApiVersion": false, @@ -146789,7 +151628,7 @@ ], "response": { "type": { - "$ref": "10466" + "$ref": "10775" } }, "isOverride": false, @@ -146800,13 +151639,13 @@ ], "parameters": [ { - "$id": "10544", + "$id": "10853", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10545", + "$id": "10854", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -146817,7 +151656,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10546", + "$id": "10855", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -146835,18 +151674,18 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10547", + "$id": "10856", "kind": "client", "name": "Embeddings", "namespace": "OpenAI", "methods": [ { - "$id": "10548", + "$id": "10857", "kind": "basic", "name": "GenerateEmbeddings", "accessibility": "public", @@ -146854,7 +151693,7 @@ "doc": "Creates an embedding vector representing the input text.", "summary": "Create embeddings", "operation": { - "$id": "10549", + "$id": "10858", "name": "GenerateEmbeddings", "resourceName": "OpenAI", "summary": "Create embeddings", @@ -146862,13 +151701,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10550", + "$id": "10859", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2435" + "$ref": "2503" }, "isApiVersion": false, "optional": false, @@ -146879,12 +151718,12 @@ "crossLanguageDefinitionId": "OpenAI.createEmbedding.contentType" }, { - "$id": "10551", + "$id": "10860", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2437" + "$ref": "2505" }, "isApiVersion": false, "optional": false, @@ -146895,12 +151734,12 @@ "crossLanguageDefinitionId": "OpenAI.createEmbedding.accept" }, { - "$id": "10552", + "$id": "10861", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "8061" + "$ref": "8370" }, "isApiVersion": false, "contentTypes": [ @@ -146920,7 +151759,7 @@ 200 ], "bodyType": { - "$ref": "8072" + "$ref": "8381" }, "headers": [], "isErrorResponse": false, @@ -146944,12 +151783,12 @@ }, "parameters": [ { - "$id": "10553", + "$id": "10862", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "8061" + "$ref": "8370" }, "location": "Body", "isApiVersion": false, @@ -146961,13 +151800,13 @@ "decorators": [] }, { - "$id": "10554", + "$id": "10863", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2435" + "$ref": "2503" }, "location": "Header", "isApiVersion": false, @@ -146979,12 +151818,12 @@ "decorators": [] }, { - "$id": "10555", + "$id": "10864", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2437" + "$ref": "2505" }, "location": "Header", "isApiVersion": false, @@ -146998,7 +151837,7 @@ ], "response": { "type": { - "$ref": "8072" + "$ref": "8381" } }, "isOverride": false, @@ -147009,13 +151848,13 @@ ], "parameters": [ { - "$id": "10556", + "$id": "10865", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10557", + "$id": "10866", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -147026,7 +151865,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10558", + "$id": "10867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -147044,18 +151883,18 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10559", + "$id": "10868", "kind": "client", "name": "Files", "namespace": "OpenAI", "methods": [ { - "$id": "10560", + "$id": "10869", "kind": "basic", "name": "GetFiles", "accessibility": "public", @@ -147063,7 +151902,7 @@ "doc": "Returns a list of files.", "summary": "List files", "operation": { - "$id": "10561", + "$id": "10870", "name": "GetFiles", "resourceName": "OpenAI", "summary": "List files", @@ -147071,13 +151910,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10562", + "$id": "10871", "kind": "query", "name": "purpose", "serializedName": "purpose", "doc": "Only return files with the given purpose.", "type": { - "$id": "10563", + "$id": "10872", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147092,13 +151931,13 @@ "readOnly": false }, { - "$id": "10564", + "$id": "10873", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 10,000, and the default is 10,000.", "type": { - "$id": "10565", + "$id": "10874", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -147113,13 +151952,13 @@ "readOnly": false }, { - "$id": "10566", + "$id": "10875", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.", "type": { - "$ref": "1612" + "$ref": "1676" }, "isApiVersion": false, "explode": true, @@ -147130,13 +151969,13 @@ "readOnly": false }, { - "$id": "10567", + "$id": "10876", "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. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "10568", + "$id": "10877", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147151,12 +151990,12 @@ "readOnly": false }, { - "$id": "10569", + "$id": "10878", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2439" + "$ref": "2507" }, "isApiVersion": false, "optional": false, @@ -147173,7 +152012,7 @@ 200 ], "bodyType": { - "$ref": "8089" + "$ref": "8398" }, "headers": [], "isErrorResponse": false, @@ -147194,13 +152033,13 @@ }, "parameters": [ { - "$id": "10570", + "$id": "10879", "kind": "method", "name": "purpose", "serializedName": "purpose", "doc": "Only return files with the given purpose.", "type": { - "$id": "10571", + "$id": "10880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147216,13 +152055,13 @@ "decorators": [] }, { - "$id": "10572", + "$id": "10881", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 10,000, and the default is 10,000.", "type": { - "$id": "10573", + "$id": "10882", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -147238,13 +152077,13 @@ "decorators": [] }, { - "$id": "10574", + "$id": "10883", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and `desc` for descending order.", "type": { - "$ref": "1612" + "$ref": "1676" }, "location": "Query", "isApiVersion": false, @@ -147256,13 +152095,13 @@ "decorators": [] }, { - "$id": "10575", + "$id": "10884", "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. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "10576", + "$id": "10885", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147278,12 +152117,12 @@ "decorators": [] }, { - "$id": "10577", + "$id": "10886", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2439" + "$ref": "2507" }, "location": "Header", "isApiVersion": false, @@ -147297,7 +152136,7 @@ ], "response": { "type": { - "$ref": "8089" + "$ref": "8398" } }, "isOverride": false, @@ -147306,7 +152145,7 @@ "crossLanguageDefinitionId": "OpenAI.listFiles" }, { - "$id": "10578", + "$id": "10887", "kind": "basic", "name": "UploadFile", "accessibility": "public", @@ -147314,7 +152153,7 @@ "doc": "Upload a file that can be used across various endpoints. Individual files\ncan be up to 512 MB, and the size of all files uploaded by one organization\ncan be up to 1 TB.\n- The Assistants API supports files up to 2 million tokens and of specific\nfile types. See the [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools) for\ndetails.\n- The Fine-tuning API only supports `.jsonl` files. The input also has\ncertain required formats for fine-tuning\n[chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input) or\n[completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input) models.\n- The Batch API only supports `.jsonl` files up to 200 MB in size. The input\nalso has a specific required\n[format](https://platform.openai.com/docs/api-reference/batch/request-input).\nPlease [contact us](https://help.openai.com/) if you need to increase these\nstorage limits.", "summary": "Upload file", "operation": { - "$id": "10579", + "$id": "10888", "name": "UploadFile", "resourceName": "OpenAI", "summary": "Upload file", @@ -147322,12 +152161,12 @@ "accessibility": "public", "parameters": [ { - "$id": "10580", + "$id": "10889", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2441" + "$ref": "2509" }, "isApiVersion": false, "optional": false, @@ -147338,12 +152177,12 @@ "crossLanguageDefinitionId": "OpenAI.createFile.contentType" }, { - "$id": "10581", + "$id": "10890", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2443" + "$ref": "2511" }, "isApiVersion": false, "optional": false, @@ -147354,12 +152193,12 @@ "crossLanguageDefinitionId": "OpenAI.createFile.accept" }, { - "$id": "10582", + "$id": "10891", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "8100" + "$ref": "8409" }, "isApiVersion": false, "contentTypes": [ @@ -147379,7 +152218,7 @@ 200 ], "bodyType": { - "$ref": "7848" + "$ref": "8157" }, "headers": [], "isErrorResponse": false, @@ -147403,12 +152242,12 @@ }, "parameters": [ { - "$id": "10583", + "$id": "10892", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2445" + "$ref": "2513" }, "location": "Header", "isApiVersion": false, @@ -147420,12 +152259,12 @@ "decorators": [] }, { - "$id": "10584", + "$id": "10893", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "8100" + "$ref": "8409" }, "location": "Body", "isApiVersion": false, @@ -147437,12 +152276,12 @@ "decorators": [] }, { - "$id": "10585", + "$id": "10894", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2443" + "$ref": "2511" }, "location": "Header", "isApiVersion": false, @@ -147456,7 +152295,7 @@ ], "response": { "type": { - "$ref": "7848" + "$ref": "8157" } }, "isOverride": false, @@ -147465,7 +152304,7 @@ "crossLanguageDefinitionId": "OpenAI.createFile" }, { - "$id": "10586", + "$id": "10895", "kind": "basic", "name": "deleteFile", "accessibility": "public", @@ -147473,7 +152312,7 @@ "doc": "Delete a file and remove it from all vector stores.", "summary": "Delete file", "operation": { - "$id": "10587", + "$id": "10896", "name": "deleteFile", "resourceName": "OpenAI", "summary": "Delete file", @@ -147481,13 +152320,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10588", + "$id": "10897", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "10589", + "$id": "10898", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147505,12 +152344,12 @@ "crossLanguageDefinitionId": "OpenAI.deleteFile.file_id" }, { - "$id": "10590", + "$id": "10899", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2447" + "$ref": "2515" }, "isApiVersion": false, "optional": false, @@ -147527,7 +152366,7 @@ 200 ], "bodyType": { - "$ref": "8109" + "$ref": "8418" }, "headers": [], "isErrorResponse": false, @@ -147548,13 +152387,13 @@ }, "parameters": [ { - "$id": "10591", + "$id": "10900", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "10592", + "$id": "10901", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147570,12 +152409,12 @@ "decorators": [] }, { - "$id": "10593", + "$id": "10902", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2447" + "$ref": "2515" }, "location": "Header", "isApiVersion": false, @@ -147589,7 +152428,7 @@ ], "response": { "type": { - "$ref": "8109" + "$ref": "8418" } }, "isOverride": false, @@ -147598,7 +152437,7 @@ "crossLanguageDefinitionId": "OpenAI.deleteFile" }, { - "$id": "10594", + "$id": "10903", "kind": "basic", "name": "GetFile", "accessibility": "public", @@ -147606,7 +152445,7 @@ "doc": "Returns information about a specific file.", "summary": "Retrieve file", "operation": { - "$id": "10595", + "$id": "10904", "name": "GetFile", "resourceName": "OpenAI", "summary": "Retrieve file", @@ -147614,13 +152453,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10596", + "$id": "10905", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "10597", + "$id": "10906", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147638,12 +152477,12 @@ "crossLanguageDefinitionId": "OpenAI.retrieveFile.file_id" }, { - "$id": "10598", + "$id": "10907", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2449" + "$ref": "2517" }, "isApiVersion": false, "optional": false, @@ -147660,7 +152499,7 @@ 200 ], "bodyType": { - "$ref": "7848" + "$ref": "8157" }, "headers": [], "isErrorResponse": false, @@ -147681,13 +152520,13 @@ }, "parameters": [ { - "$id": "10599", + "$id": "10908", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "10600", + "$id": "10909", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147703,12 +152542,12 @@ "decorators": [] }, { - "$id": "10601", + "$id": "10910", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2449" + "$ref": "2517" }, "location": "Header", "isApiVersion": false, @@ -147722,7 +152561,7 @@ ], "response": { "type": { - "$ref": "7848" + "$ref": "8157" } }, "isOverride": false, @@ -147731,7 +152570,7 @@ "crossLanguageDefinitionId": "OpenAI.retrieveFile" }, { - "$id": "10602", + "$id": "10911", "kind": "basic", "name": "downloadFile", "accessibility": "public", @@ -147739,7 +152578,7 @@ "doc": "Returns the contents of the specified file.", "summary": "Retrieve file content", "operation": { - "$id": "10603", + "$id": "10912", "name": "downloadFile", "resourceName": "OpenAI", "summary": "Retrieve file content", @@ -147747,13 +152586,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10604", + "$id": "10913", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "10605", + "$id": "10914", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147771,12 +152610,12 @@ "crossLanguageDefinitionId": "OpenAI.downloadFile.file_id" }, { - "$id": "10606", + "$id": "10915", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2451" + "$ref": "2519" }, "isApiVersion": false, "optional": false, @@ -147793,7 +152632,7 @@ 200 ], "bodyType": { - "$id": "10607", + "$id": "10916", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147818,13 +152657,13 @@ }, "parameters": [ { - "$id": "10608", + "$id": "10917", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "10609", + "$id": "10918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147840,12 +152679,12 @@ "decorators": [] }, { - "$id": "10610", + "$id": "10919", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2451" + "$ref": "2519" }, "location": "Header", "isApiVersion": false, @@ -147859,7 +152698,7 @@ ], "response": { "type": { - "$ref": "10607" + "$ref": "10916" } }, "isOverride": false, @@ -147870,13 +152709,13 @@ ], "parameters": [ { - "$id": "10611", + "$id": "10920", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10612", + "$id": "10921", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -147887,7 +152726,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10613", + "$id": "10922", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -147905,18 +152744,18 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10614", + "$id": "10923", "kind": "client", "name": "Images", "namespace": "OpenAI", "methods": [ { - "$id": "10615", + "$id": "10924", "kind": "basic", "name": "GenerateImageEdits", "accessibility": "public", @@ -147924,7 +152763,7 @@ "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": "10616", + "$id": "10925", "name": "GenerateImageEdits", "resourceName": "OpenAI", "summary": "Create image edit", @@ -147932,12 +152771,12 @@ "accessibility": "public", "parameters": [ { - "$id": "10617", + "$id": "10926", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2453" + "$ref": "2521" }, "isApiVersion": false, "optional": false, @@ -147948,12 +152787,12 @@ "crossLanguageDefinitionId": "OpenAI.createImageEdit.contentType" }, { - "$id": "10618", + "$id": "10927", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "10619", + "$id": "10928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -147968,12 +152807,12 @@ "crossLanguageDefinitionId": "OpenAI.createImageEdit.accept" }, { - "$id": "10620", + "$id": "10929", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "8115" + "$ref": "8424" }, "isApiVersion": false, "contentTypes": [ @@ -147993,7 +152832,7 @@ 200 ], "bodyType": { - "$id": "10621", + "$id": "10930", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "", @@ -148004,7 +152843,7 @@ "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2455" + "$ref": "2523" } } ], @@ -148030,12 +152869,12 @@ }, "parameters": [ { - "$id": "10622", + "$id": "10931", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2457" + "$ref": "2525" }, "location": "Header", "isApiVersion": false, @@ -148047,12 +152886,12 @@ "decorators": [] }, { - "$id": "10623", + "$id": "10932", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "8115" + "$ref": "8424" }, "location": "Body", "isApiVersion": false, @@ -148064,12 +152903,12 @@ "decorators": [] }, { - "$id": "10624", + "$id": "10933", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "10619" + "$ref": "10928" }, "location": "Header", "isApiVersion": false, @@ -148083,7 +152922,7 @@ ], "response": { "type": { - "$ref": "10621" + "$ref": "10930" } }, "isOverride": false, @@ -148092,7 +152931,7 @@ "crossLanguageDefinitionId": "OpenAI.createImageEdit" }, { - "$id": "10625", + "$id": "10934", "kind": "basic", "name": "GenerateImages", "accessibility": "public", @@ -148100,7 +152939,7 @@ "doc": "Creates an image given a prompt. [Learn more](https://platform.openai.com/docs/guides/images).", "summary": "Create image", "operation": { - "$id": "10626", + "$id": "10935", "name": "GenerateImages", "resourceName": "OpenAI", "summary": "Create image", @@ -148108,13 +152947,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10627", + "$id": "10936", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2459" + "$ref": "2527" }, "isApiVersion": false, "optional": false, @@ -148125,12 +152964,12 @@ "crossLanguageDefinitionId": "OpenAI.createImage.contentType" }, { - "$id": "10628", + "$id": "10937", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "10629", + "$id": "10938", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -148145,12 +152984,12 @@ "crossLanguageDefinitionId": "OpenAI.createImage.accept" }, { - "$id": "10630", + "$id": "10939", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "8190" + "$ref": "8499" }, "isApiVersion": false, "contentTypes": [ @@ -148170,7 +153009,7 @@ 200 ], "bodyType": { - "$id": "10631", + "$id": "10940", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "", @@ -148181,7 +153020,7 @@ "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2461" + "$ref": "2529" } } ], @@ -148207,12 +153046,12 @@ }, "parameters": [ { - "$id": "10632", + "$id": "10941", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "8190" + "$ref": "8499" }, "location": "Body", "isApiVersion": false, @@ -148224,13 +153063,13 @@ "decorators": [] }, { - "$id": "10633", + "$id": "10942", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2459" + "$ref": "2527" }, "location": "Header", "isApiVersion": false, @@ -148242,12 +153081,12 @@ "decorators": [] }, { - "$id": "10634", + "$id": "10943", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "10629" + "$ref": "10938" }, "location": "Header", "isApiVersion": false, @@ -148261,7 +153100,7 @@ ], "response": { "type": { - "$ref": "10631" + "$ref": "10940" } }, "isOverride": false, @@ -148270,7 +153109,7 @@ "crossLanguageDefinitionId": "OpenAI.createImage" }, { - "$id": "10635", + "$id": "10944", "kind": "basic", "name": "GenerateImageVariations", "accessibility": "public", @@ -148278,7 +153117,7 @@ "doc": "Creates a variation of a given image. This endpoint only supports `dall-e-2`.", "summary": "Create image variation", "operation": { - "$id": "10636", + "$id": "10945", "name": "GenerateImageVariations", "resourceName": "OpenAI", "summary": "Create image variation", @@ -148286,12 +153125,12 @@ "accessibility": "public", "parameters": [ { - "$id": "10637", + "$id": "10946", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2463" + "$ref": "2531" }, "isApiVersion": false, "optional": false, @@ -148302,12 +153141,12 @@ "crossLanguageDefinitionId": "OpenAI.createImageVariation.contentType" }, { - "$id": "10638", + "$id": "10947", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2465" + "$ref": "2533" }, "isApiVersion": false, "optional": false, @@ -148318,12 +153157,12 @@ "crossLanguageDefinitionId": "OpenAI.createImageVariation.accept" }, { - "$id": "10639", + "$id": "10948", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "8221" + "$ref": "8530" }, "isApiVersion": false, "contentTypes": [ @@ -148343,7 +153182,7 @@ 200 ], "bodyType": { - "$ref": "8153" + "$ref": "8462" }, "headers": [], "isErrorResponse": false, @@ -148367,12 +153206,12 @@ }, "parameters": [ { - "$id": "10640", + "$id": "10949", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2467" + "$ref": "2535" }, "location": "Header", "isApiVersion": false, @@ -148384,12 +153223,12 @@ "decorators": [] }, { - "$id": "10641", + "$id": "10950", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "8221" + "$ref": "8530" }, "location": "Body", "isApiVersion": false, @@ -148401,12 +153240,12 @@ "decorators": [] }, { - "$id": "10642", + "$id": "10951", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2465" + "$ref": "2533" }, "location": "Header", "isApiVersion": false, @@ -148420,7 +153259,7 @@ ], "response": { "type": { - "$ref": "8153" + "$ref": "8462" } }, "isOverride": false, @@ -148431,13 +153270,13 @@ ], "parameters": [ { - "$id": "10643", + "$id": "10952", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10644", + "$id": "10953", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -148448,7 +153287,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10645", + "$id": "10954", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -148466,18 +153305,18 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10646", + "$id": "10955", "kind": "client", "name": "Models", "namespace": "OpenAI", "methods": [ { - "$id": "10647", + "$id": "10956", "kind": "basic", "name": "GetModels", "accessibility": "public", @@ -148485,7 +153324,7 @@ "doc": "Lists the currently available models, and provides basic information about each one such as the owner and availability.", "summary": "List models", "operation": { - "$id": "10648", + "$id": "10957", "name": "GetModels", "resourceName": "OpenAI", "summary": "List models", @@ -148493,12 +153332,12 @@ "accessibility": "public", "parameters": [ { - "$id": "10649", + "$id": "10958", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2469" + "$ref": "2537" }, "isApiVersion": false, "optional": false, @@ -148515,7 +153354,7 @@ 200 ], "bodyType": { - "$ref": "8235" + "$ref": "8544" }, "headers": [], "isErrorResponse": false, @@ -148536,12 +153375,12 @@ }, "parameters": [ { - "$id": "10650", + "$id": "10959", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2469" + "$ref": "2537" }, "location": "Header", "isApiVersion": false, @@ -148555,7 +153394,7 @@ ], "response": { "type": { - "$ref": "8235" + "$ref": "8544" } }, "isOverride": false, @@ -148564,7 +153403,7 @@ "crossLanguageDefinitionId": "OpenAI.listModels" }, { - "$id": "10651", + "$id": "10960", "kind": "basic", "name": "deleteModel", "accessibility": "public", @@ -148572,7 +153411,7 @@ "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": "10652", + "$id": "10961", "name": "deleteModel", "resourceName": "OpenAI", "summary": "Delete a fine-tuned model", @@ -148580,13 +153419,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10653", + "$id": "10962", "kind": "path", "name": "model", "serializedName": "model", "doc": "The model to delete", "type": { - "$id": "10654", + "$id": "10963", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -148604,12 +153443,12 @@ "crossLanguageDefinitionId": "OpenAI.deleteModel.model" }, { - "$id": "10655", + "$id": "10964", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2471" + "$ref": "2539" }, "isApiVersion": false, "optional": false, @@ -148626,7 +153465,7 @@ 200 ], "bodyType": { - "$ref": "8248" + "$ref": "8557" }, "headers": [], "isErrorResponse": false, @@ -148647,13 +153486,13 @@ }, "parameters": [ { - "$id": "10656", + "$id": "10965", "kind": "method", "name": "model", "serializedName": "model", "doc": "The model to delete", "type": { - "$id": "10657", + "$id": "10966", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -148669,12 +153508,12 @@ "decorators": [] }, { - "$id": "10658", + "$id": "10967", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2471" + "$ref": "2539" }, "location": "Header", "isApiVersion": false, @@ -148688,7 +153527,7 @@ ], "response": { "type": { - "$ref": "8248" + "$ref": "8557" } }, "isOverride": false, @@ -148697,7 +153536,7 @@ "crossLanguageDefinitionId": "OpenAI.deleteModel" }, { - "$id": "10659", + "$id": "10968", "kind": "basic", "name": "GetModel", "accessibility": "public", @@ -148705,7 +153544,7 @@ "doc": "Retrieves a model instance, providing basic information about the model such as the owner and permissioning.", "summary": "Retrieve model", "operation": { - "$id": "10660", + "$id": "10969", "name": "GetModel", "resourceName": "OpenAI", "summary": "Retrieve model", @@ -148713,13 +153552,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10661", + "$id": "10970", "kind": "path", "name": "model", "serializedName": "model", "doc": "The ID of the model to use for this request", "type": { - "$id": "10662", + "$id": "10971", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -148737,12 +153576,12 @@ "crossLanguageDefinitionId": "OpenAI.retrieveModel.model" }, { - "$id": "10663", + "$id": "10972", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2473" + "$ref": "2541" }, "isApiVersion": false, "optional": false, @@ -148759,7 +153598,7 @@ 200 ], "bodyType": { - "$ref": "8239" + "$ref": "8548" }, "headers": [], "isErrorResponse": false, @@ -148780,13 +153619,13 @@ }, "parameters": [ { - "$id": "10664", + "$id": "10973", "kind": "method", "name": "model", "serializedName": "model", "doc": "The ID of the model to use for this request", "type": { - "$id": "10665", + "$id": "10974", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -148802,12 +153641,12 @@ "decorators": [] }, { - "$id": "10666", + "$id": "10975", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2473" + "$ref": "2541" }, "location": "Header", "isApiVersion": false, @@ -148821,7 +153660,7 @@ ], "response": { "type": { - "$ref": "8239" + "$ref": "8548" } }, "isOverride": false, @@ -148832,13 +153671,13 @@ ], "parameters": [ { - "$id": "10667", + "$id": "10976", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10668", + "$id": "10977", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -148849,7 +153688,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10669", + "$id": "10978", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -148867,18 +153706,18 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10670", + "$id": "10979", "kind": "client", "name": "Moderations", "namespace": "OpenAI", "methods": [ { - "$id": "10671", + "$id": "10980", "kind": "basic", "name": "ClassifyInputs", "accessibility": "public", @@ -148886,7 +153725,7 @@ "doc": "Classifies if text and/or image inputs are potentially harmful. Learn\nmore in the [moderation guide](https://platform.openai.com/docs/guides/moderation).", "summary": "Create moderation", "operation": { - "$id": "10672", + "$id": "10981", "name": "ClassifyInputs", "resourceName": "OpenAI", "summary": "Create moderation", @@ -148894,13 +153733,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10673", + "$id": "10982", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2475" + "$ref": "2543" }, "isApiVersion": false, "optional": false, @@ -148911,12 +153750,12 @@ "crossLanguageDefinitionId": "OpenAI.createModeration.contentType" }, { - "$id": "10674", + "$id": "10983", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2477" + "$ref": "2545" }, "isApiVersion": false, "optional": false, @@ -148927,12 +153766,12 @@ "crossLanguageDefinitionId": "OpenAI.createModeration.accept" }, { - "$id": "10675", + "$id": "10984", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "8255" + "$ref": "8564" }, "isApiVersion": false, "contentTypes": [ @@ -148952,7 +153791,7 @@ 200 ], "bodyType": { - "$ref": "8279" + "$ref": "8588" }, "headers": [], "isErrorResponse": false, @@ -148976,12 +153815,12 @@ }, "parameters": [ { - "$id": "10676", + "$id": "10985", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "8255" + "$ref": "8564" }, "location": "Body", "isApiVersion": false, @@ -148993,13 +153832,13 @@ "decorators": [] }, { - "$id": "10677", + "$id": "10986", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "2475" + "$ref": "2543" }, "location": "Header", "isApiVersion": false, @@ -149011,12 +153850,12 @@ "decorators": [] }, { - "$id": "10678", + "$id": "10987", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2477" + "$ref": "2545" }, "location": "Header", "isApiVersion": false, @@ -149030,7 +153869,7 @@ ], "response": { "type": { - "$ref": "8279" + "$ref": "8588" } }, "isOverride": false, @@ -149041,13 +153880,13 @@ ], "parameters": [ { - "$id": "10679", + "$id": "10988", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10680", + "$id": "10989", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -149058,7 +153897,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10681", + "$id": "10990", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -149076,18 +153915,18 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }, { - "$id": "10682", + "$id": "10991", "kind": "client", "name": "Videos", "namespace": "OpenAI", "methods": [ { - "$id": "10683", + "$id": "10992", "kind": "paging", "name": "ListVideos", "accessibility": "public", @@ -149095,7 +153934,7 @@ "doc": "List videos", "summary": "List videos", "operation": { - "$id": "10684", + "$id": "10993", "name": "ListVideos", "resourceName": "OpenAI", "summary": "List videos", @@ -149103,13 +153942,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10685", + "$id": "10994", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of items to retrieve", "type": { - "$id": "10686", + "$id": "10995", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -149124,13 +153963,13 @@ "readOnly": false }, { - "$id": "10687", + "$id": "10996", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$ref": "1616" + "$ref": "1680" }, "isApiVersion": false, "explode": true, @@ -149141,13 +153980,13 @@ "readOnly": false }, { - "$id": "10688", + "$id": "10997", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last item from the previous pagination request", "type": { - "$id": "10689", + "$id": "10998", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149162,12 +154001,12 @@ "readOnly": false }, { - "$id": "10690", + "$id": "10999", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2479" + "$ref": "2547" }, "isApiVersion": false, "optional": false, @@ -149184,7 +154023,7 @@ 200 ], "bodyType": { - "$id": "10691", + "$id": "11000", "kind": "model", "name": "VideoListResource", "namespace": "OpenAI", @@ -149194,12 +154033,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "10692", + "$id": "11001", "kind": "property", "name": "object", "doc": "The type of object returned, must be `list`.", "type": { - "$ref": "2481" + "$ref": "2549" }, "optional": false, "readOnly": false, @@ -149211,16 +154050,16 @@ "isHttpMetadata": false }, { - "$id": "10693", + "$id": "11002", "kind": "property", "name": "data", "doc": "A list of items", "type": { - "$id": "10694", + "$id": "11003", "kind": "array", "name": "ArrayVideoResource", "valueType": { - "$id": "10695", + "$id": "11004", "kind": "model", "name": "VideoResource", "namespace": "OpenAI", @@ -149232,12 +154071,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "10696", + "$id": "11005", "kind": "property", "name": "id", "doc": "Unique identifier for the video job.", "type": { - "$id": "10697", + "$id": "11006", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149253,12 +154092,12 @@ "isHttpMetadata": false }, { - "$id": "10698", + "$id": "11007", "kind": "property", "name": "object", "doc": "The object type, which is always `video`.", "type": { - "$ref": "2483" + "$ref": "2551" }, "optional": false, "readOnly": false, @@ -149270,17 +154109,17 @@ "isHttpMetadata": false }, { - "$id": "10699", + "$id": "11008", "kind": "property", "name": "model", "doc": "The video generation model that produced the job.", "type": { - "$id": "10700", + "$id": "11009", "kind": "enum", "name": "VideoModel", "crossLanguageDefinitionId": "OpenAI.VideoModel", "valueType": { - "$id": "10701", + "$id": "11010", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149288,28 +154127,28 @@ }, "values": [ { - "$id": "10702", + "$id": "11011", "kind": "enumvalue", "name": "sora-2", "value": "sora-2", "valueType": { - "$ref": "10701" + "$ref": "11010" }, "enumType": { - "$ref": "10700" + "$ref": "11009" }, "decorators": [] }, { - "$id": "10703", + "$id": "11012", "kind": "enumvalue", "name": "sora-2-pro", "value": "sora-2-pro", "valueType": { - "$ref": "10701" + "$ref": "11010" }, "enumType": { - "$ref": "10700" + "$ref": "11009" }, "decorators": [] } @@ -149330,17 +154169,17 @@ "isHttpMetadata": false }, { - "$id": "10704", + "$id": "11013", "kind": "property", "name": "status", "doc": "Current lifecycle status of the video job.", "type": { - "$id": "10705", + "$id": "11014", "kind": "enum", "name": "VideoStatus", "crossLanguageDefinitionId": "OpenAI.VideoStatus", "valueType": { - "$id": "10706", + "$id": "11015", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149348,54 +154187,54 @@ }, "values": [ { - "$id": "10707", + "$id": "11016", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "10706" + "$ref": "11015" }, "enumType": { - "$ref": "10705" + "$ref": "11014" }, "decorators": [] }, { - "$id": "10708", + "$id": "11017", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "10706" + "$ref": "11015" }, "enumType": { - "$ref": "10705" + "$ref": "11014" }, "decorators": [] }, { - "$id": "10709", + "$id": "11018", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "10706" + "$ref": "11015" }, "enumType": { - "$ref": "10705" + "$ref": "11014" }, "decorators": [] }, { - "$id": "10710", + "$id": "11019", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "10706" + "$ref": "11015" }, "enumType": { - "$ref": "10705" + "$ref": "11014" }, "decorators": [] } @@ -149416,12 +154255,12 @@ "isHttpMetadata": false }, { - "$id": "10711", + "$id": "11020", "kind": "property", "name": "progress", "doc": "Approximate completion percentage for the generation task.", "type": { - "$id": "10712", + "$id": "11021", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -149437,12 +154276,12 @@ "isHttpMetadata": false }, { - "$id": "10713", + "$id": "11022", "kind": "property", "name": "created_at", "doc": "Unix timestamp (seconds) for when the job was created.", "type": { - "$id": "10714", + "$id": "11023", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -149458,14 +154297,14 @@ "isHttpMetadata": false }, { - "$id": "10715", + "$id": "11024", "kind": "property", "name": "completed_at", "type": { - "$id": "10716", + "$id": "11025", "kind": "nullable", "type": { - "$id": "10717", + "$id": "11026", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -149483,14 +154322,14 @@ "isHttpMetadata": false }, { - "$id": "10718", + "$id": "11027", "kind": "property", "name": "expires_at", "type": { - "$id": "10719", + "$id": "11028", "kind": "nullable", "type": { - "$id": "10720", + "$id": "11029", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -149508,17 +154347,17 @@ "isHttpMetadata": false }, { - "$id": "10721", + "$id": "11030", "kind": "property", "name": "size", "doc": "The resolution of the generated video.", "type": { - "$id": "10722", + "$id": "11031", "kind": "enum", "name": "VideoSize", "crossLanguageDefinitionId": "OpenAI.VideoSize", "valueType": { - "$id": "10723", + "$id": "11032", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149526,54 +154365,54 @@ }, "values": [ { - "$id": "10724", + "$id": "11033", "kind": "enumvalue", "name": "720x1280", "value": "720x1280", "valueType": { - "$ref": "10723" + "$ref": "11032" }, "enumType": { - "$ref": "10722" + "$ref": "11031" }, "decorators": [] }, { - "$id": "10725", + "$id": "11034", "kind": "enumvalue", "name": "1280x720", "value": "1280x720", "valueType": { - "$ref": "10723" + "$ref": "11032" }, "enumType": { - "$ref": "10722" + "$ref": "11031" }, "decorators": [] }, { - "$id": "10726", + "$id": "11035", "kind": "enumvalue", "name": "1024x1792", "value": "1024x1792", "valueType": { - "$ref": "10723" + "$ref": "11032" }, "enumType": { - "$ref": "10722" + "$ref": "11031" }, "decorators": [] }, { - "$id": "10727", + "$id": "11036", "kind": "enumvalue", "name": "1792x1024", "value": "1792x1024", "valueType": { - "$ref": "10723" + "$ref": "11032" }, "enumType": { - "$ref": "10722" + "$ref": "11031" }, "decorators": [] } @@ -149594,17 +154433,17 @@ "isHttpMetadata": false }, { - "$id": "10728", + "$id": "11037", "kind": "property", "name": "seconds", "doc": "Duration of the generated clip in seconds.", "type": { - "$id": "10729", + "$id": "11038", "kind": "enum", "name": "VideoSeconds", "crossLanguageDefinitionId": "OpenAI.VideoSeconds", "valueType": { - "$id": "10730", + "$id": "11039", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149612,41 +154451,41 @@ }, "values": [ { - "$id": "10731", + "$id": "11040", "kind": "enumvalue", "name": "4", "value": "4", "valueType": { - "$ref": "10730" + "$ref": "11039" }, "enumType": { - "$ref": "10729" + "$ref": "11038" }, "decorators": [] }, { - "$id": "10732", + "$id": "11041", "kind": "enumvalue", "name": "8", "value": "8", "valueType": { - "$ref": "10730" + "$ref": "11039" }, "enumType": { - "$ref": "10729" + "$ref": "11038" }, "decorators": [] }, { - "$id": "10733", + "$id": "11042", "kind": "enumvalue", "name": "12", "value": "12", "valueType": { - "$ref": "10730" + "$ref": "11039" }, "enumType": { - "$ref": "10729" + "$ref": "11038" }, "decorators": [] } @@ -149667,14 +154506,14 @@ "isHttpMetadata": false }, { - "$id": "10734", + "$id": "11043", "kind": "property", "name": "remixed_from_video_id", "type": { - "$id": "10735", + "$id": "11044", "kind": "nullable", "type": { - "$id": "10736", + "$id": "11045", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149692,14 +154531,14 @@ "isHttpMetadata": false }, { - "$id": "10737", + "$id": "11046", "kind": "property", "name": "error", "type": { - "$id": "10738", + "$id": "11047", "kind": "nullable", "type": { - "$id": "10739", + "$id": "11048", "kind": "model", "name": "Error-2", "namespace": "OpenAI", @@ -149709,11 +154548,11 @@ "serializationOptions": {}, "properties": [ { - "$id": "10740", + "$id": "11049", "kind": "property", "name": "code", "type": { - "$id": "10741", + "$id": "11050", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149729,11 +154568,11 @@ "isHttpMetadata": false }, { - "$id": "10742", + "$id": "11051", "kind": "property", "name": "message", "type": { - "$id": "10743", + "$id": "11052", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149776,11 +154615,11 @@ "isHttpMetadata": false }, { - "$id": "10744", + "$id": "11053", "kind": "property", "name": "first_id", "type": { - "$id": "10745", + "$id": "11054", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149796,11 +154635,11 @@ "isHttpMetadata": false }, { - "$id": "10746", + "$id": "11055", "kind": "property", "name": "last_id", "type": { - "$id": "10747", + "$id": "11056", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149816,12 +154655,12 @@ "isHttpMetadata": false }, { - "$id": "10748", + "$id": "11057", "kind": "property", "name": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "10749", + "$id": "11058", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -149857,13 +154696,13 @@ }, "parameters": [ { - "$id": "10750", + "$id": "11059", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of items to retrieve", "type": { - "$id": "10751", + "$id": "11060", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -149879,13 +154718,13 @@ "decorators": [] }, { - "$id": "10752", + "$id": "11061", "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": "1616" + "$ref": "1680" }, "location": "Query", "isApiVersion": false, @@ -149897,13 +154736,13 @@ "decorators": [] }, { - "$id": "10753", + "$id": "11062", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last item from the previous pagination request", "type": { - "$id": "10754", + "$id": "11063", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -149919,12 +154758,12 @@ "decorators": [] }, { - "$id": "10755", + "$id": "11064", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2479" + "$ref": "2547" }, "location": "Header", "isApiVersion": false, @@ -149938,7 +154777,7 @@ ], "response": { "type": { - "$ref": "10694" + "$ref": "11003" }, "resultSegments": [ "data" @@ -149956,7 +154795,7 @@ } }, { - "$id": "10756", + "$id": "11065", "kind": "basic", "name": "createVideo", "accessibility": "public", @@ -149964,7 +154803,7 @@ "doc": "Create a video", "summary": "Create video", "operation": { - "$id": "10757", + "$id": "11066", "name": "createVideo", "resourceName": "OpenAI", "summary": "Create video", @@ -149972,12 +154811,12 @@ "accessibility": "public", "parameters": [ { - "$id": "10758", + "$id": "11067", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2485" + "$ref": "2553" }, "isApiVersion": false, "optional": false, @@ -149988,12 +154827,12 @@ "crossLanguageDefinitionId": "OpenAI.createVideo.contentType" }, { - "$id": "10759", + "$id": "11068", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2487" + "$ref": "2555" }, "isApiVersion": false, "optional": false, @@ -150004,12 +154843,12 @@ "crossLanguageDefinitionId": "OpenAI.createVideo.accept" }, { - "$id": "10760", + "$id": "11069", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "10761", + "$id": "11070", "kind": "model", "name": "CreateVideoBody", "namespace": "OpenAI", @@ -150021,13 +154860,13 @@ "serializationOptions": {}, "properties": [ { - "$id": "10762", + "$id": "11071", "kind": "property", "name": "model", "serializedName": "model", "doc": "The video generation model to use. Defaults to `sora-2`.", "type": { - "$ref": "10700" + "$ref": "11009" }, "optional": true, "readOnly": false, @@ -150049,18 +154888,18 @@ "isHttpMetadata": false }, { - "$id": "10763", + "$id": "11072", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Text prompt that describes the video to generate.", "type": { - "$id": "10764", + "$id": "11073", "kind": "string", "name": "VideoPrompt", "crossLanguageDefinitionId": "OpenAI.VideoPrompt", "baseType": { - "$id": "10765", + "$id": "11074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150088,13 +154927,13 @@ "isHttpMetadata": false }, { - "$id": "10766", + "$id": "11075", "kind": "property", "name": "input_reference", "serializedName": "input_reference", "doc": "Optional image reference that guides generation.", "type": { - "$id": "10767", + "$id": "11076", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -150121,13 +154960,13 @@ "isHttpMetadata": false }, { - "$id": "10768", + "$id": "11077", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "Clip duration in seconds. Defaults to 4 seconds.", "type": { - "$ref": "10729" + "$ref": "11038" }, "optional": true, "readOnly": false, @@ -150149,13 +154988,13 @@ "isHttpMetadata": false }, { - "$id": "10769", + "$id": "11078", "kind": "property", "name": "size", "serializedName": "size", "doc": "Output resolution formatted as width x height. Defaults to 720x1280.", "type": { - "$ref": "10722" + "$ref": "11031" }, "optional": true, "readOnly": false, @@ -150196,7 +155035,7 @@ 200 ], "bodyType": { - "$ref": "10695" + "$ref": "11004" }, "headers": [], "isErrorResponse": false, @@ -150220,12 +155059,12 @@ }, "parameters": [ { - "$id": "10770", + "$id": "11079", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2489" + "$ref": "2557" }, "location": "Header", "isApiVersion": false, @@ -150237,12 +155076,12 @@ "decorators": [] }, { - "$id": "10771", + "$id": "11080", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "10761" + "$ref": "11070" }, "location": "Body", "isApiVersion": false, @@ -150254,12 +155093,12 @@ "decorators": [] }, { - "$id": "10772", + "$id": "11081", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2487" + "$ref": "2555" }, "location": "Header", "isApiVersion": false, @@ -150273,7 +155112,7 @@ ], "response": { "type": { - "$ref": "10695" + "$ref": "11004" } }, "isOverride": false, @@ -150282,7 +155121,7 @@ "crossLanguageDefinitionId": "OpenAI.createVideo" }, { - "$id": "10773", + "$id": "11082", "kind": "basic", "name": "DeleteVideo", "accessibility": "public", @@ -150290,7 +155129,7 @@ "doc": "Delete a video", "summary": "Delete video", "operation": { - "$id": "10774", + "$id": "11083", "name": "DeleteVideo", "resourceName": "OpenAI", "summary": "Delete video", @@ -150298,13 +155137,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10775", + "$id": "11084", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to delete.", "type": { - "$id": "10776", + "$id": "11085", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150322,12 +155161,12 @@ "crossLanguageDefinitionId": "OpenAI.DeleteVideo.video_id" }, { - "$id": "10777", + "$id": "11086", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2491" + "$ref": "2559" }, "isApiVersion": false, "optional": false, @@ -150344,7 +155183,7 @@ 200 ], "bodyType": { - "$id": "10778", + "$id": "11087", "kind": "model", "name": "DeletedVideoResource", "namespace": "OpenAI", @@ -150356,12 +155195,12 @@ "serializationOptions": {}, "properties": [ { - "$id": "10779", + "$id": "11088", "kind": "property", "name": "object", "doc": "The object type that signals the deletion response.", "type": { - "$ref": "2493" + "$ref": "2561" }, "optional": false, "readOnly": false, @@ -150373,12 +155212,12 @@ "isHttpMetadata": false }, { - "$id": "10780", + "$id": "11089", "kind": "property", "name": "deleted", "doc": "Indicates that the video resource was deleted.", "type": { - "$id": "10781", + "$id": "11090", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -150394,12 +155233,12 @@ "isHttpMetadata": false }, { - "$id": "10782", + "$id": "11091", "kind": "property", "name": "id", "doc": "Identifier of the deleted video.", "type": { - "$id": "10783", + "$id": "11092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150435,13 +155274,13 @@ }, "parameters": [ { - "$id": "10784", + "$id": "11093", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to delete.", "type": { - "$id": "10785", + "$id": "11094", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150457,12 +155296,12 @@ "decorators": [] }, { - "$id": "10786", + "$id": "11095", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2491" + "$ref": "2559" }, "location": "Header", "isApiVersion": false, @@ -150476,7 +155315,7 @@ ], "response": { "type": { - "$ref": "10778" + "$ref": "11087" } }, "isOverride": false, @@ -150485,7 +155324,7 @@ "crossLanguageDefinitionId": "OpenAI.DeleteVideo" }, { - "$id": "10787", + "$id": "11096", "kind": "basic", "name": "GetVideo", "accessibility": "public", @@ -150493,7 +155332,7 @@ "doc": "Retrieve a video", "summary": "Retrieve video", "operation": { - "$id": "10788", + "$id": "11097", "name": "GetVideo", "resourceName": "OpenAI", "summary": "Retrieve video", @@ -150501,13 +155340,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10789", + "$id": "11098", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to retrieve.", "type": { - "$id": "10790", + "$id": "11099", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150525,12 +155364,12 @@ "crossLanguageDefinitionId": "OpenAI.GetVideo.video_id" }, { - "$id": "10791", + "$id": "11100", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2495" + "$ref": "2563" }, "isApiVersion": false, "optional": false, @@ -150547,7 +155386,7 @@ 200 ], "bodyType": { - "$ref": "10695" + "$ref": "11004" }, "headers": [], "isErrorResponse": false, @@ -150568,13 +155407,13 @@ }, "parameters": [ { - "$id": "10792", + "$id": "11101", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to retrieve.", "type": { - "$id": "10793", + "$id": "11102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150590,12 +155429,12 @@ "decorators": [] }, { - "$id": "10794", + "$id": "11103", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2495" + "$ref": "2563" }, "location": "Header", "isApiVersion": false, @@ -150609,7 +155448,7 @@ ], "response": { "type": { - "$ref": "10695" + "$ref": "11004" } }, "isOverride": false, @@ -150618,7 +155457,7 @@ "crossLanguageDefinitionId": "OpenAI.GetVideo" }, { - "$id": "10795", + "$id": "11104", "kind": "basic", "name": "DownloadVideo", "accessibility": "public", @@ -150626,7 +155465,7 @@ "doc": "Download video content", "summary": "Retrieve video content", "operation": { - "$id": "10796", + "$id": "11105", "name": "DownloadVideo", "resourceName": "OpenAI", "summary": "Retrieve video content", @@ -150634,13 +155473,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10797", + "$id": "11106", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video whose media to download.", "type": { - "$id": "10798", + "$id": "11107", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150658,13 +155497,13 @@ "crossLanguageDefinitionId": "OpenAI.RetrieveVideoContent.video_id" }, { - "$id": "10799", + "$id": "11108", "kind": "query", "name": "variant", "serializedName": "variant", "doc": "Which downloadable asset to return. Defaults to the MP4 video.", "type": { - "$ref": "1620" + "$ref": "1684" }, "isApiVersion": false, "explode": true, @@ -150675,12 +155514,12 @@ "readOnly": false }, { - "$id": "10800", + "$id": "11109", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "10801", + "$id": "11110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150701,12 +155540,12 @@ 200 ], "bodyType": { - "$id": "10802", + "$id": "11111", "kind": "union", "name": "", "variantTypes": [ { - "$id": "10803", + "$id": "11112", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -150714,7 +155553,7 @@ "decorators": [] }, { - "$id": "10804", + "$id": "11113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150729,14 +155568,14 @@ "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2497" + "$ref": "2565" } }, { "name": "contentType", "nameInResponse": "content-type", "type": { - "$ref": "2499" + "$ref": "2567" } } ], @@ -150760,13 +155599,13 @@ }, "parameters": [ { - "$id": "10805", + "$id": "11114", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video whose media to download.", "type": { - "$id": "10806", + "$id": "11115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150782,13 +155621,13 @@ "decorators": [] }, { - "$id": "10807", + "$id": "11116", "kind": "method", "name": "variant", "serializedName": "variant", "doc": "Which downloadable asset to return. Defaults to the MP4 video.", "type": { - "$ref": "1620" + "$ref": "1684" }, "location": "Query", "isApiVersion": false, @@ -150800,12 +155639,12 @@ "decorators": [] }, { - "$id": "10808", + "$id": "11117", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "10801" + "$ref": "11110" }, "location": "Header", "isApiVersion": false, @@ -150819,7 +155658,7 @@ ], "response": { "type": { - "$ref": "10802" + "$ref": "11111" } }, "isOverride": false, @@ -150828,7 +155667,7 @@ "crossLanguageDefinitionId": "OpenAI.RetrieveVideoContent" }, { - "$id": "10809", + "$id": "11118", "kind": "basic", "name": "CreateVideoRemix", "accessibility": "public", @@ -150836,7 +155675,7 @@ "doc": "Create a video remix", "summary": "Remix video", "operation": { - "$id": "10810", + "$id": "11119", "name": "CreateVideoRemix", "resourceName": "OpenAI", "summary": "Remix video", @@ -150844,13 +155683,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10811", + "$id": "11120", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the completed video to remix.", "type": { - "$id": "10812", + "$id": "11121", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150868,12 +155707,12 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.video_id" }, { - "$id": "10813", + "$id": "11122", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2501" + "$ref": "2569" }, "isApiVersion": false, "optional": false, @@ -150884,12 +155723,12 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.contentType" }, { - "$id": "10814", + "$id": "11123", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2503" + "$ref": "2571" }, "isApiVersion": false, "optional": false, @@ -150900,12 +155739,12 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.accept" }, { - "$id": "10815", + "$id": "11124", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "10816", + "$id": "11125", "kind": "model", "name": "CreateVideoRemixBody", "namespace": "OpenAI", @@ -150917,18 +155756,18 @@ "serializationOptions": {}, "properties": [ { - "$id": "10817", + "$id": "11126", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Updated text prompt that directs the remix generation.", "type": { - "$id": "10818", + "$id": "11127", "kind": "string", "name": "VideoPrompt", "crossLanguageDefinitionId": "OpenAI.VideoPrompt", "baseType": { - "$id": "10819", + "$id": "11128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -150975,7 +155814,7 @@ 200 ], "bodyType": { - "$ref": "10695" + "$ref": "11004" }, "headers": [], "isErrorResponse": false, @@ -150999,13 +155838,13 @@ }, "parameters": [ { - "$id": "10820", + "$id": "11129", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the completed video to remix.", "type": { - "$id": "10821", + "$id": "11130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -151021,12 +155860,12 @@ "decorators": [] }, { - "$id": "10822", + "$id": "11131", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "type": { - "$ref": "2505" + "$ref": "2573" }, "location": "Header", "isApiVersion": false, @@ -151038,12 +155877,12 @@ "decorators": [] }, { - "$id": "10823", + "$id": "11132", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "10816" + "$ref": "11125" }, "location": "Body", "isApiVersion": false, @@ -151055,12 +155894,12 @@ "decorators": [] }, { - "$id": "10824", + "$id": "11133", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "2503" + "$ref": "2571" }, "location": "Header", "isApiVersion": false, @@ -151074,7 +155913,7 @@ ], "response": { "type": { - "$ref": "10695" + "$ref": "11004" } }, "isOverride": false, @@ -151085,13 +155924,13 @@ ], "parameters": [ { - "$id": "10825", + "$id": "11134", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10826", + "$id": "11135", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -151102,7 +155941,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10827", + "$id": "11136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -151120,7 +155959,7 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8911" + "$ref": "9220" }, "isMultiServiceClient": false }