Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
0
Versions
406
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Compare versions

Comparing version 0.69.0-4 to 0.69.0-5

esm/typings/src/execution/createPipelineExecutor/00-createPipelineExecutor.d.ts

2

esm/index.es.js

@@ -8,3 +8,3 @@ import { io } from 'socket.io-client';

*/
var PROMPTBOOK_VERSION = '0.69.0-3';
var PROMPTBOOK_VERSION = '0.69.0-4';
// TODO: !!!! List here all the versions and annotate + put into script

@@ -11,0 +11,0 @@

@@ -41,3 +41,3 @@ import { PROMPTBOOK_VERSION } from '../version';

import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
import { createPipelineExecutor } from '../execution/createPipelineExecutor/createPipelineExecutor';
import { createPipelineExecutor } from '../execution/createPipelineExecutor/00-createPipelineExecutor';
import { embeddingVectorToString } from '../execution/embeddingVectorToString';

@@ -44,0 +44,0 @@ import { ZERO_USAGE } from '../execution/utils/addUsage';

@@ -19,4 +19,4 @@ import type { PipelineCollection } from '../collection/PipelineCollection';

import type { CommonExecutionToolsOptions } from '../execution/CommonExecutionToolsOptions';
import type { CreatePipelineExecutorOptions } from '../execution/createPipelineExecutor/CreatePipelineExecutorOptions';
import type { CreatePipelineExecutorSettings } from '../execution/createPipelineExecutor/CreatePipelineExecutorSettings';
import type { CreatePipelineExecutorOptions } from '../execution/createPipelineExecutor/00-CreatePipelineExecutorOptions';
import type { CreatePipelineExecutorSettings } from '../execution/createPipelineExecutor/00-CreatePipelineExecutorSettings';
import type { EmbeddingVector } from '../execution/EmbeddingVector';

@@ -23,0 +23,0 @@ import type { ExecutionTools } from '../execution/ExecutionTools';

@@ -6,4 +6,30 @@ import type { ReadonlyDeep } from 'type-fest';

/**
* @private @@@
* @@@
*
* @private internal type of `createPipelineExecutor`
*/
export declare function filterJustOutputParameters(preparedPipeline: ReadonlyDeep<PipelineJson>, parametersToPass: Readonly<Parameters>, $warnings: PipelineExecutionError[], pipelineIdentification: string): Parameters;
type FilterJustOutputParametersOptions = {
/**
* @@@
*/
readonly preparedPipeline: ReadonlyDeep<PipelineJson>;
/**
* @@@
*/
readonly parametersToPass: Readonly<Parameters>;
/**
* @@@
*/
readonly $warnings: PipelineExecutionError[];
/**
* @@@
*/
readonly pipelineIdentification: string;
};
/**
* @@@
*
* @private internal utility of `createPipelineExecutor`
*/
export declare function filterJustOutputParameters(options: FilterJustOutputParametersOptions): Parameters;
export {};

@@ -6,4 +6,6 @@ import type { ReadonlyDeep } from 'type-fest';

/**
* @private @@@
* @@@
*
* @private internal utility of `createPipelineExecutor`
*/
export declare function getContextForTemplate(template: ReadonlyDeep<TemplateJson>): Promise<string_parameter_value & string_markdown>;

@@ -7,4 +7,22 @@ import type { ReadonlyDeep } from 'type-fest';

/**
* @private @@@
* @@@
*
* @private internal type of `getKnowledgeForTemplate`
*/
export declare function getKnowledgeForTemplate(preparedPipeline: ReadonlyDeep<PipelineJson>, template: ReadonlyDeep<TemplateJson>): Promise<string_parameter_value & string_markdown>;
type GetKnowledgeForTemplateOptions = {
/**
* @@@
*/
readonly preparedPipeline: ReadonlyDeep<PipelineJson>;
/**
* @@@
*/
readonly template: ReadonlyDeep<TemplateJson>;
};
/**
* @@@
*
* @private internal utility of `createPipelineExecutor`
*/
export declare function getKnowledgeForTemplate(options: GetKnowledgeForTemplateOptions): Promise<string_parameter_value & string_markdown>;
export {};

@@ -6,4 +6,26 @@ import type { ReadonlyDeep } from 'type-fest';

/**
* @private @@@
* @@@
*
* @private internal type of `getReservedParametersForTemplate`
*/
export declare function getReservedParametersForTemplate(preparedPipeline: ReadonlyDeep<PipelineJson>, template: ReadonlyDeep<TemplateJson>, pipelineIdentification: string): Promise<Readonly<ReservedParameters>>;
type GetReservedParametersForTemplateOptions = {
/**
* @@@
*/
readonly preparedPipeline: ReadonlyDeep<PipelineJson>;
/**
* @@@
*/
readonly template: ReadonlyDeep<TemplateJson>;
/**
* @@@
*/
readonly pipelineIdentification: string;
};
/**
* @@@
*
* @private internal utility of `createPipelineExecutor`
*/
export declare function getReservedParametersForTemplate(options: GetReservedParametersForTemplateOptions): Promise<Readonly<ReservedParameters>>;
export {};

@@ -6,4 +6,6 @@ import type { ReadonlyDeep } from 'type-fest';

/**
* @private @@@
* @@@
*
* @private internal utility of `createPipelineExecutor`
*/
export declare function getSamplesForTemplate(template: ReadonlyDeep<TemplateJson>): Promise<string_parameter_value & string_markdown>;

@@ -0,5 +1,6 @@

import { ReadonlyDeep } from 'type-fest';
import type { ErrorJson } from '../errors/utils/ErrorJson';
import type { ExecutionReportJson } from '../types/execution-report/ExecutionReportJson';
import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
import type { Parameters } from '../types/typeAliases';
import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
import type { ErrorJson } from '../errors/utils/ErrorJson';
import type { PromptResultUsage } from './PromptResultUsage';

@@ -44,7 +45,8 @@ /**

*/
readonly preparedPipeline: PipelineJson;
readonly preparedPipeline: ReadonlyDeep<PipelineJson>;
};
/**
* 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-4",
"version": "0.69.0-5",
"description": "Supercharge your use of large language models",

@@ -50,3 +50,3 @@ "private": false,

"peerDependencies": {
"@promptbook/core": "0.69.0-4"
"@promptbook/core": "0.69.0-5"
},

@@ -53,0 +53,0 @@ "dependencies": {

@@ -15,3 +15,3 @@ (function (global, factory) {

*/
var PROMPTBOOK_VERSION = '0.69.0-3';
var PROMPTBOOK_VERSION = '0.69.0-4';
// TODO: !!!! List here all the versions and annotate + put into script

@@ -18,0 +18,0 @@

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