@digipair/skill-llm 0.35.0 → 0.35.2

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/api_chain.cjs.js CHANGED
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index.cjs2.js');
4
+ require('@digipair/engine');
4
5
 
5
6
  var API_URL_RAW_PROMPT_TEMPLATE = "You are given the below API Documentation:\n{api_docs}\nUsing this documentation, generate the full API url to call for answering the user question.\nYou should build the API url in order to get a response that is as short as possible, while still getting the necessary information to answer the question. Pay attention to deliberately exclude any unnecessary pieces of data in the API call.\n\nQuestion:{question}\nAPI url:";
6
7
  var API_URL_PROMPT_TEMPLATE = /* #__PURE__ */ new index.PromptTemplate({
package/few_shot.cjs.js CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  var index = require('./index.cjs2.js');
4
4
  var chat = require('./chat.cjs.js');
5
+ require('@digipair/engine');
5
6
 
6
7
  function _array_like_to_array(arr, len) {
7
8
  if (len == null || len > arr.length) len = arr.length;
package/index.cjs.js CHANGED
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var index = require('./index.cjs2.js');
6
+ require('@digipair/engine');
6
7
 
7
8
 
8
9