Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@promptbook/node

Package Overview
Dependencies
Maintainers
0
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/node - npm Package Compare versions

Comparing version 0.69.0-19 to 0.69.0-20

24

esm/typings/src/execution/createPipelineExecutor/$OngoingTemplateResult.d.ts

@@ -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>;
};

2

esm/typings/src/execution/createPipelineExecutor/40-executeAttempts.d.ts

@@ -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/node",
"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": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc