pendra 0.18.1 → 0.19.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.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1594,6 +1594,7 @@ var Embeddings = class {
|
|
|
1594
1594
|
};
|
|
1595
1595
|
if (params.encoding_format != null) body.encoding_format = params.encoding_format;
|
|
1596
1596
|
if (params.dimensions != null) body.dimensions = params.dimensions;
|
|
1597
|
+
if (params.input_type != null) body.input_type = params.input_type;
|
|
1597
1598
|
if (params.user != null) body.user = params.user;
|
|
1598
1599
|
const headers = params.worker_id ? { "X-Pendra-Worker-Id": params.worker_id } : void 0;
|
|
1599
1600
|
if (this.client.privateInferenceEnabled) {
|
|
@@ -1910,7 +1911,7 @@ var Rerank = class {
|
|
|
1910
1911
|
};
|
|
1911
1912
|
|
|
1912
1913
|
// src/version.ts
|
|
1913
|
-
var VERSION = "0.
|
|
1914
|
+
var VERSION = "0.19.0";
|
|
1914
1915
|
var USER_AGENT = `pendra-node/${VERSION}`;
|
|
1915
1916
|
|
|
1916
1917
|
// src/client.ts
|