Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
401
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.44.0-4 to 0.44.0-5

esm/typings/execution/plugins/natural-execution-tools/mocked/fakeTextToExpectations.test.d.ts

5

esm/typings/_packages/utils.index.d.ts
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
import { parseNumber } from '../conversion/utils/parseNumber';
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { replaceParameters } from '../execution/utils/replaceParameters';

@@ -43,5 +44,5 @@ import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';

import { unwrapResult } from '../utils/unwrapResult';
export { assertsExecutionSuccessful, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [🌻]
extractOneBlockFromMarkdown, isPassingExpectations, isValidJsonString, parseNumber, // <- [🌻]
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };

@@ -48,0 +49,0 @@ export { countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords };

4

esm/typings/execution/plugins/natural-execution-tools/mocked/fakeTextToExpectations.d.ts

@@ -8,1 +8,5 @@ import type { Expectations } from '../../../../types/PromptbookJson/PromptTemplateJson';

export declare function $fakeTextToExpectations(expectations: Expectations): string;
/**
* TODO: Implement better
* TODO: [πŸ’] Unite object for expecting amount and format - use here also a format
*/

@@ -133,3 +133,4 @@ import { ExpectFormatCommand } from '../Command';

/**
* TODO: [πŸ’] Unite object for expecting amount and format - remove expectFormat
* TODO: use one helper type> (string_prompt | string_javascript | string_markdown) & string_template
*/
{
"name": "@promptbook/remote-client",
"version": "0.44.0-4",
"version": "0.44.0-5",
"description": "Library to supercharge your use of large language models",

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

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

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

import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
import { parseNumber } from '../conversion/utils/parseNumber';
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { replaceParameters } from '../execution/utils/replaceParameters';

@@ -43,5 +44,5 @@ import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';

import { unwrapResult } from '../utils/unwrapResult';
export { assertsExecutionSuccessful, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [🌻]
extractOneBlockFromMarkdown, isPassingExpectations, isValidJsonString, parseNumber, // <- [🌻]
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };

@@ -48,0 +49,0 @@ export { countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords };

@@ -8,1 +8,5 @@ import type { Expectations } from '../../../../types/PromptbookJson/PromptTemplateJson';

export declare function $fakeTextToExpectations(expectations: Expectations): string;
/**
* TODO: Implement better
* TODO: [πŸ’] Unite object for expecting amount and format - use here also a format
*/

@@ -133,3 +133,4 @@ import { ExpectFormatCommand } from '../Command';

/**
* TODO: [πŸ’] Unite object for expecting amount and format - remove expectFormat
* TODO: use one helper type> (string_prompt | string_javascript | string_markdown) & string_template
*/
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