@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.
- package/esm/index.es.js +255 -2
- package/esm/index.es.js.map +1 -1
- package/esm/typings/_packages/types.index.d.ts +3 -3
- package/esm/typings/execution/ExecutionTools.d.ts +3 -1
- package/esm/typings/execution/LlmExecutionTools.d.ts +26 -2
- package/esm/typings/execution/PromptbookExecutor.d.ts +1 -1
- package/esm/typings/execution/plugins/llm-execution-tools/langtail/LangtailExecutionTools.d.ts +1 -1
- package/esm/typings/execution/plugins/llm-execution-tools/mocked/MockedEchoLlmExecutionTools.d.ts +8 -4
- package/esm/typings/execution/plugins/llm-execution-tools/mocked/MockedFackedLlmExecutionTools.d.ts +8 -4
- package/esm/typings/execution/plugins/llm-execution-tools/openai/OpenAiExecutionTools.d.ts +13 -1
- package/esm/typings/execution/plugins/llm-execution-tools/remote/RemoteLlmExecutionTools.d.ts +8 -4
- package/esm/typings/types/ModelRequirements.d.ts +2 -1
- package/esm/typings/types/PromptbookJson/PromptTemplateJson.d.ts +3 -3
- package/package.json +2 -2
- package/umd/index.umd.js +255 -2
- package/umd/index.umd.js.map +1 -1
- package/umd/typings/_packages/types.index.d.ts +3 -3
- package/umd/typings/execution/ExecutionTools.d.ts +3 -1
- package/umd/typings/execution/LlmExecutionTools.d.ts +26 -2
- package/umd/typings/execution/PromptbookExecutor.d.ts +1 -1
- package/umd/typings/execution/plugins/llm-execution-tools/langtail/LangtailExecutionTools.d.ts +1 -1
- package/umd/typings/execution/plugins/llm-execution-tools/mocked/MockedEchoLlmExecutionTools.d.ts +8 -4
- package/umd/typings/execution/plugins/llm-execution-tools/mocked/MockedFackedLlmExecutionTools.d.ts +8 -4
- package/umd/typings/execution/plugins/llm-execution-tools/openai/OpenAiExecutionTools.d.ts +13 -1
- package/umd/typings/execution/plugins/llm-execution-tools/remote/RemoteLlmExecutionTools.d.ts +8 -4
- package/umd/typings/types/ModelRequirements.d.ts +2 -1
- 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
|
/**
|