@promptbook/openai 0.63.0-2 → 0.63.0-3
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 +2 -2
- package/esm/index.es.js +10 -14
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/anthropic-claude.index.d.ts +2 -0
- package/esm/typings/src/_packages/browser.index.d.ts +2 -0
- package/esm/typings/src/_packages/core.index.d.ts +0 -4
- package/esm/typings/src/_packages/types.index.d.ts +0 -48
- package/esm/typings/src/_packages/utils.index.d.ts +6 -2
- package/esm/typings/src/cli/cli-commands/hello.d.ts +2 -2
- package/esm/typings/src/cli/cli-commands/make.d.ts +1 -1
- package/esm/typings/src/cli/cli-commands/prettify.d.ts +1 -1
- package/esm/typings/src/cli/promptbookCli.d.ts +3 -1
- package/esm/typings/src/collection/SimplePipelineCollection.d.ts +1 -2
- package/esm/typings/src/collection/constructors/createCollectionFromDirectory.d.ts +1 -1
- package/esm/typings/src/commands/_BOILERPLATE/boilerplateCommandParser.d.ts +0 -1
- package/esm/typings/src/commands/_common/types/CommandUsagePlaces.d.ts +2 -0
- package/esm/typings/src/commands/index.d.ts +2 -0
- package/esm/typings/src/config.d.ts +13 -5
- package/esm/typings/src/conversion/validation/_importPipeline.d.ts +5 -1
- package/esm/typings/src/errors/_ExpectError.d.ts +2 -1
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/AutomaticTranslator.d.ts +3 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/DebugAutomaticTranslator.d.ts +2 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/FakeAutomaticTranslator.d.ts +3 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/LindatAutomaticTranslator.d.ts +3 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/TranslatorOptions.d.ts +3 -0
- package/esm/typings/src/execution/translation/automatic-translate/automatic-translators/utils/extractMultiplicatedOccurrence.d.ts +1 -0
- package/esm/typings/src/execution/translation/automatic-translate/translateMessages.d.ts +3 -0
- package/esm/typings/src/execution/utils/checkExpectations.d.ts +1 -1
- package/esm/typings/src/execution/utils/computeUsageCounts.d.ts +1 -1
- package/esm/typings/src/expectations/drafts/isDomainNameFree.d.ts +3 -0
- package/esm/typings/src/expectations/drafts/isGithubNameFree.d.ts +3 -0
- package/esm/typings/src/formats/_common/FormatDefinition.d.ts +1 -1
- package/esm/typings/src/formats/csv/ListFormatDefinition.d.ts +2 -0
- package/esm/typings/src/formats/index.d.ts +2 -0
- package/esm/typings/src/formats/json/JsonFormatDefinition.d.ts +2 -0
- package/esm/typings/src/formats/list/ListFormatDefinition.d.ts +2 -0
- package/esm/typings/src/formats/xml/XmlFormatDefinition.d.ts +2 -0
- package/esm/typings/src/knowledge/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +1 -1
- package/esm/typings/src/knowledge/prepare-knowledge/pdf/prepareKnowledgeFromPdf.d.ts +2 -0
- package/esm/typings/src/llm-providers/_common/createLlmToolsFromEnv.d.ts +4 -2
- package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -0
- package/esm/typings/src/llm-providers/mocked/fakeTextToExpectations.d.ts +1 -1
- package/esm/typings/src/llm-providers/multiple/MultipleLlmExecutionTools.d.ts +1 -1
- package/esm/typings/src/llm-providers/openai/computeOpenaiUsage.d.ts +1 -1
- package/esm/typings/src/scripting/javascript/utils/preserve.d.ts +1 -0
- package/esm/typings/src/scripting/javascript/utils/unknownToString.d.ts +1 -1
- package/esm/typings/src/scripting/python/PythonExecutionTools.d.ts +2 -0
- package/esm/typings/src/scripting/typescript/TypescriptExecutionTools.d.ts +2 -0
- package/esm/typings/src/storage/files-storage/FilesStorage.d.ts +1 -1
- package/esm/typings/src/types/Arrayable.d.ts +1 -1
- package/esm/typings/src/types/ModelVariant.d.ts +8 -7
- package/esm/typings/src/types/PipelineJson/Expectations.d.ts +10 -4
- package/esm/typings/src/types/ScriptLanguage.d.ts +6 -4
- package/esm/typings/src/types/typeAliases.d.ts +2 -1
- package/esm/typings/src/utils/arrayableToArray.d.ts +1 -1
- package/esm/typings/src/utils/deepFreeze.d.ts +6 -5
- package/esm/typings/src/utils/files/listAllFiles.d.ts +14 -0
- package/esm/typings/src/utils/getCurrentIsoDate.d.ts +1 -1
- package/esm/typings/src/utils/markdown/extractOneBlockFromMarkdown.d.ts +1 -1
- package/esm/typings/src/utils/normalization/normalizeWhitespaces.d.ts +3 -1
- package/esm/typings/src/utils/validators/email/isValidEmail.d.ts +2 -0
- package/package.json +2 -2
- package/umd/index.umd.js +10 -14
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/types/execution-report/config.d.ts +0 -8
- package/umd/typings/promptbook-collection/index.d.ts +0 -252
- package/umd/typings/src/_packages/anthropic-claude.index.d.ts +0 -6
- package/umd/typings/src/_packages/azure-openai.index.d.ts +0 -6
- package/umd/typings/src/_packages/browser.index.d.ts +0 -6
- package/umd/typings/src/_packages/cli.index.d.ts +0 -4
- package/umd/typings/src/_packages/core.index.d.ts +0 -124
- package/umd/typings/src/_packages/execute-javascript.index.d.ts +0 -8
- package/umd/typings/src/_packages/fake-llm.index.d.ts +0 -6
- package/umd/typings/src/_packages/langtail.index.d.ts +0 -6
- package/umd/typings/src/_packages/markdown-utils.index.d.ts +0 -36
- package/umd/typings/src/_packages/node.index.d.ts +0 -8
- package/umd/typings/src/_packages/openai.index.d.ts +0 -8
- package/umd/typings/src/_packages/remote-client.index.d.ts +0 -8
- package/umd/typings/src/_packages/remote-server.index.d.ts +0 -6
- package/umd/typings/src/_packages/types.index.d.ts +0 -462
- package/umd/typings/src/_packages/utils.index.d.ts +0 -130
- package/umd/typings/src/cli/cli-commands/hello.d.ts +0 -10
- package/umd/typings/src/cli/cli-commands/make.d.ts +0 -10
- package/umd/typings/src/cli/cli-commands/prettify.d.ts +0 -10
- package/umd/typings/src/cli/main.d.ts +0 -12
- package/umd/typings/src/cli/promptbookCli.d.ts +0 -10
- package/umd/typings/src/collection/PipelineCollection.d.ts +0 -25
- package/umd/typings/src/collection/SimplePipelineCollection.d.ts +0 -38
- package/umd/typings/src/collection/collectionToJson.d.ts +0 -13
- package/umd/typings/src/collection/collectionToJson.test.d.ts +0 -7
- package/umd/typings/src/collection/constructors/createCollectionFromDirectory.d.ts +0 -48
- package/umd/typings/src/collection/constructors/createCollectionFromDirectory.test.d.ts +0 -1
- package/umd/typings/src/collection/constructors/createCollectionFromJson.d.ts +0 -13
- package/umd/typings/src/collection/constructors/createCollectionFromJson.test.d.ts +0 -1
- package/umd/typings/src/collection/constructors/createCollectionFromPromise.d.ts +0 -23
- package/umd/typings/src/collection/constructors/createCollectionFromPromise.test.d.ts +0 -1
- package/umd/typings/src/collection/constructors/createCollectionFromUrl.d.ts +0 -29
- package/umd/typings/src/collection/constructors/createSubcollection.d.ts +0 -13
- package/umd/typings/src/commands/BLOCK/BlockCommand.d.ts +0 -11
- package/umd/typings/src/commands/BLOCK/BlockTypes.d.ts +0 -15
- package/umd/typings/src/commands/BLOCK/blockCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/BLOCK/blockCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/EXPECT/ExpectAmountCommand.d.ts +0 -14
- package/umd/typings/src/commands/EXPECT/ExpectCommand.d.ts +0 -9
- package/umd/typings/src/commands/EXPECT/ExpectFormatCommand.d.ts +0 -7
- package/umd/typings/src/commands/EXPECT/expectCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/EXPECT/expectCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/JOKER/JokerCommand.d.ts +0 -11
- package/umd/typings/src/commands/JOKER/jokerCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/JOKER/jokerCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/KNOWLEDGE/KnowledgeCommand.d.ts +0 -11
- package/umd/typings/src/commands/KNOWLEDGE/knowledgeCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/KNOWLEDGE/knowledgeCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/MODEL/ModelCommand.d.ts +0 -13
- package/umd/typings/src/commands/MODEL/modelCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/MODEL/modelCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/PARAMETER/ParameterCommand.d.ts +0 -15
- package/umd/typings/src/commands/PARAMETER/parameterCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/PARAMETER/parameterCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/PERSONA/PersonaCommand.d.ts +0 -13
- package/umd/typings/src/commands/PERSONA/personaCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/PERSONA/personaCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/POSTPROCESS/PostprocessCommand.d.ts +0 -11
- package/umd/typings/src/commands/POSTPROCESS/postprocessCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/POSTPROCESS/postprocessCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/PROMPTBOOK_VERSION/PromptbookVersionCommand.d.ts +0 -11
- package/umd/typings/src/commands/PROMPTBOOK_VERSION/promptbookVersionCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/PROMPTBOOK_VERSION/promptbookVersionCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/URL/UrlCommand.d.ts +0 -10
- package/umd/typings/src/commands/URL/urlCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/URL/urlCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/X_ACTION/ActionCommand.d.ts +0 -9
- package/umd/typings/src/commands/X_ACTION/actionCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/X_ACTION/actionCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/X_INSTRUMENT/InstrumentCommand.d.ts +0 -9
- package/umd/typings/src/commands/X_INSTRUMENT/instrumentCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/X_INSTRUMENT/instrumentCommandParser.d.ts +0 -9
- package/umd/typings/src/commands/_BOILERPLATE/BoilerplateCommand.d.ts +0 -10
- package/umd/typings/src/commands/_BOILERPLATE/boilerplateCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/_BOILERPLATE/boilerplateCommandParser.d.ts +0 -13
- package/umd/typings/src/commands/_common/parseCommand.d.ts +0 -12
- package/umd/typings/src/commands/_common/parseCommand.test.d.ts +0 -1
- package/umd/typings/src/commands/_common/types/Command.d.ts +0 -6
- package/umd/typings/src/commands/_common/types/CommandParser.d.ts +0 -64
- package/umd/typings/src/commands/_common/types/CommandUsagePlaces.d.ts +0 -9
- package/umd/typings/src/commands/index.d.ts +0 -4
- package/umd/typings/src/config.d.ts +0 -87
- package/umd/typings/src/config.test.d.ts +0 -4
- package/umd/typings/src/conversion/pipelineJsonToString.d.ts +0 -16
- package/umd/typings/src/conversion/pipelineStringToJson.d.ts +0 -38
- package/umd/typings/src/conversion/pipelineStringToJson.test.d.ts +0 -1
- package/umd/typings/src/conversion/pipelineStringToJsonSync.d.ts +0 -29
- package/umd/typings/src/conversion/pipelineStringToJsonSync.test.d.ts +0 -1
- package/umd/typings/src/conversion/prettify/PrettifyOptions.d.ts +0 -13
- package/umd/typings/src/conversion/prettify/prettifyPipelineString.d.ts +0 -12
- package/umd/typings/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +0 -27
- package/umd/typings/src/conversion/utils/extractParameterNamesFromPromptTemplate.d.ts +0 -14
- package/umd/typings/src/conversion/utils/extractParameterNamesFromPromptTemplate.test.d.ts +0 -1
- package/umd/typings/src/conversion/utils/extractVariables.d.ts +0 -14
- package/umd/typings/src/conversion/utils/extractVariables.test.d.ts +0 -1
- package/umd/typings/src/conversion/utils/renameParameter.d.ts +0 -26
- package/umd/typings/src/conversion/utils/renameParameter.test.d.ts +0 -1
- package/umd/typings/src/conversion/utils/stringifyPipelineJson.d.ts +0 -16
- package/umd/typings/src/conversion/utils/stringifyPipelineJson.test.d.ts +0 -1
- package/umd/typings/src/conversion/utils/titleToName.d.ts +0 -9
- package/umd/typings/src/conversion/utils/titleToName.test.d.ts +0 -1
- package/umd/typings/src/conversion/validation/_importPipeline.d.ts +0 -22
- package/umd/typings/src/conversion/validation/pipelineStringToJson-syntaxErrors.test.d.ts +0 -1
- package/umd/typings/src/conversion/validation/validatePipeline-logicErrors.test.d.ts +0 -4
- package/umd/typings/src/conversion/validation/validatePipeline.d.ts +0 -37
- package/umd/typings/src/conversion/validation/validatePipeline.test.d.ts +0 -1
- package/umd/typings/src/errors/CollectionError.d.ts +0 -9
- package/umd/typings/src/errors/EnvironmentMismatchError.d.ts +0 -9
- package/umd/typings/src/errors/LimitReachedError.d.ts +0 -9
- package/umd/typings/src/errors/NotFoundError.d.ts +0 -9
- package/umd/typings/src/errors/NotYetImplementedError.d.ts +0 -9
- package/umd/typings/src/errors/ParsingError.d.ts +0 -9
- package/umd/typings/src/errors/PipelineExecutionError.d.ts +0 -9
- package/umd/typings/src/errors/PipelineLogicError.d.ts +0 -9
- package/umd/typings/src/errors/ReferenceError.d.ts +0 -9
- package/umd/typings/src/errors/UnexpectedError.d.ts +0 -9
- package/umd/typings/src/errors/VersionMismatchError.d.ts +0 -10
- package/umd/typings/src/errors/_ExpectError.d.ts +0 -10
- package/umd/typings/src/execution/CommonExecutionToolsOptions.d.ts +0 -10
- package/umd/typings/src/execution/EmbeddingVector.d.ts +0 -8
- package/umd/typings/src/execution/ExecutionTools.d.ts +0 -33
- package/umd/typings/src/execution/LlmExecutionTools.d.ts +0 -72
- package/umd/typings/src/execution/PipelineExecutor.d.ts +0 -64
- package/umd/typings/src/execution/PromptResult.d.ts +0 -99
- package/umd/typings/src/execution/PromptResultUsage.d.ts +0 -29
- package/umd/typings/src/execution/ScriptExecutionTools.d.ts +0 -39
- package/umd/typings/src/execution/UncertainNumber.d.ts +0 -18
- package/umd/typings/src/execution/UserInterfaceTools.d.ts +0 -46
- package/umd/typings/src/execution/assertsExecutionSuccessful.d.ts +0 -12
- package/umd/typings/src/execution/createPipelineExecutor.d.ts +0 -71
- package/umd/typings/src/execution/embeddingVectorToString.d.ts +0 -7
- package/umd/typings/src/execution/translation/automatic-translate/automatic-translators/AutomaticTranslator.d.ts +0 -4
- package/umd/typings/src/execution/translation/automatic-translate/automatic-translators/DebugAutomaticTranslator.d.ts +0 -9
- package/umd/typings/src/execution/translation/automatic-translate/automatic-translators/FakeAutomaticTranslator.d.ts +0 -5
- package/umd/typings/src/execution/translation/automatic-translate/automatic-translators/LindatAutomaticTranslator.d.ts +0 -11
- package/umd/typings/src/execution/translation/automatic-translate/automatic-translators/TranslatorOptions.d.ts +0 -4
- package/umd/typings/src/execution/translation/automatic-translate/automatic-translators/utils/extractMultiplicatedOccurrence.d.ts +0 -7
- package/umd/typings/src/execution/translation/automatic-translate/automatic-translators/utils/extractMultiplicatedOccurrence.test.d.ts +0 -1
- package/umd/typings/src/execution/translation/automatic-translate/translateMessages.d.ts +0 -5
- package/umd/typings/src/execution/utils/addUsage.d.ts +0 -65
- package/umd/typings/src/execution/utils/addUsage.test.d.ts +0 -1
- package/umd/typings/src/execution/utils/checkExpectations.d.ts +0 -27
- package/umd/typings/src/execution/utils/checkExpectations.test.d.ts +0 -1
- package/umd/typings/src/execution/utils/computeUsageCounts.d.ts +0 -10
- package/umd/typings/src/execution/utils/forEachAsync.d.ts +0 -19
- package/umd/typings/src/execution/utils/uncertainNumber.d.ts +0 -9
- package/umd/typings/src/execution/utils/usageToHuman.d.ts +0 -17
- package/umd/typings/src/execution/utils/usageToHuman.test.d.ts +0 -1
- package/umd/typings/src/execution/utils/usageToWorktime.d.ts +0 -12
- package/umd/typings/src/execution/utils/usageToWorktime.test.d.ts +0 -1
- package/umd/typings/src/expectations/drafts/isDomainNameFree.d.ts +0 -6
- package/umd/typings/src/expectations/drafts/isGithubNameFree.d.ts +0 -6
- package/umd/typings/src/formats/_common/FormatDefinition.d.ts +0 -70
- package/umd/typings/src/formats/csv/ListFormatDefinition.d.ts +0 -12
- package/umd/typings/src/formats/index.d.ts +0 -4
- package/umd/typings/src/formats/json/JsonFormatDefinition.d.ts +0 -16
- package/umd/typings/src/formats/json/utils/isValidJsonString.d.ts +0 -6
- package/umd/typings/src/formats/json/utils/isValidJsonString.test.d.ts +0 -1
- package/umd/typings/src/formats/list/ListFormatDefinition.d.ts +0 -14
- package/umd/typings/src/formats/xml/XmlFormatDefinition.d.ts +0 -16
- package/umd/typings/src/knowledge/dialogs/callback/CallbackInterfaceTools.d.ts +0 -17
- package/umd/typings/src/knowledge/dialogs/callback/CallbackInterfaceToolsOptions.d.ts +0 -14
- package/umd/typings/src/knowledge/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +0 -22
- package/umd/typings/src/knowledge/dialogs/user-interface-execution-tools.test.d.ts +0 -1
- package/umd/typings/src/knowledge/prepare-knowledge/_common/Scraper.d.ts +0 -37
- package/umd/typings/src/knowledge/prepare-knowledge/_common/prepareKnowledgePieces.d.ts +0 -18
- package/umd/typings/src/knowledge/prepare-knowledge/_common/prepareKnowledgePieces.test.d.ts +0 -1
- package/umd/typings/src/knowledge/prepare-knowledge/markdown/playground/markdown-knowledge-playground.d.ts +0 -2
- package/umd/typings/src/knowledge/prepare-knowledge/markdown/prepareKnowledgeFromMarkdown.d.ts +0 -14
- package/umd/typings/src/knowledge/prepare-knowledge/markdown/prepareKnowledgeFromMarkdown.test.d.ts +0 -4
- package/umd/typings/src/knowledge/prepare-knowledge/pdf/prepareKnowledgeFromPdf.d.ts +0 -13
- package/umd/typings/src/knowledge/prepare-knowledge/pdf/prepareKnowledgeFromPdf.test.d.ts +0 -1
- package/umd/typings/src/llm-providers/_common/createLlmToolsFromEnv.d.ts +0 -37
- package/umd/typings/src/llm-providers/_common/getLlmToolsForCli.d.ts +0 -20
- package/umd/typings/src/llm-providers/_common/getLlmToolsForTestingAndScriptsAndPlayground.d.ts +0 -21
- package/umd/typings/src/llm-providers/_common/utils/cache/CacheItem.d.ts +0 -29
- package/umd/typings/src/llm-providers/_common/utils/cache/CacheLlmToolsOptions.d.ts +0 -16
- package/umd/typings/src/llm-providers/_common/utils/cache/cacheLlmTools.d.ts +0 -19
- package/umd/typings/src/llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage.d.ts +0 -15
- package/umd/typings/src/llm-providers/_common/utils/count-total-usage/countTotalUsage.d.ts +0 -17
- package/umd/typings/src/llm-providers/_common/utils/count-total-usage/limitTotalUsage.d.ts +0 -36
- package/umd/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionTools.d.ts +0 -52
- package/umd/typings/src/llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions.d.ts +0 -12
- package/umd/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +0 -22
- package/umd/typings/src/llm-providers/anthropic-claude/playground/playground.d.ts +0 -6
- package/umd/typings/src/llm-providers/azure-openai/AzureOpenAiExecutionTools.d.ts +0 -50
- package/umd/typings/src/llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions.d.ts +0 -36
- package/umd/typings/src/llm-providers/azure-openai/playground/playground.d.ts +0 -5
- package/umd/typings/src/llm-providers/langtail/LangtailExecutionTools.d.ts +0 -17
- package/umd/typings/src/llm-providers/langtail/LangtailExecutionToolsOptions.d.ts +0 -13
- package/umd/typings/src/llm-providers/langtail/playground/playground.d.ts +0 -2
- package/umd/typings/src/llm-providers/mocked/MockedEchoLlmExecutionTools.d.ts +0 -36
- package/umd/typings/src/llm-providers/mocked/MockedFackedLlmExecutionTools.d.ts +0 -40
- package/umd/typings/src/llm-providers/mocked/fakeTextToExpectations.d.ts +0 -14
- package/umd/typings/src/llm-providers/mocked/test/fakeTextToExpectations.test.d.ts +0 -1
- package/umd/typings/src/llm-providers/mocked/test/faked-completion.test.d.ts +0 -1
- package/umd/typings/src/llm-providers/mocked/test/joker.test.d.ts +0 -4
- package/umd/typings/src/llm-providers/mocked/test/mocked-chat.test.d.ts +0 -5
- package/umd/typings/src/llm-providers/mocked/test/mocked-completion.test.d.ts +0 -4
- package/umd/typings/src/llm-providers/multiple/MultipleLlmExecutionTools.d.ts +0 -54
- package/umd/typings/src/llm-providers/multiple/joinLlmExecutionTools.d.ts +0 -21
- package/umd/typings/src/llm-providers/multiple/playground/playground.d.ts +0 -2
- package/umd/typings/src/llm-providers/openai/OpenAiExecutionTools.d.ts +0 -68
- package/umd/typings/src/llm-providers/openai/OpenAiExecutionToolsOptions.d.ts +0 -20
- package/umd/typings/src/llm-providers/openai/computeOpenaiUsage.d.ts +0 -14
- package/umd/typings/src/llm-providers/openai/computeOpenaiUsage.test.d.ts +0 -1
- package/umd/typings/src/llm-providers/openai/computeUsage.d.ts +0 -16
- package/umd/typings/src/llm-providers/openai/computeUsage.test.d.ts +0 -1
- package/umd/typings/src/llm-providers/openai/openai-models.d.ts +0 -29
- package/umd/typings/src/llm-providers/openai/playground/playground.d.ts +0 -5
- package/umd/typings/src/llm-providers/remote/RemoteLlmExecutionTools.d.ts +0 -56
- package/umd/typings/src/llm-providers/remote/RemoteLlmExecutionToolsOptions.d.ts +0 -26
- package/umd/typings/src/llm-providers/remote/interfaces/Promptbook_Server_Error.d.ts +0 -11
- package/umd/typings/src/llm-providers/remote/interfaces/Promptbook_Server_Progress.d.ts +0 -12
- package/umd/typings/src/llm-providers/remote/interfaces/Promptbook_Server_Request.d.ts +0 -17
- package/umd/typings/src/llm-providers/remote/interfaces/Promptbook_Server_Response.d.ts +0 -12
- package/umd/typings/src/llm-providers/remote/interfaces/RemoteServerOptions.d.ts +0 -37
- package/umd/typings/src/llm-providers/remote/startRemoteServer.d.ts +0 -21
- package/umd/typings/src/personas/preparePersona.d.ts +0 -15
- package/umd/typings/src/personas/preparePersona.test.d.ts +0 -1
- package/umd/typings/src/postprocessing/utils/extractBlock.d.ts +0 -17
- package/umd/typings/src/prepare/PrepareOptions.d.ts +0 -22
- package/umd/typings/src/prepare/isPipelinePrepared.d.ts +0 -15
- package/umd/typings/src/prepare/isPipelinePrepared.test.d.ts +0 -1
- package/umd/typings/src/prepare/preparePipeline.d.ts +0 -16
- package/umd/typings/src/prepare/prepareTemplates.d.ts +0 -32
- package/umd/typings/src/prepare/unpreparePipeline.d.ts +0 -12
- package/umd/typings/src/scripting/_test/custom-function-async.test.ts.test.d.ts +0 -1
- package/umd/typings/src/scripting/_test/custom-function-missing.test.d.ts +0 -1
- package/umd/typings/src/scripting/_test/custom-function-with-dependencies.test.d.ts +0 -1
- package/umd/typings/src/scripting/_test/custom-function.test.d.ts +0 -1
- package/umd/typings/src/scripting/_test/postprocessing.test.d.ts +0 -1
- package/umd/typings/src/scripting/_test/script-execution-errors.test.d.ts +0 -1
- package/umd/typings/src/scripting/_test/script-execution-tools.test.d.ts +0 -1
- package/umd/typings/src/scripting/javascript/JavascriptEvalExecutionTools.d.ts +0 -22
- package/umd/typings/src/scripting/javascript/JavascriptEvalExecutionTools.test.d.ts +0 -4
- package/umd/typings/src/scripting/javascript/JavascriptExecutionTools.d.ts +0 -8
- package/umd/typings/src/scripting/javascript/JavascriptExecutionToolsOptions.d.ts +0 -26
- package/umd/typings/src/scripting/javascript/postprocessing-functions.d.ts +0 -51
- package/umd/typings/src/scripting/javascript/utils/preserve.d.ts +0 -12
- package/umd/typings/src/scripting/javascript/utils/unknownToString.d.ts +0 -8
- package/umd/typings/src/scripting/python/PythonExecutionTools.d.ts +0 -16
- package/umd/typings/src/scripting/typescript/TypescriptExecutionTools.d.ts +0 -16
- package/umd/typings/src/storage/_common/PromptbookStorage.d.ts +0 -24
- package/umd/typings/src/storage/_common/PromptbookStorage.test-type.d.ts +0 -5
- package/umd/typings/src/storage/files-storage/FilesStorage.d.ts +0 -31
- package/umd/typings/src/storage/files-storage/FilesStorageOptions.d.ts +0 -10
- package/umd/typings/src/storage/files-storage/utils/nameToSubfolderPath.d.ts +0 -7
- package/umd/typings/src/storage/files-storage/utils/nameToSubfolderPath.test.d.ts +0 -1
- package/umd/typings/src/storage/local-storage/getLocalStorage.d.ts +0 -10
- package/umd/typings/src/storage/local-storage/getSessionStorage.d.ts +0 -10
- package/umd/typings/src/storage/memory/MemoryStorage.d.ts +0 -33
- package/umd/typings/src/storage/utils/PrefixStorage.d.ts +0 -25
- package/umd/typings/src/storage/utils/makePromptbookStorageFromWebStorage.d.ts +0 -11
- package/umd/typings/src/types/Arrayable.d.ts +0 -10
- package/umd/typings/src/types/ModelRequirements.d.ts +0 -102
- package/umd/typings/src/types/ModelVariant.d.ts +0 -14
- package/umd/typings/src/types/PipelineJson/Expectations.d.ts +0 -32
- package/umd/typings/src/types/PipelineJson/KnowledgePieceJson.d.ts +0 -70
- package/umd/typings/src/types/PipelineJson/KnowledgeSourceJson.d.ts +0 -27
- package/umd/typings/src/types/PipelineJson/LlmTemplateJson.d.ts +0 -25
- package/umd/typings/src/types/PipelineJson/PersonaJson.d.ts +0 -41
- package/umd/typings/src/types/PipelineJson/PipelineJson.d.ts +0 -87
- package/umd/typings/src/types/PipelineJson/PreparationJson.d.ts +0 -22
- package/umd/typings/src/types/PipelineJson/PromptDialogJson.d.ts +0 -13
- package/umd/typings/src/types/PipelineJson/PromptTemplateJson.d.ts +0 -13
- package/umd/typings/src/types/PipelineJson/PromptTemplateJsonCommon.d.ts +0 -96
- package/umd/typings/src/types/PipelineJson/PromptTemplateParameterJson.d.ts +0 -36
- package/umd/typings/src/types/PipelineJson/ScriptJson.d.ts +0 -19
- package/umd/typings/src/types/PipelineJson/SimpleTemplateJson.d.ts +0 -12
- package/umd/typings/src/types/PipelineString.d.ts +0 -12
- package/umd/typings/src/types/Prompt.d.ts +0 -108
- package/umd/typings/src/types/ScriptLanguage.d.ts +0 -9
- package/umd/typings/src/types/TaskProgress.d.ts +0 -43
- package/umd/typings/src/types/execution-report/ExecutionReportJson.d.ts +0 -58
- package/umd/typings/src/types/execution-report/ExecutionReportString.d.ts +0 -16
- package/umd/typings/src/types/execution-report/ExecutionReportStringOptions.d.ts +0 -25
- package/umd/typings/src/types/execution-report/config.d.ts +0 -8
- package/umd/typings/src/types/execution-report/countWorkingDuration.d.ts +0 -7
- package/umd/typings/src/types/execution-report/countWorkingDuration.test.d.ts +0 -1
- package/umd/typings/src/types/execution-report/executionReportJsonToString.d.ts +0 -13
- package/umd/typings/src/types/typeAliasEmoji.d.ts +0 -9
- package/umd/typings/src/types/typeAliases.d.ts +0 -586
- package/umd/typings/src/utils/FromtoItems.d.ts +0 -19
- package/umd/typings/src/utils/arrayableToArray.d.ts +0 -11
- package/umd/typings/src/utils/arrayableToArray.test.d.ts +0 -1
- package/umd/typings/src/utils/currentDate.d.ts +0 -8
- package/umd/typings/src/utils/deepClone.d.ts +0 -10
- package/umd/typings/src/utils/deepFreeze.d.ts +0 -22
- package/umd/typings/src/utils/emojis.d.ts +0 -23
- package/umd/typings/src/utils/expectation-counters/countCharacters.d.ts +0 -7
- package/umd/typings/src/utils/expectation-counters/countCharacters.test.d.ts +0 -1
- package/umd/typings/src/utils/expectation-counters/countLines.d.ts +0 -7
- package/umd/typings/src/utils/expectation-counters/countLines.test.d.ts +0 -1
- package/umd/typings/src/utils/expectation-counters/countPages.d.ts +0 -7
- package/umd/typings/src/utils/expectation-counters/countPages.test.d.ts +0 -1
- package/umd/typings/src/utils/expectation-counters/countParagraphs.d.ts +0 -7
- package/umd/typings/src/utils/expectation-counters/countParagraphs.test.d.ts +0 -1
- package/umd/typings/src/utils/expectation-counters/countSentences.d.ts +0 -13
- package/umd/typings/src/utils/expectation-counters/countSentences.test.d.ts +0 -1
- package/umd/typings/src/utils/expectation-counters/countWords.d.ts +0 -7
- package/umd/typings/src/utils/expectation-counters/countWords.test.d.ts +0 -1
- package/umd/typings/src/utils/expectation-counters/index.d.ts +0 -8
- package/umd/typings/src/utils/extractParameterNames.d.ts +0 -10
- package/umd/typings/src/utils/extractParameterNames.test.d.ts +0 -1
- package/umd/typings/src/utils/formatNumber.d.ts +0 -6
- package/umd/typings/src/utils/formatNumber.test.d.ts +0 -1
- package/umd/typings/src/utils/getCurrentIsoDate.d.ts +0 -7
- package/umd/typings/src/utils/isRunningInWhatever.d.ts +0 -18
- package/umd/typings/src/utils/markdown/addAutoGeneratedSection.d.ts +0 -14
- package/umd/typings/src/utils/markdown/addAutoGeneratedSection.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/createMarkdownChart.d.ts +0 -38
- package/umd/typings/src/utils/markdown/createMarkdownChart.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/createMarkdownTable.d.ts +0 -11
- package/umd/typings/src/utils/markdown/createMarkdownTable.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/escapeMarkdownBlock.d.ts +0 -11
- package/umd/typings/src/utils/markdown/escapeMarkdownBlock.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/extractAllBlocksFromMarkdown-real.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/extractAllBlocksFromMarkdown.d.ts +0 -34
- package/umd/typings/src/utils/markdown/extractAllBlocksFromMarkdown.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/extractAllListItemsFromMarkdown.d.ts +0 -15
- package/umd/typings/src/utils/markdown/extractAllListItemsFromMarkdown.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/extractOneBlockFromMarkdown.d.ts +0 -20
- package/umd/typings/src/utils/markdown/extractOneBlockFromMarkdown.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/flattenMarkdown.d.ts +0 -17
- package/umd/typings/src/utils/markdown/flattenMarkdown.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/parseMarkdownSection.d.ts +0 -34
- package/umd/typings/src/utils/markdown/parseMarkdownSection.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/prettifyMarkdown.d.ts +0 -9
- package/umd/typings/src/utils/markdown/prettifyMarkdown.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/removeContentComments.d.ts +0 -10
- package/umd/typings/src/utils/markdown/removeContentComments.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/removeMarkdownFormatting.d.ts +0 -9
- package/umd/typings/src/utils/markdown/removeMarkdownFormatting.test.d.ts +0 -1
- package/umd/typings/src/utils/markdown/splitMarkdownIntoSections.d.ts +0 -15
- package/umd/typings/src/utils/markdown/splitMarkdownIntoSections.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/DIACRITIC_VARIANTS_LETTERS.d.ts +0 -12
- package/umd/typings/src/utils/normalization/IKeywords.d.ts +0 -21
- package/umd/typings/src/utils/normalization/capitalize.d.ts +0 -6
- package/umd/typings/src/utils/normalization/capitalize.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/decapitalize.d.ts +0 -6
- package/umd/typings/src/utils/normalization/decapitalize.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/isValidKeyword.d.ts +0 -10
- package/umd/typings/src/utils/normalization/isValidKeyword.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/nameToUriPart.d.ts +0 -9
- package/umd/typings/src/utils/normalization/nameToUriPart.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/nameToUriParts.d.ts +0 -9
- package/umd/typings/src/utils/normalization/nameToUriParts.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/normalize-to-kebab-case.d.ts +0 -18
- package/umd/typings/src/utils/normalization/normalize-to-kebab-case.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/normalizeTo_PascalCase.d.ts +0 -17
- package/umd/typings/src/utils/normalization/normalizeTo_PascalCase.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/normalizeTo_SCREAMING_CASE.d.ts +0 -26
- package/umd/typings/src/utils/normalization/normalizeTo_SCREAMING_CASE.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/normalizeTo_camelCase.d.ts +0 -22
- package/umd/typings/src/utils/normalization/normalizeTo_camelCase.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/normalizeTo_snake_case.d.ts +0 -17
- package/umd/typings/src/utils/normalization/normalizeTo_snake_case.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/normalizeWhitespaces.d.ts +0 -4
- package/umd/typings/src/utils/normalization/normalizeWhitespaces.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/parseKeywords.d.ts +0 -16
- package/umd/typings/src/utils/normalization/parseKeywords.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/parseKeywordsFromString.d.ts +0 -9
- package/umd/typings/src/utils/normalization/parseKeywordsFromString.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/removeDiacritics.d.ts +0 -11
- package/umd/typings/src/utils/normalization/removeDiacritics.test.d.ts +0 -1
- package/umd/typings/src/utils/normalization/searchKeywords.d.ts +0 -10
- package/umd/typings/src/utils/normalization/searchKeywords.test.d.ts +0 -1
- package/umd/typings/src/utils/organization/TODO_USE.d.ts +0 -12
- package/umd/typings/src/utils/organization/TODO_any.d.ts +0 -6
- package/umd/typings/src/utils/organization/TODO_object.d.ts +0 -6
- package/umd/typings/src/utils/organization/TODO_unknown.d.ts +0 -6
- package/umd/typings/src/utils/organization/___.d.ts +0 -6
- package/umd/typings/src/utils/organization/just.d.ts +0 -14
- package/umd/typings/src/utils/organization/keepUnused.d.ts +0 -16
- package/umd/typings/src/utils/organization/really_any.d.ts +0 -6
- package/umd/typings/src/utils/organization/really_unknown.d.ts +0 -6
- package/umd/typings/src/utils/parseNumber.d.ts +0 -16
- package/umd/typings/src/utils/parseNumber.test.d.ts +0 -1
- package/umd/typings/src/utils/random/randomSeed.d.ts +0 -8
- package/umd/typings/src/utils/removeEmojis.d.ts +0 -8
- package/umd/typings/src/utils/removeEmojis.test.d.ts +0 -1
- package/umd/typings/src/utils/removeQuotes.d.ts +0 -14
- package/umd/typings/src/utils/removeQuotes.test.d.ts +0 -1
- package/umd/typings/src/utils/replaceParameters.d.ts +0 -12
- package/umd/typings/src/utils/replaceParameters.test.d.ts +0 -1
- package/umd/typings/src/utils/sets/difference.d.ts +0 -10
- package/umd/typings/src/utils/sets/difference.test.d.ts +0 -1
- package/umd/typings/src/utils/sets/intersection.d.ts +0 -7
- package/umd/typings/src/utils/sets/intersection.test.d.ts +0 -1
- package/umd/typings/src/utils/sets/union.d.ts +0 -7
- package/umd/typings/src/utils/sets/union.test.d.ts +0 -1
- package/umd/typings/src/utils/trimCodeBlock.d.ts +0 -9
- package/umd/typings/src/utils/trimCodeBlock.test.d.ts +0 -1
- package/umd/typings/src/utils/trimEndOfCodeBlock.d.ts +0 -9
- package/umd/typings/src/utils/trimEndOfCodeBlock.test.d.ts +0 -1
- package/umd/typings/src/utils/unwrapResult.d.ts +0 -37
- package/umd/typings/src/utils/unwrapResult.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/email/isValidEmail.d.ts +0 -6
- package/umd/typings/src/utils/validators/email/isValidEmail.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/filePath/isValidFilePath.d.ts +0 -9
- package/umd/typings/src/utils/validators/filePath/isValidFilePath.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/javascriptName/isValidJavascriptName.d.ts +0 -10
- package/umd/typings/src/utils/validators/javascriptName/isValidJavascriptName.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/semanticVersion/isValidPromptbookVersion.d.ts +0 -15
- package/umd/typings/src/utils/validators/semanticVersion/isValidPromptbookVersion.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/semanticVersion/isValidSemanticVersion.d.ts +0 -12
- package/umd/typings/src/utils/validators/semanticVersion/isValidSemanticVersion.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/url/isHostnameOnPrivateNetwork.d.ts +0 -11
- package/umd/typings/src/utils/validators/url/isHostnameOnPrivateNetwork.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/url/isUrlOnPrivateNetwork.d.ts +0 -13
- package/umd/typings/src/utils/validators/url/isUrlOnPrivateNetwork.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/url/isValidPipelineUrl.d.ts +0 -15
- package/umd/typings/src/utils/validators/url/isValidPipelineUrl.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/url/isValidUrl.d.ts +0 -13
- package/umd/typings/src/utils/validators/url/isValidUrl.test.d.ts +0 -1
- package/umd/typings/src/utils/validators/uuid/isValidUuid.d.ts +0 -8
- package/umd/typings/src/utils/validators/uuid/isValidUuid.test.d.ts +0 -1
- package/umd/typings/src/version.d.ts +0 -6
|
@@ -1,462 +0,0 @@
|
|
|
1
|
-
import { PROMPTBOOK_VERSION } from '../version';
|
|
2
|
-
import type { PipelineCollection } from '../collection/PipelineCollection';
|
|
3
|
-
import type { BoilerplateCommand } from '../commands/_BOILERPLATE/BoilerplateCommand';
|
|
4
|
-
import type { Command } from '../commands/_common/types/Command';
|
|
5
|
-
import type { CommandParser } from '../commands/_common/types/CommandParser';
|
|
6
|
-
import type { CommandParserInput } from '../commands/_common/types/CommandParser';
|
|
7
|
-
import type { ApplyToPipelineJsonSubjects } from '../commands/_common/types/CommandParser';
|
|
8
|
-
import type { CommandUsagePlace } from '../commands/_common/types/CommandUsagePlaces';
|
|
9
|
-
import type { BlockCommand } from '../commands/BLOCK/BlockCommand';
|
|
10
|
-
import type { BlockType } from '../commands/BLOCK/BlockTypes';
|
|
11
|
-
import type { ExpectAmountCommand } from '../commands/EXPECT/ExpectAmountCommand';
|
|
12
|
-
import type { ExpectCommand } from '../commands/EXPECT/ExpectCommand';
|
|
13
|
-
import type { ExpectFormatCommand } from '../commands/EXPECT/ExpectFormatCommand';
|
|
14
|
-
import type { JokerCommand } from '../commands/JOKER/JokerCommand';
|
|
15
|
-
import type { KnowledgeCommand } from '../commands/KNOWLEDGE/KnowledgeCommand';
|
|
16
|
-
import type { ModelCommand } from '../commands/MODEL/ModelCommand';
|
|
17
|
-
import type { ParameterCommand } from '../commands/PARAMETER/ParameterCommand';
|
|
18
|
-
import type { PersonaCommand } from '../commands/PERSONA/PersonaCommand';
|
|
19
|
-
import type { PostprocessCommand } from '../commands/POSTPROCESS/PostprocessCommand';
|
|
20
|
-
import type { PromptbookVersionCommand } from '../commands/PROMPTBOOK_VERSION/PromptbookVersionCommand';
|
|
21
|
-
import type { UrlCommand } from '../commands/URL/UrlCommand';
|
|
22
|
-
import type { ActionCommand } from '../commands/X_ACTION/ActionCommand';
|
|
23
|
-
import type { InstrumentCommand } from '../commands/X_INSTRUMENT/InstrumentCommand';
|
|
24
|
-
import type { PipelineStringToJsonOptions } from '../conversion/pipelineStringToJson';
|
|
25
|
-
import type { PrettifyOptions } from '../conversion/prettify/PrettifyOptions';
|
|
26
|
-
import type { renderPipelineMermaidOptions } from '../conversion/prettify/renderPipelineMermaidOptions';
|
|
27
|
-
import type { CommonExecutionToolsOptions } from '../execution/CommonExecutionToolsOptions';
|
|
28
|
-
import type { EmbeddingVector } from '../execution/EmbeddingVector';
|
|
29
|
-
import type { ExecutionTools } from '../execution/ExecutionTools';
|
|
30
|
-
import type { LlmExecutionTools } from '../execution/LlmExecutionTools';
|
|
31
|
-
import type { AvailableModel } from '../execution/LlmExecutionTools';
|
|
32
|
-
import type { PipelineExecutor } from '../execution/PipelineExecutor';
|
|
33
|
-
import type { PipelineExecutorResult } from '../execution/PipelineExecutor';
|
|
34
|
-
import type { PromptResult } from '../execution/PromptResult';
|
|
35
|
-
import type { CompletionPromptResult } from '../execution/PromptResult';
|
|
36
|
-
import type { ChatPromptResult } from '../execution/PromptResult';
|
|
37
|
-
import type { EmbeddingPromptResult } from '../execution/PromptResult';
|
|
38
|
-
import type { CommonPromptResult } from '../execution/PromptResult';
|
|
39
|
-
import type { PromptResultUsage } from '../execution/PromptResultUsage';
|
|
40
|
-
import type { PromptResultUsageCounts } from '../execution/PromptResultUsage';
|
|
41
|
-
import type { ScriptExecutionTools } from '../execution/ScriptExecutionTools';
|
|
42
|
-
import type { ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
|
|
43
|
-
import type { AutomaticTranslator } from '../execution/translation/automatic-translate/automatic-translators/AutomaticTranslator';
|
|
44
|
-
import type { TranslatorOptions } from '../execution/translation/automatic-translate/automatic-translators/TranslatorOptions';
|
|
45
|
-
import type { UncertainNumber } from '../execution/UncertainNumber';
|
|
46
|
-
import type { UserInterfaceTools } from '../execution/UserInterfaceTools';
|
|
47
|
-
import type { UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
|
|
48
|
-
import type { FormatDefinition } from '../formats/_common/FormatDefinition';
|
|
49
|
-
import type { CallbackInterfaceToolsOptions } from '../knowledge/dialogs/callback/CallbackInterfaceToolsOptions';
|
|
50
|
-
import type { Scraper } from '../knowledge/prepare-knowledge/_common/Scraper';
|
|
51
|
-
import type { ScraperSourceOptions } from '../knowledge/prepare-knowledge/_common/Scraper';
|
|
52
|
-
import type { CreateLlmToolsFromEnvOptions } from '../llm-providers/_common/createLlmToolsFromEnv';
|
|
53
|
-
import type { CacheItem } from '../llm-providers/_common/utils/cache/CacheItem';
|
|
54
|
-
import type { CacheLlmToolsOptions } from '../llm-providers/_common/utils/cache/CacheLlmToolsOptions';
|
|
55
|
-
import type { LlmExecutionToolsWithTotalUsage } from '../llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage';
|
|
56
|
-
import type { AnthropicClaudeExecutionToolsOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
|
|
57
|
-
import type { AzureOpenAiExecutionToolsOptions } from '../llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions';
|
|
58
|
-
import type { LangtailExecutionToolsOptions } from '../llm-providers/langtail/LangtailExecutionToolsOptions';
|
|
59
|
-
import type { OpenAiExecutionToolsOptions } from '../llm-providers/openai/OpenAiExecutionToolsOptions';
|
|
60
|
-
import type { Promptbook_Server_Error } from '../llm-providers/remote/interfaces/Promptbook_Server_Error';
|
|
61
|
-
import type { Promptbook_Server_Progress } from '../llm-providers/remote/interfaces/Promptbook_Server_Progress';
|
|
62
|
-
import type { Promptbook_Server_Request } from '../llm-providers/remote/interfaces/Promptbook_Server_Request';
|
|
63
|
-
import type { Promptbook_Server_Response } from '../llm-providers/remote/interfaces/Promptbook_Server_Response';
|
|
64
|
-
import type { RemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
|
|
65
|
-
import type { RemoteLlmExecutionToolsOptions } from '../llm-providers/remote/RemoteLlmExecutionToolsOptions';
|
|
66
|
-
import type { PrepareOptions } from '../prepare/PrepareOptions';
|
|
67
|
-
import type { JavascriptExecutionToolsOptions } from '../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
68
|
-
import type { PostprocessingFunction } from '../scripting/javascript/JavascriptExecutionToolsOptions';
|
|
69
|
-
import type { PromptbookStorage } from '../storage/_common/PromptbookStorage';
|
|
70
|
-
import type { FilesStorageOptions } from '../storage/files-storage/FilesStorageOptions';
|
|
71
|
-
import type { Arrayable } from '../types/Arrayable';
|
|
72
|
-
import type { ExecutionReportJson } from '../types/execution-report/ExecutionReportJson';
|
|
73
|
-
import type { ExecutionReportString } from '../types/execution-report/ExecutionReportString';
|
|
74
|
-
import type { ExecutionReportStringOptions } from '../types/execution-report/ExecutionReportStringOptions';
|
|
75
|
-
import type { ModelRequirements } from '../types/ModelRequirements';
|
|
76
|
-
import type { CompletionModelRequirements } from '../types/ModelRequirements';
|
|
77
|
-
import type { ChatModelRequirements } from '../types/ModelRequirements';
|
|
78
|
-
import type { EmbeddingModelRequirements } from '../types/ModelRequirements';
|
|
79
|
-
import type { CommonModelRequirements } from '../types/ModelRequirements';
|
|
80
|
-
import type { ModelVariant } from '../types/ModelVariant';
|
|
81
|
-
import type { Expectations } from '../types/PipelineJson/Expectations';
|
|
82
|
-
import type { ExpectationUnit } from '../types/PipelineJson/Expectations';
|
|
83
|
-
import type { ExpectationAmount } from '../types/PipelineJson/Expectations';
|
|
84
|
-
import type { KnowledgePiecePreparedJson } from '../types/PipelineJson/KnowledgePieceJson';
|
|
85
|
-
import type { KnowledgeSourceJson } from '../types/PipelineJson/KnowledgeSourceJson';
|
|
86
|
-
import type { KnowledgeSourcePreparedJson } from '../types/PipelineJson/KnowledgeSourceJson';
|
|
87
|
-
import type { LlmTemplateJson } from '../types/PipelineJson/LlmTemplateJson';
|
|
88
|
-
import type { PersonaJson } from '../types/PipelineJson/PersonaJson';
|
|
89
|
-
import type { PersonaPreparedJson } from '../types/PipelineJson/PersonaJson';
|
|
90
|
-
import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
|
|
91
|
-
import type { PreparationJson } from '../types/PipelineJson/PreparationJson';
|
|
92
|
-
import type { PromptDialogJson } from '../types/PipelineJson/PromptDialogJson';
|
|
93
|
-
import type { PromptTemplateJson } from '../types/PipelineJson/PromptTemplateJson';
|
|
94
|
-
import type { PromptTemplateJsonCommon } from '../types/PipelineJson/PromptTemplateJsonCommon';
|
|
95
|
-
import type { PromptTemplateParameterJson } from '../types/PipelineJson/PromptTemplateParameterJson';
|
|
96
|
-
import type { ScriptJson } from '../types/PipelineJson/ScriptJson';
|
|
97
|
-
import type { SimpleTemplateJson } from '../types/PipelineJson/SimpleTemplateJson';
|
|
98
|
-
import type { PipelineString } from '../types/PipelineString';
|
|
99
|
-
import type { Prompt } from '../types/Prompt';
|
|
100
|
-
import type { CompletionPrompt } from '../types/Prompt';
|
|
101
|
-
import type { ChatPrompt } from '../types/Prompt';
|
|
102
|
-
import type { EmbeddingPrompt } from '../types/Prompt';
|
|
103
|
-
import type { CommonPrompt } from '../types/Prompt';
|
|
104
|
-
import type { ScriptLanguage } from '../types/ScriptLanguage';
|
|
105
|
-
import type { TaskProgress } from '../types/TaskProgress';
|
|
106
|
-
import type { string_char_emoji } from '../types/typeAliasEmoji';
|
|
107
|
-
import type { string_business_category_name } from '../types/typeAliases';
|
|
108
|
-
import type { string_model_name } from '../types/typeAliases';
|
|
109
|
-
import type { string_prompt } from '../types/typeAliases';
|
|
110
|
-
import type { string_template } from '../types/typeAliases';
|
|
111
|
-
import type { string_text_prompt } from '../types/typeAliases';
|
|
112
|
-
import type { string_chat_prompt } from '../types/typeAliases';
|
|
113
|
-
import type { string_system_message } from '../types/typeAliases';
|
|
114
|
-
import type { string_completion_prompt } from '../types/typeAliases';
|
|
115
|
-
import type { string_page } from '../types/typeAliases';
|
|
116
|
-
import type { string_mime_type } from '../types/typeAliases';
|
|
117
|
-
import type { string_mime_type_with_wildcard } from '../types/typeAliases';
|
|
118
|
-
import type { string_char } from '../types/typeAliases';
|
|
119
|
-
import type { string_name } from '../types/typeAliases';
|
|
120
|
-
import type { string_parameter_name } from '../types/typeAliases';
|
|
121
|
-
import type { string_parameter_value } from '../types/typeAliases';
|
|
122
|
-
import type { Parameters } from '../types/typeAliases';
|
|
123
|
-
import type { string_reserved_parameter_name } from '../types/typeAliases';
|
|
124
|
-
import type { ReservedParameters } from '../types/typeAliases';
|
|
125
|
-
import type { string_title } from '../types/typeAliases';
|
|
126
|
-
import type { string_persona_description } from '../types/typeAliases';
|
|
127
|
-
import type { string_knowledge_source } from '../types/typeAliases';
|
|
128
|
-
import type { string_knowledge_source_link } from '../types/typeAliases';
|
|
129
|
-
import type { string_html } from '../types/typeAliases';
|
|
130
|
-
import type { string_xml } from '../types/typeAliases';
|
|
131
|
-
import type { string_markdown } from '../types/typeAliases';
|
|
132
|
-
import type { string_markdown_section } from '../types/typeAliases';
|
|
133
|
-
import type { string_markdown_section_content } from '../types/typeAliases';
|
|
134
|
-
import type { string_markdown_text } from '../types/typeAliases';
|
|
135
|
-
import type { string_promptbook_documentation_url } from '../types/typeAliases';
|
|
136
|
-
import type { string_domain } from '../types/typeAliases';
|
|
137
|
-
import type { string_tdl } from '../types/typeAliases';
|
|
138
|
-
import type { string_css } from '../types/typeAliases';
|
|
139
|
-
import type { string_svg } from '../types/typeAliases';
|
|
140
|
-
import type { string_script } from '../types/typeAliases';
|
|
141
|
-
import type { string_javascript } from '../types/typeAliases';
|
|
142
|
-
import type { string_json } from '../types/typeAliases';
|
|
143
|
-
import type { string_css_class } from '../types/typeAliases';
|
|
144
|
-
import type { string_css_property } from '../types/typeAliases';
|
|
145
|
-
import type { string_css_value } from '../types/typeAliases';
|
|
146
|
-
import type { string_css_selector } from '../types/typeAliases';
|
|
147
|
-
import type { string_url } from '../types/typeAliases';
|
|
148
|
-
import type { string_pipeline_url } from '../types/typeAliases';
|
|
149
|
-
import type { string_pipeline_url_with_hashtemplate } from '../types/typeAliases';
|
|
150
|
-
import type { string_data_url } from '../types/typeAliases';
|
|
151
|
-
import type { string_base64 } from '../types/typeAliases';
|
|
152
|
-
import type { string_href } from '../types/typeAliases';
|
|
153
|
-
import type { string_url_image } from '../types/typeAliases';
|
|
154
|
-
import type { string_uri } from '../types/typeAliases';
|
|
155
|
-
import type { string_uri_part } from '../types/typeAliases';
|
|
156
|
-
import type { string_uriid } from '../types/typeAliases';
|
|
157
|
-
import type { string_hostname } from '../types/typeAliases';
|
|
158
|
-
import type { string_host } from '../types/typeAliases';
|
|
159
|
-
import type { string_protocol } from '../types/typeAliases';
|
|
160
|
-
import type { string_email } from '../types/typeAliases';
|
|
161
|
-
import type { string_emails } from '../types/typeAliases';
|
|
162
|
-
import type { string_uuid } from '../types/typeAliases';
|
|
163
|
-
import type { client_id } from '../types/typeAliases';
|
|
164
|
-
import type { string_sha256 } from '../types/typeAliases';
|
|
165
|
-
import type { string_semantic_version } from '../types/typeAliases';
|
|
166
|
-
import type { string_version_dependency } from '../types/typeAliases';
|
|
167
|
-
import type { string_file_extension } from '../types/typeAliases';
|
|
168
|
-
import type { string_file_absolute_path } from '../types/typeAliases';
|
|
169
|
-
import type { string_file_relative_path } from '../types/typeAliases';
|
|
170
|
-
import type { string_file_path } from '../types/typeAliases';
|
|
171
|
-
import type { string_folder_absolute_path } from '../types/typeAliases';
|
|
172
|
-
import type { string_folder_relative_path } from '../types/typeAliases';
|
|
173
|
-
import type { string_folder_path } from '../types/typeAliases';
|
|
174
|
-
import type { string_filename } from '../types/typeAliases';
|
|
175
|
-
import type { string_person_fullname } from '../types/typeAliases';
|
|
176
|
-
import type { string_person_profile } from '../types/typeAliases';
|
|
177
|
-
import type { string_license } from '../types/typeAliases';
|
|
178
|
-
import type { string_attribute } from '../types/typeAliases';
|
|
179
|
-
import type { string_attribute_value_scope } from '../types/typeAliases';
|
|
180
|
-
import type { string_color } from '../types/typeAliases';
|
|
181
|
-
import type { string_translate_name } from '../types/typeAliases';
|
|
182
|
-
import type { string_translate_name_not_normalized } from '../types/typeAliases';
|
|
183
|
-
import type { string_translate_language } from '../types/typeAliases';
|
|
184
|
-
import type { string_javascript_name } from '../types/typeAliases';
|
|
185
|
-
import type { string_token } from '../types/typeAliases';
|
|
186
|
-
import type { string_license_token } from '../types/typeAliases';
|
|
187
|
-
import type { string_password } from '../types/typeAliases';
|
|
188
|
-
import type { string_ssh_key } from '../types/typeAliases';
|
|
189
|
-
import type { string_pgp_key } from '../types/typeAliases';
|
|
190
|
-
import type { string_date_iso8601 } from '../types/typeAliases';
|
|
191
|
-
import type { number_usd } from '../types/typeAliases';
|
|
192
|
-
import type { number_id } from '../types/typeAliases';
|
|
193
|
-
import type { number_linecol_number } from '../types/typeAliases';
|
|
194
|
-
import type { number_tokens } from '../types/typeAliases';
|
|
195
|
-
import type { number_positive } from '../types/typeAliases';
|
|
196
|
-
import type { number_negative } from '../types/typeAliases';
|
|
197
|
-
import type { number_integer } from '../types/typeAliases';
|
|
198
|
-
import type { number_percent } from '../types/typeAliases';
|
|
199
|
-
import type { number_model_temperature } from '../types/typeAliases';
|
|
200
|
-
import type { number_seed } from '../types/typeAliases';
|
|
201
|
-
import type { number_likeness } from '../types/typeAliases';
|
|
202
|
-
import type { number_miliseconds } from '../types/typeAliases';
|
|
203
|
-
import type { number_seconds } from '../types/typeAliases';
|
|
204
|
-
import type { number_minutes } from '../types/typeAliases';
|
|
205
|
-
import type { number_hours } from '../types/typeAliases';
|
|
206
|
-
import type { number_days } from '../types/typeAliases';
|
|
207
|
-
import type { number_weeks } from '../types/typeAliases';
|
|
208
|
-
import type { number_months } from '../types/typeAliases';
|
|
209
|
-
import type { number_years } from '../types/typeAliases';
|
|
210
|
-
import type { number_bytes } from '../types/typeAliases';
|
|
211
|
-
import type { number_kilobytes } from '../types/typeAliases';
|
|
212
|
-
import type { number_megabytes } from '../types/typeAliases';
|
|
213
|
-
import type { number_gigabytes } from '../types/typeAliases';
|
|
214
|
-
import type { number_terabytes } from '../types/typeAliases';
|
|
215
|
-
import type { FromtoItems } from '../utils/FromtoItems';
|
|
216
|
-
import type { CodeBlock } from '../utils/markdown/extractAllBlocksFromMarkdown';
|
|
217
|
-
import type { MarkdownSection } from '../utils/markdown/parseMarkdownSection';
|
|
218
|
-
import type { string_keyword } from '../utils/normalization/IKeywords';
|
|
219
|
-
import type { IKeywords } from '../utils/normalization/IKeywords';
|
|
220
|
-
import type { string_kebab_case } from '../utils/normalization/normalize-to-kebab-case';
|
|
221
|
-
import type { string_camelCase } from '../utils/normalization/normalizeTo_camelCase';
|
|
222
|
-
import type { string_PascalCase } from '../utils/normalization/normalizeTo_PascalCase';
|
|
223
|
-
import type { string_SCREAMING_CASE } from '../utils/normalization/normalizeTo_SCREAMING_CASE';
|
|
224
|
-
import type { string_snake_case } from '../utils/normalization/normalizeTo_snake_case';
|
|
225
|
-
import type { ___ } from '../utils/organization/___';
|
|
226
|
-
import type { really_any } from '../utils/organization/really_any';
|
|
227
|
-
import type { really_unknown } from '../utils/organization/really_unknown';
|
|
228
|
-
import type { TODO_any } from '../utils/organization/TODO_any';
|
|
229
|
-
import type { TODO_object } from '../utils/organization/TODO_object';
|
|
230
|
-
import type { TODO_unknown } from '../utils/organization/TODO_unknown';
|
|
231
|
-
import type { string_promptbook_version } from '../version';
|
|
232
|
-
export { PROMPTBOOK_VERSION };
|
|
233
|
-
export type { PipelineCollection };
|
|
234
|
-
export type { BoilerplateCommand };
|
|
235
|
-
export type { Command };
|
|
236
|
-
export type { CommandParser };
|
|
237
|
-
export type { CommandParserInput };
|
|
238
|
-
export type { ApplyToPipelineJsonSubjects };
|
|
239
|
-
export type { CommandUsagePlace };
|
|
240
|
-
export type { BlockCommand };
|
|
241
|
-
export type { BlockType };
|
|
242
|
-
export type { ExpectAmountCommand };
|
|
243
|
-
export type { ExpectCommand };
|
|
244
|
-
export type { ExpectFormatCommand };
|
|
245
|
-
export type { JokerCommand };
|
|
246
|
-
export type { KnowledgeCommand };
|
|
247
|
-
export type { ModelCommand };
|
|
248
|
-
export type { ParameterCommand };
|
|
249
|
-
export type { PersonaCommand };
|
|
250
|
-
export type { PostprocessCommand };
|
|
251
|
-
export type { PromptbookVersionCommand };
|
|
252
|
-
export type { UrlCommand };
|
|
253
|
-
export type { ActionCommand };
|
|
254
|
-
export type { InstrumentCommand };
|
|
255
|
-
export type { PipelineStringToJsonOptions };
|
|
256
|
-
export type { PrettifyOptions };
|
|
257
|
-
export type { renderPipelineMermaidOptions };
|
|
258
|
-
export type { CommonExecutionToolsOptions };
|
|
259
|
-
export type { EmbeddingVector };
|
|
260
|
-
export type { ExecutionTools };
|
|
261
|
-
export type { LlmExecutionTools };
|
|
262
|
-
export type { AvailableModel };
|
|
263
|
-
export type { PipelineExecutor };
|
|
264
|
-
export type { PipelineExecutorResult };
|
|
265
|
-
export type { PromptResult };
|
|
266
|
-
export type { CompletionPromptResult };
|
|
267
|
-
export type { ChatPromptResult };
|
|
268
|
-
export type { EmbeddingPromptResult };
|
|
269
|
-
export type { CommonPromptResult };
|
|
270
|
-
export type { PromptResultUsage };
|
|
271
|
-
export type { PromptResultUsageCounts };
|
|
272
|
-
export type { ScriptExecutionTools };
|
|
273
|
-
export type { ScriptExecutionToolsExecuteOptions };
|
|
274
|
-
export type { AutomaticTranslator };
|
|
275
|
-
export type { TranslatorOptions };
|
|
276
|
-
export type { UncertainNumber };
|
|
277
|
-
export type { UserInterfaceTools };
|
|
278
|
-
export type { UserInterfaceToolsPromptDialogOptions };
|
|
279
|
-
export type { FormatDefinition };
|
|
280
|
-
export type { CallbackInterfaceToolsOptions };
|
|
281
|
-
export type { Scraper };
|
|
282
|
-
export type { ScraperSourceOptions };
|
|
283
|
-
export type { CreateLlmToolsFromEnvOptions };
|
|
284
|
-
export type { CacheItem };
|
|
285
|
-
export type { CacheLlmToolsOptions };
|
|
286
|
-
export type { LlmExecutionToolsWithTotalUsage };
|
|
287
|
-
export type { AnthropicClaudeExecutionToolsOptions };
|
|
288
|
-
export type { AzureOpenAiExecutionToolsOptions };
|
|
289
|
-
export type { LangtailExecutionToolsOptions };
|
|
290
|
-
export type { OpenAiExecutionToolsOptions };
|
|
291
|
-
export type { Promptbook_Server_Error };
|
|
292
|
-
export type { Promptbook_Server_Progress };
|
|
293
|
-
export type { Promptbook_Server_Request };
|
|
294
|
-
export type { Promptbook_Server_Response };
|
|
295
|
-
export type { RemoteServerOptions };
|
|
296
|
-
export type { RemoteLlmExecutionToolsOptions };
|
|
297
|
-
export type { PrepareOptions };
|
|
298
|
-
export type { JavascriptExecutionToolsOptions };
|
|
299
|
-
export type { PostprocessingFunction };
|
|
300
|
-
export type { PromptbookStorage };
|
|
301
|
-
export type { FilesStorageOptions };
|
|
302
|
-
export type { Arrayable };
|
|
303
|
-
export type { ExecutionReportJson };
|
|
304
|
-
export type { ExecutionReportString };
|
|
305
|
-
export type { ExecutionReportStringOptions };
|
|
306
|
-
export type { ModelRequirements };
|
|
307
|
-
export type { CompletionModelRequirements };
|
|
308
|
-
export type { ChatModelRequirements };
|
|
309
|
-
export type { EmbeddingModelRequirements };
|
|
310
|
-
export type { CommonModelRequirements };
|
|
311
|
-
export type { ModelVariant };
|
|
312
|
-
export type { Expectations };
|
|
313
|
-
export type { ExpectationUnit };
|
|
314
|
-
export type { ExpectationAmount };
|
|
315
|
-
export type { KnowledgePiecePreparedJson };
|
|
316
|
-
export type { KnowledgeSourceJson };
|
|
317
|
-
export type { KnowledgeSourcePreparedJson };
|
|
318
|
-
export type { LlmTemplateJson };
|
|
319
|
-
export type { PersonaJson };
|
|
320
|
-
export type { PersonaPreparedJson };
|
|
321
|
-
export type { PipelineJson };
|
|
322
|
-
export type { PreparationJson };
|
|
323
|
-
export type { PromptDialogJson };
|
|
324
|
-
export type { PromptTemplateJson };
|
|
325
|
-
export type { PromptTemplateJsonCommon };
|
|
326
|
-
export type { PromptTemplateParameterJson };
|
|
327
|
-
export type { ScriptJson };
|
|
328
|
-
export type { SimpleTemplateJson };
|
|
329
|
-
export type { PipelineString };
|
|
330
|
-
export type { Prompt };
|
|
331
|
-
export type { CompletionPrompt };
|
|
332
|
-
export type { ChatPrompt };
|
|
333
|
-
export type { EmbeddingPrompt };
|
|
334
|
-
export type { CommonPrompt };
|
|
335
|
-
export type { ScriptLanguage };
|
|
336
|
-
export type { TaskProgress };
|
|
337
|
-
export type { string_char_emoji };
|
|
338
|
-
export type { string_business_category_name };
|
|
339
|
-
export type { string_model_name };
|
|
340
|
-
export type { string_prompt };
|
|
341
|
-
export type { string_template };
|
|
342
|
-
export type { string_text_prompt };
|
|
343
|
-
export type { string_chat_prompt };
|
|
344
|
-
export type { string_system_message };
|
|
345
|
-
export type { string_completion_prompt };
|
|
346
|
-
export type { string_page };
|
|
347
|
-
export type { string_mime_type };
|
|
348
|
-
export type { string_mime_type_with_wildcard };
|
|
349
|
-
export type { string_char };
|
|
350
|
-
export type { string_name };
|
|
351
|
-
export type { string_parameter_name };
|
|
352
|
-
export type { string_parameter_value };
|
|
353
|
-
export type { Parameters };
|
|
354
|
-
export type { string_reserved_parameter_name };
|
|
355
|
-
export type { ReservedParameters };
|
|
356
|
-
export type { string_title };
|
|
357
|
-
export type { string_persona_description };
|
|
358
|
-
export type { string_knowledge_source };
|
|
359
|
-
export type { string_knowledge_source_link };
|
|
360
|
-
export type { string_html };
|
|
361
|
-
export type { string_xml };
|
|
362
|
-
export type { string_markdown };
|
|
363
|
-
export type { string_markdown_section };
|
|
364
|
-
export type { string_markdown_section_content };
|
|
365
|
-
export type { string_markdown_text };
|
|
366
|
-
export type { string_promptbook_documentation_url };
|
|
367
|
-
export type { string_domain };
|
|
368
|
-
export type { string_tdl };
|
|
369
|
-
export type { string_css };
|
|
370
|
-
export type { string_svg };
|
|
371
|
-
export type { string_script };
|
|
372
|
-
export type { string_javascript };
|
|
373
|
-
export type { string_json };
|
|
374
|
-
export type { string_css_class };
|
|
375
|
-
export type { string_css_property };
|
|
376
|
-
export type { string_css_value };
|
|
377
|
-
export type { string_css_selector };
|
|
378
|
-
export type { string_url };
|
|
379
|
-
export type { string_pipeline_url };
|
|
380
|
-
export type { string_pipeline_url_with_hashtemplate };
|
|
381
|
-
export type { string_data_url };
|
|
382
|
-
export type { string_base64 };
|
|
383
|
-
export type { string_href };
|
|
384
|
-
export type { string_url_image };
|
|
385
|
-
export type { string_uri };
|
|
386
|
-
export type { string_uri_part };
|
|
387
|
-
export type { string_uriid };
|
|
388
|
-
export type { string_hostname };
|
|
389
|
-
export type { string_host };
|
|
390
|
-
export type { string_protocol };
|
|
391
|
-
export type { string_email };
|
|
392
|
-
export type { string_emails };
|
|
393
|
-
export type { string_uuid };
|
|
394
|
-
export type { client_id };
|
|
395
|
-
export type { string_sha256 };
|
|
396
|
-
export type { string_semantic_version };
|
|
397
|
-
export type { string_version_dependency };
|
|
398
|
-
export type { string_file_extension };
|
|
399
|
-
export type { string_file_absolute_path };
|
|
400
|
-
export type { string_file_relative_path };
|
|
401
|
-
export type { string_file_path };
|
|
402
|
-
export type { string_folder_absolute_path };
|
|
403
|
-
export type { string_folder_relative_path };
|
|
404
|
-
export type { string_folder_path };
|
|
405
|
-
export type { string_filename };
|
|
406
|
-
export type { string_person_fullname };
|
|
407
|
-
export type { string_person_profile };
|
|
408
|
-
export type { string_license };
|
|
409
|
-
export type { string_attribute };
|
|
410
|
-
export type { string_attribute_value_scope };
|
|
411
|
-
export type { string_color };
|
|
412
|
-
export type { string_translate_name };
|
|
413
|
-
export type { string_translate_name_not_normalized };
|
|
414
|
-
export type { string_translate_language };
|
|
415
|
-
export type { string_javascript_name };
|
|
416
|
-
export type { string_token };
|
|
417
|
-
export type { string_license_token };
|
|
418
|
-
export type { string_password };
|
|
419
|
-
export type { string_ssh_key };
|
|
420
|
-
export type { string_pgp_key };
|
|
421
|
-
export type { string_date_iso8601 };
|
|
422
|
-
export type { number_usd };
|
|
423
|
-
export type { number_id };
|
|
424
|
-
export type { number_linecol_number };
|
|
425
|
-
export type { number_tokens };
|
|
426
|
-
export type { number_positive };
|
|
427
|
-
export type { number_negative };
|
|
428
|
-
export type { number_integer };
|
|
429
|
-
export type { number_percent };
|
|
430
|
-
export type { number_model_temperature };
|
|
431
|
-
export type { number_seed };
|
|
432
|
-
export type { number_likeness };
|
|
433
|
-
export type { number_miliseconds };
|
|
434
|
-
export type { number_seconds };
|
|
435
|
-
export type { number_minutes };
|
|
436
|
-
export type { number_hours };
|
|
437
|
-
export type { number_days };
|
|
438
|
-
export type { number_weeks };
|
|
439
|
-
export type { number_months };
|
|
440
|
-
export type { number_years };
|
|
441
|
-
export type { number_bytes };
|
|
442
|
-
export type { number_kilobytes };
|
|
443
|
-
export type { number_megabytes };
|
|
444
|
-
export type { number_gigabytes };
|
|
445
|
-
export type { number_terabytes };
|
|
446
|
-
export type { FromtoItems };
|
|
447
|
-
export type { CodeBlock };
|
|
448
|
-
export type { MarkdownSection };
|
|
449
|
-
export type { string_keyword };
|
|
450
|
-
export type { IKeywords };
|
|
451
|
-
export type { string_kebab_case };
|
|
452
|
-
export type { string_camelCase };
|
|
453
|
-
export type { string_PascalCase };
|
|
454
|
-
export type { string_SCREAMING_CASE };
|
|
455
|
-
export type { string_snake_case };
|
|
456
|
-
export type { ___ };
|
|
457
|
-
export type { really_any };
|
|
458
|
-
export type { really_unknown };
|
|
459
|
-
export type { TODO_any };
|
|
460
|
-
export type { TODO_object };
|
|
461
|
-
export type { TODO_unknown };
|
|
462
|
-
export type { string_promptbook_version };
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { PROMPTBOOK_VERSION } from '../version';
|
|
2
|
-
import { renderPromptbookMermaid } from '../conversion/prettify/renderPipelineMermaidOptions';
|
|
3
|
-
import { extractParameterNamesFromPromptTemplate } from '../conversion/utils/extractParameterNamesFromPromptTemplate';
|
|
4
|
-
import { extractVariables } from '../conversion/utils/extractVariables';
|
|
5
|
-
import { renameParameter } from '../conversion/utils/renameParameter';
|
|
6
|
-
import { titleToName } from '../conversion/utils/titleToName';
|
|
7
|
-
import { forEachAsync } from '../execution/utils/forEachAsync';
|
|
8
|
-
import { isValidJsonString } from '../formats/json/utils/isValidJsonString';
|
|
9
|
-
import { extractBlock } from '../postprocessing/utils/extractBlock';
|
|
10
|
-
import { $currentDate } from '../utils/currentDate';
|
|
11
|
-
import { deepClone } from '../utils/deepClone';
|
|
12
|
-
import { deepFreezeWithSameType } from '../utils/deepFreeze';
|
|
13
|
-
import { countCharacters } from '../utils/expectation-counters/countCharacters';
|
|
14
|
-
import { countLines } from '../utils/expectation-counters/countLines';
|
|
15
|
-
import { countPages } from '../utils/expectation-counters/countPages';
|
|
16
|
-
import { countParagraphs } from '../utils/expectation-counters/countParagraphs';
|
|
17
|
-
import { splitIntoSentences } from '../utils/expectation-counters/countSentences';
|
|
18
|
-
import { countSentences } from '../utils/expectation-counters/countSentences';
|
|
19
|
-
import { countWords } from '../utils/expectation-counters/countWords';
|
|
20
|
-
import { CountUtils } from '../utils/expectation-counters/index';
|
|
21
|
-
import { extractParameterNames } from '../utils/extractParameterNames';
|
|
22
|
-
import { isRunningInBrowser } from '../utils/isRunningInWhatever';
|
|
23
|
-
import { isRunningInNode } from '../utils/isRunningInWhatever';
|
|
24
|
-
import { isRunningInWebWorker } from '../utils/isRunningInWhatever';
|
|
25
|
-
import { capitalize } from '../utils/normalization/capitalize';
|
|
26
|
-
import { decapitalize } from '../utils/normalization/decapitalize';
|
|
27
|
-
import { DIACRITIC_VARIANTS_LETTERS } from '../utils/normalization/DIACRITIC_VARIANTS_LETTERS';
|
|
28
|
-
import type { string_keyword } from '../utils/normalization/IKeywords';
|
|
29
|
-
import type { IKeywords } from '../utils/normalization/IKeywords';
|
|
30
|
-
import { isValidKeyword } from '../utils/normalization/isValidKeyword';
|
|
31
|
-
import { nameToUriPart } from '../utils/normalization/nameToUriPart';
|
|
32
|
-
import { nameToUriParts } from '../utils/normalization/nameToUriParts';
|
|
33
|
-
import type { string_kebab_case } from '../utils/normalization/normalize-to-kebab-case';
|
|
34
|
-
import { normalizeToKebabCase } from '../utils/normalization/normalize-to-kebab-case';
|
|
35
|
-
import type { string_camelCase } from '../utils/normalization/normalizeTo_camelCase';
|
|
36
|
-
import { normalizeTo_camelCase } from '../utils/normalization/normalizeTo_camelCase';
|
|
37
|
-
import type { string_PascalCase } from '../utils/normalization/normalizeTo_PascalCase';
|
|
38
|
-
import { normalizeTo_PascalCase } from '../utils/normalization/normalizeTo_PascalCase';
|
|
39
|
-
import type { string_SCREAMING_CASE } from '../utils/normalization/normalizeTo_SCREAMING_CASE';
|
|
40
|
-
import { normalizeTo_SCREAMING_CASE } from '../utils/normalization/normalizeTo_SCREAMING_CASE';
|
|
41
|
-
import { normalizeTo_snake_case } from '../utils/normalization/normalizeTo_snake_case';
|
|
42
|
-
import { parseKeywords } from '../utils/normalization/parseKeywords';
|
|
43
|
-
import { parseKeywordsFromString } from '../utils/normalization/parseKeywordsFromString';
|
|
44
|
-
import { removeDiacritics } from '../utils/normalization/removeDiacritics';
|
|
45
|
-
import { searchKeywords } from '../utils/normalization/searchKeywords';
|
|
46
|
-
import { parseNumber } from '../utils/parseNumber';
|
|
47
|
-
import { $randomSeed } from '../utils/random/randomSeed';
|
|
48
|
-
import { removeEmojis } from '../utils/removeEmojis';
|
|
49
|
-
import { removeQuotes } from '../utils/removeQuotes';
|
|
50
|
-
import { replaceParameters } from '../utils/replaceParameters';
|
|
51
|
-
import { difference } from '../utils/sets/difference';
|
|
52
|
-
import { intersection } from '../utils/sets/intersection';
|
|
53
|
-
import { union } from '../utils/sets/union';
|
|
54
|
-
import { trimCodeBlock } from '../utils/trimCodeBlock';
|
|
55
|
-
import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock';
|
|
56
|
-
import { unwrapResult } from '../utils/unwrapResult';
|
|
57
|
-
import { isValidFilePath } from '../utils/validators/filePath/isValidFilePath';
|
|
58
|
-
import { isValidJavascriptName } from '../utils/validators/javascriptName/isValidJavascriptName';
|
|
59
|
-
import { isValidPromptbookVersion } from '../utils/validators/semanticVersion/isValidPromptbookVersion';
|
|
60
|
-
import { isValidSemanticVersion } from '../utils/validators/semanticVersion/isValidSemanticVersion';
|
|
61
|
-
import { isHostnameOnPrivateNetwork } from '../utils/validators/url/isHostnameOnPrivateNetwork';
|
|
62
|
-
import { isUrlOnPrivateNetwork } from '../utils/validators/url/isUrlOnPrivateNetwork';
|
|
63
|
-
import { isValidPipelineUrl } from '../utils/validators/url/isValidPipelineUrl';
|
|
64
|
-
import { isValidUrl } from '../utils/validators/url/isValidUrl';
|
|
65
|
-
import { isValidUuid } from '../utils/validators/uuid/isValidUuid';
|
|
66
|
-
export { PROMPTBOOK_VERSION };
|
|
67
|
-
export { renderPromptbookMermaid };
|
|
68
|
-
export { extractParameterNamesFromPromptTemplate };
|
|
69
|
-
export { extractVariables };
|
|
70
|
-
export { renameParameter };
|
|
71
|
-
export { titleToName };
|
|
72
|
-
export { forEachAsync };
|
|
73
|
-
export { isValidJsonString };
|
|
74
|
-
export { extractBlock };
|
|
75
|
-
export { $currentDate };
|
|
76
|
-
export { deepClone };
|
|
77
|
-
export { deepFreezeWithSameType };
|
|
78
|
-
export { countCharacters };
|
|
79
|
-
export { countLines };
|
|
80
|
-
export { countPages };
|
|
81
|
-
export { countParagraphs };
|
|
82
|
-
export { splitIntoSentences };
|
|
83
|
-
export { countSentences };
|
|
84
|
-
export { countWords };
|
|
85
|
-
export { CountUtils };
|
|
86
|
-
export { extractParameterNames };
|
|
87
|
-
export { isRunningInBrowser };
|
|
88
|
-
export { isRunningInNode };
|
|
89
|
-
export { isRunningInWebWorker };
|
|
90
|
-
export { capitalize };
|
|
91
|
-
export { decapitalize };
|
|
92
|
-
export { DIACRITIC_VARIANTS_LETTERS };
|
|
93
|
-
export type { string_keyword };
|
|
94
|
-
export type { IKeywords };
|
|
95
|
-
export { isValidKeyword };
|
|
96
|
-
export { nameToUriPart };
|
|
97
|
-
export { nameToUriParts };
|
|
98
|
-
export type { string_kebab_case };
|
|
99
|
-
export { normalizeToKebabCase };
|
|
100
|
-
export type { string_camelCase };
|
|
101
|
-
export { normalizeTo_camelCase };
|
|
102
|
-
export type { string_PascalCase };
|
|
103
|
-
export { normalizeTo_PascalCase };
|
|
104
|
-
export type { string_SCREAMING_CASE };
|
|
105
|
-
export { normalizeTo_SCREAMING_CASE };
|
|
106
|
-
export { normalizeTo_snake_case };
|
|
107
|
-
export { parseKeywords };
|
|
108
|
-
export { parseKeywordsFromString };
|
|
109
|
-
export { removeDiacritics };
|
|
110
|
-
export { searchKeywords };
|
|
111
|
-
export { parseNumber };
|
|
112
|
-
export { $randomSeed };
|
|
113
|
-
export { removeEmojis };
|
|
114
|
-
export { removeQuotes };
|
|
115
|
-
export { replaceParameters };
|
|
116
|
-
export { difference };
|
|
117
|
-
export { intersection };
|
|
118
|
-
export { union };
|
|
119
|
-
export { trimCodeBlock };
|
|
120
|
-
export { trimEndOfCodeBlock };
|
|
121
|
-
export { unwrapResult };
|
|
122
|
-
export { isValidFilePath };
|
|
123
|
-
export { isValidJavascriptName };
|
|
124
|
-
export { isValidPromptbookVersion };
|
|
125
|
-
export { isValidSemanticVersion };
|
|
126
|
-
export { isHostnameOnPrivateNetwork };
|
|
127
|
-
export { isUrlOnPrivateNetwork };
|
|
128
|
-
export { isValidPipelineUrl };
|
|
129
|
-
export { isValidUrl };
|
|
130
|
-
export { isValidUuid };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Command as Program } from 'commander';
|
|
2
|
-
/**
|
|
3
|
-
* Initializes testing `hello` command for Promptbook CLI utilities
|
|
4
|
-
*
|
|
5
|
-
* @private part of `promptbookCli`
|
|
6
|
-
*/
|
|
7
|
-
export declare function initializeHelloCommand(program: Program): void;
|
|
8
|
-
/**
|
|
9
|
-
* Note: [🟡] This code should never be published outside of `@promptbook/cli`
|
|
10
|
-
*/
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Command as Program } from 'commander';
|
|
2
|
-
/**
|
|
3
|
-
* Initializes `make` command for Promptbook CLI utilities
|
|
4
|
-
*
|
|
5
|
-
* @private part of `promptbookCli`
|
|
6
|
-
*/
|
|
7
|
-
export declare function initializeMakeCommand(program: Program): void;
|
|
8
|
-
/**
|
|
9
|
-
* Note: [🟡] This code should never be published outside of `@promptbook/cli`
|
|
10
|
-
*/
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Command as Program } from 'commander';
|
|
2
|
-
/**
|
|
3
|
-
* Initializes `prettify` command for Promptbook CLI utilities
|
|
4
|
-
*
|
|
5
|
-
* @private part of `promptbookCli`
|
|
6
|
-
*/
|
|
7
|
-
export declare function initializePrettifyCommand(program: Program): void;
|
|
8
|
-
/**
|
|
9
|
-
* Note: [🟡] This code should never be published outside of `@promptbook/cli`
|
|
10
|
-
*/
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { promptbookCli } from './promptbookCli';
|
|
2
|
-
/**
|
|
3
|
-
* Hidden utilities which should not be used by external consumers.
|
|
4
|
-
*
|
|
5
|
-
* @public exported from `@promptbook/cli`
|
|
6
|
-
*/
|
|
7
|
-
export declare const __CLI: {
|
|
8
|
-
__initialize: typeof promptbookCli;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Note: [🟡] This code should never be published outside of `@promptbook/cli`
|
|
12
|
-
*/
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Runs CLI utilities of Promptbook package
|
|
3
|
-
*/
|
|
4
|
-
export declare function promptbookCli(): Promise<void>;
|
|
5
|
-
/**
|
|
6
|
-
* TODO: [🥠] Do not export to utils directly, its just for CLI script
|
|
7
|
-
* TODO: [🕌] When more functionalities, rename
|
|
8
|
-
* Note: 11:11
|
|
9
|
-
* Note: [🟡] This code should never be published outside of `@promptbook/cli`
|
|
10
|
-
*/
|