@superatomai/sdk-node 0.0.8 → 0.0.10
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 +942 -942
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +155 -541
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +158 -570
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -863,9 +863,9 @@ declare class LLM {
|
|
|
863
863
|
private static _groqStream;
|
|
864
864
|
/**
|
|
865
865
|
* Parse JSON string, handling markdown code blocks and surrounding text
|
|
866
|
-
* Enhanced version from
|
|
866
|
+
* Enhanced version with jsonrepair to handle malformed JSON from LLMs
|
|
867
867
|
* @param text - Text that may contain JSON wrapped in ```json...``` or with surrounding text
|
|
868
|
-
* @returns Parsed JSON object
|
|
868
|
+
* @returns Parsed JSON object or array
|
|
869
869
|
*/
|
|
870
870
|
private static _parseJSON;
|
|
871
871
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -863,9 +863,9 @@ declare class LLM {
|
|
|
863
863
|
private static _groqStream;
|
|
864
864
|
/**
|
|
865
865
|
* Parse JSON string, handling markdown code blocks and surrounding text
|
|
866
|
-
* Enhanced version from
|
|
866
|
+
* Enhanced version with jsonrepair to handle malformed JSON from LLMs
|
|
867
867
|
* @param text - Text that may contain JSON wrapped in ```json...``` or with surrounding text
|
|
868
|
-
* @returns Parsed JSON object
|
|
868
|
+
* @returns Parsed JSON object or array
|
|
869
869
|
*/
|
|
870
870
|
private static _parseJSON;
|
|
871
871
|
}
|