Skip to content

Commit 975a504

Browse files
author
stlc-bot
committed
docs: update Extract versions and pricing (#28128)
Stainless-Generated-From: a29f344a75f9896f74f5b849d4b8372e63c566c0
1 parent 05ac265 commit 975a504

2 files changed

Lines changed: 12 additions & 16 deletions

File tree

‎llama-cloud-core/src/main/kotlin/ai/llamaindex/llamacloud/models/configurations/ExtractV2Parameters.kt‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,9 @@ private constructor(
232232
fun tier(): Optional<Tier> = tier.getOptional("tier")
233233

234234
/**
235-
* Use 'latest' for the latest release for the selected tier or a date string (YYYY-MM-DD
236-
* format) to pin to the nearest release at or before that date. Job responses always report the
237-
* concrete resolved version the job runs, fixed at job creation; saved configurations keep the
238-
* value as provided.
235+
* Extract version name, such as '2.5'. Use 'latest' for the newest compatible release for the
236+
* selected tier. Dates (YYYY-MM-DD) are also supported, which will use the latest version on or
237+
* before the specified date.
239238
*
240239
* @throws LlamaCloudInvalidDataException if the JSON field has an unexpected type (e.g. if the
241240
* server responded with an unexpected value).
@@ -688,10 +687,9 @@ private constructor(
688687
fun tier(tier: JsonField<Tier>) = apply { this.tier = tier }
689688

690689
/**
691-
* Use 'latest' for the latest release for the selected tier or a date string (YYYY-MM-DD
692-
* format) to pin to the nearest release at or before that date. Job responses always report
693-
* the concrete resolved version the job runs, fixed at job creation; saved configurations
694-
* keep the value as provided.
690+
* Extract version name, such as '2.5'. Use 'latest' for the newest compatible release for
691+
* the selected tier. Dates (YYYY-MM-DD) are also supported, which will use the latest
692+
* version on or before the specified date.
695693
*/
696694
fun version(version: String) = version(JsonField.of(version))
697695

‎llama-cloud-core/src/main/kotlin/ai/llamaindex/llamacloud/models/extract/ExtractConfiguration.kt‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,9 @@ private constructor(
216216
fun tier(): Optional<Tier> = tier.getOptional("tier")
217217

218218
/**
219-
* Use 'latest' for the latest release for the selected tier or a date string (YYYY-MM-DD
220-
* format) to pin to the nearest release at or before that date. Job responses always report the
221-
* concrete resolved version the job runs, fixed at job creation; saved configurations keep the
222-
* value as provided.
219+
* Extract version name, such as '2.5'. Use 'latest' for the newest compatible release for the
220+
* selected tier. Dates (YYYY-MM-DD) are also supported, which will use the latest version on or
221+
* before the specified date.
223222
*
224223
* @throws LlamaCloudInvalidDataException if the JSON field has an unexpected type (e.g. if the
225224
* server responded with an unexpected value).
@@ -656,10 +655,9 @@ private constructor(
656655
fun tier(tier: JsonField<Tier>) = apply { this.tier = tier }
657656

658657
/**
659-
* Use 'latest' for the latest release for the selected tier or a date string (YYYY-MM-DD
660-
* format) to pin to the nearest release at or before that date. Job responses always report
661-
* the concrete resolved version the job runs, fixed at job creation; saved configurations
662-
* keep the value as provided.
658+
* Extract version name, such as '2.5'. Use 'latest' for the newest compatible release for
659+
* the selected tier. Dates (YYYY-MM-DD) are also supported, which will use the latest
660+
* version on or before the specified date.
663661
*/
664662
fun version(version: String) = version(JsonField.of(version))
665663

0 commit comments

Comments
 (0)