@saltcorn/large-language-model 0.4.0 → 0.4.1

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.
@@ -120,7 +120,7 @@ module.exports = (config) => ({
120
120
  };
121
121
  //console.log(JSON.stringify(expert_function, null, 2));
122
122
  const compl = await getCompletion(config, { prompt, ...toolargs });
123
-
123
+ getState().log(6, `llm_function_call completion: ${JSON.stringify(compl)}`);
124
124
  const response = JSON.parse(compl.tool_calls[0].function.arguments);
125
125
  //console.log("response: ", JSON.stringify(response, null, 2));
126
126
  for (const col of columns) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/large-language-model",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Large language models and functionality for Saltcorn",
5
5
  "main": "index.js",
6
6
  "dependencies": {