@promptbook/remote-client
Advanced tools
Comparing version 0.29.0 to 0.30.0-0
@@ -1,2 +0,1 @@ | ||
import { PromptTemplatePipeline } from '../classes/PromptTemplatePipeline'; | ||
import { PromptTemplatePipelineLibrary } from '../classes/PromptTemplatePipelineLibrary'; | ||
@@ -12,3 +11,3 @@ import { PTBK_VERSION } from '../config'; | ||
import { ExecutionTypes } from '../types/ExecutionTypes'; | ||
export { ExecutionTypes, PTBK_VERSION, PromptTemplatePipeline, PromptTemplatePipelineLibrary }; | ||
export { ExecutionTypes, PTBK_VERSION, PromptTemplatePipelineLibrary }; | ||
export { SimplePromptInterfaceTools }; | ||
@@ -15,0 +14,0 @@ export { promptTemplatePipelineStringToJson, validatePromptTemplatePipelineJson }; |
@@ -8,3 +8,2 @@ import { string_name } from '.././types/typeAliases'; | ||
import { PromptTemplatePipelineString } from '../types/PromptTemplatePipelineString'; | ||
import { PromptTemplatePipeline } from './PromptTemplatePipeline'; | ||
/** | ||
@@ -17,3 +16,3 @@ * Options for PromptTemplatePipelineLibrary | ||
*/ | ||
readonly library: Record<string_name, PromptTemplatePipeline>; | ||
readonly library: Record<string_name, PromptTemplatePipelineJson>; | ||
/** | ||
@@ -50,3 +49,3 @@ * Optional settings for creating a PromptTemplatePipelineExecutor | ||
*/ | ||
getPtp(name: string_name): PromptTemplatePipeline; | ||
getPtp(name: string_name): PromptTemplatePipelineJson; | ||
/** | ||
@@ -53,0 +52,0 @@ * Checks whether prompt is in the library |
@@ -1,2 +0,2 @@ | ||
import { PromptTemplatePipelineJson } from '../types/PromptTemplatePipelineJson/PromptTemplatePipelineJson'; | ||
import type { PromptTemplatePipelineJson } from '../types/PromptTemplatePipelineJson/PromptTemplatePipelineJson'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Validates PromptTemplatePipelineJson if it is logically valid. |
@@ -1,2 +0,2 @@ | ||
import type { PromptTemplatePipeline } from '../classes/PromptTemplatePipeline'; | ||
import { PromptTemplatePipelineJson } from '../_packages/types.index'; | ||
import { ExecutionTools } from './ExecutionTools'; | ||
@@ -19,3 +19,3 @@ import { PtpExecutor } from './PtpExecutor'; | ||
*/ | ||
readonly ptp: PromptTemplatePipeline; | ||
readonly ptp: PromptTemplatePipelineJson; | ||
/** | ||
@@ -22,0 +22,0 @@ * The execution tools to be used during the execution of the PTP |
@@ -79,2 +79,8 @@ import { number_integer, number_positive_or_zero, string_javascript, string_javascript_name, string_markdown, string_name, string_prompt, string_template } from '../.././types/typeAliases'; | ||
/** | ||
* List of parameter names that are used in the prompt template and must be defined before the prompt template is executed | ||
* | ||
* Note: Joker is one of the dependent parameters | ||
*/ | ||
readonly dependentParameterNames: Array<string_name>; | ||
/** | ||
* If theese parameters meet the expectations requirements, they are used instead of executing this prompt template | ||
@@ -116,3 +122,3 @@ */ | ||
*/ | ||
readonly resultingParameterName: string; | ||
readonly resultingParameterName: string_name; | ||
} | ||
@@ -119,0 +125,0 @@ export {}; |
@@ -11,3 +11,2 @@ import { string_ptbk_url, string_version } from '../.././types/typeAliases'; | ||
* - _(this)_ **JSON** format, parsed from the .ptbk.md file | ||
* - **Object** which is created from JSON format and bound with tools around (but not the execution logic) | ||
* | ||
@@ -14,0 +13,0 @@ * @see https://github.com/webgptorg/promptbook#prompt-template-pipeline |
@@ -8,3 +8,2 @@ /** | ||
* - **JSON** format, parsed from the .ptbk.md file | ||
* - **Object** which is created from JSON format and bound with tools around (but not the execution logic) | ||
* | ||
@@ -11,0 +10,0 @@ * @see https://github.com/webgptorg/promptbook#prompt-template-pipeline |
{ | ||
"name": "@promptbook/remote-client", | ||
"version": "0.29.0", | ||
"version": "0.30.0-0", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -40,3 +40,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.29.0" | ||
"@promptbook/core": "0.30.0-0" | ||
}, | ||
@@ -43,0 +43,0 @@ "main": "./umd/index.umd.js", |
@@ -1,2 +0,1 @@ | ||
import { PromptTemplatePipeline } from '../classes/PromptTemplatePipeline'; | ||
import { PromptTemplatePipelineLibrary } from '../classes/PromptTemplatePipelineLibrary'; | ||
@@ -12,3 +11,3 @@ import { PTBK_VERSION } from '../config'; | ||
import { ExecutionTypes } from '../types/ExecutionTypes'; | ||
export { ExecutionTypes, PTBK_VERSION, PromptTemplatePipeline, PromptTemplatePipelineLibrary }; | ||
export { ExecutionTypes, PTBK_VERSION, PromptTemplatePipelineLibrary }; | ||
export { SimplePromptInterfaceTools }; | ||
@@ -15,0 +14,0 @@ export { promptTemplatePipelineStringToJson, validatePromptTemplatePipelineJson }; |
@@ -8,3 +8,2 @@ import { string_name } from '.././types/typeAliases'; | ||
import { PromptTemplatePipelineString } from '../types/PromptTemplatePipelineString'; | ||
import { PromptTemplatePipeline } from './PromptTemplatePipeline'; | ||
/** | ||
@@ -17,3 +16,3 @@ * Options for PromptTemplatePipelineLibrary | ||
*/ | ||
readonly library: Record<string_name, PromptTemplatePipeline>; | ||
readonly library: Record<string_name, PromptTemplatePipelineJson>; | ||
/** | ||
@@ -50,3 +49,3 @@ * Optional settings for creating a PromptTemplatePipelineExecutor | ||
*/ | ||
getPtp(name: string_name): PromptTemplatePipeline; | ||
getPtp(name: string_name): PromptTemplatePipelineJson; | ||
/** | ||
@@ -53,0 +52,0 @@ * Checks whether prompt is in the library |
@@ -1,2 +0,2 @@ | ||
import { PromptTemplatePipelineJson } from '../types/PromptTemplatePipelineJson/PromptTemplatePipelineJson'; | ||
import type { PromptTemplatePipelineJson } from '../types/PromptTemplatePipelineJson/PromptTemplatePipelineJson'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Validates PromptTemplatePipelineJson if it is logically valid. |
@@ -1,2 +0,2 @@ | ||
import type { PromptTemplatePipeline } from '../classes/PromptTemplatePipeline'; | ||
import { PromptTemplatePipelineJson } from '../_packages/types.index'; | ||
import { ExecutionTools } from './ExecutionTools'; | ||
@@ -19,3 +19,3 @@ import { PtpExecutor } from './PtpExecutor'; | ||
*/ | ||
readonly ptp: PromptTemplatePipeline; | ||
readonly ptp: PromptTemplatePipelineJson; | ||
/** | ||
@@ -22,0 +22,0 @@ * The execution tools to be used during the execution of the PTP |
@@ -79,2 +79,8 @@ import { number_integer, number_positive_or_zero, string_javascript, string_javascript_name, string_markdown, string_name, string_prompt, string_template } from '../.././types/typeAliases'; | ||
/** | ||
* List of parameter names that are used in the prompt template and must be defined before the prompt template is executed | ||
* | ||
* Note: Joker is one of the dependent parameters | ||
*/ | ||
readonly dependentParameterNames: Array<string_name>; | ||
/** | ||
* If theese parameters meet the expectations requirements, they are used instead of executing this prompt template | ||
@@ -116,3 +122,3 @@ */ | ||
*/ | ||
readonly resultingParameterName: string; | ||
readonly resultingParameterName: string_name; | ||
} | ||
@@ -119,0 +125,0 @@ export {}; |
@@ -11,3 +11,2 @@ import { string_ptbk_url, string_version } from '../.././types/typeAliases'; | ||
* - _(this)_ **JSON** format, parsed from the .ptbk.md file | ||
* - **Object** which is created from JSON format and bound with tools around (but not the execution logic) | ||
* | ||
@@ -14,0 +13,0 @@ * @see https://github.com/webgptorg/promptbook#prompt-template-pipeline |
@@ -8,3 +8,2 @@ /** | ||
* - **JSON** format, parsed from the .ptbk.md file | ||
* - **Object** which is created from JSON format and bound with tools around (but not the execution logic) | ||
* | ||
@@ -11,0 +10,0 @@ * @see https://github.com/webgptorg/promptbook#prompt-template-pipeline |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
282
328652
5178