Skip to content

Commit

Permalink
docs: remove beta tag for AI extract endpoints (box/box-openapi#511) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build authored Mar 4, 2025
1 parent 9c61e02 commit 83fa6a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "8a9cc1d", "specHash": "f20ba3f", "version": "1.8.0" }
{ "engineHash": "5c674a3", "specHash": "137a375", "version": "1.8.0" }
6 changes: 1 addition & 5 deletions Box.Sdk.Gen/Schemas/AiAsk/AiAsk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace Box.Sdk.Gen.Schemas {
public class AiAsk : ISerializable {
/// <summary>
/// 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.
/// </summary>
[JsonPropertyName("mode")]
[JsonConverter(typeof(StringEnumConverter<AiAskModeField>))]
Expand All @@ -23,10 +23,6 @@ public class AiAsk : ISerializable {

/// <summary>
/// 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.
/// </summary>
[JsonPropertyName("items")]
public IReadOnlyList<AiItemAsk> Items { get; }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img src="https://github.com/box/sdks/blob/master/images/box-dev-logo.png" alt= “box-dev-logo” width="30%" height="50%">
</p>

# 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)
Expand All @@ -28,7 +28,7 @@ Embrace the new generation of Box SDKs and unlock the full potential of the Box
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [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)
Expand Down

0 comments on commit 83fa6a1

Please sign in to comment.