@ai-sdk/amazon-bedrock 4.0.33 → 4.0.34

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.
package/dist/index.mjs CHANGED
@@ -1494,24 +1494,24 @@ import {
1494
1494
  import { z as z4 } from "zod/v4";
1495
1495
  var bedrockEmbeddingProviderOptions = z4.object({
1496
1496
  /**
1497
- The number of dimensions the resulting output embeddings should have (defaults to 1024).
1498
- Only supported in amazon.titan-embed-text-v2:0.
1499
- */
1497
+ * The number of dimensions the resulting output embeddings should have (defaults to 1024).
1498
+ * Only supported in amazon.titan-embed-text-v2:0.
1499
+ */
1500
1500
  dimensions: z4.union([z4.literal(1024), z4.literal(512), z4.literal(256)]).optional(),
1501
1501
  /**
1502
- Flag indicating whether or not to normalize the output embeddings. Defaults to true
1503
- Only supported in amazon.titan-embed-text-v2:0.
1502
+ * Flag indicating whether or not to normalize the output embeddings. Defaults to true
1503
+ * Only supported in amazon.titan-embed-text-v2:0.
1504
1504
  */
1505
1505
  normalize: z4.boolean().optional(),
1506
1506
  /**
1507
- The number of dimensions for Nova embedding models (defaults to 1024).
1508
- Supported values: 256, 384, 1024, 3072.
1509
- Only supported in amazon.nova-* embedding models.
1507
+ * The number of dimensions for Nova embedding models (defaults to 1024).
1508
+ * Supported values: 256, 384, 1024, 3072.
1509
+ * Only supported in amazon.nova-* embedding models.
1510
1510
  */
1511
1511
  embeddingDimension: z4.union([z4.literal(256), z4.literal(384), z4.literal(1024), z4.literal(3072)]).optional(),
1512
1512
  /**
1513
- The purpose of the embedding. Defaults to 'GENERIC_INDEX'.
1514
- Only supported in amazon.nova-* embedding models.
1513
+ * The purpose of the embedding. Defaults to 'GENERIC_INDEX'.
1514
+ * Only supported in amazon.nova-* embedding models.
1515
1515
  */
1516
1516
  embeddingPurpose: z4.enum([
1517
1517
  "GENERIC_INDEX",
@@ -1525,15 +1525,15 @@ var bedrockEmbeddingProviderOptions = z4.object({
1525
1525
  "CLUSTERING"
1526
1526
  ]).optional(),
1527
1527
  /**
1528
- Input type for Cohere embedding models on Bedrock.
1529
- Common values: `search_document`, `search_query`, `classification`, `clustering`.
1530
- If not set, the provider defaults to `search_query`.
1531
- */
1528
+ * Input type for Cohere embedding models on Bedrock.
1529
+ * Common values: `search_document`, `search_query`, `classification`, `clustering`.
1530
+ * If not set, the provider defaults to `search_query`.
1531
+ */
1532
1532
  inputType: z4.enum(["search_document", "search_query", "classification", "clustering"]).optional(),
1533
1533
  /**
1534
- Truncation behavior when input exceeds the model's context length.
1535
- Supported in Cohere and Nova embedding models. Defaults to 'END' for Nova models.
1536
- */
1534
+ * Truncation behavior when input exceeds the model's context length.
1535
+ * Supported in Cohere and Nova embedding models. Defaults to 'END' for Nova models.
1536
+ */
1537
1537
  truncate: z4.enum(["NONE", "START", "END"]).optional()
1538
1538
  });
1539
1539
 
@@ -1885,7 +1885,7 @@ import {
1885
1885
  import { AwsV4Signer } from "aws4fetch";
1886
1886
 
1887
1887
  // src/version.ts
1888
- var VERSION = true ? "4.0.33" : "0.0.0-test";
1888
+ var VERSION = true ? "4.0.34" : "0.0.0-test";
1889
1889
 
1890
1890
  // src/bedrock-sigv4-fetch.ts
1891
1891
  function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {