Skip to content

Commit ab8473d

Browse files
authored
🔖 Version 4.29.0-rc5 (#372)
1 parent 0dc8a5b commit ab8473d

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## v4.29.0-rc5 - 2025-07-30
4+
### Changes
5+
* :recycle: allow direct import of input sources
6+
7+
38
## v4.29.0-rc4 - 2025-07-29
49
### Changes
510
* :sparkles: add support for page count & mime type + fix syntaxes

docs/code_samples/default_v2.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ const modelId = "MY_MODEL_ID";
1010
const mindeeClient = new mindee.ClientV2({ apiKey: apiKey });
1111

1212
// Load a file from disk
13-
const inputSource = mindeeClient.sourceFromPath(filePath);
14-
const params = {
13+
const inputSource = new mindee.PathInput({ inputPath: filePath });
14+
const inferenceParams = {
1515
modelId: modelId,
1616
// If set to `true`, will enable Retrieval-Augmented Generation.
1717
rag: false
1818
};
1919

20-
const apiResponse = mindeeClient.enqueueAndGetInference(
20+
const response = mindeeClient.enqueueAndGetInference(
2121
inputSource,
22-
params
22+
inferenceParams
2323
);
2424

2525
// Handle the response Promise
26-
apiResponse.then((resp) => {
26+
response.then((resp) => {
2727
// print a string summary
2828
console.log(resp.inference.toString());
2929
});

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mindee",
3-
"version": "4.29.0-rc4",
3+
"version": "4.29.0-rc5",
44
"description": "Mindee Client Library for Node.js",
55
"main": "src/index.js",
66
"bin": "bin/mindee.js",

0 commit comments

Comments
 (0)