From 83fa6a1d01fe0de849064767c7a6c6b9758affea Mon Sep 17 00:00:00 2001 From: box-sdk-build <94016436+box-sdk-build@users.noreply.github.com> Date: Tue, 4 Mar 2025 17:03:51 +0100 Subject: [PATCH] docs: remove beta tag for AI extract endpoints (box/box-openapi#511) (#414) --- .codegen.json | 2 +- Box.Sdk.Gen/Schemas/AiAsk/AiAsk.cs | 6 +----- README.md | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.codegen.json b/.codegen.json index 4b41120a..1b864815 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "8a9cc1d", "specHash": "f20ba3f", "version": "1.8.0" } +{ "engineHash": "5c674a3", "specHash": "137a375", "version": "1.8.0" } diff --git a/Box.Sdk.Gen/Schemas/AiAsk/AiAsk.cs b/Box.Sdk.Gen/Schemas/AiAsk/AiAsk.cs index 76a777cd..42350d0f 100644 --- a/Box.Sdk.Gen/Schemas/AiAsk/AiAsk.cs +++ b/Box.Sdk.Gen/Schemas/AiAsk/AiAsk.cs @@ -9,7 +9,7 @@ namespace Box.Sdk.Gen.Schemas { public class AiAsk : ISerializable { /// - /// The mode specifies if this request is for a single or multiple items. If you select `single_item_qa` the `items` array can have one element only. Selecting `multiple_item_qa` allows you to provide up to 25 items. + /// Box AI handles text documents with text representations up to 1MB in size, or a maximum of 25 files, whichever comes first. If the text file size exceeds 1MB, the first 1MB of text representation will be processed. Box AI handles image documents with a resolution of 1024 x 1024 pixels, with a maximum of 5 images or 5 pages for multi-page images. If the number of image or image pages exceeds 5, the first 5 images or pages will be processed. If you set mode parameter to `single_item_qa`, the items array can have one element only. Currently Box AI does not support multi-modal requests. If both images and text are sent Box AI will only process the text. /// [JsonPropertyName("mode")] [JsonConverter(typeof(StringEnumConverter))] @@ -23,10 +23,6 @@ public class AiAsk : ISerializable { /// /// The items to be processed by the LLM, often files. - /// - /// **Note**: Box AI handles documents with text representations up to 1MB in size, or a maximum of 25 files, whichever comes first. - /// If the file size exceeds 1MB, the first 1MB of text representation will be processed. - /// If you set `mode` parameter to `single_item_qa`, the `items` array can have one element only. /// [JsonPropertyName("items")] public IReadOnlyList Items { get; } diff --git a/README.md b/README.md index 6925c05d..59ad5ea1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ “box-dev-logo”

-# Box Dotnet SDK GENERATED +# Box Dotnet SDK Gen [![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges) ![build](https://github.com/box/box-dotnet-sdk-gen/actions/workflows/build.yml/badge.svg) @@ -28,7 +28,7 @@ Embrace the new generation of Box SDKs and unlock the full potential of the Box -- [Box Dotnet SDK GENERATED](#box-dotnet-sdk-generated) +- [Box Dotnet SDK Gen](#box-dotnet-sdk-gen) - [Table of contents](#table-of-contents) - [Installing](#installing) - [BouncyCastle runtime integrity check](#bouncycastle-runtime-integrity-check)