@promptbook/node
Advanced tools
Comparing version 0.61.0-25 to 0.61.0-26
import { spaceTrim } from 'spacetrim'; | ||
import { renderPromptbookMermaid } from '../conversion/prettify/renderPipelineMermaidOptions'; | ||
import { extractParametersFromPromptTemplate } from '../conversion/utils/extractParametersFromPromptTemplate'; | ||
import { extractParameterNamesFromPromptTemplate } from '../conversion/utils/extractParameterNamesFromPromptTemplate'; | ||
import { extractVariables } from '../conversion/utils/extractVariables'; | ||
@@ -18,3 +18,3 @@ import { renameParameter } from '../conversion/utils/renameParameter'; | ||
import { CountUtils } from '../utils/expectation-counters/index'; | ||
import { extractParameters } from '../utils/extractParameters'; | ||
import { extractParameterNames } from '../utils/extractParameterNames'; | ||
import { DIACRITIC_VARIANTS_LETTERS } from '../utils/normalization/DIACRITIC_VARIANTS_LETTERS'; | ||
@@ -59,3 +59,3 @@ import type { IKeywords, string_keyword } from '../utils/normalization/IKeywords'; | ||
export { forEachAsync, PROMPTBOOK_VERSION }; | ||
export { extractParameters, extractVariables, replaceParameters, spaceTrim }; | ||
export { extractParameterNames, extractVariables, replaceParameters, spaceTrim }; | ||
export { $currentDate, $randomSeed, extractBlock, // <- [π»] + maybe export through `@promptbook/markdown-utils` | ||
@@ -75,3 +75,3 @@ isHostnameOnPrivateNetwork, isUrlOnPrivateNetwork, isValidFilePath, isValidJavascriptName, isValidJsonString, isValidPipelineUrl, isValidPromptbookVersion, isValidSemanticVersion, isValidUrl, isValidUuid, parseNumber, // <- [π»] | ||
export type { string_camelCase, string_kebab_case, string_PascalCase, string_SCREAMING_CASE, string_snake_case }; | ||
export { extractParametersFromPromptTemplate, renameParameter, renderPromptbookMermaid }; | ||
export { extractParameterNamesFromPromptTemplate, renameParameter, renderPromptbookMermaid }; | ||
export { difference, intersection, union }; | ||
@@ -78,0 +78,0 @@ /** |
@@ -84,5 +84,5 @@ import type { string_file_path } from '../typeAliases'; | ||
* TODO: [π§ ] Maybe wrap all {parameterNames} in brackets for example { "resultingParameterName": "{foo}" } | ||
* Note: There was a proposal for multiple types of promptbook objects 78816ff33e2705ee1a187aa2eb8affd976d4ea1a | ||
* Note: [πΌ] There was a proposal for multiple types of promptbook objects 78816ff33e2705ee1a187aa2eb8affd976d4ea1a | ||
* But then immediately reverted back to the single type | ||
* With knowledge as part of the promptbook and collection just as a collection of promptbooks | ||
*/ |
{ | ||
"name": "@promptbook/node", | ||
"version": "0.61.0-25", | ||
"version": "0.61.0-26", | ||
"description": "Supercharge your use of large language models", | ||
@@ -54,3 +54,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.61.0-25" | ||
"@promptbook/core": "0.61.0-26" | ||
}, | ||
@@ -57,0 +57,0 @@ "main": "./umd/index.umd.js", |
import { spaceTrim } from 'spacetrim'; | ||
import { renderPromptbookMermaid } from '../conversion/prettify/renderPipelineMermaidOptions'; | ||
import { extractParametersFromPromptTemplate } from '../conversion/utils/extractParametersFromPromptTemplate'; | ||
import { extractParameterNamesFromPromptTemplate } from '../conversion/utils/extractParameterNamesFromPromptTemplate'; | ||
import { extractVariables } from '../conversion/utils/extractVariables'; | ||
@@ -18,3 +18,3 @@ import { renameParameter } from '../conversion/utils/renameParameter'; | ||
import { CountUtils } from '../utils/expectation-counters/index'; | ||
import { extractParameters } from '../utils/extractParameters'; | ||
import { extractParameterNames } from '../utils/extractParameterNames'; | ||
import { DIACRITIC_VARIANTS_LETTERS } from '../utils/normalization/DIACRITIC_VARIANTS_LETTERS'; | ||
@@ -59,3 +59,3 @@ import type { IKeywords, string_keyword } from '../utils/normalization/IKeywords'; | ||
export { forEachAsync, PROMPTBOOK_VERSION }; | ||
export { extractParameters, extractVariables, replaceParameters, spaceTrim }; | ||
export { extractParameterNames, extractVariables, replaceParameters, spaceTrim }; | ||
export { $currentDate, $randomSeed, extractBlock, // <- [π»] + maybe export through `@promptbook/markdown-utils` | ||
@@ -75,3 +75,3 @@ isHostnameOnPrivateNetwork, isUrlOnPrivateNetwork, isValidFilePath, isValidJavascriptName, isValidJsonString, isValidPipelineUrl, isValidPromptbookVersion, isValidSemanticVersion, isValidUrl, isValidUuid, parseNumber, // <- [π»] | ||
export type { string_camelCase, string_kebab_case, string_PascalCase, string_SCREAMING_CASE, string_snake_case }; | ||
export { extractParametersFromPromptTemplate, renameParameter, renderPromptbookMermaid }; | ||
export { extractParameterNamesFromPromptTemplate, renameParameter, renderPromptbookMermaid }; | ||
export { difference, intersection, union }; | ||
@@ -78,0 +78,0 @@ /** |
@@ -84,5 +84,5 @@ import type { string_file_path } from '../typeAliases'; | ||
* TODO: [π§ ] Maybe wrap all {parameterNames} in brackets for example { "resultingParameterName": "{foo}" } | ||
* Note: There was a proposal for multiple types of promptbook objects 78816ff33e2705ee1a187aa2eb8affd976d4ea1a | ||
* Note: [πΌ] There was a proposal for multiple types of promptbook objects 78816ff33e2705ee1a187aa2eb8affd976d4ea1a | ||
* But then immediately reverted back to the single type | ||
* With knowledge as part of the promptbook and collection just as a collection of promptbooks | ||
*/ |
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
1594179
26531