@promptbook/google
Advanced tools
Comparing version 0.81.0-14 to 0.81.0-15
@@ -18,3 +18,3 @@ import colors from 'colors'; | ||
*/ | ||
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-13'; | ||
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-14'; | ||
/** | ||
@@ -21,0 +21,0 @@ * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine |
@@ -77,2 +77,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { GenericFormfactorDefinition } from '../formfactors/generic/GenericFormfactorDefinition'; | ||
import { ImageGeneratorFormfactorDefinition } from '../formfactors/image-generator/ImageGeneratorFormfactorDefinition'; | ||
import { FORMFACTOR_DEFINITIONS } from '../formfactors/index'; | ||
@@ -197,2 +198,3 @@ import { MatcherFormfactorDefinition } from '../formfactors/matcher/MatcherFormfactorDefinition'; | ||
export { GenericFormfactorDefinition }; | ||
export { ImageGeneratorFormfactorDefinition }; | ||
export { FORMFACTOR_DEFINITIONS }; | ||
@@ -199,0 +201,0 @@ export { MatcherFormfactorDefinition }; |
@@ -71,3 +71,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version'; | ||
import { isValidEmail } from '../utils/validators/email/isValidEmail'; | ||
import { isPathRoot } from '../utils/validators/filePath/isPathRoot'; | ||
import { isRootPath } from '../utils/validators/filePath/isRootPath'; | ||
import { isValidFilePath } from '../utils/validators/filePath/isValidFilePath'; | ||
@@ -152,3 +152,3 @@ import { isValidJavascriptName } from '../utils/validators/javascriptName/isValidJavascriptName'; | ||
export { isValidEmail }; | ||
export { isPathRoot }; | ||
export { isRootPath }; | ||
export { isValidFilePath }; | ||
@@ -155,0 +155,0 @@ export { isValidJavascriptName }; |
@@ -22,7 +22,3 @@ /** | ||
readonly name: "previousTitle"; | ||
readonly description: "Previous title of the conversation"; /** | ||
* All available formfactor definitions | ||
* | ||
* @public exported from `@promptbook/core` | ||
*/ | ||
readonly description: "Previous title of the conversation"; | ||
readonly isInput: true; | ||
@@ -44,2 +40,5 @@ readonly isOutput: false; | ||
readonly description: "Title of the conversation"; | ||
/** | ||
* Note: [๐] Ignore a discrepancy between file name and entity name | ||
*/ | ||
readonly isInput: false; | ||
@@ -122,2 +121,20 @@ readonly isOutput: true; | ||
}; | ||
}, { | ||
readonly name: "IMAGE_GENERATOR"; | ||
readonly description: "@@@"; | ||
readonly documentationUrl: "https://github.com/webgptorg/promptbook/discussions/184"; | ||
readonly pipelineInterface: { | ||
readonly inputParameters: readonly [{ | ||
readonly name: "inputMessage"; | ||
readonly description: "Input message to be image made from"; | ||
readonly isInput: true; | ||
readonly isOutput: false; | ||
}]; | ||
readonly outputParameters: readonly [{ | ||
readonly name: "prompt"; | ||
readonly description: "Prompt to be used for image generation"; | ||
readonly isInput: false; | ||
readonly isOutput: true; | ||
}]; | ||
}; | ||
}]; | ||
@@ -124,0 +141,0 @@ /** |
@@ -26,3 +26,3 @@ /** | ||
}[]; | ||
readonly formfactorName?: "CHATBOT" | "GENERATOR" | "GENERIC" | "EXPERIMENTAL_MATCHER" | "SHEETS" | "TRANSLATOR" | undefined; | ||
readonly formfactorName?: "CHATBOT" | "GENERATOR" | "GENERIC" | "IMAGE_GENERATOR" | "EXPERIMENTAL_MATCHER" | "SHEETS" | "TRANSLATOR" | undefined; | ||
}>): void; | ||
@@ -49,3 +49,3 @@ }, { | ||
}[]; | ||
readonly formfactorName?: "CHATBOT" | "GENERATOR" | "GENERIC" | "EXPERIMENTAL_MATCHER" | "SHEETS" | "TRANSLATOR" | undefined; | ||
readonly formfactorName?: "CHATBOT" | "GENERATOR" | "GENERIC" | "IMAGE_GENERATOR" | "EXPERIMENTAL_MATCHER" | "SHEETS" | "TRANSLATOR" | undefined; | ||
}>): void; | ||
@@ -52,0 +52,0 @@ }]; |
@@ -15,3 +15,3 @@ import type { LlmToolsConfiguration } from './LlmToolsConfiguration'; | ||
*/ | ||
export declare function $provideLlmToolsConfigurationFromEnv(): LlmToolsConfiguration; | ||
export declare function $provideLlmToolsConfigurationFromEnv(): Promise<LlmToolsConfiguration>; | ||
/** | ||
@@ -18,0 +18,0 @@ * TODO: [๐ง ][๐ช] Maybe do allow to do auto-install if package not registered and not found |
@@ -17,3 +17,3 @@ import '../../../_packages/cli.index'; | ||
*/ | ||
export declare function $provideLlmToolsForTestingAndScriptsAndPlayground(options?: GetLlmToolsForTestingAndScriptsAndPlaygroundOptions): LlmExecutionToolsWithTotalUsage; | ||
export declare function $provideLlmToolsForTestingAndScriptsAndPlayground(options?: GetLlmToolsForTestingAndScriptsAndPlaygroundOptions): Promise<LlmExecutionToolsWithTotalUsage>; | ||
export {}; | ||
@@ -20,0 +20,0 @@ /** |
@@ -8,3 +8,3 @@ import type { CacheLlmToolsOptions } from '../utils/cache/CacheLlmToolsOptions'; | ||
*/ | ||
export declare function $provideLlmToolsForWizzardOrCli(options?: Pick<CacheLlmToolsOptions, 'isCacheReloaded'>): LlmExecutionToolsWithTotalUsage; | ||
export declare function $provideLlmToolsForWizzardOrCli(options?: Pick<CacheLlmToolsOptions, 'isCacheReloaded'>): Promise<LlmExecutionToolsWithTotalUsage>; | ||
/** | ||
@@ -11,0 +11,0 @@ * Note: [๐ข] Code in this file should never be never released in packages that could be imported into browser environment |
@@ -18,3 +18,3 @@ import { MultipleLlmExecutionTools } from '../../multiple/MultipleLlmExecutionTools'; | ||
*/ | ||
export declare function $provideLlmToolsFromEnv(options?: CreateLlmToolsFromConfigurationOptions): MultipleLlmExecutionTools; | ||
export declare function $provideLlmToolsFromEnv(options?: CreateLlmToolsFromConfigurationOptions): Promise<MultipleLlmExecutionTools>; | ||
/** | ||
@@ -21,0 +21,0 @@ * TODO: @@@ write `$provideLlmToolsFromEnv` vs `$provideLlmToolsConfigurationFromEnv` vs `createLlmToolsFromConfiguration` |
{ | ||
"name": "@promptbook/google", | ||
"version": "0.81.0-14", | ||
"version": "0.81.0-15", | ||
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin", | ||
@@ -57,3 +57,3 @@ "--note-0": " <- [๐]", | ||
"peerDependencies": { | ||
"@promptbook/core": "0.81.0-14" | ||
"@promptbook/core": "0.81.0-15" | ||
}, | ||
@@ -60,0 +60,0 @@ "dependencies": { |
@@ -26,3 +26,3 @@ (function (global, factory) { | ||
*/ | ||
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-13'; | ||
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-14'; | ||
/** | ||
@@ -29,0 +29,0 @@ * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine |
743700
646
14567