@functional-systems/lambdadb 0.8.0 → 0.8.1-dev.38730896042001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +23 -3
  2. package/README.md +21 -10
  3. package/USAGE.md +1 -1
  4. package/dist/commonjs/client.d.ts +6 -6
  5. package/dist/commonjs/client.js +4 -4
  6. package/dist/commonjs/funcs/collectionsDocsBulkUpsert.d.ts +1 -1
  7. package/dist/commonjs/funcs/collectionsDocsBulkUpsert.js +1 -1
  8. package/dist/commonjs/funcs/collectionsDocsGetBulkUpsert.d.ts +1 -1
  9. package/dist/commonjs/funcs/collectionsDocsGetBulkUpsert.js +1 -1
  10. package/dist/commonjs/lib/config.d.ts +2 -2
  11. package/dist/commonjs/lib/config.js +2 -2
  12. package/dist/commonjs/lib/config.js.map +1 -1
  13. package/dist/commonjs/models/indexconfigsunion.d.ts +1 -1
  14. package/dist/commonjs/models/operations/querycollection.d.ts +5 -5
  15. package/dist/commonjs/models/operations/querycollection.d.ts.map +1 -1
  16. package/dist/commonjs/models/operations/querycollection.js +2 -2
  17. package/dist/commonjs/models/operations/querycollection.js.map +1 -1
  18. package/dist/commonjs/models/operations/updatedocs.d.ts +1 -1
  19. package/dist/commonjs/models/operations/upsertdocs.d.ts +1 -1
  20. package/dist/commonjs/models/rerank.d.ts +3 -3
  21. package/dist/commonjs/models/rerank.d.ts.map +1 -1
  22. package/dist/commonjs/models/rerank.js +2 -2
  23. package/dist/commonjs/models/rerank.js.map +1 -1
  24. package/dist/commonjs/sdk/docs.d.ts +2 -2
  25. package/dist/commonjs/sdk/docs.js +2 -2
  26. package/dist/esm/client.d.ts +6 -6
  27. package/dist/esm/client.js +4 -4
  28. package/dist/esm/funcs/collectionsDocsBulkUpsert.d.ts +1 -1
  29. package/dist/esm/funcs/collectionsDocsBulkUpsert.js +1 -1
  30. package/dist/esm/funcs/collectionsDocsGetBulkUpsert.d.ts +1 -1
  31. package/dist/esm/funcs/collectionsDocsGetBulkUpsert.js +1 -1
  32. package/dist/esm/lib/config.d.ts +2 -2
  33. package/dist/esm/lib/config.js +2 -2
  34. package/dist/esm/lib/config.js.map +1 -1
  35. package/dist/esm/models/indexconfigsunion.d.ts +1 -1
  36. package/dist/esm/models/operations/querycollection.d.ts +5 -5
  37. package/dist/esm/models/operations/querycollection.d.ts.map +1 -1
  38. package/dist/esm/models/operations/querycollection.js +2 -2
  39. package/dist/esm/models/operations/querycollection.js.map +1 -1
  40. package/dist/esm/models/operations/updatedocs.d.ts +1 -1
  41. package/dist/esm/models/operations/upsertdocs.d.ts +1 -1
  42. package/dist/esm/models/rerank.d.ts +3 -3
  43. package/dist/esm/models/rerank.d.ts.map +1 -1
  44. package/dist/esm/models/rerank.js +2 -2
  45. package/dist/esm/models/rerank.js.map +1 -1
  46. package/dist/esm/sdk/docs.d.ts +2 -2
  47. package/dist/esm/sdk/docs.js +2 -2
  48. package/jsr.json +4 -6
  49. package/package.json +3 -2
  50. package/src/client.ts +6 -6
  51. package/src/funcs/collectionsDocsBulkUpsert.ts +1 -1
  52. package/src/funcs/collectionsDocsGetBulkUpsert.ts +1 -1
  53. package/src/lib/config.ts +2 -2
  54. package/src/models/indexconfigsunion.ts +1 -1
  55. package/src/models/operations/querycollection.ts +7 -7
  56. package/src/models/operations/updatedocs.ts +1 -1
  57. package/src/models/operations/upsertdocs.ts +1 -1
  58. package/src/models/rerank.ts +4 -4
  59. package/src/sdk/docs.ts +2 -2
package/CHANGELOG.md CHANGED
@@ -1,9 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ - Raised native reranking output and candidate limits from 100 to 1000, aligned
6
+ with backend `963d79e8866833f1deb1393ed00a9825d866c853`. Query `size`, dense
7
+ `knn.k`, and Bayesian `candidateSize` also support up to 1000 on that contract;
8
+ their server-side validation and request defaults remain unchanged.
9
+ - Documented the server's 64 MiB query response and hydration budgets, which
10
+ return HTTP 400 without partial results. Facet bucket, Fetch, and List count
11
+ limits remain unchanged. Source alignment does not establish deployment or
12
+ package publication.
13
+
14
+ ## 0.8.1
15
+
16
+ - Standardized feature terminology as native embedding and native reranking in
17
+ documentation, examples, SDK comments, and internal test names.
18
+ - Moved the reranking guide to `docs/native-reranking.md`, retaining the old URL
19
+ and section anchors as compatibility links.
20
+ - Preserved public symbols, wire fields, configuration keys, legacy error strings,
21
+ and runtime behavior. No API, dependency, default, or limit changes.
22
+
3
23
  ## 0.8.0
4
24
 
