@promptbook/remote-client
Advanced tools
Comparing version 0.69.0-19 to 0.69.0-20
@@ -8,3 +8,3 @@ import { io } from 'socket.io-client'; | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.69.0-18'; | ||
var PROMPTBOOK_VERSION = '0.69.0-19'; | ||
// TODO:[main] !!!! List here all the versions and annotate + put into script | ||
@@ -11,0 +11,0 @@ |
@@ -13,10 +13,34 @@ import { ExpectError } from '../../errors/ExpectError'; | ||
export type $OngoingTemplateResult = { | ||
/** | ||
* @@@ | ||
*/ | ||
$prompt?: Prompt; | ||
/** | ||
* @@@ | ||
*/ | ||
$chatResult?: ChatPromptResult; | ||
/** | ||
* @@@ | ||
*/ | ||
$completionResult?: CompletionPromptResult; | ||
/** | ||
* @@@ | ||
*/ | ||
$embeddingResult?: EmbeddingPromptResult; | ||
/** | ||
* @@@ | ||
*/ | ||
$result: PromptResult | null; | ||
/** | ||
* @@@ | ||
*/ | ||
$resultString: string | null; | ||
/** | ||
* @@@ | ||
*/ | ||
$expectError: ExpectError | null; | ||
/** | ||
* @@@ | ||
*/ | ||
$scriptPipelineExecutionErrors: Array<Error>; | ||
}; |
@@ -36,3 +36,3 @@ import type { ReadonlyDeep } from 'type-fest'; | ||
*/ | ||
readonly parameters: ReadonlyDeep<Parameters>; | ||
readonly parameters: Readonly<Parameters>; | ||
/** | ||
@@ -39,0 +39,0 @@ * @@@ |
@@ -18,3 +18,3 @@ import { ReadonlyDeep } from 'type-fest'; | ||
*/ | ||
readonly outputParameters: Parameters; | ||
readonly outputParameters: Readonly<Parameters>; | ||
/** | ||
@@ -27,15 +27,15 @@ * Whether the execution was successful, details are aviable in `executionReport` | ||
*/ | ||
readonly usage: PromptResultUsage; | ||
readonly usage: ReadonlyDeep<PromptResultUsage>; | ||
/** | ||
* Errors that occured during the execution, details are aviable in `executionReport` | ||
*/ | ||
readonly errors: Array<ErrorJson>; | ||
readonly errors: ReadonlyDeep<Array<ErrorJson>>; | ||
/** | ||
* Warnings that occured during the execution, details are aviable in `executionReport` | ||
*/ | ||
readonly warnings: Array<ErrorJson>; | ||
readonly warnings: ReadonlyDeep<Array<ErrorJson>>; | ||
/** | ||
* The report of the execution with all details | ||
*/ | ||
readonly executionReport: ExecutionReportJson; | ||
readonly executionReport: ReadonlyDeep<ExecutionReportJson>; | ||
/** | ||
@@ -50,5 +50,4 @@ * The prepared pipeline that was used for the execution | ||
/** | ||
* TODO: !!!!!! Maybe add ReadonlyDeep< to all | ||
* TODO: [🧠] Should this file be in /execution or /types folder? | ||
* TODO: [🧠] Maybe constrain `ErrorJson` -> `ErrorJson & { name: 'PipelineExecutionError' | 'Error' }` | ||
*/ |
{ | ||
"name": "@promptbook/remote-client", | ||
"version": "0.69.0-19", | ||
"version": "0.69.0-20", | ||
"description": "Supercharge your use of large language models", | ||
@@ -54,3 +54,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.69.0-19" | ||
"@promptbook/core": "0.69.0-20" | ||
}, | ||
@@ -57,0 +57,0 @@ "dependencies": { |
@@ -15,3 +15,3 @@ (function (global, factory) { | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.69.0-18'; | ||
var PROMPTBOOK_VERSION = '0.69.0-19'; | ||
// TODO:[main] !!!! List here all the versions and annotate + put into script | ||
@@ -18,0 +18,0 @@ |
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
531096
10461