@mindstudio-ai/agent 0.1.134 → 0.1.136
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/README.md +1 -1
- package/dist/cli.js +18 -8
- package/dist/index.d.ts +46 -2
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +18 -8
- package/llms.txt +16 -0
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -1375,6 +1375,22 @@ Call any QuickBooks Online Accounting API route using a connected company.
|
|
|
1375
1375
|
- Input: `{ connectionId?: string, method: string, route: string, queryParams: object, body: string }`
|
|
1376
1376
|
- Output: `{ ok: boolean, status: number, body: unknown }`
|
|
1377
1377
|
|
|
1378
|
+
### TypeSafe
|
|
1379
|
+
|
|
1380
|
+
#### typesafeEvaluate
|
|
1381
|
+
Ask TypeSafe structured questions about text or JSON and get calibrated answers. The model returns a probability, a selected option, or a score. It does not write a reply. Each question is a noul (yes or no, as a probability from 0 to 1), a choice (one option from a set you define, with a probability for each), or a score (a rating against ordered levels). Put every question in the same call. The question id is yours: answers come back under the same ids. The model defaults to Jev (jev-latest).
|
|
1382
|
+
- state is the content to judge: a string, or a JSON object or array (a record, a chat log, application state). Text only. Turn images, audio, and video into text first.
|
|
1383
|
+
- questions is a map. The key is an id you choose. It is not shown to the model. The answer comes back under the same id.
|
|
1384
|
+
- A noul asks a yes/no question and returns noul, a probability from 0 (no) to 1 (yes). Optional criteria.true and criteria.false say what a yes and a no mean.
|
|
1385
|
+
- A choice picks one option. criteria is a map of option id to a short description (or null). At most 255 options. The answer includes the winning choice, a probability for every option, and confidence.
|
|
1386
|
+
- A score rates the state on an ordered rubric. criteria is 2 to 10 level descriptions, low to high. The answer's score can land between levels, and includes a probability per level plus confidence.
|
|
1387
|
+
- instructions may be a string, or an object that keeps the question in one field and reference data in the others. Refer to those fields by name in backticks.
|
|
1388
|
+
- Send every question you need in one call. The model reads the state once and answers them together.
|
|
1389
|
+
- model defaults to jev-latest, the current stable release. jev-preview tracks the newest release. Pin a version such as jev-1.13.0 when a threshold was tuned against that version. The response model field is the version that answered.
|
|
1390
|
+
- Billed per input token. Output tokens are free.
|
|
1391
|
+
- Input: `{ state: string | object | unknown[], questions: object, model?: string }`
|
|
1392
|
+
- Output: `{ model: string, answers: object, usage: { input_tokens: number, output_tokens: number } }`
|
|
1393
|
+
|
|
1378
1394
|
### X
|
|
1379
1395
|
|
|
1380
1396
|
#### postToX
|