@seekdb/amazon-bedrock 1.1.1 → 1.2.0
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.cjs +0 -5
- package/dist/index.mjs +0 -5
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -103,11 +103,6 @@ var AmazonBedrockEmbeddingFunction = class _AmazonBedrockEmbeddingFunction {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
static buildFromConfig(config) {
|
|
106
|
-
if (!config.api_key_env) {
|
|
107
|
-
throw new Error(
|
|
108
|
-
"Building Amazon bedrock embedding function from config: api_key_env is required in config."
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
106
|
return new _AmazonBedrockEmbeddingFunction({
|
|
112
107
|
apiKeyEnv: config.api_key_env,
|
|
113
108
|
region: config.region,
|
package/dist/index.mjs
CHANGED
|
@@ -81,11 +81,6 @@ var AmazonBedrockEmbeddingFunction = class _AmazonBedrockEmbeddingFunction {
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
static buildFromConfig(config) {
|
|
84
|
-
if (!config.api_key_env) {
|
|
85
|
-
throw new Error(
|
|
86
|
-
"Building Amazon bedrock embedding function from config: api_key_env is required in config."
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
84
|
return new _AmazonBedrockEmbeddingFunction({
|
|
90
85
|
apiKeyEnv: config.api_key_env,
|
|
91
86
|
region: config.region,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seekdb/amazon-bedrock",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"
|
|
20
|
-
"seekdb": "1.
|
|
19
|
+
"seekdb": "1.2.0",
|
|
20
|
+
"@seekdb/common": "1.2.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"seekdb": "1.
|
|
24
|
-
"@seekdb/common": "1.
|
|
23
|
+
"seekdb": "1.2.0",
|
|
24
|
+
"@seekdb/common": "1.2.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@aws-sdk/client-bedrock-runtime": "^3.713.0"
|