@promptbook/core
Advanced tools
Comparing version 0.16.0 to 0.17.0
@@ -1,3 +0,3 @@ | ||
import { createRemoteServer } from '../execution/plugins/natural-execution-tools/remote/createRemoteServer'; | ||
import { RemoteServerOptions } from '../execution/plugins/natural-execution-tools/remote/interfaces/RemoteServerOptions'; | ||
export { createRemoteServer, RemoteServerOptions }; | ||
import { runRemoteServer } from '../execution/plugins/natural-execution-tools/remote/runRemoteServer'; | ||
export { RemoteServerOptions, runRemoteServer }; |
@@ -0,1 +1,5 @@ | ||
import { EMOJIS, EMOJIS_IN_CATEGORIES } from '../utils/emojis'; | ||
import { extractAllListItemsFromMarkdown } from '../utils/markdown/extractAllListItemsFromMarkdown'; | ||
import { extractBlocksFromMarkdown } from '../utils/markdown/extractBlocksFromMarkdown'; | ||
import { extractOneBlockFromMarkdown } from '../utils/markdown/extractOneBlockFromMarkdown'; | ||
import { removeContentComments } from '../utils/markdown/removeContentComments'; | ||
@@ -5,3 +9,4 @@ import { removeMarkdownFormatting } from '../utils/markdown/removeMarkdownFormatting'; | ||
import { removeQuotes } from '../utils/removeQuotes'; | ||
import { replaceParameters } from '../utils/replaceParameters'; | ||
import { unwrapResult } from '../utils/unwrapResult'; | ||
export { removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, unwrapResult }; | ||
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllListItemsFromMarkdown, extractBlocksFromMarkdown, extractOneBlockFromMarkdown, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, unwrapResult, }; |
import { ExecutionType } from './ExecutionTypes'; | ||
import { string_name, string_title } from './typeAliases'; | ||
import { string_markdown_text, string_name } from './typeAliases'; | ||
/** | ||
@@ -20,3 +20,3 @@ * TaskProgress represents the progress of a PromptTemplatePipeline execution. | ||
*/ | ||
readonly title: string_title; | ||
readonly title: string_markdown_text; | ||
/** | ||
@@ -23,0 +23,0 @@ * Does the task started? |
@@ -12,5 +12,3 @@ import { string_markdown, string_markdown_text } from '../.././types/typeAliases'; | ||
* @returns | ||
* | ||
* @private within the library | ||
*/ | ||
export declare function extractAllListItemsFromMarkdown(markdown: string_markdown): string_markdown_text[]; |
@@ -7,4 +7,2 @@ import { string_markdown } from '../.././types/typeAliases'; | ||
* @returns code blocks with language and content | ||
* | ||
* @private within the library | ||
*/ | ||
@@ -11,0 +9,0 @@ export declare function extractBlocksFromMarkdown(markdown: string_markdown): Array<{ |
@@ -10,4 +10,2 @@ import { string_markdown } from '../.././types/typeAliases'; | ||
* @returns code block with language and content | ||
* | ||
* @private within the library | ||
*/ | ||
@@ -14,0 +12,0 @@ export declare function extractOneBlockFromMarkdown(markdown: string_markdown): { |
@@ -9,4 +9,2 @@ import { string_template } from '.././types/typeAliases'; | ||
* @returns the template with replaced parameters | ||
* | ||
* @private within the library | ||
*/ | ||
@@ -13,0 +11,0 @@ export declare function replaceParameters(template: string_template, parameters: Parameters): string; |
{ | ||
"name": "@promptbook/core", | ||
"version": "0.16.0", | ||
"version": "0.17.0", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -1,3 +0,3 @@ | ||
import { createRemoteServer } from '../execution/plugins/natural-execution-tools/remote/createRemoteServer'; | ||
import { RemoteServerOptions } from '../execution/plugins/natural-execution-tools/remote/interfaces/RemoteServerOptions'; | ||
export { createRemoteServer, RemoteServerOptions }; | ||
import { runRemoteServer } from '../execution/plugins/natural-execution-tools/remote/runRemoteServer'; | ||
export { RemoteServerOptions, runRemoteServer }; |
@@ -0,1 +1,5 @@ | ||
import { EMOJIS, EMOJIS_IN_CATEGORIES } from '../utils/emojis'; | ||
import { extractAllListItemsFromMarkdown } from '../utils/markdown/extractAllListItemsFromMarkdown'; | ||
import { extractBlocksFromMarkdown } from '../utils/markdown/extractBlocksFromMarkdown'; | ||
import { extractOneBlockFromMarkdown } from '../utils/markdown/extractOneBlockFromMarkdown'; | ||
import { removeContentComments } from '../utils/markdown/removeContentComments'; | ||
@@ -5,3 +9,4 @@ import { removeMarkdownFormatting } from '../utils/markdown/removeMarkdownFormatting'; | ||
import { removeQuotes } from '../utils/removeQuotes'; | ||
import { replaceParameters } from '../utils/replaceParameters'; | ||
import { unwrapResult } from '../utils/unwrapResult'; | ||
export { removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, unwrapResult }; | ||
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllListItemsFromMarkdown, extractBlocksFromMarkdown, extractOneBlockFromMarkdown, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, unwrapResult, }; |
import { ExecutionType } from './ExecutionTypes'; | ||
import { string_name, string_title } from './typeAliases'; | ||
import { string_markdown_text, string_name } from './typeAliases'; | ||
/** | ||
@@ -20,3 +20,3 @@ * TaskProgress represents the progress of a PromptTemplatePipeline execution. | ||
*/ | ||
readonly title: string_title; | ||
readonly title: string_markdown_text; | ||
/** | ||
@@ -23,0 +23,0 @@ * Does the task started? |
@@ -12,5 +12,3 @@ import { string_markdown, string_markdown_text } from '../.././types/typeAliases'; | ||
* @returns | ||
* | ||
* @private within the library | ||
*/ | ||
export declare function extractAllListItemsFromMarkdown(markdown: string_markdown): string_markdown_text[]; |
@@ -7,4 +7,2 @@ import { string_markdown } from '../.././types/typeAliases'; | ||
* @returns code blocks with language and content | ||
* | ||
* @private within the library | ||
*/ | ||
@@ -11,0 +9,0 @@ export declare function extractBlocksFromMarkdown(markdown: string_markdown): Array<{ |
@@ -10,4 +10,2 @@ import { string_markdown } from '../.././types/typeAliases'; | ||
* @returns code block with language and content | ||
* | ||
* @private within the library | ||
*/ | ||
@@ -14,0 +12,0 @@ export declare function extractOneBlockFromMarkdown(markdown: string_markdown): { |
@@ -9,4 +9,2 @@ import { string_template } from '.././types/typeAliases'; | ||
* @returns the template with replaced parameters | ||
* | ||
* @private within the library | ||
*/ | ||
@@ -13,0 +11,0 @@ export declare function replaceParameters(template: string_template, parameters: Parameters): string; |
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
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
561948
7183