Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
415
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.56.0 to 0.57.0-0

2

esm/index.es.js

@@ -159,5 +159,5 @@ import { io } from 'socket.io-client';

*/
var PROMPTBOOK_VERSION = '0.56.0-4';
var PROMPTBOOK_VERSION = '0.56.0';
export { PROMPTBOOK_VERSION, RemoteLlmExecutionTools };
//# sourceMappingURL=index.es.js.map

@@ -25,3 +25,3 @@ import type { Prompt } from '../../../../types/Prompt';

*/
gptChat(prompt: Pick<Prompt, 'content' | 'modelRequirements'>): Promise<PromptChatResult>;
gptChat(prompt: Pick<Prompt, 'content' | 'modelRequirements' | 'expectFormat'>): Promise<PromptChatResult>;
/**

@@ -28,0 +28,0 @@ * Calls OpenAI API to use a complete model.

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

import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { ExpectFormatCommand } from './Command';
import type { ModelRequirements } from './ModelRequirements';
import type { Expectations } from './PromptbookJson/PromptTemplateJson';
import type { string_name } from './typeAliases';

@@ -5,5 +9,2 @@ import type { string_prompt } from './typeAliases';

import type { string_title } from './typeAliases';
import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { ModelRequirements } from './ModelRequirements';
import type { Expectations } from './PromptbookJson/PromptTemplateJson';
/**

@@ -44,2 +45,9 @@ * Prompt in a text along with model requirements, but without any execution or templating logic.

/**
* Expect this format of the answer
*
* Note: Expectations are performed after all postprocessing steps
* @deprecated [πŸ’]
*/
readonly expectFormat?: ExpectFormatCommand['format'];
/**
* Unique identifier of the promptbook with specific template name as hash

@@ -46,0 +54,0 @@ *

{
"name": "@promptbook/remote-client",
"version": "0.56.0",
"version": "0.57.0-0",
"description": "Library to supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.56.0"
"@promptbook/core": "0.57.0-0"
},

@@ -53,0 +53,0 @@ "main": "./umd/index.umd.js",

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

*/
var PROMPTBOOK_VERSION = '0.56.0-4';
var PROMPTBOOK_VERSION = '0.56.0';

@@ -166,0 +166,0 @@ exports.PROMPTBOOK_VERSION = PROMPTBOOK_VERSION;

@@ -25,3 +25,3 @@ import type { Prompt } from '../../../../types/Prompt';

*/
gptChat(prompt: Pick<Prompt, 'content' | 'modelRequirements'>): Promise<PromptChatResult>;
gptChat(prompt: Pick<Prompt, 'content' | 'modelRequirements' | 'expectFormat'>): Promise<PromptChatResult>;
/**

@@ -28,0 +28,0 @@ * Calls OpenAI API to use a complete model.

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

import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { ExpectFormatCommand } from './Command';
import type { ModelRequirements } from './ModelRequirements';
import type { Expectations } from './PromptbookJson/PromptTemplateJson';
import type { string_name } from './typeAliases';

@@ -5,5 +9,2 @@ import type { string_prompt } from './typeAliases';

import type { string_title } from './typeAliases';
import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { ModelRequirements } from './ModelRequirements';
import type { Expectations } from './PromptbookJson/PromptTemplateJson';
/**

@@ -44,2 +45,9 @@ * Prompt in a text along with model requirements, but without any execution or templating logic.

/**
* Expect this format of the answer
*
* Note: Expectations are performed after all postprocessing steps
* @deprecated [πŸ’]
*/
readonly expectFormat?: ExpectFormatCommand['format'];
/**
* Unique identifier of the promptbook with specific template name as hash

@@ -46,0 +54,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