@promptbook/legacy-documents 0.71.0-12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +451 -0
- package/esm/index.es.js +6257 -0
- package/esm/index.es.js.map +1 -0
- package/esm/typings/promptbook-collection/index.d.ts +75 -0
- package/esm/typings/src/_packages/anthropic-claude.index.d.ts +16 -0
- package/esm/typings/src/_packages/azure-openai.index.d.ts +10 -0
- package/esm/typings/src/_packages/browser.index.d.ts +10 -0
- package/esm/typings/src/_packages/cli.index.d.ts +36 -0
- package/esm/typings/src/_packages/core.index.d.ts +176 -0
- package/esm/typings/src/_packages/documents.index.d.ts +8 -0
- package/esm/typings/src/_packages/execute-javascript.index.d.ts +8 -0
- package/esm/typings/src/_packages/fake-llm.index.d.ts +6 -0
- package/esm/typings/src/_packages/langtail.index.d.ts +6 -0
- package/esm/typings/src/_packages/legacy-documents.index.d.ts +8 -0
- package/esm/typings/src/_packages/markdown-utils.index.d.ts +46 -0
- package/esm/typings/src/_packages/node.index.d.ts +18 -0
- package/esm/typings/src/_packages/openai.index.d.ts +12 -0
- package/esm/typings/src/_packages/pdf.index.d.ts +8 -0
- package/esm/typings/src/_packages/remote-client.index.d.ts +8 -0
- package/esm/typings/src/_packages/remote-server.index.d.ts +6 -0
- package/esm/typings/src/_packages/types.index.d.ts +478 -0
- package/esm/typings/src/_packages/utils.index.d.ts +142 -0
- package/esm/typings/src/_packages/website-crawler.index.d.ts +8 -0
- package/esm/typings/src/cli/cli-commands/about.d.ts +11 -0
- package/esm/typings/src/cli/cli-commands/hello.d.ts +11 -0
- package/esm/typings/src/cli/cli-commands/make.d.ts +14 -0
- package/esm/typings/src/cli/cli-commands/prettify.d.ts +12 -0
- package/esm/typings/src/cli/cli-commands/test-command.d.ts +13 -0
- package/esm/typings/src/cli/main.d.ts +12 -0
- package/esm/typings/src/cli/promptbookCli.d.ts +12 -0
- package/esm/typings/src/cli/test/ptbk.d.ts +2 -0
- package/esm/typings/src/cli/test/ptbk.test.d.ts +1 -0
- package/esm/typings/src/collection/PipelineCollection.d.ts +25 -0
- package/esm/typings/src/collection/SimplePipelineCollection.d.ts +37 -0
- package/esm/typings/src/collection/collectionToJson.d.ts +13 -0
- package/esm/typings/src/collection/collectionToJson.test.d.ts +7 -0
- package/esm/typings/src/collection/constructors/createCollectionFromDirectory.d.ts +54 -0
- package/esm/typings/src/collection/constructors/createCollectionFromDirectory.test.d.ts +1 -0
- package/esm/typings/src/collection/constructors/createCollectionFromJson.d.ts +13 -0
- package/esm/typings/src/collection/constructors/createCollectionFromJson.test.d.ts +1 -0
- package/esm/typings/src/collection/constructors/createCollectionFromPromise.d.ts +23 -0
- package/esm/typings/src/collection/constructors/createCollectionFromPromise.test.d.ts +1 -0
- package/esm/typings/src/collection/constructors/createCollectionFromUrl.d.ts +29 -0
- package/esm/typings/src/collection/constructors/createSubcollection.d.ts +13 -0
- package/esm/typings/src/commands/EXPECT/ExpectCommand.d.ts +17 -0
- package/esm/typings/src/commands/EXPECT/expectCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/EXPECT/expectCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/FOREACH/ForeachCommand.d.ts +10 -0
- package/esm/typings/src/commands/FOREACH/ForeachJson.d.ts +27 -0
- package/esm/typings/src/commands/FOREACH/foreachCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/FOREACH/foreachCommandParser.d.ts +14 -0
- package/esm/typings/src/commands/FORMAT/FormatCommand.d.ts +9 -0
- package/esm/typings/src/commands/FORMAT/formatCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/FORMAT/formatCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/JOKER/JokerCommand.d.ts +11 -0
- package/esm/typings/src/commands/JOKER/jokerCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/JOKER/jokerCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/KNOWLEDGE/KnowledgeCommand.d.ts +11 -0
- package/esm/typings/src/commands/KNOWLEDGE/knowledgeCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/KNOWLEDGE/knowledgeCommandParser.d.ts +12 -0
- package/esm/typings/src/commands/KNOWLEDGE/utils/sourceContentToName.d.ts +11 -0
- package/esm/typings/src/commands/KNOWLEDGE/utils/sourceContentToName.test.d.ts +4 -0
- package/esm/typings/src/commands/MODEL/ModelCommand.d.ts +13 -0
- package/esm/typings/src/commands/MODEL/modelCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/MODEL/modelCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/PARAMETER/ParameterCommand.d.ts +15 -0
- package/esm/typings/src/commands/PARAMETER/parameterCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/PARAMETER/parameterCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/PERSONA/PersonaCommand.d.ts +13 -0
- package/esm/typings/src/commands/PERSONA/personaCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/PERSONA/personaCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/POSTPROCESS/PostprocessCommand.d.ts +11 -0
- package/esm/typings/src/commands/POSTPROCESS/postprocessCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/POSTPROCESS/postprocessCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/PROMPTBOOK_VERSION/PromptbookVersionCommand.d.ts +11 -0
- package/esm/typings/src/commands/PROMPTBOOK_VERSION/promptbookVersionCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/PROMPTBOOK_VERSION/promptbookVersionCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/TEMPLATE/TemplateCommand.d.ts +11 -0
- package/esm/typings/src/commands/TEMPLATE/TemplateTypes.d.ts +15 -0
- package/esm/typings/src/commands/TEMPLATE/templateCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/TEMPLATE/templateCommandParser.d.ts +20 -0
- package/esm/typings/src/commands/URL/UrlCommand.d.ts +10 -0
- package/esm/typings/src/commands/URL/urlCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/URL/urlCommandParser.d.ts +9 -0
- package/esm/typings/src/commands/X_ACTION/ActionCommand.d.ts +9 -0
- package/esm/typings/src/commands/X_ACTION/actionCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/X_ACTION/actionCommandParser.d.ts +12 -0
- package/esm/typings/src/commands/X_INSTRUMENT/InstrumentCommand.d.ts +9 -0
- package/esm/typings/src/commands/X_INSTRUMENT/instrumentCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/X_INSTRUMENT/instrumentCommandParser.d.ts +12 -0
- package/esm/typings/src/commands/_BOILERPLATE/BoilerplateCommand.d.ts +10 -0
- package/esm/typings/src/commands/_BOILERPLATE/boilerplateCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/_BOILERPLATE/boilerplateCommandParser.d.ts +11 -0
- package/esm/typings/src/commands/_common/getParserForCommand.d.ts +11 -0
- package/esm/typings/src/commands/_common/getParserForCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/_common/parseCommand.d.ts +12 -0
- package/esm/typings/src/commands/_common/parseCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/_common/stringifyCommand.d.ts +11 -0
- package/esm/typings/src/commands/_common/stringifyCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/_common/types/Command.d.ts +6 -0
- package/esm/typings/src/commands/_common/types/CommandParser.d.ts +186 -0
- package/esm/typings/src/commands/_common/types/CommandUsagePlaces.d.ts +11 -0
- package/esm/typings/src/commands/index.d.ts +6 -0
- package/esm/typings/src/config.d.ts +183 -0
- package/esm/typings/src/config.test.d.ts +4 -0
- package/esm/typings/src/conversion/pipelineJsonToString.d.ts +17 -0
- package/esm/typings/src/conversion/pipelineStringToJson.d.ts +28 -0
- package/esm/typings/src/conversion/pipelineStringToJson.test.d.ts +1 -0
- package/esm/typings/src/conversion/pipelineStringToJsonSync.d.ts +29 -0
- package/esm/typings/src/conversion/pipelineStringToJsonSync.test.d.ts +1 -0
- package/esm/typings/src/conversion/prettify/PrettifyOptions.d.ts +13 -0
- package/esm/typings/src/conversion/prettify/prettifyPipelineString.d.ts +12 -0
- package/esm/typings/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +30 -0
- package/esm/typings/src/conversion/utils/extractParameterNamesFromTemplate.d.ts +15 -0
- package/esm/typings/src/conversion/utils/extractParameterNamesFromTemplate.test.d.ts +1 -0
- package/esm/typings/src/conversion/utils/extractVariables.d.ts +14 -0
- package/esm/typings/src/conversion/utils/extractVariables.test.d.ts +1 -0
- package/esm/typings/src/conversion/utils/renameParameter.d.ts +26 -0
- package/esm/typings/src/conversion/utils/renameParameter.test.d.ts +1 -0
- package/esm/typings/src/conversion/utils/stringifyPipelineJson.d.ts +16 -0
- package/esm/typings/src/conversion/utils/stringifyPipelineJson.test.d.ts +1 -0
- package/esm/typings/src/conversion/utils/titleToName.d.ts +9 -0
- package/esm/typings/src/conversion/utils/titleToName.test.d.ts +1 -0
- package/esm/typings/src/conversion/validation/_importPipeline.d.ts +29 -0
- package/esm/typings/src/conversion/validation/pipelineStringToJson-parseErrors.test.d.ts +4 -0
- package/esm/typings/src/conversion/validation/validatePipeline-logicErrors.test.d.ts +4 -0
- package/esm/typings/src/conversion/validation/validatePipeline.d.ts +42 -0
- package/esm/typings/src/conversion/validation/validatePipeline.test.d.ts +4 -0
- package/esm/typings/src/dialogs/callback/CallbackInterfaceTools.d.ts +17 -0
- package/esm/typings/src/dialogs/callback/CallbackInterfaceToolsOptions.d.ts +14 -0
- package/esm/typings/src/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +22 -0
- package/esm/typings/src/dialogs/user-interface-execution-tools.test.d.ts +1 -0
- package/esm/typings/src/errors/AbstractFormatError.d.ts +11 -0
- package/esm/typings/src/errors/CollectionError.d.ts +9 -0
- package/esm/typings/src/errors/EnvironmentMismatchError.d.ts +9 -0
- package/esm/typings/src/errors/ExpectError.d.ts +12 -0
- package/esm/typings/src/errors/KnowledgeScrapeError.d.ts +9 -0
- package/esm/typings/src/errors/LimitReachedError.d.ts +9 -0
- package/esm/typings/src/errors/MissingToolsError.d.ts +9 -0
- package/esm/typings/src/errors/NotFoundError.d.ts +9 -0
- package/esm/typings/src/errors/NotYetImplementedError.d.ts +9 -0
- package/esm/typings/src/errors/ParseError.d.ts +12 -0
- package/esm/typings/src/errors/PipelineExecutionError.d.ts +9 -0
- package/esm/typings/src/errors/PipelineLogicError.d.ts +9 -0
- package/esm/typings/src/errors/PipelineUrlError.d.ts +9 -0
- package/esm/typings/src/errors/UnexpectedError.d.ts +9 -0
- package/esm/typings/src/errors/index.d.ts +29 -0
- package/esm/typings/src/errors/utils/ErrorJson.d.ts +20 -0
- package/esm/typings/src/errors/utils/deserializeError.d.ts +7 -0
- package/esm/typings/src/errors/utils/deserializeError.test.d.ts +1 -0
- package/esm/typings/src/errors/utils/serializeError.d.ts +7 -0
- package/esm/typings/src/errors/utils/serializeError.test.d.ts +1 -0
- package/esm/typings/src/execution/AvailableModel.d.ts +20 -0
- package/esm/typings/src/execution/CommonToolsOptions.d.ts +15 -0
- package/esm/typings/src/execution/EmbeddingVector.d.ts +8 -0
- package/esm/typings/src/execution/ExecutionTools.d.ts +48 -0
- package/esm/typings/src/execution/LlmExecutionTools.d.ts +61 -0
- package/esm/typings/src/execution/LlmExecutionToolsConstructor.d.ts +10 -0
- package/esm/typings/src/execution/PipelineExecutor.d.ts +19 -0
- package/esm/typings/src/execution/PipelineExecutorResult.d.ts +50 -0
- package/esm/typings/src/execution/PromptResult.d.ts +101 -0
- package/esm/typings/src/execution/PromptResultUsage.d.ts +33 -0
- package/esm/typings/src/execution/ScriptExecutionTools.d.ts +39 -0
- package/esm/typings/src/execution/UncertainNumber.d.ts +19 -0
- package/esm/typings/src/execution/UserInterfaceTools.d.ts +46 -0
- package/esm/typings/src/execution/assertsExecutionSuccessful.d.ts +12 -0
- package/esm/typings/src/execution/createPipelineExecutor/$OngoingTemplateResult.d.ts +45 -0
- package/esm/typings/src/execution/createPipelineExecutor/00-CreatePipelineExecutorOptions.d.ts +23 -0
- package/esm/typings/src/execution/createPipelineExecutor/00-CreatePipelineExecutorSettings.d.ts +29 -0
- package/esm/typings/src/execution/createPipelineExecutor/00-createPipelineExecutor.d.ts +13 -0
- package/esm/typings/src/execution/createPipelineExecutor/10-executePipeline.d.ts +58 -0
- package/esm/typings/src/execution/createPipelineExecutor/20-executeTemplate.d.ts +60 -0
- package/esm/typings/src/execution/createPipelineExecutor/30-executeFormatSubvalues.d.ts +15 -0
- package/esm/typings/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +69 -0
- package/esm/typings/src/execution/createPipelineExecutor/filterJustOutputParameters.d.ts +34 -0
- package/esm/typings/src/execution/createPipelineExecutor/getContextForTemplate.d.ts +10 -0
- package/esm/typings/src/execution/createPipelineExecutor/getKnowledgeForTemplate.d.ts +27 -0
- package/esm/typings/src/execution/createPipelineExecutor/getReservedParametersForTemplate.d.ts +30 -0
- package/esm/typings/src/execution/createPipelineExecutor/getSamplesForTemplate.d.ts +10 -0
- package/esm/typings/src/execution/embeddingVectorToString.d.ts +7 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/AutomaticTranslator.d.ts +7 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/DebugAutomaticTranslator.d.ts +11 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/FakeAutomaticTranslator.d.ts +8 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/LindatAutomaticTranslator.d.ts +14 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/TranslatorOptions.d.ts +7 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/utils/extractMultiplicatedOccurrence.d.ts +8 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/utils/extractMultiplicatedOccurrence.test.d.ts +1 -0
- package/esm/typings/src/execution/translation/automatic-translate/translateMessages.d.ts +11 -0
- package/esm/typings/src/execution/utils/$provideExecutionToolsForNode.d.ts +13 -0
- package/esm/typings/src/execution/utils/addUsage.d.ts +65 -0
- package/esm/typings/src/execution/utils/addUsage.test.d.ts +1 -0
- package/esm/typings/src/execution/utils/checkExpectations.d.ts +29 -0
- package/esm/typings/src/execution/utils/checkExpectations.test.d.ts +1 -0
- package/esm/typings/src/execution/utils/computeUsageCounts.d.ts +10 -0
- package/esm/typings/src/execution/utils/forEachAsync.d.ts +20 -0
- package/esm/typings/src/execution/utils/uncertainNumber.d.ts +9 -0
- package/esm/typings/src/execution/utils/usageToHuman.d.ts +16 -0
- package/esm/typings/src/execution/utils/usageToWorktime.d.ts +12 -0
- package/esm/typings/src/execution/utils/usageToWorktime.test.d.ts +1 -0
- package/esm/typings/src/expectations/drafts/isDomainNameFree.d.ts +9 -0
- package/esm/typings/src/expectations/drafts/isGithubNameFree.d.ts +9 -0
- package/esm/typings/src/formats/_common/FormatDefinition.d.ts +70 -0
- package/esm/typings/src/formats/_common/FormatSubvalueDefinition.d.ts +31 -0
- package/esm/typings/src/formats/csv/CsvFormatDefinition.d.ts +17 -0
- package/esm/typings/src/formats/csv/CsvFormatError.d.ts +10 -0
- package/esm/typings/src/formats/csv/CsvSettings.d.ts +13 -0
- package/esm/typings/src/formats/index.d.ts +6 -0
- package/esm/typings/src/formats/json/JsonFormatDefinition.d.ts +19 -0
- package/esm/typings/src/formats/json/utils/isValidJsonString.d.ts +6 -0
- package/esm/typings/src/formats/json/utils/isValidJsonString.test.d.ts +1 -0
- package/esm/typings/src/formats/text/TextFormatDefinition.d.ts +19 -0
- package/esm/typings/src/formats/xml/XmlFormatDefinition.d.ts +19 -0
- package/esm/typings/src/llm-providers/_common/register/$llmToolsMetadataRegister.d.ts +13 -0
- package/esm/typings/src/llm-providers/_common/register/$llmToolsRegister.d.ts +13 -0
- package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsConfigurationFromEnv.d.ts +24 -0
- package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsForCli.d.ts +23 -0
- package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsForTestingAndScriptsAndPlayground.d.ts +24 -0
- package/esm/typings/src/llm-providers/_common/register/$provideLlmToolsFromEnv.d.ts +27 -0
- package/esm/typings/src/llm-providers/_common/register/$registeredLlmToolsMessage.d.ts +12 -0
- package/esm/typings/src/llm-providers/_common/register/LlmToolsConfiguration.d.ts +23 -0
- package/esm/typings/src/llm-providers/_common/register/LlmToolsMetadata.d.ts +28 -0
- package/esm/typings/src/llm-providers/_common/register/LlmToolsOptions.d.ts +10 -0
- package/esm/typings/src/llm-providers/_common/register/createLlmToolsFromConfiguration.d.ts +33 -0
- package/esm/typings/src/llm-providers/_common/utils/cache/CacheItem.d.ts +28 -0
- package/esm/typings/src/llm-providers/_common/utils/cache/CacheLlmToolsOptions.d.ts +16 -0
- package/esm/typings/src/llm-providers/_common/utils/cache/cacheLlmTools.d.ts +19 -0
- package/esm/typings/src/llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage.d.ts +15 -0
- package/esm/typings/src/llm-providers/_common/utils/count-total-usage/countTotalUsage.d.ts +17 -0
- package/esm/typings/src/llm-providers/_common/utils/count-total-usage/limitTotalUsage.d.ts +36 -0
- package/esm/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +60 -0
- package/esm/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions.d.ts +31 -0
- package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +23 -0
- package/esm/typings/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.d.ts +18 -0
- package/esm/typings/src/llm-providers/anthropic-claude/computeAnthropicClaudeUsage.test.d.ts +4 -0
- package/esm/typings/src/llm-providers/anthropic-claude/createAnthropicClaudeExecutionTools.d.ts +19 -0
- package/esm/typings/src/llm-providers/anthropic-claude/playground/playground.d.ts +7 -0
- package/esm/typings/src/llm-providers/anthropic-claude/register-configuration.d.ts +10 -0
- package/esm/typings/src/llm-providers/anthropic-claude/register-constructor.d.ts +13 -0
- package/esm/typings/src/llm-providers/azure-openai/AzureOpenAiExecutionTools.d.ts +63 -0
- package/esm/typings/src/llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions.d.ts +36 -0
- package/esm/typings/src/llm-providers/azure-openai/createAzureOpenAiExecutionTools.d.ts +15 -0
- package/esm/typings/src/llm-providers/azure-openai/playground/playground.d.ts +6 -0
- package/esm/typings/src/llm-providers/azure-openai/register-configuration.d.ts +10 -0
- package/esm/typings/src/llm-providers/azure-openai/register-constructor.d.ts +13 -0
- package/esm/typings/src/llm-providers/langtail/LangtailExecutionTools.d.ts +17 -0
- package/esm/typings/src/llm-providers/langtail/LangtailExecutionToolsOptions.d.ts +13 -0
- package/esm/typings/src/llm-providers/langtail/playground/playground.d.ts +5 -0
- package/esm/typings/src/llm-providers/mocked/$fakeTextToExpectations.d.ts +15 -0
- package/esm/typings/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +40 -0
- package/esm/typings/src/llm-providers/mocked/MockedFackedLlmExecutionTools.d.ts +44 -0
- package/esm/typings/src/llm-providers/mocked/test/fakeTextToExpectations.test.d.ts +1 -0
- package/esm/typings/src/llm-providers/mocked/test/faked-completion.test.d.ts +1 -0
- package/esm/typings/src/llm-providers/mocked/test/joker.test.d.ts +4 -0
- package/esm/typings/src/llm-providers/mocked/test/mocked-chat.test.d.ts +5 -0
- package/esm/typings/src/llm-providers/mocked/test/mocked-completion.test.d.ts +4 -0
- package/esm/typings/src/llm-providers/multiple/MultipleLlmExecutionTools.d.ts +64 -0
- package/esm/typings/src/llm-providers/multiple/joinLlmExecutionTools.d.ts +21 -0
- package/esm/typings/src/llm-providers/multiple/playground/playground.d.ts +5 -0
- package/esm/typings/src/llm-providers/openai/OpenAiExecutionTools.d.ts +75 -0
- package/esm/typings/src/llm-providers/openai/OpenAiExecutionToolsOptions.d.ts +20 -0
- package/esm/typings/src/llm-providers/openai/computeOpenAiUsage.d.ts +18 -0
- package/esm/typings/src/llm-providers/openai/computeOpenAiUsage.test.d.ts +4 -0
- package/esm/typings/src/llm-providers/openai/computeUsage.d.ts +16 -0
- package/esm/typings/src/llm-providers/openai/computeUsage.test.d.ts +1 -0
- package/esm/typings/src/llm-providers/openai/createOpenAiExecutionTools.d.ts +15 -0
- package/esm/typings/src/llm-providers/openai/openai-models.d.ts +30 -0
- package/esm/typings/src/llm-providers/openai/playground/playground.d.ts +6 -0
- package/esm/typings/src/llm-providers/openai/register-configuration.d.ts +10 -0
- package/esm/typings/src/llm-providers/openai/register-constructor.d.ts +13 -0
- package/esm/typings/src/llm-providers/remote/RemoteLlmExecutionTools.d.ts +63 -0
- package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_Error.d.ts +7 -0
- package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_ListModels_Request.d.ts +29 -0
- package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_ListModels_Response.d.ts +15 -0
- package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_Prompt_Progress.d.ts +12 -0
- package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_Prompt_Request.d.ts +51 -0
- package/esm/typings/src/llm-providers/remote/interfaces/PromptbookServer_Prompt_Response.d.ts +12 -0
- package/esm/typings/src/llm-providers/remote/interfaces/RemoteLlmExecutionToolsOptions.d.ts +59 -0
- package/esm/typings/src/llm-providers/remote/interfaces/RemoteServerOptions.d.ts +58 -0
- package/esm/typings/src/llm-providers/remote/playground/playground.d.ts +5 -0
- package/esm/typings/src/llm-providers/remote/startRemoteServer.d.ts +23 -0
- package/esm/typings/src/personas/preparePersona.d.ts +17 -0
- package/esm/typings/src/postprocessing/utils/extractBlock.d.ts +16 -0
- package/esm/typings/src/postprocessing/utils/extractJsonBlock.d.ts +25 -0
- package/esm/typings/src/postprocessing/utils/extractJsonBlock.test.d.ts +1 -0
- package/esm/typings/src/prepare/PrepareAndScrapeOptions.d.ts +68 -0
- package/esm/typings/src/prepare/isPipelinePrepared.d.ts +16 -0
- package/esm/typings/src/prepare/isPipelinePrepared.test.d.ts +1 -0
- package/esm/typings/src/prepare/preparePipeline.d.ts +20 -0
- package/esm/typings/src/prepare/prepareTemplates.d.ts +32 -0
- package/esm/typings/src/prepare/unpreparePipeline.d.ts +12 -0
- package/esm/typings/src/scrapers/_common/Converter.d.ts +22 -0
- package/esm/typings/src/scrapers/_common/Scraper.d.ts +66 -0
- package/esm/typings/src/scrapers/_common/ScraperIntermediateSource.d.ts +11 -0
- package/esm/typings/src/scrapers/_common/prepareKnowledgePieces.d.ts +19 -0
- package/esm/typings/src/scrapers/_common/prepareKnowledgePieces.test.d.ts +1 -0
- package/esm/typings/src/scrapers/_common/register/$provideScrapersForBrowser.d.ts +12 -0
- package/esm/typings/src/scrapers/_common/register/$provideScrapersForNode.d.ts +15 -0
- package/esm/typings/src/scrapers/_common/register/$registeredScrapersMessage.d.ts +12 -0
- package/esm/typings/src/scrapers/_common/register/$scrapersMetadataRegister.d.ts +13 -0
- package/esm/typings/src/scrapers/_common/register/$scrapersRegister.d.ts +13 -0
- package/esm/typings/src/scrapers/_common/register/ScraperAndConverterMetadata.d.ts +41 -0
- package/esm/typings/src/scrapers/_common/register/ScraperConstructor.d.ts +12 -0
- package/esm/typings/src/scrapers/_common/utils/getScraperIntermediateSource.d.ts +33 -0
- package/esm/typings/src/scrapers/_common/utils/getScraperIntermediateSource.test.d.ts +4 -0
- package/esm/typings/src/scrapers/_common/utils/makeKnowledgeSourceHandler.d.ts +13 -0
- package/esm/typings/src/scrapers/document/DocumentScraper.d.ts +43 -0
- package/esm/typings/src/scrapers/document/DocumentScraper.test.d.ts +4 -0
- package/esm/typings/src/scrapers/document/createDocumentScraper.d.ts +20 -0
- package/esm/typings/src/scrapers/document/playground/document-scraper-playground.d.ts +5 -0
- package/esm/typings/src/scrapers/document/register-constructor.d.ts +13 -0
- package/esm/typings/src/scrapers/document/register-metadata.d.ts +24 -0
- package/esm/typings/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +43 -0
- package/esm/typings/src/scrapers/document-legacy/LegacyDocumentScraper.test.d.ts +4 -0
- package/esm/typings/src/scrapers/document-legacy/createLegacyDocumentScraper.d.ts +20 -0
- package/esm/typings/src/scrapers/document-legacy/playground/legacy-document-scraper-playground.d.ts +5 -0
- package/esm/typings/src/scrapers/document-legacy/register-constructor.d.ts +13 -0
- package/esm/typings/src/scrapers/document-legacy/register-metadata.d.ts +24 -0
- package/esm/typings/src/scrapers/markdown/MarkdownScraper.d.ts +29 -0
- package/esm/typings/src/scrapers/markdown/MarkdownScraper.test.d.ts +4 -0
- package/esm/typings/src/scrapers/markdown/createMarkdownScraper.d.ts +20 -0
- package/esm/typings/src/scrapers/markdown/playground/markdown-scraper-playground.d.ts +5 -0
- package/esm/typings/src/scrapers/markdown/register-constructor.d.ts +13 -0
- package/esm/typings/src/scrapers/markdown/register-metadata.d.ts +24 -0
- package/esm/typings/src/scrapers/pdf/PdfScraper.d.ts +40 -0
- package/esm/typings/src/scrapers/pdf/createPdfScraper.d.ts +20 -0
- package/esm/typings/src/scrapers/pdf/playground/pdf-scraper-playground.d.ts +5 -0
- package/esm/typings/src/scrapers/pdf/register-constructor.d.ts +13 -0
- package/esm/typings/src/scrapers/pdf/register-metadata.d.ts +24 -0
- package/esm/typings/src/scrapers/website/WebsiteScraper.d.ts +47 -0
- package/esm/typings/src/scrapers/website/WebsiteScraper.test.d.ts +1 -0
- package/esm/typings/src/scrapers/website/createWebsiteScraper.d.ts +20 -0
- package/esm/typings/src/scrapers/website/playground/website-scraper-playground.d.ts +5 -0
- package/esm/typings/src/scrapers/website/register-constructor.d.ts +13 -0
- package/esm/typings/src/scrapers/website/register-metadata.d.ts +24 -0
- package/esm/typings/src/scrapers/website/utils/markdownConverter.d.ts +12 -0
- package/esm/typings/src/scrapers/website/utils/markdownConverter.test.d.ts +1 -0
- package/esm/typings/src/scripting/_test/custom-function-async.test.ts.test.d.ts +1 -0
- package/esm/typings/src/scripting/_test/custom-function-missing.test.d.ts +1 -0
- package/esm/typings/src/scripting/_test/custom-function-with-dependencies.test.d.ts +1 -0
- package/esm/typings/src/scripting/_test/custom-function.test.d.ts +1 -0
- package/esm/typings/src/scripting/_test/postprocessing.test.d.ts +1 -0
- package/esm/typings/src/scripting/_test/script-execution-errors.test.d.ts +1 -0
- package/esm/typings/src/scripting/_test/script-execution-tools.test.d.ts +1 -0
- package/esm/typings/src/scripting/javascript/JavascriptEvalExecutionTools.d.ts +22 -0
- package/esm/typings/src/scripting/javascript/JavascriptEvalExecutionTools.test.d.ts +4 -0
- package/esm/typings/src/scripting/javascript/JavascriptExecutionTools.d.ts +8 -0
- package/esm/typings/src/scripting/javascript/JavascriptExecutionToolsOptions.d.ts +26 -0
- package/esm/typings/src/scripting/javascript/postprocessing-functions.d.ts +51 -0
- package/esm/typings/src/scripting/javascript/utils/preserve.d.ts +13 -0
- package/esm/typings/src/scripting/javascript/utils/unknownToString.d.ts +8 -0
- package/esm/typings/src/scripting/python/PythonExecutionTools.d.ts +18 -0
- package/esm/typings/src/scripting/typescript/TypescriptExecutionTools.d.ts +18 -0
- package/esm/typings/src/storage/_common/PromptbookStorage.d.ts +24 -0
- package/esm/typings/src/storage/_common/PromptbookStorage.test-type.d.ts +5 -0
- package/esm/typings/src/storage/file-cache-storage/FileCacheStorage.d.ts +31 -0
- package/esm/typings/src/storage/file-cache-storage/FileCacheStorageOptions.d.ts +10 -0
- package/esm/typings/src/storage/file-cache-storage/utils/nameToSubfolderPath.d.ts +7 -0
- package/esm/typings/src/storage/file-cache-storage/utils/nameToSubfolderPath.test.d.ts +1 -0
- package/esm/typings/src/storage/local-storage/getLocalStorage.d.ts +10 -0
- package/esm/typings/src/storage/local-storage/getSessionStorage.d.ts +10 -0
- package/esm/typings/src/storage/memory/MemoryStorage.d.ts +33 -0
- package/esm/typings/src/storage/memory/utils/PrefixStorage.d.ts +25 -0
- package/esm/typings/src/storage/memory/utils/makePromptbookStorageFromWebStorage.d.ts +11 -0
- package/esm/typings/src/types/Arrayable.d.ts +10 -0
- package/esm/typings/src/types/ModelRequirements.d.ts +104 -0
- package/esm/typings/src/types/ModelVariant.d.ts +15 -0
- package/esm/typings/src/types/PipelineJson/DialogTemplateJson.d.ts +13 -0
- package/esm/typings/src/types/PipelineJson/Expectations.d.ts +40 -0
- package/esm/typings/src/types/PipelineJson/KnowledgePieceJson.d.ts +72 -0
- package/esm/typings/src/types/PipelineJson/KnowledgeSourceJson.d.ts +44 -0
- package/esm/typings/src/types/PipelineJson/ParameterJson.d.ts +39 -0
- package/esm/typings/src/types/PipelineJson/PersonaJson.d.ts +45 -0
- package/esm/typings/src/types/PipelineJson/PipelineJson.d.ts +95 -0
- package/esm/typings/src/types/PipelineJson/PreparationJson.d.ts +22 -0
- package/esm/typings/src/types/PipelineJson/PromptTemplateJson.d.ts +26 -0
- package/esm/typings/src/types/PipelineJson/ScriptTemplateJson.d.ts +20 -0
- package/esm/typings/src/types/PipelineJson/SimpleTemplateJson.d.ts +13 -0
- package/esm/typings/src/types/PipelineJson/TemplateJson.d.ts +11 -0
- package/esm/typings/src/types/PipelineJson/TemplateJsonCommon.d.ts +100 -0
- package/esm/typings/src/types/PipelineString.d.ts +12 -0
- package/esm/typings/src/types/Prompt.d.ts +110 -0
- package/esm/typings/src/types/ScriptLanguage.d.ts +13 -0
- package/esm/typings/src/types/TaskProgress.d.ts +43 -0
- package/esm/typings/src/types/execution-report/ExecutionPromptReportJson.d.ts +24 -0
- package/esm/typings/src/types/execution-report/ExecutionReportJson.d.ts +41 -0
- package/esm/typings/src/types/execution-report/ExecutionReportString.d.ts +16 -0
- package/esm/typings/src/types/execution-report/ExecutionReportStringOptions.d.ts +25 -0
- package/esm/typings/src/types/execution-report/countWorkingDuration.d.ts +7 -0
- package/esm/typings/src/types/execution-report/countWorkingDuration.test.d.ts +1 -0
- package/esm/typings/src/types/execution-report/executionReportJsonToString.d.ts +15 -0
- package/esm/typings/src/types/typeAliasEmoji.d.ts +9 -0
- package/esm/typings/src/types/typeAliases.d.ts +602 -0
- package/esm/typings/src/utils/$Register.d.ts +39 -0
- package/esm/typings/src/utils/$currentDate.d.ts +10 -0
- package/esm/typings/src/utils/FromtoItems.d.ts +19 -0
- package/esm/typings/src/utils/arrayableToArray.d.ts +11 -0
- package/esm/typings/src/utils/arrayableToArray.test.d.ts +1 -0
- package/esm/typings/src/utils/emojis.d.ts +23 -0
- package/esm/typings/src/utils/environment/$getGlobalScope.d.ts +9 -0
- package/esm/typings/src/utils/environment/$isRunningInBrowser.d.ts +8 -0
- package/esm/typings/src/utils/environment/$isRunningInNode.d.ts +8 -0
- package/esm/typings/src/utils/environment/$isRunningInWebWorker.d.ts +8 -0
- package/esm/typings/src/utils/execCommand/$execCommand.d.ts +14 -0
- package/esm/typings/src/utils/execCommand/$execCommands.d.ts +17 -0
- package/esm/typings/src/utils/execCommand/IExecCommandOptions.d.ts +23 -0
- package/esm/typings/src/utils/execCommand/execCommand.test.d.ts +1 -0
- package/esm/typings/src/utils/execCommand/execCommandNormalizeOptions.d.ts +10 -0
- package/esm/typings/src/utils/execCommand/execCommandNormalizeOptions.test.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/countCharacters.d.ts +7 -0
- package/esm/typings/src/utils/expectation-counters/countCharacters.test.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/countLines.d.ts +7 -0
- package/esm/typings/src/utils/expectation-counters/countLines.test.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/countPages.d.ts +7 -0
- package/esm/typings/src/utils/expectation-counters/countPages.test.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/countParagraphs.d.ts +7 -0
- package/esm/typings/src/utils/expectation-counters/countParagraphs.test.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/countSentences.d.ts +13 -0
- package/esm/typings/src/utils/expectation-counters/countSentences.test.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/countWords.d.ts +7 -0
- package/esm/typings/src/utils/expectation-counters/countWords.test.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/index.d.ts +11 -0
- package/esm/typings/src/utils/files/$isDirectoryExisting.d.ts +15 -0
- package/esm/typings/src/utils/files/$isDirectoryExisting.test.d.ts +1 -0
- package/esm/typings/src/utils/files/$isFileExisting.d.ts +14 -0
- package/esm/typings/src/utils/files/$isFileExisting.test.d.ts +1 -0
- package/esm/typings/src/utils/files/$listAllFiles.d.ts +18 -0
- package/esm/typings/src/utils/files/$listAllFiles.test.d.ts +1 -0
- package/esm/typings/src/utils/files/extensionToMimeType.d.ts +8 -0
- package/esm/typings/src/utils/files/extensionToMimeType.test.d.ts +1 -0
- package/esm/typings/src/utils/files/getFileExtension.d.ts +8 -0
- package/esm/typings/src/utils/files/getFileExtension.test.d.ts +1 -0
- package/esm/typings/src/utils/formatNumber.d.ts +6 -0
- package/esm/typings/src/utils/formatNumber.test.d.ts +1 -0
- package/esm/typings/src/utils/getCurrentIsoDate.d.ts +7 -0
- package/esm/typings/src/utils/markdown/addAutoGeneratedSection.d.ts +14 -0
- package/esm/typings/src/utils/markdown/addAutoGeneratedSection.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/createMarkdownChart.d.ts +38 -0
- package/esm/typings/src/utils/markdown/createMarkdownChart.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/createMarkdownTable.d.ts +11 -0
- package/esm/typings/src/utils/markdown/createMarkdownTable.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/escapeMarkdownBlock.d.ts +11 -0
- package/esm/typings/src/utils/markdown/escapeMarkdownBlock.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/extractAllBlocksFromMarkdown-real.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/extractAllBlocksFromMarkdown.d.ts +36 -0
- package/esm/typings/src/utils/markdown/extractAllBlocksFromMarkdown.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/extractAllListItemsFromMarkdown.d.ts +15 -0
- package/esm/typings/src/utils/markdown/extractAllListItemsFromMarkdown.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/extractOneBlockFromMarkdown.d.ts +22 -0
- package/esm/typings/src/utils/markdown/extractOneBlockFromMarkdown.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/flattenMarkdown.d.ts +17 -0
- package/esm/typings/src/utils/markdown/flattenMarkdown.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/parseMarkdownSection.d.ts +34 -0
- package/esm/typings/src/utils/markdown/parseMarkdownSection.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/prettifyMarkdown.d.ts +9 -0
- package/esm/typings/src/utils/markdown/prettifyMarkdown.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/removeContentComments.d.ts +10 -0
- package/esm/typings/src/utils/markdown/removeContentComments.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/removeMarkdownFormatting.d.ts +9 -0
- package/esm/typings/src/utils/markdown/removeMarkdownFormatting.test.d.ts +1 -0
- package/esm/typings/src/utils/markdown/splitMarkdownIntoSections.d.ts +15 -0
- package/esm/typings/src/utils/markdown/splitMarkdownIntoSections.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/DIACRITIC_VARIANTS_LETTERS.d.ts +12 -0
- package/esm/typings/src/utils/normalization/IKeywords.d.ts +21 -0
- package/esm/typings/src/utils/normalization/capitalize.d.ts +6 -0
- package/esm/typings/src/utils/normalization/capitalize.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/decapitalize.d.ts +6 -0
- package/esm/typings/src/utils/normalization/decapitalize.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/isValidKeyword.d.ts +10 -0
- package/esm/typings/src/utils/normalization/isValidKeyword.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/nameToUriPart.d.ts +9 -0
- package/esm/typings/src/utils/normalization/nameToUriPart.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/nameToUriParts.d.ts +9 -0
- package/esm/typings/src/utils/normalization/nameToUriParts.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/normalize-to-kebab-case.d.ts +18 -0
- package/esm/typings/src/utils/normalization/normalize-to-kebab-case.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/normalizeTo_PascalCase.d.ts +17 -0
- package/esm/typings/src/utils/normalization/normalizeTo_PascalCase.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/normalizeTo_SCREAMING_CASE.d.ts +26 -0
- package/esm/typings/src/utils/normalization/normalizeTo_SCREAMING_CASE.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/normalizeTo_camelCase.d.ts +22 -0
- package/esm/typings/src/utils/normalization/normalizeTo_camelCase.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/normalizeTo_snake_case.d.ts +17 -0
- package/esm/typings/src/utils/normalization/normalizeTo_snake_case.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/normalizeWhitespaces.d.ts +6 -0
- package/esm/typings/src/utils/normalization/normalizeWhitespaces.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/parseKeywords.d.ts +16 -0
- package/esm/typings/src/utils/normalization/parseKeywords.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/parseKeywordsFromString.d.ts +9 -0
- package/esm/typings/src/utils/normalization/parseKeywordsFromString.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/removeDiacritics.d.ts +11 -0
- package/esm/typings/src/utils/normalization/removeDiacritics.test.d.ts +1 -0
- package/esm/typings/src/utils/normalization/searchKeywords.d.ts +10 -0
- package/esm/typings/src/utils/normalization/searchKeywords.test.d.ts +1 -0
- package/esm/typings/src/utils/organization/TODO_USE.d.ts +12 -0
- package/esm/typings/src/utils/organization/TODO_any.d.ts +6 -0
- package/esm/typings/src/utils/organization/TODO_object.d.ts +6 -0
- package/esm/typings/src/utils/organization/TODO_string.d.ts +6 -0
- package/esm/typings/src/utils/organization/TODO_unknown.d.ts +6 -0
- package/esm/typings/src/utils/organization/___and___.d.ts +7 -0
- package/esm/typings/src/utils/organization/___or___.d.ts +6 -0
- package/esm/typings/src/utils/organization/empty_object.d.ts +10 -0
- package/esm/typings/src/utils/organization/just.d.ts +14 -0
- package/esm/typings/src/utils/organization/just_empty_object.d.ts +12 -0
- package/esm/typings/src/utils/organization/keepUnused.d.ts +16 -0
- package/esm/typings/src/utils/organization/really_any.d.ts +6 -0
- package/esm/typings/src/utils/organization/really_unknown.d.ts +6 -0
- package/esm/typings/src/utils/parameters/extractParameterNames.d.ts +10 -0
- package/esm/typings/src/utils/parameters/extractParameterNames.test.d.ts +1 -0
- package/esm/typings/src/utils/parameters/mapAvailableToExpectedParameters.d.ts +27 -0
- package/esm/typings/src/utils/parameters/mapAvailableToExpectedParameters.test.d.ts +1 -0
- package/esm/typings/src/utils/parameters/replaceParameters.d.ts +12 -0
- package/esm/typings/src/utils/parameters/replaceParameters.test.d.ts +1 -0
- package/esm/typings/src/utils/parseNumber.d.ts +16 -0
- package/esm/typings/src/utils/parseNumber.test.d.ts +1 -0
- package/esm/typings/src/utils/random/$randomSeed.d.ts +9 -0
- package/esm/typings/src/utils/removeEmojis.d.ts +8 -0
- package/esm/typings/src/utils/removeEmojis.test.d.ts +1 -0
- package/esm/typings/src/utils/removeQuotes.d.ts +14 -0
- package/esm/typings/src/utils/removeQuotes.test.d.ts +1 -0
- package/esm/typings/src/utils/serialization/$asDeeplyFrozenSerializableJson.d.ts +17 -0
- package/esm/typings/src/utils/serialization/$deepFreeze.d.ts +14 -0
- package/esm/typings/src/utils/serialization/checkSerializableAsJson.d.ts +27 -0
- package/esm/typings/src/utils/serialization/clonePipeline.d.ts +13 -0
- package/esm/typings/src/utils/serialization/deepClone.d.ts +10 -0
- package/esm/typings/src/utils/serialization/isSerializableAsJson.d.ts +24 -0
- package/esm/typings/src/utils/serialization/isSerializableAsJson.test.d.ts +1 -0
- package/esm/typings/src/utils/sets/difference.d.ts +10 -0
- package/esm/typings/src/utils/sets/difference.test.d.ts +1 -0
- package/esm/typings/src/utils/sets/intersection.d.ts +7 -0
- package/esm/typings/src/utils/sets/intersection.test.d.ts +1 -0
- package/esm/typings/src/utils/sets/union.d.ts +7 -0
- package/esm/typings/src/utils/sets/union.test.d.ts +1 -0
- package/esm/typings/src/utils/trimCodeBlock.d.ts +9 -0
- package/esm/typings/src/utils/trimCodeBlock.test.d.ts +1 -0
- package/esm/typings/src/utils/trimEndOfCodeBlock.d.ts +9 -0
- package/esm/typings/src/utils/trimEndOfCodeBlock.test.d.ts +1 -0
- package/esm/typings/src/utils/unwrapResult.d.ts +37 -0
- package/esm/typings/src/utils/unwrapResult.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/email/isValidEmail.d.ts +8 -0
- package/esm/typings/src/utils/validators/email/isValidEmail.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/filePath/isValidFilePath.d.ts +9 -0
- package/esm/typings/src/utils/validators/filePath/isValidFilePath.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/javascriptName/isValidJavascriptName.d.ts +10 -0
- package/esm/typings/src/utils/validators/javascriptName/isValidJavascriptName.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/parameterName/validateParameterName.d.ts +10 -0
- package/esm/typings/src/utils/validators/parameterName/validateParameterName.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/semanticVersion/isValidPromptbookVersion.d.ts +15 -0
- package/esm/typings/src/utils/validators/semanticVersion/isValidPromptbookVersion.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/semanticVersion/isValidSemanticVersion.d.ts +12 -0
- package/esm/typings/src/utils/validators/semanticVersion/isValidSemanticVersion.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/url/isHostnameOnPrivateNetwork.d.ts +11 -0
- package/esm/typings/src/utils/validators/url/isHostnameOnPrivateNetwork.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/url/isUrlOnPrivateNetwork.d.ts +13 -0
- package/esm/typings/src/utils/validators/url/isUrlOnPrivateNetwork.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/url/isValidPipelineUrl.d.ts +15 -0
- package/esm/typings/src/utils/validators/url/isValidPipelineUrl.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/url/isValidUrl.d.ts +13 -0
- package/esm/typings/src/utils/validators/url/isValidUrl.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/uuid/isValidUuid.d.ts +8 -0
- package/esm/typings/src/utils/validators/uuid/isValidUuid.test.d.ts +1 -0
- package/esm/typings/src/version.d.ts +6 -0
- package/package.json +64 -0
- package/umd/index.umd.js +6264 -0
- package/umd/index.umd.js.map +1 -0
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
import type { PipelineCollection } from '../collection/PipelineCollection';
|
|
2
|
+
import type { Command } from '../commands/_common/types/Command';
|
|
3
|
+
import type { CommandParser } from '../commands/_common/types/CommandParser';
|
|
4
|
+
import type { PipelineBothCommandParser } from '../commands/_common/types/CommandParser';
|
|
5
|
+
import type { PipelineHeadCommandParser } from '../commands/_common/types/CommandParser';
|
|
6
|
+
import type { PipelineTemplateCommandParser } from '../commands/_common/types/CommandParser';
|
|
7
|
+
import type { CommandParserInput } from '../commands/_common/types/CommandParser';
|
|
8
|
+
import type { CommandUsagePlace } from '../commands/_common/types/CommandUsagePlaces';
|
|
9
|
+
import type { ExpectCommand } from '../commands/EXPECT/ExpectCommand';
|
|
10
|
+
import type { ForeachJson } from '../commands/FOREACH/ForeachJson';
|
|
11
|
+
import type { FormatCommand } from '../commands/FORMAT/FormatCommand';
|
|
12
|
+
import type { TemplateType } from '../commands/TEMPLATE/TemplateTypes';
|
|
13
|
+
import type { PrettifyOptions } from '../conversion/prettify/PrettifyOptions';
|
|
14
|
+
import type { renderPipelineMermaidOptions } from '../conversion/prettify/renderPipelineMermaidOptions';
|
|
15
|
+
import type { CallbackInterfaceToolsOptions } from '../dialogs/callback/CallbackInterfaceToolsOptions';
|
|
16
|
+
import type { ErrorJson } from '../errors/utils/ErrorJson';
|
|
17
|
+
import type { AvailableModel } from '../execution/AvailableModel';
|
|
18
|
+
import type { CommonToolsOptions } from '../execution/CommonToolsOptions';
|
|
19
|
+
import type { CreatePipelineExecutorOptions } from '../execution/createPipelineExecutor/00-CreatePipelineExecutorOptions';
|
|
20
|
+
import type { CreatePipelineExecutorSettings } from '../execution/createPipelineExecutor/00-CreatePipelineExecutorSettings';
|
|
21
|
+
import type { EmbeddingVector } from '../execution/EmbeddingVector';
|
|
22
|
+
import type { ExecutionTools } from '../execution/ExecutionTools';
|
|
23
|
+
import type { LlmExecutionTools } from '../execution/LlmExecutionTools';
|
|
24
|
+
import type { LlmExecutionToolsConstructor } from '../execution/LlmExecutionToolsConstructor';
|
|
25
|
+
import type { PipelineExecutor } from '../execution/PipelineExecutor';
|
|
26
|
+
import type { PipelineExecutorResult } from '../execution/PipelineExecutorResult';
|
|
27
|
+
import type { PromptResult } from '../execution/PromptResult';
|
|
28
|
+
import type { CompletionPromptResult } from '../execution/PromptResult';
|
|
29
|
+
import type { ChatPromptResult } from '../execution/PromptResult';
|
|
30
|
+
import type { EmbeddingPromptResult } from '../execution/PromptResult';
|
|
31
|
+
import type { PromptResultUsage } from '../execution/PromptResultUsage';
|
|
32
|
+
import type { PromptResultUsageCounts } from '../execution/PromptResultUsage';
|
|
33
|
+
import type { ScriptExecutionTools } from '../execution/ScriptExecutionTools';
|
|
34
|
+
import type { ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
|
|
35
|
+
import type { UncertainNumber } from '../execution/UncertainNumber';
|
|
36
|
+
import type { UserInterfaceTools } from '../execution/UserInterfaceTools';
|
|
37
|
+
import type { UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
|
|
38
|
+
import type { FormatSubvalueDefinition } from '../formats/_common/FormatSubvalueDefinition';
|
|
39
|
+
import type { CsvSettings } from '../formats/csv/CsvSettings';
|
|
40
|
+
import type { LlmToolsConfiguration } from '../llm-providers/_common/register/LlmToolsConfiguration';
|
|
41
|
+
import type { LlmToolsMetadata } from '../llm-providers/_common/register/LlmToolsMetadata';
|
|
42
|
+
import type { LlmToolsOptions } from '../llm-providers/_common/register/LlmToolsOptions';
|
|
43
|
+
import type { CacheItem } from '../llm-providers/_common/utils/cache/CacheItem';
|
|
44
|
+
import type { CacheLlmToolsOptions } from '../llm-providers/_common/utils/cache/CacheLlmToolsOptions';
|
|
45
|
+
import type { LlmExecutionToolsWithTotalUsage } from '../llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage';
|
|
46
|
+
import type { AnthropicClaudeExecutionToolsOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
|
|
47
|
+
import type { AnthropicClaudeExecutionToolsDirectOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
|
|
48
|
+
import type { AnthropicClaudeExecutionToolsProxiedOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
|
|
49
|
+
import type { AzureOpenAiExecutionToolsOptions } from '../llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions';
|
|
50
|
+
import type { LangtailExecutionToolsOptions } from '../llm-providers/langtail/LangtailExecutionToolsOptions';
|
|
51
|
+
import type { MultipleLlmExecutionTools } from '../llm-providers/multiple/MultipleLlmExecutionTools';
|
|
52
|
+
import type { OpenAiExecutionToolsOptions } from '../llm-providers/openai/OpenAiExecutionToolsOptions';
|
|
53
|
+
import type { PromptbookServer_Error } from '../llm-providers/remote/interfaces/PromptbookServer_Error';
|
|
54
|
+
import type { PromptbookServer_ListModels_Request } from '../llm-providers/remote/interfaces/PromptbookServer_ListModels_Request';
|
|
55
|
+
import type { PromptbookServer_ListModels_CollectionRequest } from '../llm-providers/remote/interfaces/PromptbookServer_ListModels_Request';
|
|
56
|
+
import type { PromptbookServer_ListModels_AnonymousRequest } from '../llm-providers/remote/interfaces/PromptbookServer_ListModels_Request';
|
|
57
|
+
import type { PromptbookServer_ListModels_Response } from '../llm-providers/remote/interfaces/PromptbookServer_ListModels_Response';
|
|
58
|
+
import type { PromptbookServer_Prompt_Progress } from '../llm-providers/remote/interfaces/PromptbookServer_Prompt_Progress';
|
|
59
|
+
import type { PromptbookServer_Prompt_Request } from '../llm-providers/remote/interfaces/PromptbookServer_Prompt_Request';
|
|
60
|
+
import type { PromptbookServer_Prompt_CollectionRequest } from '../llm-providers/remote/interfaces/PromptbookServer_Prompt_Request';
|
|
61
|
+
import type { PromptbookServer_Prompt_AnonymousRequest } from '../llm-providers/remote/interfaces/PromptbookServer_Prompt_Request';
|
|
62
|
+
import type { PromptbookServer_Prompt_Response } from '../llm-providers/remote/interfaces/PromptbookServer_Prompt_Response';
|
|
63
|
+
import type { RemoteLlmExecutionToolsOptions } from '../llm-providers/remote/interfaces/RemoteLlmExecutionToolsOptions';
|
|
64
|
+
import type { RemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
|
|
65
|
+
import type { AnonymousRemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
|
|
66
|
+
import type { CollectionRemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
|
|
67
|
+
import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions';
|
|
68
|
+
import type { Converter } from '../scrapers/_common/Converter';
|
|
69
|
+
import type { ScraperAndConverterMetadata } from '../scrapers/_common/register/ScraperAndConverterMetadata';
|
|
70
|
+
import type { ScraperConstructor } from '../scrapers/_common/register/ScraperConstructor';
|
|
71
|
+
import type { Scraper } from '../scrapers/_common/Scraper';
|
|
72
|
+
import type { ScraperSourceHandler } from '../scrapers/_common/Scraper';
|
|
73
|
+
import type { ScraperIntermediateSource } from '../scrapers/_common/ScraperIntermediateSource';
|
|
74
|
+
import type { JavascriptExecutionToolsOptions } from '../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
75
|
+
import type { PostprocessingFunction } from '../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
76
|
+
import type { PromptbookStorage } from '../storage/_common/PromptbookStorage';
|
|
77
|
+
import type { FileCacheStorageOptions } from '../storage/file-cache-storage/FileCacheStorageOptions';
|
|
78
|
+
import type { ExecutionPromptReportJson } from '../types/execution-report/ExecutionPromptReportJson';
|
|
79
|
+
import type { ExecutionReportJson } from '../types/execution-report/ExecutionReportJson';
|
|
80
|
+
import type { ExecutionReportString } from '../types/execution-report/ExecutionReportString';
|
|
81
|
+
import type { ExecutionReportStringOptions } from '../types/execution-report/ExecutionReportStringOptions';
|
|
82
|
+
import type { ModelRequirements } from '../types/ModelRequirements';
|
|
83
|
+
import type { CompletionModelRequirements } from '../types/ModelRequirements';
|
|
84
|
+
import type { ChatModelRequirements } from '../types/ModelRequirements';
|
|
85
|
+
import type { EmbeddingModelRequirements } from '../types/ModelRequirements';
|
|
86
|
+
import type { ModelVariant } from '../types/ModelVariant';
|
|
87
|
+
import type { DialogTemplateJson } from '../types/PipelineJson/DialogTemplateJson';
|
|
88
|
+
import type { Expectations } from '../types/PipelineJson/Expectations';
|
|
89
|
+
import type { ExpectationUnit } from '../types/PipelineJson/Expectations';
|
|
90
|
+
import type { ExpectationAmount } from '../types/PipelineJson/Expectations';
|
|
91
|
+
import type { KnowledgePiecePreparedJson } from '../types/PipelineJson/KnowledgePieceJson';
|
|
92
|
+
import type { KnowledgeSourceJson } from '../types/PipelineJson/KnowledgeSourceJson';
|
|
93
|
+
import type { KnowledgeSourcePreparedJson } from '../types/PipelineJson/KnowledgeSourceJson';
|
|
94
|
+
import type { ParameterJson } from '../types/PipelineJson/ParameterJson';
|
|
95
|
+
import type { PersonaJson } from '../types/PipelineJson/PersonaJson';
|
|
96
|
+
import type { PersonaPreparedJson } from '../types/PipelineJson/PersonaJson';
|
|
97
|
+
import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
|
|
98
|
+
import type { PreparationJson } from '../types/PipelineJson/PreparationJson';
|
|
99
|
+
import type { PromptTemplateJson } from '../types/PipelineJson/PromptTemplateJson';
|
|
100
|
+
import type { ScriptTemplateJson } from '../types/PipelineJson/ScriptTemplateJson';
|
|
101
|
+
import type { SimpleTemplateJson } from '../types/PipelineJson/SimpleTemplateJson';
|
|
102
|
+
import type { TemplateJson } from '../types/PipelineJson/TemplateJson';
|
|
103
|
+
import type { TemplateJsonCommon } from '../types/PipelineJson/TemplateJsonCommon';
|
|
104
|
+
import type { PipelineString } from '../types/PipelineString';
|
|
105
|
+
import type { Prompt } from '../types/Prompt';
|
|
106
|
+
import type { CompletionPrompt } from '../types/Prompt';
|
|
107
|
+
import type { ChatPrompt } from '../types/Prompt';
|
|
108
|
+
import type { EmbeddingPrompt } from '../types/Prompt';
|
|
109
|
+
import type { ScriptLanguage } from '../types/ScriptLanguage';
|
|
110
|
+
import type { TaskProgress } from '../types/TaskProgress';
|
|
111
|
+
import type { string_char_emoji } from '../types/typeAliasEmoji';
|
|
112
|
+
import type { string_business_category_name } from '../types/typeAliases';
|
|
113
|
+
import type { string_model_name } from '../types/typeAliases';
|
|
114
|
+
import type { string_prompt } from '../types/typeAliases';
|
|
115
|
+
import type { string_template } from '../types/typeAliases';
|
|
116
|
+
import type { string_text_prompt } from '../types/typeAliases';
|
|
117
|
+
import type { string_chat_prompt } from '../types/typeAliases';
|
|
118
|
+
import type { string_system_message } from '../types/typeAliases';
|
|
119
|
+
import type { string_completion_prompt } from '../types/typeAliases';
|
|
120
|
+
import type { string_page } from '../types/typeAliases';
|
|
121
|
+
import type { string_mime_type } from '../types/typeAliases';
|
|
122
|
+
import type { string_mime_type_with_wildcard } from '../types/typeAliases';
|
|
123
|
+
import type { string_char } from '../types/typeAliases';
|
|
124
|
+
import type { string_name } from '../types/typeAliases';
|
|
125
|
+
import type { string_parameter_name } from '../types/typeAliases';
|
|
126
|
+
import type { string_parameter_value } from '../types/typeAliases';
|
|
127
|
+
import type { Parameters } from '../types/typeAliases';
|
|
128
|
+
import type { string_reserved_parameter_name } from '../types/typeAliases';
|
|
129
|
+
import type { ReservedParameters } from '../types/typeAliases';
|
|
130
|
+
import type { string_title } from '../types/typeAliases';
|
|
131
|
+
import type { string_persona_description } from '../types/typeAliases';
|
|
132
|
+
import type { string_knowledge_source_content } from '../types/typeAliases';
|
|
133
|
+
import type { string_knowledge_source_link } from '../types/typeAliases';
|
|
134
|
+
import type { string_html } from '../types/typeAliases';
|
|
135
|
+
import type { string_xml } from '../types/typeAliases';
|
|
136
|
+
import type { string_markdown } from '../types/typeAliases';
|
|
137
|
+
import type { string_markdown_section } from '../types/typeAliases';
|
|
138
|
+
import type { string_markdown_section_content } from '../types/typeAliases';
|
|
139
|
+
import type { string_markdown_text } from '../types/typeAliases';
|
|
140
|
+
import type { string_promptbook_documentation_url } from '../types/typeAliases';
|
|
141
|
+
import type { string_domain } from '../types/typeAliases';
|
|
142
|
+
import type { string_tdl } from '../types/typeAliases';
|
|
143
|
+
import type { string_css } from '../types/typeAliases';
|
|
144
|
+
import type { string_svg } from '../types/typeAliases';
|
|
145
|
+
import type { string_script } from '../types/typeAliases';
|
|
146
|
+
import type { string_javascript } from '../types/typeAliases';
|
|
147
|
+
import type { string_json } from '../types/typeAliases';
|
|
148
|
+
import type { string_css_class } from '../types/typeAliases';
|
|
149
|
+
import type { string_css_property } from '../types/typeAliases';
|
|
150
|
+
import type { string_css_value } from '../types/typeAliases';
|
|
151
|
+
import type { string_css_selector } from '../types/typeAliases';
|
|
152
|
+
import type { string_url } from '../types/typeAliases';
|
|
153
|
+
import type { string_base_url } from '../types/typeAliases';
|
|
154
|
+
import type { string_pipeline_url } from '../types/typeAliases';
|
|
155
|
+
import type { string_pipeline_url_with_hashtemplate } from '../types/typeAliases';
|
|
156
|
+
import type { string_data_url } from '../types/typeAliases';
|
|
157
|
+
import type { string_base64 } from '../types/typeAliases';
|
|
158
|
+
import type { string_href } from '../types/typeAliases';
|
|
159
|
+
import type { string_url_image } from '../types/typeAliases';
|
|
160
|
+
import type { string_executable_path } from '../types/typeAliases';
|
|
161
|
+
import type { string_uri } from '../types/typeAliases';
|
|
162
|
+
import type { string_uri_part } from '../types/typeAliases';
|
|
163
|
+
import type { string_uriid } from '../types/typeAliases';
|
|
164
|
+
import type { string_hostname } from '../types/typeAliases';
|
|
165
|
+
import type { string_host } from '../types/typeAliases';
|
|
166
|
+
import type { string_protocol } from '../types/typeAliases';
|
|
167
|
+
import type { string_email } from '../types/typeAliases';
|
|
168
|
+
import type { string_emails } from '../types/typeAliases';
|
|
169
|
+
import type { string_uuid } from '../types/typeAliases';
|
|
170
|
+
import type { string_user_id } from '../types/typeAliases';
|
|
171
|
+
import type { string_sha256 } from '../types/typeAliases';
|
|
172
|
+
import type { string_semantic_version } from '../types/typeAliases';
|
|
173
|
+
import type { string_version_dependency } from '../types/typeAliases';
|
|
174
|
+
import type { string_file_extension } from '../types/typeAliases';
|
|
175
|
+
import type { string_absolute_filename } from '../types/typeAliases';
|
|
176
|
+
import type { string_relative_filename } from '../types/typeAliases';
|
|
177
|
+
import type { string_filename } from '../types/typeAliases';
|
|
178
|
+
import type { string_absolute_dirname } from '../types/typeAliases';
|
|
179
|
+
import type { string_relative_dirname } from '../types/typeAliases';
|
|
180
|
+
import type { string_dirname } from '../types/typeAliases';
|
|
181
|
+
import type { string_person_fullname } from '../types/typeAliases';
|
|
182
|
+
import type { string_person_profile } from '../types/typeAliases';
|
|
183
|
+
import type { string_license } from '../types/typeAliases';
|
|
184
|
+
import type { string_attribute } from '../types/typeAliases';
|
|
185
|
+
import type { string_attribute_value_scope } from '../types/typeAliases';
|
|
186
|
+
import type { string_color } from '../types/typeAliases';
|
|
187
|
+
import type { string_translate_name } from '../types/typeAliases';
|
|
188
|
+
import type { string_translate_name_not_normalized } from '../types/typeAliases';
|
|
189
|
+
import type { string_translate_language } from '../types/typeAliases';
|
|
190
|
+
import type { string_javascript_name } from '../types/typeAliases';
|
|
191
|
+
import type { string_postprocessing_function_name } from '../types/typeAliases';
|
|
192
|
+
import type { string_token } from '../types/typeAliases';
|
|
193
|
+
import type { string_license_token } from '../types/typeAliases';
|
|
194
|
+
import type { string_password } from '../types/typeAliases';
|
|
195
|
+
import type { string_ssh_key } from '../types/typeAliases';
|
|
196
|
+
import type { string_pgp_key } from '../types/typeAliases';
|
|
197
|
+
import type { string_date_iso8601 } from '../types/typeAliases';
|
|
198
|
+
import type { number_usd } from '../types/typeAliases';
|
|
199
|
+
import type { number_id } from '../types/typeAliases';
|
|
200
|
+
import type { number_linecol_number } from '../types/typeAliases';
|
|
201
|
+
import type { number_tokens } from '../types/typeAliases';
|
|
202
|
+
import type { number_positive } from '../types/typeAliases';
|
|
203
|
+
import type { number_negative } from '../types/typeAliases';
|
|
204
|
+
import type { number_integer } from '../types/typeAliases';
|
|
205
|
+
import type { number_percent } from '../types/typeAliases';
|
|
206
|
+
import type { number_model_temperature } from '../types/typeAliases';
|
|
207
|
+
import type { number_seed } from '../types/typeAliases';
|
|
208
|
+
import type { number_likeness } from '../types/typeAliases';
|
|
209
|
+
import type { number_miliseconds } from '../types/typeAliases';
|
|
210
|
+
import type { number_seconds } from '../types/typeAliases';
|
|
211
|
+
import type { number_minutes } from '../types/typeAliases';
|
|
212
|
+
import type { number_hours } from '../types/typeAliases';
|
|
213
|
+
import type { number_days } from '../types/typeAliases';
|
|
214
|
+
import type { number_weeks } from '../types/typeAliases';
|
|
215
|
+
import type { number_months } from '../types/typeAliases';
|
|
216
|
+
import type { number_years } from '../types/typeAliases';
|
|
217
|
+
import type { number_bytes } from '../types/typeAliases';
|
|
218
|
+
import type { number_kilobytes } from '../types/typeAliases';
|
|
219
|
+
import type { number_megabytes } from '../types/typeAliases';
|
|
220
|
+
import type { number_gigabytes } from '../types/typeAliases';
|
|
221
|
+
import type { number_terabytes } from '../types/typeAliases';
|
|
222
|
+
import type { Registered } from '../utils/$Register';
|
|
223
|
+
import type { Registration } from '../utils/$Register';
|
|
224
|
+
import type { IExecCommandOptions } from '../utils/execCommand/IExecCommandOptions';
|
|
225
|
+
import type { IExecCommandOptionsAdvanced } from '../utils/execCommand/IExecCommandOptions';
|
|
226
|
+
import type { FromtoItems } from '../utils/FromtoItems';
|
|
227
|
+
import type { CodeBlock } from '../utils/markdown/extractAllBlocksFromMarkdown';
|
|
228
|
+
import type { MarkdownSection } from '../utils/markdown/parseMarkdownSection';
|
|
229
|
+
import type { string_keyword } from '../utils/normalization/IKeywords';
|
|
230
|
+
import type { IKeywords } from '../utils/normalization/IKeywords';
|
|
231
|
+
import type { string_kebab_case } from '../utils/normalization/normalize-to-kebab-case';
|
|
232
|
+
import type { string_camelCase } from '../utils/normalization/normalizeTo_camelCase';
|
|
233
|
+
import type { string_PascalCase } from '../utils/normalization/normalizeTo_PascalCase';
|
|
234
|
+
import type { string_SCREAMING_CASE } from '../utils/normalization/normalizeTo_SCREAMING_CASE';
|
|
235
|
+
import type { string_snake_case } from '../utils/normalization/normalizeTo_snake_case';
|
|
236
|
+
import type { empty_object } from '../utils/organization/empty_object';
|
|
237
|
+
import type { really_any } from '../utils/organization/really_any';
|
|
238
|
+
import type { TODO_any } from '../utils/organization/TODO_any';
|
|
239
|
+
import type { string_promptbook_version } from '../version';
|
|
240
|
+
export type { PipelineCollection };
|
|
241
|
+
export type { Command };
|
|
242
|
+
export type { CommandParser };
|
|
243
|
+
export type { PipelineBothCommandParser };
|
|
244
|
+
export type { PipelineHeadCommandParser };
|
|
245
|
+
export type { PipelineTemplateCommandParser };
|
|
246
|
+
export type { CommandParserInput };
|
|
247
|
+
export type { CommandUsagePlace };
|
|
248
|
+
export type { ExpectCommand };
|
|
249
|
+
export type { ForeachJson };
|
|
250
|
+
export type { FormatCommand };
|
|
251
|
+
export type { TemplateType };
|
|
252
|
+
export type { PrettifyOptions };
|
|
253
|
+
export type { renderPipelineMermaidOptions };
|
|
254
|
+
export type { CallbackInterfaceToolsOptions };
|
|
255
|
+
export type { ErrorJson };
|
|
256
|
+
export type { AvailableModel };
|
|
257
|
+
export type { CommonToolsOptions };
|
|
258
|
+
export type { CreatePipelineExecutorOptions };
|
|
259
|
+
export type { CreatePipelineExecutorSettings };
|
|
260
|
+
export type { EmbeddingVector };
|
|
261
|
+
export type { ExecutionTools };
|
|
262
|
+
export type { LlmExecutionTools };
|
|
263
|
+
export type { LlmExecutionToolsConstructor };
|
|
264
|
+
export type { PipelineExecutor };
|
|
265
|
+
export type { PipelineExecutorResult };
|
|
266
|
+
export type { PromptResult };
|
|
267
|
+
export type { CompletionPromptResult };
|
|
268
|
+
export type { ChatPromptResult };
|
|
269
|
+
export type { EmbeddingPromptResult };
|
|
270
|
+
export type { PromptResultUsage };
|
|
271
|
+
export type { PromptResultUsageCounts };
|
|
272
|
+
export type { ScriptExecutionTools };
|
|
273
|
+
export type { ScriptExecutionToolsExecuteOptions };
|
|
274
|
+
export type { UncertainNumber };
|
|
275
|
+
export type { UserInterfaceTools };
|
|
276
|
+
export type { UserInterfaceToolsPromptDialogOptions };
|
|
277
|
+
export type { FormatSubvalueDefinition };
|
|
278
|
+
export type { CsvSettings };
|
|
279
|
+
export type { LlmToolsConfiguration };
|
|
280
|
+
export type { LlmToolsMetadata };
|
|
281
|
+
export type { LlmToolsOptions };
|
|
282
|
+
export type { CacheItem };
|
|
283
|
+
export type { CacheLlmToolsOptions };
|
|
284
|
+
export type { LlmExecutionToolsWithTotalUsage };
|
|
285
|
+
export type { AnthropicClaudeExecutionToolsOptions };
|
|
286
|
+
export type { AnthropicClaudeExecutionToolsDirectOptions };
|
|
287
|
+
export type { AnthropicClaudeExecutionToolsProxiedOptions };
|
|
288
|
+
export type { AzureOpenAiExecutionToolsOptions };
|
|
289
|
+
export type { LangtailExecutionToolsOptions };
|
|
290
|
+
export type { MultipleLlmExecutionTools };
|
|
291
|
+
export type { OpenAiExecutionToolsOptions };
|
|
292
|
+
export type { PromptbookServer_Error };
|
|
293
|
+
export type { PromptbookServer_ListModels_Request };
|
|
294
|
+
export type { PromptbookServer_ListModels_CollectionRequest };
|
|
295
|
+
export type { PromptbookServer_ListModels_AnonymousRequest };
|
|
296
|
+
export type { PromptbookServer_ListModels_Response };
|
|
297
|
+
export type { PromptbookServer_Prompt_Progress };
|
|
298
|
+
export type { PromptbookServer_Prompt_Request };
|
|
299
|
+
export type { PromptbookServer_Prompt_CollectionRequest };
|
|
300
|
+
export type { PromptbookServer_Prompt_AnonymousRequest };
|
|
301
|
+
export type { PromptbookServer_Prompt_Response };
|
|
302
|
+
export type { RemoteLlmExecutionToolsOptions };
|
|
303
|
+
export type { RemoteServerOptions };
|
|
304
|
+
export type { AnonymousRemoteServerOptions };
|
|
305
|
+
export type { CollectionRemoteServerOptions };
|
|
306
|
+
export type { PrepareAndScrapeOptions };
|
|
307
|
+
export type { Converter };
|
|
308
|
+
export type { ScraperAndConverterMetadata };
|
|
309
|
+
export type { ScraperConstructor };
|
|
310
|
+
export type { Scraper };
|
|
311
|
+
export type { ScraperSourceHandler };
|
|
312
|
+
export type { ScraperIntermediateSource };
|
|
313
|
+
export type { JavascriptExecutionToolsOptions };
|
|
314
|
+
export type { PostprocessingFunction };
|
|
315
|
+
export type { PromptbookStorage };
|
|
316
|
+
export type { FileCacheStorageOptions };
|
|
317
|
+
export type { ExecutionPromptReportJson };
|
|
318
|
+
export type { ExecutionReportJson };
|
|
319
|
+
export type { ExecutionReportString };
|
|
320
|
+
export type { ExecutionReportStringOptions };
|
|
321
|
+
export type { ModelRequirements };
|
|
322
|
+
export type { CompletionModelRequirements };
|
|
323
|
+
export type { ChatModelRequirements };
|
|
324
|
+
export type { EmbeddingModelRequirements };
|
|
325
|
+
export type { ModelVariant };
|
|
326
|
+
export type { DialogTemplateJson };
|
|
327
|
+
export type { Expectations };
|
|
328
|
+
export type { ExpectationUnit };
|
|
329
|
+
export type { ExpectationAmount };
|
|
330
|
+
export type { KnowledgePiecePreparedJson };
|
|
331
|
+
export type { KnowledgeSourceJson };
|
|
332
|
+
export type { KnowledgeSourcePreparedJson };
|
|
333
|
+
export type { ParameterJson };
|
|
334
|
+
export type { PersonaJson };
|
|
335
|
+
export type { PersonaPreparedJson };
|
|
336
|
+
export type { PipelineJson };
|
|
337
|
+
export type { PreparationJson };
|
|
338
|
+
export type { PromptTemplateJson };
|
|
339
|
+
export type { ScriptTemplateJson };
|
|
340
|
+
export type { SimpleTemplateJson };
|
|
341
|
+
export type { TemplateJson };
|
|
342
|
+
export type { TemplateJsonCommon };
|
|
343
|
+
export type { PipelineString };
|
|
344
|
+
export type { Prompt };
|
|
345
|
+
export type { CompletionPrompt };
|
|
346
|
+
export type { ChatPrompt };
|
|
347
|
+
export type { EmbeddingPrompt };
|
|
348
|
+
export type { ScriptLanguage };
|
|
349
|
+
export type { TaskProgress };
|
|
350
|
+
export type { string_char_emoji };
|
|
351
|
+
export type { string_business_category_name };
|
|
352
|
+
export type { string_model_name };
|
|
353
|
+
export type { string_prompt };
|
|
354
|
+
export type { string_template };
|
|
355
|
+
export type { string_text_prompt };
|
|
356
|
+
export type { string_chat_prompt };
|
|
357
|
+
export type { string_system_message };
|
|
358
|
+
export type { string_completion_prompt };
|
|
359
|
+
export type { string_page };
|
|
360
|
+
export type { string_mime_type };
|
|
361
|
+
export type { string_mime_type_with_wildcard };
|
|
362
|
+
export type { string_char };
|
|
363
|
+
export type { string_name };
|
|
364
|
+
export type { string_parameter_name };
|
|
365
|
+
export type { string_parameter_value };
|
|
366
|
+
export type { Parameters };
|
|
367
|
+
export type { string_reserved_parameter_name };
|
|
368
|
+
export type { ReservedParameters };
|
|
369
|
+
export type { string_title };
|
|
370
|
+
export type { string_persona_description };
|
|
371
|
+
export type { string_knowledge_source_content };
|
|
372
|
+
export type { string_knowledge_source_link };
|
|
373
|
+
export type { string_html };
|
|
374
|
+
export type { string_xml };
|
|
375
|
+
export type { string_markdown };
|
|
376
|
+
export type { string_markdown_section };
|
|
377
|
+
export type { string_markdown_section_content };
|
|
378
|
+
export type { string_markdown_text };
|
|
379
|
+
export type { string_promptbook_documentation_url };
|
|
380
|
+
export type { string_domain };
|
|
381
|
+
export type { string_tdl };
|
|
382
|
+
export type { string_css };
|
|
383
|
+
export type { string_svg };
|
|
384
|
+
export type { string_script };
|
|
385
|
+
export type { string_javascript };
|
|
386
|
+
export type { string_json };
|
|
387
|
+
export type { string_css_class };
|
|
388
|
+
export type { string_css_property };
|
|
389
|
+
export type { string_css_value };
|
|
390
|
+
export type { string_css_selector };
|
|
391
|
+
export type { string_url };
|
|
392
|
+
export type { string_base_url };
|
|
393
|
+
export type { string_pipeline_url };
|
|
394
|
+
export type { string_pipeline_url_with_hashtemplate };
|
|
395
|
+
export type { string_data_url };
|
|
396
|
+
export type { string_base64 };
|
|
397
|
+
export type { string_href };
|
|
398
|
+
export type { string_url_image };
|
|
399
|
+
export type { string_executable_path };
|
|
400
|
+
export type { string_uri };
|
|
401
|
+
export type { string_uri_part };
|
|
402
|
+
export type { string_uriid };
|
|
403
|
+
export type { string_hostname };
|
|
404
|
+
export type { string_host };
|
|
405
|
+
export type { string_protocol };
|
|
406
|
+
export type { string_email };
|
|
407
|
+
export type { string_emails };
|
|
408
|
+
export type { string_uuid };
|
|
409
|
+
export type { string_user_id };
|
|
410
|
+
export type { string_sha256 };
|
|
411
|
+
export type { string_semantic_version };
|
|
412
|
+
export type { string_version_dependency };
|
|
413
|
+
export type { string_file_extension };
|
|
414
|
+
export type { string_absolute_filename };
|
|
415
|
+
export type { string_relative_filename };
|
|
416
|
+
export type { string_filename };
|
|
417
|
+
export type { string_absolute_dirname };
|
|
418
|
+
export type { string_relative_dirname };
|
|
419
|
+
export type { string_dirname };
|
|
420
|
+
export type { string_person_fullname };
|
|
421
|
+
export type { string_person_profile };
|
|
422
|
+
export type { string_license };
|
|
423
|
+
export type { string_attribute };
|
|
424
|
+
export type { string_attribute_value_scope };
|
|
425
|
+
export type { string_color };
|
|
426
|
+
export type { string_translate_name };
|
|
427
|
+
export type { string_translate_name_not_normalized };
|
|
428
|
+
export type { string_translate_language };
|
|
429
|
+
export type { string_javascript_name };
|
|
430
|
+
export type { string_postprocessing_function_name };
|
|
431
|
+
export type { string_token };
|
|
432
|
+
export type { string_license_token };
|
|
433
|
+
export type { string_password };
|
|
434
|
+
export type { string_ssh_key };
|
|
435
|
+
export type { string_pgp_key };
|
|
436
|
+
export type { string_date_iso8601 };
|
|
437
|
+
export type { number_usd };
|
|
438
|
+
export type { number_id };
|
|
439
|
+
export type { number_linecol_number };
|
|
440
|
+
export type { number_tokens };
|
|
441
|
+
export type { number_positive };
|
|
442
|
+
export type { number_negative };
|
|
443
|
+
export type { number_integer };
|
|
444
|
+
export type { number_percent };
|
|
445
|
+
export type { number_model_temperature };
|
|
446
|
+
export type { number_seed };
|
|
447
|
+
export type { number_likeness };
|
|
448
|
+
export type { number_miliseconds };
|
|
449
|
+
export type { number_seconds };
|
|
450
|
+
export type { number_minutes };
|
|
451
|
+
export type { number_hours };
|
|
452
|
+
export type { number_days };
|
|
453
|
+
export type { number_weeks };
|
|
454
|
+
export type { number_months };
|
|
455
|
+
export type { number_years };
|
|
456
|
+
export type { number_bytes };
|
|
457
|
+
export type { number_kilobytes };
|
|
458
|
+
export type { number_megabytes };
|
|
459
|
+
export type { number_gigabytes };
|
|
460
|
+
export type { number_terabytes };
|
|
461
|
+
export type { Registered };
|
|
462
|
+
export type { Registration };
|
|
463
|
+
export type { IExecCommandOptions };
|
|
464
|
+
export type { IExecCommandOptionsAdvanced };
|
|
465
|
+
export type { FromtoItems };
|
|
466
|
+
export type { CodeBlock };
|
|
467
|
+
export type { MarkdownSection };
|
|
468
|
+
export type { string_keyword };
|
|
469
|
+
export type { IKeywords };
|
|
470
|
+
export type { string_kebab_case };
|
|
471
|
+
export type { string_camelCase };
|
|
472
|
+
export type { string_PascalCase };
|
|
473
|
+
export type { string_SCREAMING_CASE };
|
|
474
|
+
export type { string_snake_case };
|
|
475
|
+
export type { empty_object };
|
|
476
|
+
export type { really_any };
|
|
477
|
+
export type { TODO_any };
|
|
478
|
+
export type { string_promptbook_version };
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { PROMPTBOOK_VERSION } from '../version';
|
|
2
|
+
import { renderPromptbookMermaid } from '../conversion/prettify/renderPipelineMermaidOptions';
|
|
3
|
+
import { extractParameterNamesFromTemplate } from '../conversion/utils/extractParameterNamesFromTemplate';
|
|
4
|
+
import { extractVariables } from '../conversion/utils/extractVariables';
|
|
5
|
+
import { renameParameter } from '../conversion/utils/renameParameter';
|
|
6
|
+
import { titleToName } from '../conversion/utils/titleToName';
|
|
7
|
+
import { deserializeError } from '../errors/utils/deserializeError';
|
|
8
|
+
import { serializeError } from '../errors/utils/serializeError';
|
|
9
|
+
import { forEachAsync } from '../execution/utils/forEachAsync';
|
|
10
|
+
import { isValidJsonString } from '../formats/json/utils/isValidJsonString';
|
|
11
|
+
import { $currentDate } from '../utils/$currentDate';
|
|
12
|
+
import { $isRunningInBrowser } from '../utils/environment/$isRunningInBrowser';
|
|
13
|
+
import { $isRunningInNode } from '../utils/environment/$isRunningInNode';
|
|
14
|
+
import { $isRunningInWebWorker } from '../utils/environment/$isRunningInWebWorker';
|
|
15
|
+
import { countCharacters } from '../utils/expectation-counters/countCharacters';
|
|
16
|
+
import { countLines } from '../utils/expectation-counters/countLines';
|
|
17
|
+
import { countPages } from '../utils/expectation-counters/countPages';
|
|
18
|
+
import { countParagraphs } from '../utils/expectation-counters/countParagraphs';
|
|
19
|
+
import { splitIntoSentences } from '../utils/expectation-counters/countSentences';
|
|
20
|
+
import { countSentences } from '../utils/expectation-counters/countSentences';
|
|
21
|
+
import { countWords } from '../utils/expectation-counters/countWords';
|
|
22
|
+
import { CountUtils } from '../utils/expectation-counters/index';
|
|
23
|
+
import { capitalize } from '../utils/normalization/capitalize';
|
|
24
|
+
import { decapitalize } from '../utils/normalization/decapitalize';
|
|
25
|
+
import { DIACRITIC_VARIANTS_LETTERS } from '../utils/normalization/DIACRITIC_VARIANTS_LETTERS';
|
|
26
|
+
import type { string_keyword } from '../utils/normalization/IKeywords';
|
|
27
|
+
import type { IKeywords } from '../utils/normalization/IKeywords';
|
|
28
|
+
import { isValidKeyword } from '../utils/normalization/isValidKeyword';
|
|
29
|
+
import { nameToUriPart } from '../utils/normalization/nameToUriPart';
|
|
30
|
+
import { nameToUriParts } from '../utils/normalization/nameToUriParts';
|
|
31
|
+
import type { string_kebab_case } from '../utils/normalization/normalize-to-kebab-case';
|
|
32
|
+
import { normalizeToKebabCase } from '../utils/normalization/normalize-to-kebab-case';
|
|
33
|
+
import type { string_camelCase } from '../utils/normalization/normalizeTo_camelCase';
|
|
34
|
+
import { normalizeTo_camelCase } from '../utils/normalization/normalizeTo_camelCase';
|
|
35
|
+
import type { string_PascalCase } from '../utils/normalization/normalizeTo_PascalCase';
|
|
36
|
+
import { normalizeTo_PascalCase } from '../utils/normalization/normalizeTo_PascalCase';
|
|
37
|
+
import type { string_SCREAMING_CASE } from '../utils/normalization/normalizeTo_SCREAMING_CASE';
|
|
38
|
+
import { normalizeTo_SCREAMING_CASE } from '../utils/normalization/normalizeTo_SCREAMING_CASE';
|
|
39
|
+
import { normalizeTo_snake_case } from '../utils/normalization/normalizeTo_snake_case';
|
|
40
|
+
import { normalizeWhitespaces } from '../utils/normalization/normalizeWhitespaces';
|
|
41
|
+
import { parseKeywords } from '../utils/normalization/parseKeywords';
|
|
42
|
+
import { parseKeywordsFromString } from '../utils/normalization/parseKeywordsFromString';
|
|
43
|
+
import { removeDiacritics } from '../utils/normalization/removeDiacritics';
|
|
44
|
+
import { searchKeywords } from '../utils/normalization/searchKeywords';
|
|
45
|
+
import { extractParameterNames } from '../utils/parameters/extractParameterNames';
|
|
46
|
+
import { replaceParameters } from '../utils/parameters/replaceParameters';
|
|
47
|
+
import { parseNumber } from '../utils/parseNumber';
|
|
48
|
+
import { $randomSeed } from '../utils/random/$randomSeed';
|
|
49
|
+
import { removeEmojis } from '../utils/removeEmojis';
|
|
50
|
+
import { removeQuotes } from '../utils/removeQuotes';
|
|
51
|
+
import { $deepFreeze } from '../utils/serialization/$deepFreeze';
|
|
52
|
+
import { checkSerializableAsJson } from '../utils/serialization/checkSerializableAsJson';
|
|
53
|
+
import { clonePipeline } from '../utils/serialization/clonePipeline';
|
|
54
|
+
import { deepClone } from '../utils/serialization/deepClone';
|
|
55
|
+
import { isSerializableAsJson } from '../utils/serialization/isSerializableAsJson';
|
|
56
|
+
import { difference } from '../utils/sets/difference';
|
|
57
|
+
import { intersection } from '../utils/sets/intersection';
|
|
58
|
+
import { union } from '../utils/sets/union';
|
|
59
|
+
import { trimCodeBlock } from '../utils/trimCodeBlock';
|
|
60
|
+
import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock';
|
|
61
|
+
import { unwrapResult } from '../utils/unwrapResult';
|
|
62
|
+
import { isValidEmail } from '../utils/validators/email/isValidEmail';
|
|
63
|
+
import { isValidFilePath } from '../utils/validators/filePath/isValidFilePath';
|
|
64
|
+
import { isValidJavascriptName } from '../utils/validators/javascriptName/isValidJavascriptName';
|
|
65
|
+
import { isValidPromptbookVersion } from '../utils/validators/semanticVersion/isValidPromptbookVersion';
|
|
66
|
+
import { isValidSemanticVersion } from '../utils/validators/semanticVersion/isValidSemanticVersion';
|
|
67
|
+
import { isHostnameOnPrivateNetwork } from '../utils/validators/url/isHostnameOnPrivateNetwork';
|
|
68
|
+
import { isUrlOnPrivateNetwork } from '../utils/validators/url/isUrlOnPrivateNetwork';
|
|
69
|
+
import { isValidPipelineUrl } from '../utils/validators/url/isValidPipelineUrl';
|
|
70
|
+
import { isValidUrl } from '../utils/validators/url/isValidUrl';
|
|
71
|
+
import { isValidUuid } from '../utils/validators/uuid/isValidUuid';
|
|
72
|
+
export { PROMPTBOOK_VERSION };
|
|
73
|
+
export { renderPromptbookMermaid };
|
|
74
|
+
export { extractParameterNamesFromTemplate };
|
|
75
|
+
export { extractVariables };
|
|
76
|
+
export { renameParameter };
|
|
77
|
+
export { titleToName };
|
|
78
|
+
export { deserializeError };
|
|
79
|
+
export { serializeError };
|
|
80
|
+
export { forEachAsync };
|
|
81
|
+
export { isValidJsonString };
|
|
82
|
+
export { $currentDate };
|
|
83
|
+
export { $isRunningInBrowser };
|
|
84
|
+
export { $isRunningInNode };
|
|
85
|
+
export { $isRunningInWebWorker };
|
|
86
|
+
export { countCharacters };
|
|
87
|
+
export { countLines };
|
|
88
|
+
export { countPages };
|
|
89
|
+
export { countParagraphs };
|
|
90
|
+
export { splitIntoSentences };
|
|
91
|
+
export { countSentences };
|
|
92
|
+
export { countWords };
|
|
93
|
+
export { CountUtils };
|
|
94
|
+
export { capitalize };
|
|
95
|
+
export { decapitalize };
|
|
96
|
+
export { DIACRITIC_VARIANTS_LETTERS };
|
|
97
|
+
export type { string_keyword };
|
|
98
|
+
export type { IKeywords };
|
|
99
|
+
export { isValidKeyword };
|
|
100
|
+
export { nameToUriPart };
|
|
101
|
+
export { nameToUriParts };
|
|
102
|
+
export type { string_kebab_case };
|
|
103
|
+
export { normalizeToKebabCase };
|
|
104
|
+
export type { string_camelCase };
|
|
105
|
+
export { normalizeTo_camelCase };
|
|
106
|
+
export type { string_PascalCase };
|
|
107
|
+
export { normalizeTo_PascalCase };
|
|
108
|
+
export type { string_SCREAMING_CASE };
|
|
109
|
+
export { normalizeTo_SCREAMING_CASE };
|
|
110
|
+
export { normalizeTo_snake_case };
|
|
111
|
+
export { normalizeWhitespaces };
|
|
112
|
+
export { parseKeywords };
|
|
113
|
+
export { parseKeywordsFromString };
|
|
114
|
+
export { removeDiacritics };
|
|
115
|
+
export { searchKeywords };
|
|
116
|
+
export { extractParameterNames };
|
|
117
|
+
export { replaceParameters };
|
|
118
|
+
export { parseNumber };
|
|
119
|
+
export { $randomSeed };
|
|
120
|
+
export { removeEmojis };
|
|
121
|
+
export { removeQuotes };
|
|
122
|
+
export { $deepFreeze };
|
|
123
|
+
export { checkSerializableAsJson };
|
|
124
|
+
export { clonePipeline };
|
|
125
|
+
export { deepClone };
|
|
126
|
+
export { isSerializableAsJson };
|
|
127
|
+
export { difference };
|
|
128
|
+
export { intersection };
|
|
129
|
+
export { union };
|
|
130
|
+
export { trimCodeBlock };
|
|
131
|
+
export { trimEndOfCodeBlock };
|
|
132
|
+
export { unwrapResult };
|
|
133
|
+
export { isValidEmail };
|
|
134
|
+
export { isValidFilePath };
|
|
135
|
+
export { isValidJavascriptName };
|
|
136
|
+
export { isValidPromptbookVersion };
|
|
137
|
+
export { isValidSemanticVersion };
|
|
138
|
+
export { isHostnameOnPrivateNetwork };
|
|
139
|
+
export { isUrlOnPrivateNetwork };
|
|
140
|
+
export { isValidPipelineUrl };
|
|
141
|
+
export { isValidUrl };
|
|
142
|
+
export { isValidUuid };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PROMPTBOOK_VERSION } from '../version';
|
|
2
|
+
import { createWebsiteScraper } from '../scrapers/website/createWebsiteScraper';
|
|
3
|
+
import { _WebsiteScraperRegistration } from '../scrapers/website/register-constructor';
|
|
4
|
+
import { WebsiteScraper } from '../scrapers/website/WebsiteScraper';
|
|
5
|
+
export { PROMPTBOOK_VERSION };
|
|
6
|
+
export { createWebsiteScraper };
|
|
7
|
+
export { _WebsiteScraperRegistration };
|
|
8
|
+
export { WebsiteScraper };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Command as Program } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* Initializes `about` command for Promptbook CLI utilities
|
|
4
|
+
*
|
|
5
|
+
* @private internal function of `promptbookCli`
|
|
6
|
+
*/
|
|
7
|
+
export declare function initializeAboutCommand(program: Program): void;
|
|
8
|
+
/**
|
|
9
|
+
* TODO: [🗽] Unite branding and make single place for it
|
|
10
|
+
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
11
|
+
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Command as Program } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* Initializes testing `hello` command for Promptbook CLI utilities
|
|
4
|
+
*
|
|
5
|
+
* @private internal function of `promptbookCli`
|
|
6
|
+
*/
|
|
7
|
+
export declare function initializeHelloCommand(program: Program): void;
|
|
8
|
+
/**
|
|
9
|
+
* TODO: [🧠][🐣] Make here some easter egg with generated hello greeting via LLM models
|
|
10
|
+
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
11
|
+
*/
|