@promptbook/utils
Advanced tools
Comparing version 0.81.0-16 to 0.81.0-17
@@ -22,3 +22,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { parseMarkdownSection } from '../utils/markdown/parseMarkdownSection'; | ||
import { removeContentComments } from '../utils/markdown/removeContentComments'; | ||
import { removeMarkdownComments } from '../utils/markdown/removeMarkdownComments'; | ||
import { removeMarkdownFormatting } from '../utils/markdown/removeMarkdownFormatting'; | ||
@@ -47,4 +47,4 @@ import { splitMarkdownIntoSections } from '../utils/markdown/splitMarkdownIntoSections'; | ||
export { parseMarkdownSection }; | ||
export { removeContentComments }; | ||
export { removeMarkdownComments }; | ||
export { removeMarkdownFormatting }; | ||
export { splitMarkdownIntoSections }; |
@@ -8,13 +8,18 @@ /** | ||
readonly name: "GENERATOR"; | ||
readonly description: "@@@"; | ||
readonly description: "Generates any kind (in HTML with possible scripts and css format) of content from input message"; | ||
readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/184"; | ||
readonly pipelineInterface: { | ||
readonly inputParameters: readonly [{ | ||
readonly name: "nonce"; | ||
readonly description: "Just to prevent GENERATOR to be set as implicit formfactor"; | ||
readonly name: "inputMessage"; | ||
readonly description: "Input message to be image made from"; | ||
readonly isInput: true; | ||
readonly isOutput: false; | ||
}]; | ||
readonly outputParameters: readonly []; | ||
readonly outputParameters: readonly [{ | ||
readonly name: "result"; | ||
readonly description: "Result in HTML to be shown to user"; | ||
readonly isInput: false; | ||
readonly isOutput: true; | ||
}]; | ||
}; | ||
}; |
@@ -8,3 +8,3 @@ /** | ||
readonly name: "IMAGE_GENERATOR"; | ||
readonly description: "@@@"; | ||
readonly description: "Generates prompt for image generation from input message"; | ||
readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/184"; | ||
@@ -11,0 +11,0 @@ readonly pipelineInterface: { |
@@ -108,16 +108,21 @@ /** | ||
readonly name: "GENERATOR"; | ||
readonly description: "@@@"; | ||
readonly description: "Generates any kind (in HTML with possible scripts and css format) of content from input message"; | ||
readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/184"; | ||
readonly pipelineInterface: { | ||
readonly inputParameters: readonly [{ | ||
readonly name: "nonce"; | ||
readonly description: "Just to prevent GENERATOR to be set as implicit formfactor"; | ||
readonly name: "inputMessage"; | ||
readonly description: "Input message to be image made from"; | ||
readonly isInput: true; | ||
readonly isOutput: false; | ||
}]; | ||
readonly outputParameters: readonly []; | ||
readonly outputParameters: readonly [{ | ||
readonly name: "result"; | ||
readonly description: "Result in HTML to be shown to user"; | ||
readonly isInput: false; | ||
readonly isOutput: true; | ||
}]; | ||
}; | ||
}, { | ||
readonly name: "IMAGE_GENERATOR"; | ||
readonly description: "@@@"; | ||
readonly description: "Generates prompt for image generation from input message"; | ||
readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/184"; | ||
@@ -124,0 +129,0 @@ readonly pipelineInterface: { |
@@ -11,1 +11,4 @@ import type { $PipelineJson } from '../../commands/_common/types/CommandParser'; | ||
}; | ||
/** | ||
* TODO: [๐ง ][๐] Should this be here? | ||
*/ |
@@ -1,2 +0,2 @@ | ||
import { JsonValue } from 'type-fest'; | ||
import type { JsonValue } from 'type-fest'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Tests if the value is [๐] serializable as JSON |
{ | ||
"name": "@promptbook/utils", | ||
"version": "0.81.0-16", | ||
"version": "0.81.0-17", | ||
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin", | ||
@@ -5,0 +5,0 @@ "--note-0": " <- [๐]", |
@@ -59,3 +59,3 @@ <!-- โ ๏ธ WARNING: This code has been generated so that any manual changes will be overwritten --> | ||
- `prettifyPipelineString` | ||
- `removeContentComments` | ||
- `removeMarkdownComments` | ||
- `removeEmojis` | ||
@@ -62,0 +62,0 @@ - `removeMarkdownFormatting` _<- Note: Exported from [`@promptbook/markdown-utils`](https://www.npmjs.com/package/@promptbook/markdown-utils)_ |
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
921518
17658