@promptbook/remote-client 0.92.0-20 → 0.92.0-21

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/esm/index.es.js CHANGED
@@ -20,7 +20,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
20
20
  * @generated
21
21
  * @see https://github.com/webgptorg/promptbook
22
22
  */
23
- const PROMPTBOOK_ENGINE_VERSION = '0.92.0-20';
23
+ const PROMPTBOOK_ENGINE_VERSION = '0.92.0-21';
24
24
  /**
25
25
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
26
26
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -2900,6 +2900,43 @@ const ChatbotFormfactorDefinition = {
2900
2900
  },
2901
2901
  };
2902
2902
 
2903
+ /**
2904
+ * Completion is formfactor that emulates completion models
2905
+ *
2906
+ * @public exported from `@promptbook/core`
2907
+ */
2908
+ const CompletionFormfactorDefinition = {
2909
+ name: 'COMPLETION',
2910
+ description: `@@@`,
2911
+ documentationUrl: `https://github.com/webgptorg/promptbook/discussions/@@`,
2912
+ // <- TODO: https://github.com/webgptorg/promptbook/discussions/new?category=concepts
2913
+ // "🔠 Completion Formfactor"
2914
+ pipelineInterface: {
2915
+ inputParameters: [
2916
+ {
2917
+ name: 'inputText',
2918
+ description: `Input text to be completed`,
2919
+ isInput: true,
2920
+ isOutput: false,
2921
+ },
2922
+ {
2923
+ name: 'instructions',
2924
+ description: `Additional instructions for the model, for example the required length, empty by default`,
2925
+ isInput: true,
2926
+ isOutput: false,
2927
+ },
2928
+ ],
2929
+ outputParameters: [
2930
+ {
2931
+ name: 'followingText',
2932
+ description: `Text that follows the input text`,
2933
+ isInput: false,
2934
+ isOutput: true,
2935
+ },
2936
+ ],
2937
+ },
2938
+ };
2939
+
2903
2940
  /**
2904
2941
  * Generator is form of app that @@@
2905
2942
  *
@@ -3084,6 +3121,8 @@ const FORMFACTOR_DEFINITIONS = [
3084
3121
  MatcherFormfactorDefinition,
3085
3122
  GeneratorFormfactorDefinition,
3086
3123
  ImageGeneratorFormfactorDefinition,
3124
+ CompletionFormfactorDefinition,
3125
+ // <- [🛬] When making new formfactor, copy the _boilerplate and link it here
3087
3126
  ];
3088
3127
  /**
3089
3128
  * Note: [💞] Ignore a discrepancy between file name and entity name