runbios-sdk 0.2.1-dev.84 → 0.2.1-dev.88
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.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/resources/datasets.d.ts +4 -1
- package/dist/resources/datasets.js +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ import { Inference } from './resources/inference.js';
|
|
|
34
34
|
* SDK version. Sent as part of the User-Agent header.
|
|
35
35
|
* Must match package.json "version" -- enforced by a contract test.
|
|
36
36
|
*/
|
|
37
|
-
export declare const VERSION = "0.2.1-dev.
|
|
37
|
+
export declare const VERSION = "0.2.1-dev.88";
|
|
38
38
|
export declare class RunBiOS {
|
|
39
39
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
40
40
|
readonly models: Models;
|
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ import { Inference } from './resources/inference.js';
|
|
|
34
34
|
* SDK version. Sent as part of the User-Agent header.
|
|
35
35
|
* Must match package.json "version" -- enforced by a contract test.
|
|
36
36
|
*/
|
|
37
|
-
export const VERSION = '0.2.1-dev.
|
|
37
|
+
export const VERSION = '0.2.1-dev.88';
|
|
38
38
|
export class RunBiOS {
|
|
39
39
|
/** Search models, fetch configs, check adapter compatibility. */
|
|
40
40
|
models;
|
|
@@ -36,7 +36,10 @@ export declare class Datasets {
|
|
|
36
36
|
* Upload a dataset file from disk.
|
|
37
37
|
*
|
|
38
38
|
* Reads the file using `node:fs` and uploads it via multipart/form-data.
|
|
39
|
-
*
|
|
39
|
+
* Accepted: a `.jsonl` file (one JSON object per line) in the canonical shape
|
|
40
|
+
* for its training method -- `{"messages": [...]}` for supervised fine-tuning,
|
|
41
|
+
* `{"text": "..."}` for continued pre-training. Other layouts and containers
|
|
42
|
+
* are refused by the platform with conversion guidance.
|
|
40
43
|
*
|
|
41
44
|
* @example
|
|
42
45
|
* ```ts
|
|
@@ -85,7 +85,10 @@ export class Datasets {
|
|
|
85
85
|
* Upload a dataset file from disk.
|
|
86
86
|
*
|
|
87
87
|
* Reads the file using `node:fs` and uploads it via multipart/form-data.
|
|
88
|
-
*
|
|
88
|
+
* Accepted: a `.jsonl` file (one JSON object per line) in the canonical shape
|
|
89
|
+
* for its training method -- `{"messages": [...]}` for supervised fine-tuning,
|
|
90
|
+
* `{"text": "..."}` for continued pre-training. Other layouts and containers
|
|
91
|
+
* are refused by the platform with conversion guidance.
|
|
89
92
|
*
|
|
90
93
|
* @example
|
|
91
94
|
* ```ts
|