@promptbook/remote-client
Advanced tools
Comparing version 0.56.0 to 0.57.0-0
@@ -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 @@ * |
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
465040
8001