@semiont/make-meaning 0.4.16 → 0.4.17
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.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11976,10 +11976,9 @@ ${contextParts.length > 0 ? contextParts.join("\n") : ""}
|
|
|
11976
11976
|
Candidates:
|
|
11977
11977
|
${candidateLines}
|
|
11978
11978
|
|
|
11979
|
-
For each candidate, output
|
|
11979
|
+
For each candidate, output a line with the number and score, like:
|
|
11980
11980
|
1. 0.8
|
|
11981
|
-
2. 0.3
|
|
11982
|
-
No explanations.`;
|
|
11981
|
+
2. 0.3`;
|
|
11983
11982
|
const response = await this.inferenceClient.generateText(prompt, 200, 0.1);
|
|
11984
11983
|
const scores = /* @__PURE__ */ new Map();
|
|
11985
11984
|
const lines = response.trim().split("\n");
|