5
25
  - Added opt-in Bayesian hybrid search with two unboosted subqueries, optional
6
- public helper types, and Bayesian scoring support for managed reranking.
26
+ public helper types, and Bayesian scoring support for native reranking.
7
27
  Typed subqueries reject nested Bayesian/RRF/Min-Max/L2 fusion and explicit
8
28
  boosts, including on Boolean descendants. Free-form queries and server error
9
29
  classification remain unchanged.
@@ -31,13 +51,13 @@
31
51
 
32
52
  ## 0.7.0
33
53
 
34
- - Added optional per-query managed reranking for `typesafe` / `jev-1.13.0`,
54
+ - Added optional per-query native reranking for `typesafe` / `jev-1.13.0`,
35
55
  including nullable defaults, custom criteria, strict option/bounds validation,
36
56
  envelope `retrievalScore`, and rerank status metadata. Existing requests,
37
57
  search scores, candidate `knn.k`, facets and downloads retain their behavior.
38
58
  Applied scores preserve zero and double precision without client reordering.
39
59
  Contract pinned to backend `a5e06d49be06d95dc5f4046aeecaf51f8a7733c0`;
40
- see [Managed reranking](docs/managed-reranking.md). Source support does not
60
+ see [Native reranking](docs/native-reranking.md). Source support does not
41
61
  establish deployment or a package release.
42
62
  Undefined optional composite query members are omitted during scoring-query
43
63
  validation consistently with JSON serialization; present composites retain
package/README.md CHANGED
@@ -106,7 +106,7 @@ async function run() {
106
106
  await collection.docs.list({ size: 20 });
107
107
  await collection.docs.upsert({ docs: [{ id: "1", text: "hello" }] });
108
108
  // For large document sets (up to 200MB), use bulkUpsertDocs for a single-call flow.
109
- // Bulk upsert is not supported for collections with managed embedding vector fields.
109
+ // Bulk upsert is not supported for collections with native embedding vector fields.
110
110
  // await collection.docs.bulkUpsertDocs({ docs: largeDocArray });
111
111
  }
112
112
 
@@ -204,13 +204,24 @@ ref that does not exist fails with `ResourceNotFoundError` (HTTP `404`).
204
204
  The 49 fixed text analyzer presets are documented in [Analyzer](docs/models/analyzer.md)
