@promptbook/openai 0.50.0-0 → 0.50.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.
Files changed (27) hide show
  1. package/esm/index.es.js +255 -2
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/typings/_packages/types.index.d.ts +3 -3
  4. package/esm/typings/execution/ExecutionTools.d.ts +3 -1
  5. package/esm/typings/execution/LlmExecutionTools.d.ts +26 -2
  6. package/esm/typings/execution/PromptbookExecutor.d.ts +1 -1
  7. package/esm/typings/execution/plugins/llm-execution-tools/langtail/LangtailExecutionTools.d.ts +1 -1
  8. package/esm/typings/execution/plugins/llm-execution-tools/mocked/MockedEchoLlmExecutionTools.d.ts +8 -4
  9. package/esm/typings/execution/plugins/llm-execution-tools/mocked/MockedFackedLlmExecutionTools.d.ts +8 -4
  10. package/esm/typings/execution/plugins/llm-execution-tools/openai/OpenAiExecutionTools.d.ts +13 -1
  11. package/esm/typings/execution/plugins/llm-execution-tools/remote/RemoteLlmExecutionTools.d.ts +8 -4
  12. package/esm/typings/types/ModelRequirements.d.ts +2 -1
  13. package/esm/typings/types/PromptbookJson/PromptTemplateJson.d.ts +3 -3
  14. package/package.json +2 -2
  15. package/umd/index.umd.js +255 -2
  16. package/umd/index.umd.js.map +1 -1
  17. package/umd/typings/_packages/types.index.d.ts +3 -3
  18. package/umd/typings/execution/ExecutionTools.d.ts +3 -1
  19. package/umd/typings/execution/LlmExecutionTools.d.ts +26 -2
  20. package/umd/typings/execution/PromptbookExecutor.d.ts +1 -1
  21. package/umd/typings/execution/plugins/llm-execution-tools/langtail/LangtailExecutionTools.d.ts +1 -1
  22. package/umd/typings/execution/plugins/llm-execution-tools/mocked/MockedEchoLlmExecutionTools.d.ts +8 -4
  23. package/umd/typings/execution/plugins/llm-execution-tools/mocked/MockedFackedLlmExecutionTools.d.ts +8 -4
  24. package/umd/typings/execution/plugins/llm-execution-tools/openai/OpenAiExecutionTools.d.ts +13 -1
  25. package/umd/typings/execution/plugins/llm-execution-tools/remote/RemoteLlmExecutionTools.d.ts +8 -4
  26. package/umd/typings/types/ModelRequirements.d.ts +2 -1
  27. package/umd/typings/types/PromptbookJson/PromptTemplateJson.d.ts +3 -3
@@ -44,13 +44,13 @@ export type ExpectationAmount = number_integer & number_positive_or_zero;
44
44
  /**
45
45
  * Template for simple concatenation of strings
46
46
  */
47
- interface SimpleTemplateJson extends PromptTemplateJsonCommon {
47
+ export interface SimpleTemplateJson extends PromptTemplateJsonCommon {
48
48
  readonly executionType: 'SIMPLE_TEMPLATE';
49
49
  }
50
50
  /**
51
51
  * Template for script execution
52
52
  */
53
- interface ScriptJson extends PromptTemplateJsonCommon {
53
+ export interface ScriptJson extends PromptTemplateJsonCommon {
54
54
  readonly executionType: 'SCRIPT';
55
55
  /**
56
56
  * Language of the script
@@ -62,7 +62,7 @@ interface ScriptJson extends PromptTemplateJsonCommon {
62
62
  /**
63
63
  * Template for prompt to user
64
64
  */
65
- interface PromptDialogJson extends PromptTemplateJsonCommon {
65
+ export interface PromptDialogJson extends PromptTemplateJsonCommon {
66
66
  readonly executionType: 'PROMPT_DIALOG';
67
67
  }
68
68
  /**