@promptbook/azure-openai
Advanced tools
Comparing version 0.69.0-1 to 0.69.0-2
@@ -9,3 +9,3 @@ import { OpenAIClient, AzureKeyCredential } from '@azure/openai'; | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.69.0-0'; | ||
var PROMPTBOOK_VERSION = '0.69.0-1'; | ||
// TODO: !!!! List here all the versions and annotate + put into script | ||
@@ -12,0 +12,0 @@ |
@@ -10,2 +10,3 @@ import type { PipelineCollection } from '../collection/PipelineCollection'; | ||
import type { ExpectCommand } from '../commands/EXPECT/ExpectCommand'; | ||
import type { ForeachJson } from '../commands/FOREACH/ForeachJson'; | ||
import type { FormatCommand } from '../commands/FORMAT/FormatCommand'; | ||
@@ -236,2 +237,3 @@ import type { TemplateType } from '../commands/TEMPLATE/TemplateTypes'; | ||
export type { ExpectCommand }; | ||
export type { ForeachJson }; | ||
export type { FormatCommand }; | ||
@@ -238,0 +240,0 @@ export type { TemplateType }; |
@@ -159,3 +159,3 @@ import type { WritableDeep } from 'type-fest'; | ||
* @example 'promptbook version 0.62.0' | ||
* @example 'FOREACH List Line -> `{customer}`' | ||
* @example 'FOREACH List Line `{customers}` -> `{customer}`' | ||
*/ | ||
@@ -167,3 +167,3 @@ readonly raw: string_markdown_text; | ||
* @example '0.62.0' | ||
* @example 'List Line -> `{customer}`' | ||
* @example 'List Line `{customers}` -> `{customer}`' | ||
*/ | ||
@@ -175,3 +175,3 @@ readonly rawArgs: string_markdown_text; | ||
* @example 'PROMPTBOOK_VERSION_0_62_0' | ||
* @example 'FOREACH_LIST_LINE_CUSTOMER' | ||
* @example 'FOREACH_LIST_LINE_CUSTOMERS_CUSTOMER' | ||
*/ | ||
@@ -183,3 +183,3 @@ readonly normalized: string_name & string_SCREAMING_CASE; | ||
* @example [ '0.62.0' ] | ||
* @example [ 'List', 'Line', '', '{customer}' ] | ||
* @example [ 'List', 'Line', '{customers}', '', '{customer}' ] | ||
*/ | ||
@@ -186,0 +186,0 @@ readonly args: Array<string_name>; |
@@ -1,3 +0,2 @@ | ||
import type { string_parameter_name } from '../../types/typeAliases'; | ||
import type { TODO_string } from '../../utils/organization/TODO_string'; | ||
import type { ForeachJson } from './ForeachJson'; | ||
/** | ||
@@ -11,5 +10,2 @@ * Parsed FOREACH command <- Write [🍭] !!!!!! | ||
readonly type: 'FOREACH'; | ||
formatName: TODO_string; | ||
cellName: TODO_string; | ||
parameterName: string_parameter_name; | ||
}; | ||
} & ForeachJson; |
@@ -151,5 +151,11 @@ /** | ||
*/ | ||
export declare const DEBUG_ALLOW_PAYED_TESTING: boolean; | ||
export declare const IS_COST_PREVENTED: boolean; | ||
/** | ||
* @@@ | ||
* | ||
* @private within the repository | ||
*/ | ||
export declare const IS_PIPELINE_LOGIC_VALIDATED: boolean; | ||
/** | ||
* TODO: [🧠][🧜♂️] Maybe join remoteUrl and path into single value | ||
*/ |
@@ -25,4 +25,7 @@ import type { PipelineJson } from '../../types/PipelineJson/PipelineJson'; | ||
/** | ||
* TODO: !!!!!! FOREACH in mermaid graph | ||
* TODO: !!!!!! Knowledge in mermaid graph | ||
* TODO: !!!!!! Personas in mermaid graph | ||
* TODO: Maybe use some Mermaid package instead of string templating | ||
* TODO: [🕌] When more than 2 functionalities, split into separate functions | ||
*/ |
@@ -11,5 +11,5 @@ import type { TemplateJson } from '../../types/PipelineJson/TemplateJson'; | ||
*/ | ||
export declare function extractParameterNamesFromTemplate(template: Pick<TemplateJson, 'title' | 'description' | 'templateType' | 'content' | 'preparedContent' | 'jokerParameterNames'>): Set<string_parameter_name>; | ||
export declare function extractParameterNamesFromTemplate(template: Pick<TemplateJson, 'title' | 'description' | 'templateType' | 'content' | 'preparedContent' | 'jokerParameterNames' | 'foreach'>): Set<string_parameter_name>; | ||
/** | ||
* TODO: [🔣] If script require contentLanguage | ||
*/ |
@@ -19,2 +19,6 @@ import type { PipelineJson } from '../../types/PipelineJson/PipelineJson'; | ||
/** | ||
* @private internal function for `validatePipeline` | ||
*/ | ||
export declare function validatePipelineCore(pipeline: PipelineJson): void; | ||
/** | ||
* TODO: [🧠] Work with promptbookVersion | ||
@@ -21,0 +25,0 @@ * TODO: Use here some json-schema, Zod or something similar and change it to: |
@@ -42,1 +42,4 @@ import type { string_markdown_text } from '../typeAliases'; | ||
}; | ||
/** | ||
* TODO: !!!!!! FOREACH in report | ||
*/ |
@@ -36,4 +36,5 @@ import type { string_markdown_text } from '../typeAliases'; | ||
/** | ||
* TODO: [🧠] !!!!!! Should be here registered subparameter from foreach or not? | ||
* TODO: [♈] Probbably move expectations from templates to parameters | ||
* TODO: [🍙] Make some standard order of json properties | ||
*/ |
@@ -0,1 +1,2 @@ | ||
import type { ForeachJson } from '../../commands/FOREACH/ForeachJson'; | ||
import type { FormatCommand } from '../../commands/FORMAT/FormatCommand'; | ||
@@ -46,2 +47,6 @@ import type { TemplateType } from '../../commands/TEMPLATE/TemplateTypes'; | ||
/** | ||
* @@@ | ||
*/ | ||
readonly foreach?: ForeachJson; | ||
/** | ||
* Type of the execution | ||
@@ -48,0 +53,0 @@ * This determines if the template is send to LLM, user or some scripting evaluation |
{ | ||
"name": "@promptbook/azure-openai", | ||
"version": "0.69.0-1", | ||
"version": "0.69.0-2", | ||
"description": "Supercharge your use of large language models", | ||
@@ -50,3 +50,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.69.0-1" | ||
"@promptbook/core": "0.69.0-2" | ||
}, | ||
@@ -53,0 +53,0 @@ "dependencies": { |
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
625205
487
11654