205
205
  and use a separate [pinned source contract](docs/OPENAPI_UPDATE.md#openapi-spec).
206
206
 
207
- ### Managed reranking
207
+ ### Query limits
208
+
209
+ Query `size`, dense `knn.k`, Bayesian `candidateSize`, and
210
+ `rerank.candidateSize` support up to 1000 on the
211
+ [pinned backend contract](docs/OPENAPI_UPDATE.md#updating-query-limits).
212
+ The server enforces a 64 MiB uncompressed query response budget and a separate
213
+ hydration budget, returning HTTP 400 without partial results when exceeded.
214
+ See [query size and byte limits](docs/native-reranking.md#query-size-and-byte-limits).
215
+ Facet buckets, Fetch, and List retain their existing 100-item limits.
216
+ Source alignment does not establish deployment to your endpoint.
217
+
218
+ ### Native reranking
208
219
 
209
220
  Pass an optional per-query `rerank` object to `query` or `querySafe` with
210
221
  `provider: "typesafe"`, `model: "jev-1.13.0"`, nonblank `queryText` and stored
211
222
  scalar text `fields`. The server manages credentials. Optional `criteria` selects
212
223
  2–10 ordered custom descriptions; omission/null uses the default criteria.
213
- See [Managed reranking](docs/managed-reranking.md) for default/custom examples,
224
+ See [Native reranking](docs/native-reranking.md) for default/custom examples,
214
225
  candidate limits, response fields and eligible fallback behavior. An applied
215
226
  `score` is the final evaluation score in [0,1], not a relevance probability;
216
227
  `retrievalScore` retains the original search score outside `doc`. Inspect
@@ -338,9 +349,9 @@ in-process fake LambdaDB transport and do not require credentials:
338
349
  npm run test:external:qdrant
339
350
  ```
340
351
 
341
- ### Managed embeddings
352
+ ### Native embeddings
342
353
 
343
- Managed embedding vector fields generate vectors from a configured source text field. Create the collection with a text field and a managed vector field, then query that vector field with `knn.queryText`.
354
+ Native embedding vector fields generate vectors from a configured source text field. Create the collection with a text field and a native embedding vector field, then query that vector field with `knn.queryText`.
344
355
 
345
356
  ```typescript
346
357
  import { LambdaDBClient } from "@functional-systems/lambdadb";
@@ -429,9 +440,9 @@ run();
429
440
 
430
441
  * [listDocs](docs/sdks/docs/README.md#listdocs) - List documents in a collection.
431
442
  * [upsert](docs/sdks/docs/README.md#upsert) - Upsert documents into a collection. Note that the maximum supported payload size is 6MB.
432
- * [bulkUpsertDocs](docs/sdks/docs/README.md#bulkupsertdocs) - Bulk upsert documents in one call (up to 200MB); use this for best DX when you have a document list. Not supported for collections with managed embedding vector fields.
433
- * [getBulkUpsert](docs/sdks/docs/README.md#getbulkupsert) - Request required info to upload documents. Bulk upsert is not supported for collections with managed embedding vector fields.
434
- * [bulkUpsert](docs/sdks/docs/README.md#bulkupsert) - Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with managed embedding vector fields.
443
+ * [bulkUpsertDocs](docs/sdks/docs/README.md#bulkupsertdocs) - Bulk upsert documents in one call (up to 200MB); use this for best DX when you have a document list. Not supported for collections with native embedding vector fields.
444
+ * [getBulkUpsert](docs/sdks/docs/README.md#getbulkupsert) - Request required info to upload documents. Bulk upsert is not supported for collections with native embedding vector fields.
445
+ * [bulkUpsert](docs/sdks/docs/README.md#bulkupsert) - Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with native embedding vector fields.
435
446
  * [update](docs/sdks/docs/README.md#update) - Update documents in a collection. Note that the maximum supported payload size is 6MB.
436
447
  * [delete](docs/sdks/docs/README.md#delete) - Delete documents by exactly one of document IDs or query filter.
437
448
  * [fetch](docs/sdks/docs/README.md#fetch) - Lookup and return documents by document IDs from a collection.
@@ -470,10 +481,10 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
470
481
 
471
482
  - [`collectionsCreate`](docs/sdks/collections/README.md#create) - Create a collection.
472
483
  - [`collectionsDelete`](docs/sdks/collections/README.md#delete) - Delete an existing collection.
473
- - [`collectionsDocsBulkUpsert`](docs/sdks/docs/README.md#bulkupsert) - Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with managed embedding vector fields.
484
+ - [`collectionsDocsBulkUpsert`](docs/sdks/docs/README.md#bulkupsert) - Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with native embedding vector fields.
474
485
  - [`collectionsDocsDelete`](docs/sdks/docs/README.md#delete) - Delete documents by exactly one of document IDs or query filter.
475
486
  - [`collectionsDocsFetch`](docs/sdks/docs/README.md#fetch) - Lookup and return documents by document IDs from a collection.
476
- - [`collectionsDocsGetBulkUpsert`](docs/sdks/docs/README.md#getbulkupsert) - Request required info to upload documents. Bulk upsert is not supported for collections with managed embedding vector fields.
487
+ - [`collectionsDocsGetBulkUpsert`](docs/sdks/docs/README.md#getbulkupsert) - Request required info to upload documents. Bulk upsert is not supported for collections with native embedding vector fields.
477
488
  - [`collectionsDocsListDocs`](docs/sdks/docs/README.md#listdocs) - List documents in a collection.
478
489
  - [`collectionsDocsUpdate`](docs/sdks/docs/README.md#update) - Update documents in a collection. Note that the maximum supported payload size is 6MB.
479
490
  - [`collectionsDocsUpsert`](docs/sdks/docs/README.md#upsert) - Upsert documents into a collection. Note that the maximum supported payload size is 6MB.
package/USAGE.md CHANGED
@@ -19,7 +19,7 @@ run();
19
19
  ```
20
20
  <!-- End SDK Example Usage [usage] -->
21
21
 
22
- For opt-in lexical/vector fusion and managed reranking, see
22
+ For opt-in lexical/vector fusion and native reranking, see
23
23
  [Bayesian hybrid search](docs/bayesian-search.md).
24
24
 
25
25
  For automatic document/query embeddings using the embedding-only vector configuration,
@@ -221,32 +221,32 @@ export declare class CollectionDocs {
221
221
  */
222
222
  fetchSafe(body: FetchDocsInput, options?: RequestOptions): Promise<Result<FetchDocsResponse, FetchDocsError>>;
223
223
  /**
224
- * Get presigned URL and metadata for bulk upload (up to 200MB). Not supported for collections with managed embedding vector fields.
224
+ * Get presigned URL and metadata for bulk upload (up to 200MB). Not supported for collections with native embedding vector fields.
225
225
  */
226
226
  getBulkUpsert(options?: RequestOptions): Promise<GetBulkUpsertDocsResponse>;
227
227
  getBulkUpsert(input: GetBulkUpsertInput, options?: RequestOptions): Promise<GetBulkUpsertDocsResponse>;
228
228
  /**
229
- * Get presigned URL and metadata for bulk upload (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
229
+ * Get presigned URL and metadata for bulk upload (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
230
230
  */
231
231
  getBulkUpsertSafe(options?: RequestOptions): Promise<Result<GetBulkUpsertDocsResponse, GetBulkUpsertDocsError>>;
232
232
  getBulkUpsertSafe(input: GetBulkUpsertInput, options?: RequestOptions): Promise<Result<GetBulkUpsertDocsResponse, GetBulkUpsertDocsError>>;
233
233
  /**
234
- * Trigger bulk upsert with an object key from getBulkUpsert(). Not supported for collections with managed embedding vector fields.
234
+ * Trigger bulk upsert with an object key from getBulkUpsert(). Not supported for collections with native embedding vector fields.
235
235
  */
236
236
  bulkUpsert(body: BulkUpsertInput, options?: RequestOptions): Promise<MessageResponse>;
237
237
  /**
238
- * Trigger bulk upsert (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
238
+ * Trigger bulk upsert (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
239
239
  */
240
240
  bulkUpsertSafe(body: BulkUpsertInput, options?: RequestOptions): Promise<Result<MessageResponse, BulkUpsertDocsError>>;
241
241
  /**
242
- * Bulk upsert documents in one call (up to 200MB). Not supported for collections with managed embedding vector fields. Abstracts getBulkUpsert,
242
+ * Bulk upsert documents in one call (up to 200MB). Not supported for collections with native embedding vector fields. Abstracts getBulkUpsert,
243
243
  * S3 upload via presigned URL, and bulkUpsert. Use this for better DX when
244
244
  * you have a document list; use getBulkUpsert + bulkUpsert for low-level control. The create-only
245
245
  * signed PUT is not retried, and a failed upload is not finalized.
246
246
  */
247
247
  bulkUpsertDocs(body: UpsertDocsInput, options?: RequestOptions): Promise<MessageResponse>;
248
248
  /**
249
- * Bulk upsert documents in one call (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
249
+ * Bulk upsert documents in one call (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
250
250
  * May return Error for local failures (serialization, payload size, upload). API errors use GetBulkUpsertDocsError or BulkUpsertDocsError.
251
251
  */
252
252
  bulkUpsertDocsSafe(body: UpsertDocsInput, options?: RequestOptions): Promise<Result<MessageResponse, GetBulkUpsertDocsError | BulkUpsertDocsError | Error>>;
@@ -561,7 +561,7 @@ class CollectionDocs {
561
561
  return await (0, collectionsDocsGetBulkUpsert_js_1.collectionsDocsGetBulkUpsert)(this.client, { collectionName: this.collectionName, branch: input.branch }, requestOptions);
562
562
  }
563
563
  /**
564
- * Trigger bulk upsert with an object key from getBulkUpsert(). Not supported for collections with managed embedding vector fields.
564
+ * Trigger bulk upsert with an object key from getBulkUpsert(). Not supported for collections with native embedding vector fields.
565
565
  */
566
566
  async bulkUpsert(body, options) {
567
567
  return (0, fp_js_1.unwrapAsync)((0, collectionsDocsBulkUpsert_js_1.collectionsDocsBulkUpsert)(this.client, {
@@ -570,13 +570,13 @@ class CollectionDocs {
570
570
  }, options));
571
571
  }
572
572
  /**
573
- * Trigger bulk upsert (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
573
+ * Trigger bulk upsert (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
574
574
  */
575
575
  async bulkUpsertSafe(body, options) {
576
576
  return await (0, collectionsDocsBulkUpsert_js_1.collectionsDocsBulkUpsert)(this.client, { collectionName: this.collectionName, requestBody: body }, options);
577
577
  }
578
578
  /**
579
- * Bulk upsert documents in one call (up to 200MB). Not supported for collections with managed embedding vector fields. Abstracts getBulkUpsert,
579
+ * Bulk upsert documents in one call (up to 200MB). Not supported for collections with native embedding vector fields. Abstracts getBulkUpsert,
580
580
  * S3 upload via presigned URL, and bulkUpsert. Use this for better DX when
581
581
  * you have a document list; use getBulkUpsert + bulkUpsert for low-level control. The create-only
582
582
  * signed PUT is not retried, and a failed upload is not finalized.
@@ -607,7 +607,7 @@ class CollectionDocs {
607
607
  return this.bulkUpsert({ objectKey, type, branch: body.branch }, options);
608
608
  }
609
609
  /**
610
- * Bulk upsert documents in one call (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
610
+ * Bulk upsert documents in one call (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
611
611
  * May return Error for local failures (serialization, payload size, upload). API errors use GetBulkUpsertDocsError or BulkUpsertDocsError.
612
612
  */
613
613
  async bulkUpsertDocsSafe(body, options) {
@@ -10,7 +10,7 @@ import * as operations from "../models/operations/index.js";
10
10
  import { APIPromise } from "../types/async.js";
11
11
  import { Result } from "../types/fp.js";
12
12
  /**
13
- * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with managed embedding vector fields.
13
+ * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with native embedding vector fields.
14
14
  */
15
15
  export declare function collectionsDocsBulkUpsert(client: LambdaDBCore, request: operations.BulkUpsertDocsRequest, options?: RequestOptions): APIPromise<Result<models.MessageResponse, errors.BadRequestError | errors.UnauthenticatedError | errors.ResourceNotFoundError | errors.TooManyRequestsError | errors.InternalServerError | errors.PayloadTooLargeError | errors.BadGatewayError | errors.ServiceUnavailableError | errors.GatewayTimeoutError | LambdaDBError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
16
16
  //# sourceMappingURL=collectionsDocsBulkUpsert.d.ts.map
@@ -48,7 +48,7 @@ const models = __importStar(require("../models/index.js"));
48
48
  const operations = __importStar(require("../models/operations/index.js"));
49
49
  const async_js_1 = require("../types/async.js");
50
50
  /**
51
- * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with managed embedding vector fields.
51
+ * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with native embedding vector fields.
52
52
  */
53
53
  function collectionsDocsBulkUpsert(client, request, options) {
54
54
  return new async_js_1.APIPromise($do(client, request, options));
@@ -9,7 +9,7 @@ import * as operations from "../models/operations/index.js";
9
9
  import { APIPromise } from "../types/async.js";
10
10
  import { Result } from "../types/fp.js";
11
11
  /**
12
- * Request required info to upload documents. Bulk upsert is not supported for collections with managed embedding vector fields.
12
+ * Request required info to upload documents. Bulk upsert is not supported for collections with native embedding vector fields.
13
13
  */
14
14
  export declare function collectionsDocsGetBulkUpsert(client: LambdaDBCore, request: operations.GetBulkUpsertDocsRequest, options?: RequestOptions): APIPromise<Result<operations.GetBulkUpsertDocsResponse, errors.BadRequestError | errors.UnauthenticatedError | errors.ResourceNotFoundError | errors.TooManyRequestsError | errors.InternalServerError | errors.PayloadTooLargeError | errors.BadGatewayError | errors.ServiceUnavailableError | errors.GatewayTimeoutError | LambdaDBError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
15
15
  //# sourceMappingURL=collectionsDocsGetBulkUpsert.d.ts.map
@@ -47,7 +47,7 @@ const errors = __importStar(require("../models/errors/index.js"));
47
47
  const operations = __importStar(require("../models/operations/index.js"));
48
48
  const async_js_1 = require("../types/async.js");
49
49
  /**
50
- * Request required info to upload documents. Bulk upsert is not supported for collections with managed embedding vector fields.
50
+ * Request required info to upload documents. Bulk upsert is not supported for collections with native embedding vector fields.
51
51
  */
52
52
  function collectionsDocsGetBulkUpsert(client, request, options) {
53
53
  return new async_js_1.APIPromise($do(client, request, options));
@@ -37,8 +37,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
37
37
  export declare const SDK_METADATA: {
38
38
  readonly language: "typescript";
39
39
  readonly openapiDocVersion: "1.1.1";
40
- readonly sdkVersion: "0.8.0";
40
+ readonly sdkVersion: "0.8.1-dev.38730896042001";
41
41
  readonly genVersion: "2.798.0";
42
- readonly userAgent: "speakeasy-sdk/typescript 0.8.0 2.798.0 1.1.1 @functional-systems/lambdadb";
42
+ readonly userAgent: "speakeasy-sdk/typescript 0.8.1-dev.38730896042001 2.798.0 1.1.1 @functional-systems/lambdadb";
43
43
  };
44
44
  //# sourceMappingURL=config.d.ts.map
@@ -37,8 +37,8 @@ function serverURLFromOptions(options) {
37
37
  exports.SDK_METADATA = {
38
38
  language: "typescript",
39
39
  openapiDocVersion: "1.1.1",
40
- sdkVersion: "0.8.0",
40
+ sdkVersion: "0.8.1-dev.38730896042001",
41
41
  genVersion: "2.798.0",
42
- userAgent: "speakeasy-sdk/typescript 0.8.0 2.798.0 1.1.1 @functional-systems/lambdadb",
42
+ userAgent: "speakeasy-sdk/typescript 0.8.1-dev.38730896042001 2.798.0 1.1.1 @functional-systems/lambdadb",
43
43
  };
44
44
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AA+CH,oDAqBC;AA/DD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB;;OAEG;IACH,uBAAuB;CACf,CAAC;AAgCX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,YAAY,GAAa;QAC7B;YACE,aAAa,EAAE,OAAO,CAAC,WAAW,IAAI,mCAAmC;SAC1E;KACF,CAAC;IACF,IAAI,MAAM,GAAW,EAAE,CAAC;IAExB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,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AAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,0BAA0B;IACtC,UAAU,EAAE,SAAS;IACrB,SAAS,EACP,8FAA8F;CACxF,CAAC"}
@@ -86,7 +86,7 @@ export type IndexConfigsManagedEmbeddingVector = {
86
86
  dimensions?: never;
87
87
  similarity?: never;
88
88
  /**
89
- * Managed embedding vector field.
89
+ * Legacy flag for a native embedding vector field.
90
90
  */
91
91
  managedEmbedding: true;
92
92
  embedding: EmbeddingConfig;
@@ -15,20 +15,20 @@ export type FacetResult = {
15
15
  };
16
16
  export type QueryCollectionRequestBody = {
17
17
  /**
18
- * Number of documents to return. Note that the maximum number of documents is 100.
18
+ * Number of documents to return. The server supports up to 1000 documents.
19
19
  */
20
20
  size?: number | undefined;
21
- /** Explicit Bayesian candidate budget without rerank. Use rerank.candidateSize with rerank instead. */
21
+ /** Explicit Bayesian candidate budget without rerank: size <= candidateSize <= 1000. Use rerank.candidateSize with rerank instead. */
22
22
  candidateSize?: number | undefined;
23
23
  /**
24
24
  * Query object. BayesianQuery provides an optional typed top-level hybrid query.
25
- * For managed embedding vector fields, use knn.queryText. For unmanaged vector fields, use knn.queryVector.
25
+ * For native embedding vector fields, use knn.queryText. For unmanaged vector fields, use knn.queryVector.
26
26
  */
27
27
  query?: {
28
28
  [k: string]: any;
29
29
  } | undefined;
30
30
  facets?: Record<string, FacetRequest> | undefined;
31
- /** Optional per-query managed reranking. Omitted or null preserves retrieval behavior. */
31
+ /** Optional per-query native reranking. Omitted or null preserves retrieval behavior. */
32
32
  rerank?: models.RerankConfig | null | undefined;
33
33
  /**
34
34
  * Overlay eligible pending writes on a directly selected Branch. Tag and Alias reads reject true, pending bulk imports are excluded, and an oversized pending overlay can return HTTP 429.
@@ -114,7 +114,7 @@ export type QueryCollectionRequestBody$Outbound = {
114
114
  [k: string]: any;
115
115
  } | undefined;
116
116
  facets?: Record<string, FacetRequest> | undefined;
117
- /** Optional per-query managed reranking. Omitted or null preserves retrieval behavior. */
117
+ /** Optional per-query native reranking. Omitted or null preserves retrieval behavior. */
118
118
  rerank?: models.RerankConfig | null | undefined;
119
119
  consistentRead: boolean;
120
120
  includeVectors: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"querycollection.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/querycollection.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAGtC,MAAM,MAAM,YAAY,GAAG;IACzB,wFAAwF;IACxF,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAClC,CAAC;AACF,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC3D,MAAM,MAAM,WAAW,GAAG;IAAE,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC;AAE1D,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,uGAAuG;IACvG,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;;OAGG;IACH,KAAK,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,GAAG,SAAS,CAAC;IAClD,0FAA0F;IAC1F,MAAM,CAAC,EAAE,MAA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kBAAkB,CAAC,CAM9D"}
@@ -67,10 +67,10 @@ exports.QueryCollectionRequestBody$outboundSchema = z.object({
67
67
  if (value.rerank != null) {
68
68
  const size = value.size ?? 10;
69
69
  const candidateSize = value.rerank.candidateSize ?? Math.max(50, size);
70
- if (size < 1 || size > 100 || candidateSize < size) {
70
+ if (size < 1 || size > 1000 || candidateSize < size) {
71
71
  context.addIssue({
72
72
  code: z.ZodIssueCode.custom,
73
- message: "rerank requires 1 <= size <= candidateSize <= 100",
73
+ message: "rerank requires 1 <= size <= candidateSize <= 1000",
74
74
  path: ["rerank", "candidateSize"],
75
75
  });
76
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"querycollection.js","sourceRoot":"","sources":["../../../../src/models/operations/querycollection.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2LH,4EAMC;AAsBD,oEAMC;AAcD,gEAQC;AAoBD,0EAQC;AA7QD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAkE;AAGlE,oDAAsC;AACtC,4CAAqD;AAoHrD,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;QACxB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;KAC7D,CAAC,CAAC,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,4BAAe,EAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;QACxC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;KAC3E,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;CAChB,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod/v3";
2
2
  export type UpdateDocsRequestBody = {
3
3
  /**
4
- * A list of documents to update. Each document must contain 'id' field to be updated. For managed embedding vector fields, omit the managed vector field and update only the configured source text field.
4
+ * A list of documents to update. Each document must contain 'id' field to be updated. For native embedding vector fields, omit the native embedding vector field and update only the configured source text field.
5
5
  */
6
6
  docs: Array<{
7
7
  [k: string]: any;
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod/v3";
2
2
  export type UpsertDocsRequestBody = {
3
3
  /**
4
- * A list of documents to upsert. For managed embedding vector fields, omit the managed vector field and provide only the configured source text field.
4
+ * A list of documents to upsert. For native embedding vector fields, omit the native embedding vector field and provide only the configured source text field.
5
5
  */
6
6
  docs: Array<{
7
7
  [k: string]: any;
@@ -1,6 +1,6 @@
1
- /** Managed reranking DTOs, maintained manually following docs/OPENAPI_UPDATE.md. */
1
+ /** Native reranking DTOs, maintained manually following docs/OPENAPI_UPDATE.md. */
2
2
  import * as z from "zod/v3";
3
- /** Per-query fixed managed model; credentials are managed by the server. */
3
+ /** Per-query fixed native reranking model; the server supplies provider credentials. */
4
4
  export type RerankConfig = {
5
5
  provider: "typesafe";
6
6
  model: "jev-1.13.0";
@@ -8,7 +8,7 @@ export type RerankConfig = {
8
8
  queryText: string;
9
9
  /** 1–8 unique stored scalar text paths, in model input order. */
10
10
  fields: string[];
11
- /** Defaults on the server to max(50, size); does not change knn.k. */
11
+ /** Integer up to 1000, at least size. Defaults on the server to max(50, size); does not change knn.k. */
12
12
  candidateSize?: number | null | undefined;
13
13
  /** Server default: error. Only eligible provider failures can returnOriginal. */
14
14
  onFailure?: "error" | "returnOriginal" | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"rerank.d.ts","sourceRoot":"","sources":["../../../src/models/rerank.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,4EAA4E;AAC5E,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,UAAU,CAAC;IACrB,KAAK,EAAE,YAAY,CAAC;IACpB,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,iEAAiE;IACjE,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,iFAAiF;IACjF,SAAS,CAAC,EAAE,OAAO,GAAG,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,4FAA4F;IAC5F,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,I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AAM,GAAG,SAAS,CAAC;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,iFAAiF;IACjF,eAAe,CAAC,EAAE,sBAAsB,GAAG,QAAQ,GAAG,SAAS,CAAC;IAChE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAQF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAiBrD,CAAC;AAEZ,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAUxF,CAAC;AAEH,yFAAyF;AACzF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAc7D"}
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.RerankResponse$inboundSchema = exports.RerankConfig$outboundSchema = void 0;
37
37
  exports.hasRerankScoringQuery = hasRerankScoringQuery;
38
- /** Managed reranking DTOs, maintained manually following docs/OPENAPI_UPDATE.md. */
38
+ /** Native reranking DTOs, maintained manually following docs/OPENAPI_UPDATE.md. */
39
39
  const z = __importStar(require("zod/v3"));
40
40
  const schemas_js_1 = require("../lib/schemas.js");
41
41
  // Match Java String.isBlank; do not trim or normalize caller text.
@@ -49,7 +49,7 @@ exports.RerankConfig$outboundSchema = z.object({
49
49
  model: z.literal("jev-1.13.0"),
50
50
  queryText: nonblank.refine((text) => bytes(text) <= 8192, "queryText exceeds 8 KiB UTF-8"),
51
51
  fields: z.array(nonblank.refine((path) => path.split(".").every((part) => !blank.test(part)), "Invalid field path")).min(1).max(8).refine((paths) => new Set(paths).size === paths.length, "Fields must be unique"),
52
- candidateSize: z.number().int().min(1).max(100).nullable().optional(),
52
+ candidateSize: z.number().int().min(1).max(1000).nullable().optional(),
53
53
  onFailure: z.enum(["error", "returnOriginal"]).nullable().optional(),
54
54
  criteria: z.array(nonblank.refine((text) => bytes(text) <= 2048, "Criterion exceeds 2 KiB UTF-8")).min(2).max(10).refine((texts) => new Set(texts).size === texts.length, "Criteria must be distinct").refine((texts) => texts.reduce((total, text) => total + bytes(text), 0) <= 8192, "Criteria exceed 8 KiB total UTF-8").nullable().optional(),
55
55
  }).strict();
@@ -1 +1 @@
1
- {"version":3,"file":"rerank.js","sourceRoot":"","sources":["../../../src/models/rerank.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EA,sDAcC;AAxFD,oFAAoF;AACpF,0CAA4B;AAC5B,kDAAoD;AAgCpD,mEAAmE;AACnE,kGAAkG;AAClG,MAAM,KAAK,GAAG,0FAA0F,CAAC;AACzG,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,kBAAkB,CAAC,CAAC;AACpF,MAAM,KAAK,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;AAEtE,gBAAgB;AACH,QAAA,2BAA2B,GAA4B,CAAC,CAAC,MAAM,CAAC;IAC3E,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC/B,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IAC9B,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,+BAA+B,CAAC;IAC1F,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAC7B,CAAC,IAAI,EAAE,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OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IACrF,MAAM,IAAI,GAAG,KAAgC,CAAC;IAC9C,MAAM,KAAK,GAAG,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1F,IAAI,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,UAAU;QAAE,OAAO,KAAK,CAAC;IAC7D,0DAA0D;IAC1D,KAAK,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;QAC1D,uDAAuD;QACvD,IAAI,IAAI,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE,CAAC;YAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;YAC3B,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;IACD,OAAO,CAAC,aAAa,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC;AACjF,CAAC"}
@@ -14,11 +14,11 @@ export declare class Docs extends ClientSDK {
14
14
  */
15
15
  upsert(request: operations.UpsertDocsRequest, options?: RequestOptions): Promise<models.MessageResponse>;
16
16
  /**
17
- * Request required info to upload documents. Bulk upsert is not supported for collections with managed embedding vector fields.
17
+ * Request required info to upload documents. Bulk upsert is not supported for collections with native embedding vector fields.
18
18
  */
19
19
  getBulkUpsert(request: operations.GetBulkUpsertDocsRequest, options?: RequestOptions): Promise<operations.GetBulkUpsertDocsResponse>;
20
20
  /**
21
- * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with managed embedding vector fields.
21
+ * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with native embedding vector fields.
22
22
  */
23
23
  bulkUpsert(request: operations.BulkUpsertDocsRequest, options?: RequestOptions): Promise<models.MessageResponse>;
24
24
  /**
@@ -30,13 +30,13 @@ class Docs extends sdks_js_1.ClientSDK {
30
30
  return (0, fp_js_1.unwrapAsync)((0, collectionsDocsUpsert_js_1.collectionsDocsUpsert)(this, request, options));
31
31
  }
32
32
  /**
33
- * Request required info to upload documents. Bulk upsert is not supported for collections with managed embedding vector fields.
33
+ * Request required info to upload documents. Bulk upsert is not supported for collections with native embedding vector fields.
34
34
  */
35
35
  async getBulkUpsert(request, options) {
36
36
  return (0, fp_js_1.unwrapAsync)((0, collectionsDocsGetBulkUpsert_js_1.collectionsDocsGetBulkUpsert)(this, request, options));
37
37
  }
38
38
  /**
39
- * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with managed embedding vector fields.
39
+ * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with native embedding vector fields.
40
40
  */
41
41
  async bulkUpsert(request, options) {
42
42
  return (0, fp_js_1.unwrapAsync)((0, collectionsDocsBulkUpsert_js_1.collectionsDocsBulkUpsert)(this, request, options));
@@ -221,32 +221,32 @@ export declare class CollectionDocs {
221
221
  */
222
222
  fetchSafe(body: FetchDocsInput, options?: RequestOptions): Promise<Result<FetchDocsResponse, FetchDocsError>>;
223
223
  /**
224
- * Get presigned URL and metadata for bulk upload (up to 200MB). Not supported for collections with managed embedding vector fields.
224
+ * Get presigned URL and metadata for bulk upload (up to 200MB). Not supported for collections with native embedding vector fields.
225
225
  */
226
226
  getBulkUpsert(options?: RequestOptions): Promise<GetBulkUpsertDocsResponse>;
227
227
  getBulkUpsert(input: GetBulkUpsertInput, options?: RequestOptions): Promise<GetBulkUpsertDocsResponse>;
228
228
  /**
229
- * Get presigned URL and metadata for bulk upload (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
229
+ * Get presigned URL and metadata for bulk upload (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
230
230
  */
231
231
  getBulkUpsertSafe(options?: RequestOptions): Promise<Result<GetBulkUpsertDocsResponse, GetBulkUpsertDocsError>>;
232
232
  getBulkUpsertSafe(input: GetBulkUpsertInput, options?: RequestOptions): Promise<Result<GetBulkUpsertDocsResponse, GetBulkUpsertDocsError>>;
233
233
  /**
234
- * Trigger bulk upsert with an object key from getBulkUpsert(). Not supported for collections with managed embedding vector fields.
234
+ * Trigger bulk upsert with an object key from getBulkUpsert(). Not supported for collections with native embedding vector fields.
235
235
  */
236
236
  bulkUpsert(body: BulkUpsertInput, options?: RequestOptions): Promise<MessageResponse>;
237
237
  /**
238
- * Trigger bulk upsert (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
238
+ * Trigger bulk upsert (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
239
239
  */
240
240
  bulkUpsertSafe(body: BulkUpsertInput, options?: RequestOptions): Promise<Result<MessageResponse, BulkUpsertDocsError>>;
241
241
  /**
242
- * Bulk upsert documents in one call (up to 200MB). Not supported for collections with managed embedding vector fields. Abstracts getBulkUpsert,
242
+ * Bulk upsert documents in one call (up to 200MB). Not supported for collections with native embedding vector fields. Abstracts getBulkUpsert,
243
243
  * S3 upload via presigned URL, and bulkUpsert. Use this for better DX when
244
244
  * you have a document list; use getBulkUpsert + bulkUpsert for low-level control. The create-only
245
245
  * signed PUT is not retried, and a failed upload is not finalized.
246
246
  */
247
247
  bulkUpsertDocs(body: UpsertDocsInput, options?: RequestOptions): Promise<MessageResponse>;
248
248
  /**
249
- * Bulk upsert documents in one call (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
249
+ * Bulk upsert documents in one call (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
250
250
  * May return Error for local failures (serialization, payload size, upload). API errors use GetBulkUpsertDocsError or BulkUpsertDocsError.
251
251
  */
252
252
  bulkUpsertDocsSafe(body: UpsertDocsInput, options?: RequestOptions): Promise<Result<MessageResponse, GetBulkUpsertDocsError | BulkUpsertDocsError | Error>>;
@@ -556,7 +556,7 @@ export class CollectionDocs {
556
556
  return await collectionsDocsGetBulkUpsert(this.client, { collectionName: this.collectionName, branch: input.branch }, requestOptions);
557
557
  }
558
558
  /**
559
- * Trigger bulk upsert with an object key from getBulkUpsert(). Not supported for collections with managed embedding vector fields.
559
+ * Trigger bulk upsert with an object key from getBulkUpsert(). Not supported for collections with native embedding vector fields.
560
560
  */
561
561
  async bulkUpsert(body, options) {
562
562
  return unwrapAsync(collectionsDocsBulkUpsert(this.client, {
@@ -565,13 +565,13 @@ export class CollectionDocs {
565
565
  }, options));
566
566
  }
567
567
  /**
568
- * Trigger bulk upsert (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
568
+ * Trigger bulk upsert (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
569
569
  */
570
570
  async bulkUpsertSafe(body, options) {
571
571
  return await collectionsDocsBulkUpsert(this.client, { collectionName: this.collectionName, requestBody: body }, options);
572
572
  }
573
573
  /**
574
- * Bulk upsert documents in one call (up to 200MB). Not supported for collections with managed embedding vector fields. Abstracts getBulkUpsert,
574
+ * Bulk upsert documents in one call (up to 200MB). Not supported for collections with native embedding vector fields. Abstracts getBulkUpsert,
575
575
  * S3 upload via presigned URL, and bulkUpsert. Use this for better DX when
576
576
  * you have a document list; use getBulkUpsert + bulkUpsert for low-level control. The create-only
577
577
  * signed PUT is not retried, and a failed upload is not finalized.
@@ -602,7 +602,7 @@ export class CollectionDocs {
602
602
  return this.bulkUpsert({ objectKey, type, branch: body.branch }, options);
603
603
  }
604
604
  /**
605
- * Bulk upsert documents in one call (Safe: returns Result instead of throwing). Not supported for collections with managed embedding vector fields.
605
+ * Bulk upsert documents in one call (Safe: returns Result instead of throwing). Not supported for collections with native embedding vector fields.
606
606
  * May return Error for local failures (serialization, payload size, upload). API errors use GetBulkUpsertDocsError or BulkUpsertDocsError.
607
607
  */
608
608
  async bulkUpsertDocsSafe(body, options) {
@@ -10,7 +10,7 @@ import * as operations from "../models/operations/index.js";
10
10
  import { APIPromise } from "../types/async.js";
11
11
  import { Result } from "../types/fp.js";
12
12
  /**
13
- * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with managed embedding vector fields.
13
+ * Bulk upsert documents into a collection. Note that the maximum supported object size is 200MB. Bulk upsert is not supported for collections with native embedding vector fields.
14
14
  */
15
15
  export declare function collectionsDocsBulkUpsert(client: LambdaDBCore, request: operations.BulkUpsertDocsRequest, options?: RequestOptions): APIPromise<Result<models.MessageResponse, errors.BadRequestError | errors.UnauthenticatedError | errors.ResourceNotFoundError | errors.TooManyRequestsError | errors.InternalServerError | errors.PayloadTooLargeError | errors.BadGatewayError | errors.ServiceUnavailableError | errors.GatewayTimeoutError | LambdaDBError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
16
16
  //# sourceMappingURL=collectionsDocsBulkUpsert.d.ts.map