@digipair/skill-llm 0.93.0 → 0.94.0-0

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 ADDED
@@ -0,0 +1,7 @@
1
+ # skill-test
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Building
6
+
7
+ Run `nx build skill-llm` to build the library.
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index.cjs2.js');
4
- require('@digipair/engine');
5
4
 
6
5
  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:";
7
6
  var API_URL_PROMPT_TEMPLATE = /* #__PURE__ */ new index.PromptTemplate({
@@ -1,4 +1,4 @@
1
- import { P as PromptTemplate, L as LLMChain, g as BaseChain } from './index.esm2.js';
1
+ import { P as PromptTemplate, L as LLMChain, b as BaseChain } from './index.esm2.js';
2
2
 
3
3
  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:";
4
4
  var API_URL_PROMPT_TEMPLATE = /* #__PURE__ */ new PromptTemplate({
@@ -1,8 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index.cjs2.js');
4
- var chat = require('./chat.cjs.js');
5
- require('@digipair/engine');
6
4
 
7
5
  function _array_like_to_array(arr, len) {
8
6
  if (len == null || len > arr.length) len = arr.length;
@@ -123,11 +121,6 @@ function ownKeys(object, enumerableOnly) {
123
121
  var keys = Object.keys(object);
124
122
  if (Object.getOwnPropertySymbols) {
125
123
  var symbols = Object.getOwnPropertySymbols(object);
126
- if (enumerableOnly) {
127
- symbols = symbols.filter(function(sym) {
128
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
129
- });
130
- }
131
124
  keys.push.apply(keys, symbols);
132
125
  }
133
126
  return keys;
@@ -883,7 +876,7 @@ function _ts_generator(thisArg, body) {
883
876
  }
884
877
  ]);
885
878
  return FewShotChatMessagePromptTemplate;
886
- }(chat.BaseChatPromptTemplate);
879
+ }(index.BaseChatPromptTemplate);
887
880
 
888
881
  exports.FewShotChatMessagePromptTemplate = FewShotChatMessagePromptTemplate;
889
882
  exports.FewShotPromptTemplate = FewShotPromptTemplate;
@@ -1,5 +1,4 @@
1
- import { c as checkValidTemplate, B as BaseStringPromptTemplate, P as PromptTemplate, r as renderTemplate } from './index.esm2.js';
2
- import { B as BaseChatPromptTemplate } from './chat.esm.js';
1
+ import { c as checkValidTemplate, B as BaseStringPromptTemplate, a as BaseChatPromptTemplate, P as PromptTemplate, r as renderTemplate } from './index.esm2.js';
3
2
 
4
3
  function _array_like_to_array(arr, len) {
5
4
  if (len == null || len > arr.length) len = arr.length;
@@ -120,11 +119,6 @@ function ownKeys(object, enumerableOnly) {
120
119
  var keys = Object.keys(object);
121
120
  if (Object.getOwnPropertySymbols) {
122
121
  var symbols = Object.getOwnPropertySymbols(object);
123
- if (enumerableOnly) {
124
- symbols = symbols.filter(function(sym) {
125
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
126
- });
127
- }
128
122
  keys.push.apply(keys, symbols);
129
123
  }
130
124
  return keys;
@@ -1,9 +1,6 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var index = require('./index.cjs2.js');
6
- require('@digipair/engine');
7
4
 
8
5
 
9
6