@isdk/ai-tool 0.5.1 → 0.5.2
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/package.json +1 -1
- package/docs/README.md +0 -250
- package/docs/_media/CONTRIBUTING.md +0 -18
- package/docs/_media/LICENSE-MIT +0 -22
- package/docs/classes/AbortError.md +0 -366
- package/docs/classes/AlreadyExistsError.md +0 -346
- package/docs/classes/BaseError.md +0 -359
- package/docs/classes/BinarySemaphore.md +0 -418
- package/docs/classes/CancelableAbility.md +0 -467
- package/docs/classes/ClientTools.md +0 -2715
- package/docs/classes/CommonError.md +0 -377
- package/docs/classes/ConfigFile.md +0 -353
- package/docs/classes/EnvPromptTemplate.md +0 -1158
- package/docs/classes/EventClient.md +0 -3149
- package/docs/classes/EventEmitter.md +0 -299
- package/docs/classes/EventServer.md +0 -3175
- package/docs/classes/EventToolFunc.md +0 -2557
- package/docs/classes/FStringPromptTemplate.md +0 -1158
- package/docs/classes/FewShotPromptTemplate.md +0 -1180
- package/docs/classes/GolangPromptTemplate.md +0 -1158
- package/docs/classes/HFEnvironment.md +0 -184
- package/docs/classes/HFInterpreter.md +0 -77
- package/docs/classes/HFTemplate.md +0 -67
- package/docs/classes/HfPromptTemplate.md +0 -1158
- package/docs/classes/IntSet.md +0 -216
- package/docs/classes/LRUCache.md +0 -601
- package/docs/classes/NotFoundError.md +0 -346
- package/docs/classes/NotImplementationError.md +0 -346
- package/docs/classes/PromptExampleSelector.md +0 -195
- package/docs/classes/PromptTemplate.md +0 -1088
- package/docs/classes/ReadableStreamError.md +0 -366
- package/docs/classes/ResClientTools.md +0 -2431
- package/docs/classes/ResServerTools.md +0 -2407
- package/docs/classes/SSEChannel.md +0 -270
- package/docs/classes/Semaphore.md +0 -538
- package/docs/classes/ServerTools.md +0 -2623
- package/docs/classes/SignalGate.md +0 -182
- package/docs/classes/TaskAbortController.md +0 -131
- package/docs/classes/ToolFunc.md +0 -2177
- package/docs/classes/YamlTypeBaseObject.md +0 -31
- package/docs/enumerations/AsyncFeatureBits.md +0 -33
- package/docs/enumerations/AsyncFeatures.md +0 -33
- package/docs/enumerations/ErrorCode.md +0 -177
- package/docs/enumerations/HashAlgorithm.md +0 -97
- package/docs/functions/AIArgProcessor.md +0 -33
- package/docs/functions/AIStream.md +0 -52
- package/docs/functions/ChoiceArgProcessor.md +0 -33
- package/docs/functions/ObjectArgsToArgsInfo.md +0 -29
- package/docs/functions/RateLimit.md +0 -37
- package/docs/functions/TemplateArgProcessor.md +0 -33
- package/docs/functions/assignDirs.md +0 -33
- package/docs/functions/backendEventable.md +0 -29
- package/docs/functions/beforeShutdown.md +0 -29
- package/docs/functions/canonicalize.md +0 -21
- package/docs/functions/completeSentences.md +0 -25
- package/docs/functions/concatText.md +0 -25
- package/docs/functions/countLLMTokens.md +0 -25
- package/docs/functions/countRegexMatches.md +0 -35
- package/docs/functions/createAbilityInjector.md +0 -119
- package/docs/functions/createCallbacksTransformer.md +0 -49
- package/docs/functions/createEmptyReadableStream.md +0 -21
- package/docs/functions/createEndWithRepetitionDetector.md +0 -31
- package/docs/functions/createError.md +0 -39
- package/docs/functions/createEventStreamTransformer.md +0 -33
- package/docs/functions/createHfValueFunc.md +0 -31
- package/docs/functions/createLRUCache.md +0 -25
- package/docs/functions/createYamlObjectTag.md +0 -25
- package/docs/functions/dateToText.md +0 -25
- package/docs/functions/decodeCharset.md +0 -25
- package/docs/functions/detectCharset.md +0 -25
- package/docs/functions/encodeLLMTokens.md +0 -25
- package/docs/functions/ensureQuoted.md +0 -25
- package/docs/functions/eventable.md +0 -82
- package/docs/functions/expandConfig.md +0 -25
- package/docs/functions/expandEnv.md +0 -40
- package/docs/functions/expandObjEnv.md +0 -58
- package/docs/functions/expandPath.md +0 -25
- package/docs/functions/extNameLevel.md +0 -43
- package/docs/functions/fileIsExists.md +0 -34
- package/docs/functions/filenameReservedRegex.md +0 -20
- package/docs/functions/filterValidFnScope.md +0 -21
- package/docs/functions/findIndexNonEmptyFrom.md +0 -25
- package/docs/functions/findPort.md +0 -25
- package/docs/functions/formatISO.md +0 -69
- package/docs/functions/formatTextWithSpace.md +0 -63
- package/docs/functions/getAllEnumKeys.md +0 -31
- package/docs/functions/getConfigFileNames.md +0 -25
- package/docs/functions/getConfigs.md +0 -25
- package/docs/functions/getEnvVairables.md +0 -21
- package/docs/functions/getFileMetaInfo.md +0 -21
- package/docs/functions/getHashAlgoBySize.md +0 -21
- package/docs/functions/getKeysPath.md +0 -38
- package/docs/functions/getLLMTokenizer.md +0 -21
- package/docs/functions/getMultiLevelExtname.md +0 -33
- package/docs/functions/getPackageDir.md +0 -39
- package/docs/functions/getRealFilepath.md +0 -34
- package/docs/functions/getResponseErrorReadableStream.md +0 -21
- package/docs/functions/getXDGConfigs.md +0 -37
- package/docs/functions/hasDirectoryIn.md +0 -40
- package/docs/functions/hash.md +0 -25
- package/docs/functions/hashFile.md +0 -25
- package/docs/functions/hashStream.md +0 -25
- package/docs/functions/hfParse.md +0 -24
- package/docs/functions/hfTokenize.md +0 -27
- package/docs/functions/initShutdown.md +0 -15
- package/docs/functions/interpolateEnv.md +0 -29
- package/docs/functions/interpolateFString.md +0 -29
- package/docs/functions/interpolateGolangTemplate.md +0 -35
- package/docs/functions/isLangUsingSpaces.md +0 -21
- package/docs/functions/isListItemString.md +0 -21
- package/docs/functions/isModelNameMatched.md +0 -47
- package/docs/functions/isPunctuationChar.md +0 -36
- package/docs/functions/isQuoted.md +0 -21
- package/docs/functions/isRegExp.md +0 -21
- package/docs/functions/isSameString.md +0 -36
- package/docs/functions/isSectionString.md +0 -25
- package/docs/functions/isSentenceEnding.md +0 -21
- package/docs/functions/isSepLineString.md +0 -21
- package/docs/functions/isStrWrapped.md +0 -25
- package/docs/functions/isSubdirectory.md +0 -41
- package/docs/functions/isTitleString.md +0 -25
- package/docs/functions/isValidFilename.md +0 -38
- package/docs/functions/isValidFilepath.md +0 -27
- package/docs/functions/isWebStream.md +0 -21
- package/docs/functions/jsonFilterToWhere.md +0 -47
- package/docs/functions/jsonToMarkdownStr.md +0 -39
- package/docs/functions/loadAIConfig.md +0 -21
- package/docs/functions/loadConfig.md +0 -25
- package/docs/functions/loadConfigFile.md +0 -25
- package/docs/functions/loadFileFromPaths.md +0 -64
- package/docs/functions/loadTextFromPaths.md +0 -37
- package/docs/functions/lrucache.md +0 -35
- package/docs/functions/makeToolFuncCancelable.md +0 -29
- package/docs/functions/matchUrlProtocol.md +0 -48
- package/docs/functions/memoize.md +0 -29
- package/docs/functions/messagesToText.md +0 -21
- package/docs/functions/paramsSizeToScaleStr.md +0 -34
- package/docs/functions/parseCommand.md +0 -29
- package/docs/functions/parseDateFormat.md +0 -362
- package/docs/functions/parseFString.md +0 -26
- package/docs/functions/parseISO.md +0 -70
- package/docs/functions/parseJsJson.md +0 -40
- package/docs/functions/parseJsJsonSimpleSync.md +0 -25
- package/docs/functions/parseObjectArgInfo.md +0 -33
- package/docs/functions/parseObjectArgumentInfos.md +0 -29
- package/docs/functions/parseObjectArguments.md +0 -72
- package/docs/functions/parseObjectArgumentsAsArgInfos.md +0 -46
- package/docs/functions/parseYaml.md +0 -25
- package/docs/functions/quoteStr.md +0 -21
- package/docs/functions/reControlCharsRegex.md +0 -19
- package/docs/functions/readFilenamesRecursiveSync.md +0 -53
- package/docs/functions/readTextFileChunks.md +0 -53
- package/docs/functions/readTextFileChunksEx.md +0 -25
- package/docs/functions/readableFromAsyncIterable.md +0 -28
- package/docs/functions/registerCoreTools.md +0 -15
- package/docs/functions/registerYamlTag.md +0 -21
- package/docs/functions/removeMarkdownBold.md +0 -25
- package/docs/functions/removeMarkdownBoldAndItalic.md +0 -25
- package/docs/functions/removeMarkdownItalic.md +0 -25
- package/docs/functions/replaceWithPlaceholder.md +0 -43
- package/docs/functions/restoreFromPlacehoders.md +0 -49
- package/docs/functions/sanitizeFilename.md +0 -39
- package/docs/functions/sanitizeFilepath.md +0 -33
- package/docs/functions/saveConfigFile.md +0 -29
- package/docs/functions/scaleStrToParamsSize.md +0 -27
- package/docs/functions/shutdown.md +0 -33
- package/docs/functions/simplifyObjectArguments.md +0 -21
- package/docs/functions/sortedValues.md +0 -25
- package/docs/functions/splitChunks.md +0 -25
- package/docs/functions/splitParagraph.md +0 -34
- package/docs/functions/splitSentence.md +0 -39
- package/docs/functions/stringifyYaml.md +0 -25
- package/docs/functions/stripConsoleColor.md +0 -21
- package/docs/functions/textToDate.md +0 -25
- package/docs/functions/throwError.md +0 -41
- package/docs/functions/toDate.md +0 -74
- package/docs/functions/toDateTime.md +0 -21
- package/docs/functions/toRegExp.md +0 -34
- package/docs/functions/trimStartOfStreamHelper.md +0 -41
- package/docs/functions/truncTo.md +0 -51
- package/docs/functions/truncateByToken.md +0 -25
- package/docs/functions/truncateToTokenLimit.md +0 -46
- package/docs/functions/truncateToTokenLimitEx.md +0 -25
- package/docs/functions/uuid.md +0 -25
- package/docs/functions/uuidParse.md +0 -21
- package/docs/functions/uuidStringify.md +0 -25
- package/docs/functions/uuidValidate.md +0 -21
- package/docs/functions/uuidVersion.md +0 -21
- package/docs/functions/uuidv1.md +0 -55
- package/docs/functions/uuidv4.md +0 -55
- package/docs/functions/uuidv5.md +0 -63
- package/docs/functions/wait.md +0 -21
- package/docs/functions/wrapEventEmitter.md +0 -27
- package/docs/functions/xxhash.md +0 -29
- package/docs/functions/xxhash32.md +0 -25
- package/docs/functions/xxhash64.md +0 -25
- package/docs/functions/xxhashAsStr.md +0 -29
- package/docs/globals.md +0 -329
- package/docs/interfaces/AIChatAssistantMessageParam.md +0 -129
- package/docs/interfaces/AIChatContentPartImage.md +0 -29
- package/docs/interfaces/AIChatContentPartText.md +0 -25
- package/docs/interfaces/AIChatMessageParamBase.md +0 -68
- package/docs/interfaces/AIChatMessageToolCall.md +0 -41
- package/docs/interfaces/AIChatSystemMessageParam.md +0 -105
- package/docs/interfaces/AIChatToolChoiceFuncObject.md +0 -37
- package/docs/interfaces/AIChatToolChoiceObject.md +0 -25
- package/docs/interfaces/AIChatToolFunc.md +0 -41
- package/docs/interfaces/AIChatToolFuncParam.md +0 -37
- package/docs/interfaces/AIChatToolMessageParam.md +0 -113
- package/docs/interfaces/AIChatToolParam.md +0 -25
- package/docs/interfaces/AIChatToolTypeObject.md +0 -17
- package/docs/interfaces/AIChatUserMessageParam.md +0 -137
- package/docs/interfaces/AIChoiceConfig.md +0 -65
- package/docs/interfaces/AIResult.md +0 -65
- package/docs/interfaces/AIStreamParser.md +0 -43
- package/docs/interfaces/AIStreamParserOptions.md +0 -21
- package/docs/interfaces/BaseFunc.md +0 -145
- package/docs/interfaces/BaseFuncItem.md +0 -93
- package/docs/interfaces/BinarySemaphoreAcquireOptions.md +0 -25
- package/docs/interfaces/BinarySemaphoreOptions.md +0 -57
- package/docs/interfaces/BinarySemaphoreReleaseOptions.md +0 -25
- package/docs/interfaces/BinarySemaphoreReleaserFunc.md +0 -37
- package/docs/interfaces/CancelableAbilityOptions.md +0 -113
- package/docs/interfaces/ClientFuncItem.md +0 -163
- package/docs/interfaces/DotenvExpandOptions.md +0 -43
- package/docs/interfaces/DotenvExpandOutput.md +0 -25
- package/docs/interfaces/DotenvParseInput.md +0 -13
- package/docs/interfaces/DotenvParseOutput.md +0 -13
- package/docs/interfaces/DotenvPopulateInput.md +0 -13
- package/docs/interfaces/EventClientFuncParams.md +0 -51
- package/docs/interfaces/EventServerFuncParams.md +0 -67
- package/docs/interfaces/FewShotPromptTemplateOptions.md +0 -147
- package/docs/interfaces/FuncItem.md +0 -131
- package/docs/interfaces/FuncParam.md +0 -61
- package/docs/interfaces/FuncParams.md +0 -13
- package/docs/interfaces/Funcs.md +0 -13
- package/docs/interfaces/HashAlgoParams.md +0 -33
- package/docs/interfaces/IFileMetaInfo.md +0 -65
- package/docs/interfaces/IReadTextFileChunksOptions.md +0 -143
- package/docs/interfaces/ITruncateToTokenLimitOptions.md +0 -99
- package/docs/interfaces/JsonFilter.md +0 -13
- package/docs/interfaces/ParseObjectArgumentOptions.md +0 -89
- package/docs/interfaces/PromptExampleSelectorOptions.md +0 -34
- package/docs/interfaces/PromptTemplateOptions.md +0 -65
- package/docs/interfaces/RemoteFuncItem.md +0 -152
- package/docs/interfaces/ReplacePlacehoderOptions.md +0 -41
- package/docs/interfaces/ResClientFuncParams.md +0 -37
- package/docs/interfaces/ResServerFuncParams.md +0 -69
- package/docs/interfaces/SanitizeFilenameOptions.md +0 -25
- package/docs/interfaces/SectionStringOptions.md +0 -25
- package/docs/interfaces/SemaphoreOptions.md +0 -89
- package/docs/interfaces/SemaphoreTaskItem.md +0 -73
- package/docs/interfaces/ServerFuncItem.md +0 -171
- package/docs/interfaces/ServerFuncParams.md +0 -35
- package/docs/interfaces/SplitSentenceOptions.md +0 -41
- package/docs/interfaces/StreamCallbacksAndOptions.md +0 -99
- package/docs/interfaces/TaskAbortControllers.md +0 -13
- package/docs/interfaces/TaskPromise.md +0 -138
- package/docs/interfaces/ToolFuncPackage.md +0 -47
- package/docs/namespaces/EventStates/README.md +0 -14
- package/docs/namespaces/EventStates/variables/ABORT.md +0 -11
- package/docs/namespaces/EventStates/variables/CONTINUE.md +0 -11
- package/docs/namespaces/EventStates/variables/DONE.md +0 -11
- package/docs/namespaces/EventStates/variables/STOPPED.md +0 -11
- package/docs/namespaces/uuidv5/README.md +0 -12
- package/docs/namespaces/uuidv5/variables/DNS.md +0 -11
- package/docs/namespaces/uuidv5/variables/URL.md +0 -11
- package/docs/type-aliases/AIChatContentPart.md +0 -11
- package/docs/type-aliases/AIChatMessageParam.md +0 -11
- package/docs/type-aliases/AIChatRole.md +0 -11
- package/docs/type-aliases/AIChatToolChoiceParam.md +0 -11
- package/docs/type-aliases/AIMessageType.md +0 -11
- package/docs/type-aliases/AIModelNameRule.md +0 -11
- package/docs/type-aliases/AIModelNameRuleFn.md +0 -21
- package/docs/type-aliases/AIModelNameRules.md +0 -11
- package/docs/type-aliases/AITextGenerationFinishReason.md +0 -11
- package/docs/type-aliases/ActionName.md +0 -11
- package/docs/type-aliases/AsyncTaskId.md +0 -11
- package/docs/type-aliases/BeforeShutdownListener.md +0 -23
- package/docs/type-aliases/EventErrorListenerFn.md +0 -33
- package/docs/type-aliases/EventListenerFn.md +0 -29
- package/docs/type-aliases/FStringPromptTemplateNode.md +0 -14
- package/docs/type-aliases/FuncParamType.md +0 -11
- package/docs/type-aliases/PromptExamples.md +0 -15
- package/docs/type-aliases/PromptTemplateType.md +0 -11
- package/docs/type-aliases/PromptType.md +0 -11
- package/docs/type-aliases/SemaphoreIsReadyFuncType.md +0 -15
- package/docs/type-aliases/TFunc.md +0 -25
- package/docs/variables/AIChatRoles.md +0 -11
- package/docs/variables/AIMessageTypes.md +0 -11
- package/docs/variables/AITextGenerationFinishReasons.md +0 -11
- package/docs/variables/AbortErrorCode.md +0 -11
- package/docs/variables/ActionNames.md +0 -11
- package/docs/variables/AlreadyExistsErrorCode.md +0 -11
- package/docs/variables/ClientToolFuncSchema.md +0 -101
- package/docs/variables/DEFAULT_CONFIG_NAME.md +0 -11
- package/docs/variables/DefaultAsyncSemaphoreCapacity.md +0 -11
- package/docs/variables/EventBusName.md +0 -11
- package/docs/variables/EventName.md +0 -11
- package/docs/variables/FilenameReservedRegex.md +0 -14
- package/docs/variables/HFBuiltins.md +0 -122
- package/docs/variables/InternalErrorCode.md +0 -11
- package/docs/variables/LLM_TOKENIZER_NAMES.md +0 -81
- package/docs/variables/LLM_TOKENIZER_NAMES_MAP.md +0 -11
- package/docs/variables/NotFoundErrorCode.md +0 -11
- package/docs/variables/NotImplementedErrorCode.md +0 -11
- package/docs/variables/PASSING_SCORE.md +0 -11
- package/docs/variables/PromptTemplateTypes.md +0 -11
- package/docs/variables/PromptTypes.md +0 -14
- package/docs/variables/RStreamErrCode.md +0 -11
- package/docs/variables/RemoteToolFuncSchema.md +0 -101
- package/docs/variables/ResponseRStreamErrCode.md +0 -11
- package/docs/variables/SHUTDOWN_SIGNALS.md +0 -17
- package/docs/variables/SSEChannelAlreadyClosedErrCode.md +0 -11
- package/docs/variables/SecondaryCache.md +0 -11
- package/docs/variables/ServerToolFuncSchema.md +0 -101
- package/docs/variables/ToolAsyncCancelableBit.md +0 -11
- package/docs/variables/ToolAsyncMultiTaskBit.md +0 -11
- package/docs/variables/ToolAsyncPriorityBit.md +0 -11
- package/docs/variables/ToolFuncSchema.md +0 -133
- package/docs/variables/WindowsReservedNameRegex.md +0 -13
- package/docs/variables/base32768.md +0 -11
- package/docs/variables/defaultTemplateFormat.md +0 -11
- package/docs/variables/event.md +0 -11
- package/docs/variables/eventClient.md +0 -11
- package/docs/variables/eventServer.md +0 -11
- package/docs/variables/lrucache.md +0 -11
- package/docs/variables/mimeType.md +0 -11
- package/docs/variables/uuidNIL.md +0 -11
package/docs/globals.md
DELETED
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
[**@isdk/ai-tool**](README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# @isdk/ai-tool
|
|
6
|
-
|
|
7
|
-
## Common Helpers
|
|
8
|
-
|
|
9
|
-
- [formatISO](functions/formatISO.md)
|
|
10
|
-
- [parseDateFormat](functions/parseDateFormat.md)
|
|
11
|
-
- [parseISO](functions/parseISO.md)
|
|
12
|
-
- [toDate](functions/toDate.md)
|
|
13
|
-
|
|
14
|
-
## Other
|
|
15
|
-
|
|
16
|
-
- [EventStates](namespaces/EventStates/README.md)
|
|
17
|
-
- [uuidv5](namespaces/uuidv5/README.md)
|
|
18
|
-
- [AsyncFeatureBits](enumerations/AsyncFeatureBits.md)
|
|
19
|
-
- [AsyncFeatures](enumerations/AsyncFeatures.md)
|
|
20
|
-
- [ErrorCode](enumerations/ErrorCode.md)
|
|
21
|
-
- [HashAlgorithm](enumerations/HashAlgorithm.md)
|
|
22
|
-
- [AbortError](classes/AbortError.md)
|
|
23
|
-
- [AlreadyExistsError](classes/AlreadyExistsError.md)
|
|
24
|
-
- [BaseError](classes/BaseError.md)
|
|
25
|
-
- [BinarySemaphore](classes/BinarySemaphore.md)
|
|
26
|
-
- [CancelableAbility](classes/CancelableAbility.md)
|
|
27
|
-
- [ClientTools](classes/ClientTools.md)
|
|
28
|
-
- [CommonError](classes/CommonError.md)
|
|
29
|
-
- [ConfigFile](classes/ConfigFile.md)
|
|
30
|
-
- [EnvPromptTemplate](classes/EnvPromptTemplate.md)
|
|
31
|
-
- [EventClient](classes/EventClient.md)
|
|
32
|
-
- [EventEmitter](classes/EventEmitter.md)
|
|
33
|
-
- [EventServer](classes/EventServer.md)
|
|
34
|
-
- [EventToolFunc](classes/EventToolFunc.md)
|
|
35
|
-
- [FewShotPromptTemplate](classes/FewShotPromptTemplate.md)
|
|
36
|
-
- [FStringPromptTemplate](classes/FStringPromptTemplate.md)
|
|
37
|
-
- [GolangPromptTemplate](classes/GolangPromptTemplate.md)
|
|
38
|
-
- [HFEnvironment](classes/HFEnvironment.md)
|
|
39
|
-
- [HFInterpreter](classes/HFInterpreter.md)
|
|
40
|
-
- [HfPromptTemplate](classes/HfPromptTemplate.md)
|
|
41
|
-
- [HFTemplate](classes/HFTemplate.md)
|
|
42
|
-
- [IntSet](classes/IntSet.md)
|
|
43
|
-
- [LRUCache](classes/LRUCache.md)
|
|
44
|
-
- [NotFoundError](classes/NotFoundError.md)
|
|
45
|
-
- [NotImplementationError](classes/NotImplementationError.md)
|
|
46
|
-
- [PromptExampleSelector](classes/PromptExampleSelector.md)
|
|
47
|
-
- [PromptTemplate](classes/PromptTemplate.md)
|
|
48
|
-
- [ReadableStreamError](classes/ReadableStreamError.md)
|
|
49
|
-
- [ResClientTools](classes/ResClientTools.md)
|
|
50
|
-
- [ResServerTools](classes/ResServerTools.md)
|
|
51
|
-
- [Semaphore](classes/Semaphore.md)
|
|
52
|
-
- [ServerTools](classes/ServerTools.md)
|
|
53
|
-
- [SignalGate](classes/SignalGate.md)
|
|
54
|
-
- [SSEChannel](classes/SSEChannel.md)
|
|
55
|
-
- [TaskAbortController](classes/TaskAbortController.md)
|
|
56
|
-
- [ToolFunc](classes/ToolFunc.md)
|
|
57
|
-
- [YamlTypeBaseObject](classes/YamlTypeBaseObject.md)
|
|
58
|
-
- [AIChatAssistantMessageParam](interfaces/AIChatAssistantMessageParam.md)
|
|
59
|
-
- [AIChatContentPartImage](interfaces/AIChatContentPartImage.md)
|
|
60
|
-
- [AIChatContentPartText](interfaces/AIChatContentPartText.md)
|
|
61
|
-
- [AIChatMessageParamBase](interfaces/AIChatMessageParamBase.md)
|
|
62
|
-
- [AIChatMessageToolCall](interfaces/AIChatMessageToolCall.md)
|
|
63
|
-
- [AIChatSystemMessageParam](interfaces/AIChatSystemMessageParam.md)
|
|
64
|
-
- [AIChatToolChoiceFuncObject](interfaces/AIChatToolChoiceFuncObject.md)
|
|
65
|
-
- [AIChatToolChoiceObject](interfaces/AIChatToolChoiceObject.md)
|
|
66
|
-
- [AIChatToolFunc](interfaces/AIChatToolFunc.md)
|
|
67
|
-
- [AIChatToolFuncParam](interfaces/AIChatToolFuncParam.md)
|
|
68
|
-
- [AIChatToolMessageParam](interfaces/AIChatToolMessageParam.md)
|
|
69
|
-
- [AIChatToolParam](interfaces/AIChatToolParam.md)
|
|
70
|
-
- [AIChatToolTypeObject](interfaces/AIChatToolTypeObject.md)
|
|
71
|
-
- [AIChatUserMessageParam](interfaces/AIChatUserMessageParam.md)
|
|
72
|
-
- [AIChoiceConfig](interfaces/AIChoiceConfig.md)
|
|
73
|
-
- [AIResult](interfaces/AIResult.md)
|
|
74
|
-
- [AIStreamParser](interfaces/AIStreamParser.md)
|
|
75
|
-
- [AIStreamParserOptions](interfaces/AIStreamParserOptions.md)
|
|
76
|
-
- [BaseFunc](interfaces/BaseFunc.md)
|
|
77
|
-
- [BaseFuncItem](interfaces/BaseFuncItem.md)
|
|
78
|
-
- [BinarySemaphoreAcquireOptions](interfaces/BinarySemaphoreAcquireOptions.md)
|
|
79
|
-
- [BinarySemaphoreOptions](interfaces/BinarySemaphoreOptions.md)
|
|
80
|
-
- [BinarySemaphoreReleaseOptions](interfaces/BinarySemaphoreReleaseOptions.md)
|
|
81
|
-
- [BinarySemaphoreReleaserFunc](interfaces/BinarySemaphoreReleaserFunc.md)
|
|
82
|
-
- [CancelableAbilityOptions](interfaces/CancelableAbilityOptions.md)
|
|
83
|
-
- [ClientFuncItem](interfaces/ClientFuncItem.md)
|
|
84
|
-
- [DotenvExpandOptions](interfaces/DotenvExpandOptions.md)
|
|
85
|
-
- [DotenvExpandOutput](interfaces/DotenvExpandOutput.md)
|
|
86
|
-
- [DotenvParseInput](interfaces/DotenvParseInput.md)
|
|
87
|
-
- [DotenvParseOutput](interfaces/DotenvParseOutput.md)
|
|
88
|
-
- [DotenvPopulateInput](interfaces/DotenvPopulateInput.md)
|
|
89
|
-
- [EventClientFuncParams](interfaces/EventClientFuncParams.md)
|
|
90
|
-
- [EventServerFuncParams](interfaces/EventServerFuncParams.md)
|
|
91
|
-
- [FewShotPromptTemplateOptions](interfaces/FewShotPromptTemplateOptions.md)
|
|
92
|
-
- [FuncItem](interfaces/FuncItem.md)
|
|
93
|
-
- [FuncParam](interfaces/FuncParam.md)
|
|
94
|
-
- [FuncParams](interfaces/FuncParams.md)
|
|
95
|
-
- [Funcs](interfaces/Funcs.md)
|
|
96
|
-
- [HashAlgoParams](interfaces/HashAlgoParams.md)
|
|
97
|
-
- [IFileMetaInfo](interfaces/IFileMetaInfo.md)
|
|
98
|
-
- [IReadTextFileChunksOptions](interfaces/IReadTextFileChunksOptions.md)
|
|
99
|
-
- [ITruncateToTokenLimitOptions](interfaces/ITruncateToTokenLimitOptions.md)
|
|
100
|
-
- [JsonFilter](interfaces/JsonFilter.md)
|
|
101
|
-
- [ParseObjectArgumentOptions](interfaces/ParseObjectArgumentOptions.md)
|
|
102
|
-
- [PromptExampleSelectorOptions](interfaces/PromptExampleSelectorOptions.md)
|
|
103
|
-
- [PromptTemplateOptions](interfaces/PromptTemplateOptions.md)
|
|
104
|
-
- [RemoteFuncItem](interfaces/RemoteFuncItem.md)
|
|
105
|
-
- [ReplacePlacehoderOptions](interfaces/ReplacePlacehoderOptions.md)
|
|
106
|
-
- [ResClientFuncParams](interfaces/ResClientFuncParams.md)
|
|
107
|
-
- [ResServerFuncParams](interfaces/ResServerFuncParams.md)
|
|
108
|
-
- [SanitizeFilenameOptions](interfaces/SanitizeFilenameOptions.md)
|
|
109
|
-
- [SectionStringOptions](interfaces/SectionStringOptions.md)
|
|
110
|
-
- [SemaphoreOptions](interfaces/SemaphoreOptions.md)
|
|
111
|
-
- [SemaphoreTaskItem](interfaces/SemaphoreTaskItem.md)
|
|
112
|
-
- [ServerFuncItem](interfaces/ServerFuncItem.md)
|
|
113
|
-
- [ServerFuncParams](interfaces/ServerFuncParams.md)
|
|
114
|
-
- [SplitSentenceOptions](interfaces/SplitSentenceOptions.md)
|
|
115
|
-
- [StreamCallbacksAndOptions](interfaces/StreamCallbacksAndOptions.md)
|
|
116
|
-
- [TaskAbortControllers](interfaces/TaskAbortControllers.md)
|
|
117
|
-
- [TaskPromise](interfaces/TaskPromise.md)
|
|
118
|
-
- [ToolFuncPackage](interfaces/ToolFuncPackage.md)
|
|
119
|
-
- [ActionName](type-aliases/ActionName.md)
|
|
120
|
-
- [AIChatContentPart](type-aliases/AIChatContentPart.md)
|
|
121
|
-
- [AIChatMessageParam](type-aliases/AIChatMessageParam.md)
|
|
122
|
-
- [AIChatRole](type-aliases/AIChatRole.md)
|
|
123
|
-
- [AIChatToolChoiceParam](type-aliases/AIChatToolChoiceParam.md)
|
|
124
|
-
- [AIMessageType](type-aliases/AIMessageType.md)
|
|
125
|
-
- [AIModelNameRule](type-aliases/AIModelNameRule.md)
|
|
126
|
-
- [AIModelNameRuleFn](type-aliases/AIModelNameRuleFn.md)
|
|
127
|
-
- [AIModelNameRules](type-aliases/AIModelNameRules.md)
|
|
128
|
-
- [AITextGenerationFinishReason](type-aliases/AITextGenerationFinishReason.md)
|
|
129
|
-
- [AsyncTaskId](type-aliases/AsyncTaskId.md)
|
|
130
|
-
- [BeforeShutdownListener](type-aliases/BeforeShutdownListener.md)
|
|
131
|
-
- [EventErrorListenerFn](type-aliases/EventErrorListenerFn.md)
|
|
132
|
-
- [EventListenerFn](type-aliases/EventListenerFn.md)
|
|
133
|
-
- [FStringPromptTemplateNode](type-aliases/FStringPromptTemplateNode.md)
|
|
134
|
-
- [FuncParamType](type-aliases/FuncParamType.md)
|
|
135
|
-
- [PromptExamples](type-aliases/PromptExamples.md)
|
|
136
|
-
- [PromptTemplateType](type-aliases/PromptTemplateType.md)
|
|
137
|
-
- [PromptType](type-aliases/PromptType.md)
|
|
138
|
-
- [SemaphoreIsReadyFuncType](type-aliases/SemaphoreIsReadyFuncType.md)
|
|
139
|
-
- [TFunc](type-aliases/TFunc.md)
|
|
140
|
-
- [AbortErrorCode](variables/AbortErrorCode.md)
|
|
141
|
-
- [ActionNames](variables/ActionNames.md)
|
|
142
|
-
- [AIChatRoles](variables/AIChatRoles.md)
|
|
143
|
-
- [AIMessageTypes](variables/AIMessageTypes.md)
|
|
144
|
-
- [AITextGenerationFinishReasons](variables/AITextGenerationFinishReasons.md)
|
|
145
|
-
- [AlreadyExistsErrorCode](variables/AlreadyExistsErrorCode.md)
|
|
146
|
-
- [base32768](variables/base32768.md)
|
|
147
|
-
- [ClientToolFuncSchema](variables/ClientToolFuncSchema.md)
|
|
148
|
-
- [DEFAULT\_CONFIG\_NAME](variables/DEFAULT_CONFIG_NAME.md)
|
|
149
|
-
- [DefaultAsyncSemaphoreCapacity](variables/DefaultAsyncSemaphoreCapacity.md)
|
|
150
|
-
- [defaultTemplateFormat](variables/defaultTemplateFormat.md)
|
|
151
|
-
- [event](variables/event.md)
|
|
152
|
-
- [EventBusName](variables/EventBusName.md)
|
|
153
|
-
- [eventClient](variables/eventClient.md)
|
|
154
|
-
- [EventName](variables/EventName.md)
|
|
155
|
-
- [eventServer](variables/eventServer.md)
|
|
156
|
-
- [FilenameReservedRegex](variables/FilenameReservedRegex.md)
|
|
157
|
-
- [HFBuiltins](variables/HFBuiltins.md)
|
|
158
|
-
- [InternalErrorCode](variables/InternalErrorCode.md)
|
|
159
|
-
- [LLM\_TOKENIZER\_NAMES](variables/LLM_TOKENIZER_NAMES.md)
|
|
160
|
-
- [LLM\_TOKENIZER\_NAMES\_MAP](variables/LLM_TOKENIZER_NAMES_MAP.md)
|
|
161
|
-
- [lrucache](variables/lrucache.md)
|
|
162
|
-
- [mimeType](variables/mimeType.md)
|
|
163
|
-
- [NotFoundErrorCode](variables/NotFoundErrorCode.md)
|
|
164
|
-
- [NotImplementedErrorCode](variables/NotImplementedErrorCode.md)
|
|
165
|
-
- [PASSING\_SCORE](variables/PASSING_SCORE.md)
|
|
166
|
-
- [PromptTemplateTypes](variables/PromptTemplateTypes.md)
|
|
167
|
-
- [PromptTypes](variables/PromptTypes.md)
|
|
168
|
-
- [RemoteToolFuncSchema](variables/RemoteToolFuncSchema.md)
|
|
169
|
-
- [ResponseRStreamErrCode](variables/ResponseRStreamErrCode.md)
|
|
170
|
-
- [RStreamErrCode](variables/RStreamErrCode.md)
|
|
171
|
-
- [SecondaryCache](variables/SecondaryCache.md)
|
|
172
|
-
- [ServerToolFuncSchema](variables/ServerToolFuncSchema.md)
|
|
173
|
-
- [SHUTDOWN\_SIGNALS](variables/SHUTDOWN_SIGNALS.md)
|
|
174
|
-
- [SSEChannelAlreadyClosedErrCode](variables/SSEChannelAlreadyClosedErrCode.md)
|
|
175
|
-
- [ToolAsyncCancelableBit](variables/ToolAsyncCancelableBit.md)
|
|
176
|
-
- [ToolAsyncMultiTaskBit](variables/ToolAsyncMultiTaskBit.md)
|
|
177
|
-
- [ToolAsyncPriorityBit](variables/ToolAsyncPriorityBit.md)
|
|
178
|
-
- [ToolFuncSchema](variables/ToolFuncSchema.md)
|
|
179
|
-
- [uuidNIL](variables/uuidNIL.md)
|
|
180
|
-
- [WindowsReservedNameRegex](variables/WindowsReservedNameRegex.md)
|
|
181
|
-
- [\_lrucache](functions/lrucache.md)
|
|
182
|
-
- [AIArgProcessor](functions/AIArgProcessor.md)
|
|
183
|
-
- [AIStream](functions/AIStream.md)
|
|
184
|
-
- [assignDirs](functions/assignDirs.md)
|
|
185
|
-
- [backendEventable](functions/backendEventable.md)
|
|
186
|
-
- [beforeShutdown](functions/beforeShutdown.md)
|
|
187
|
-
- [canonicalize](functions/canonicalize.md)
|
|
188
|
-
- [ChoiceArgProcessor](functions/ChoiceArgProcessor.md)
|
|
189
|
-
- [completeSentences](functions/completeSentences.md)
|
|
190
|
-
- [concatText](functions/concatText.md)
|
|
191
|
-
- [countLLMTokens](functions/countLLMTokens.md)
|
|
192
|
-
- [countRegexMatches](functions/countRegexMatches.md)
|
|
193
|
-
- [createAbilityInjector](functions/createAbilityInjector.md)
|
|
194
|
-
- [createCallbacksTransformer](functions/createCallbacksTransformer.md)
|
|
195
|
-
- [createEmptyReadableStream](functions/createEmptyReadableStream.md)
|
|
196
|
-
- [createEndWithRepetitionDetector](functions/createEndWithRepetitionDetector.md)
|
|
197
|
-
- [createError](functions/createError.md)
|
|
198
|
-
- [createEventStreamTransformer](functions/createEventStreamTransformer.md)
|
|
199
|
-
- [createHfValueFunc](functions/createHfValueFunc.md)
|
|
200
|
-
- [createLRUCache](functions/createLRUCache.md)
|
|
201
|
-
- [createYamlObjectTag](functions/createYamlObjectTag.md)
|
|
202
|
-
- [dateToText](functions/dateToText.md)
|
|
203
|
-
- [decodeCharset](functions/decodeCharset.md)
|
|
204
|
-
- [detectCharset](functions/detectCharset.md)
|
|
205
|
-
- [encodeLLMTokens](functions/encodeLLMTokens.md)
|
|
206
|
-
- [ensureQuoted](functions/ensureQuoted.md)
|
|
207
|
-
- [eventable](functions/eventable.md)
|
|
208
|
-
- [expandConfig](functions/expandConfig.md)
|
|
209
|
-
- [expandEnv](functions/expandEnv.md)
|
|
210
|
-
- [expandObjEnv](functions/expandObjEnv.md)
|
|
211
|
-
- [expandPath](functions/expandPath.md)
|
|
212
|
-
- [extNameLevel](functions/extNameLevel.md)
|
|
213
|
-
- [fileIsExists](functions/fileIsExists.md)
|
|
214
|
-
- [filenameReservedRegex](functions/filenameReservedRegex.md)
|
|
215
|
-
- [filterValidFnScope](functions/filterValidFnScope.md)
|
|
216
|
-
- [findIndexNonEmptyFrom](functions/findIndexNonEmptyFrom.md)
|
|
217
|
-
- [findPort](functions/findPort.md)
|
|
218
|
-
- [formatTextWithSpace](functions/formatTextWithSpace.md)
|
|
219
|
-
- [getAllEnumKeys](functions/getAllEnumKeys.md)
|
|
220
|
-
- [getConfigFileNames](functions/getConfigFileNames.md)
|
|
221
|
-
- [getConfigs](functions/getConfigs.md)
|
|
222
|
-
- [getEnvVairables](functions/getEnvVairables.md)
|
|
223
|
-
- [getFileMetaInfo](functions/getFileMetaInfo.md)
|
|
224
|
-
- [getHashAlgoBySize](functions/getHashAlgoBySize.md)
|
|
225
|
-
- [getKeysPath](functions/getKeysPath.md)
|
|
226
|
-
- [getLLMTokenizer](functions/getLLMTokenizer.md)
|
|
227
|
-
- [getMultiLevelExtname](functions/getMultiLevelExtname.md)
|
|
228
|
-
- [getPackageDir](functions/getPackageDir.md)
|
|
229
|
-
- [getRealFilepath](functions/getRealFilepath.md)
|
|
230
|
-
- [getResponseErrorReadableStream](functions/getResponseErrorReadableStream.md)
|
|
231
|
-
- [getXDGConfigs](functions/getXDGConfigs.md)
|
|
232
|
-
- [hasDirectoryIn](functions/hasDirectoryIn.md)
|
|
233
|
-
- [hash](functions/hash.md)
|
|
234
|
-
- [hashFile](functions/hashFile.md)
|
|
235
|
-
- [hashStream](functions/hashStream.md)
|
|
236
|
-
- [hfParse](functions/hfParse.md)
|
|
237
|
-
- [hfTokenize](functions/hfTokenize.md)
|
|
238
|
-
- [initShutdown](functions/initShutdown.md)
|
|
239
|
-
- [interpolateEnv](functions/interpolateEnv.md)
|
|
240
|
-
- [interpolateFString](functions/interpolateFString.md)
|
|
241
|
-
- [interpolateGolangTemplate](functions/interpolateGolangTemplate.md)
|
|
242
|
-
- [isLangUsingSpaces](functions/isLangUsingSpaces.md)
|
|
243
|
-
- [isListItemString](functions/isListItemString.md)
|
|
244
|
-
- [isModelNameMatched](functions/isModelNameMatched.md)
|
|
245
|
-
- [isPunctuationChar](functions/isPunctuationChar.md)
|
|
246
|
-
- [isQuoted](functions/isQuoted.md)
|
|
247
|
-
- [isRegExp](functions/isRegExp.md)
|
|
248
|
-
- [isSameString](functions/isSameString.md)
|
|
249
|
-
- [isSectionString](functions/isSectionString.md)
|
|
250
|
-
- [isSentenceEnding](functions/isSentenceEnding.md)
|
|
251
|
-
- [isSepLineString](functions/isSepLineString.md)
|
|
252
|
-
- [isStrWrapped](functions/isStrWrapped.md)
|
|
253
|
-
- [isSubdirectory](functions/isSubdirectory.md)
|
|
254
|
-
- [isTitleString](functions/isTitleString.md)
|
|
255
|
-
- [isValidFilename](functions/isValidFilename.md)
|
|
256
|
-
- [isValidFilepath](functions/isValidFilepath.md)
|
|
257
|
-
- [isWebStream](functions/isWebStream.md)
|
|
258
|
-
- [jsonFilterToWhere](functions/jsonFilterToWhere.md)
|
|
259
|
-
- [jsonToMarkdownStr](functions/jsonToMarkdownStr.md)
|
|
260
|
-
- [loadAIConfig](functions/loadAIConfig.md)
|
|
261
|
-
- [loadConfig](functions/loadConfig.md)
|
|
262
|
-
- [loadConfigFile](functions/loadConfigFile.md)
|
|
263
|
-
- [loadFileFromPaths](functions/loadFileFromPaths.md)
|
|
264
|
-
- [loadTextFromPaths](functions/loadTextFromPaths.md)
|
|
265
|
-
- [makeToolFuncCancelable](functions/makeToolFuncCancelable.md)
|
|
266
|
-
- [matchUrlProtocol](functions/matchUrlProtocol.md)
|
|
267
|
-
- [memoize](functions/memoize.md)
|
|
268
|
-
- [messagesToText](functions/messagesToText.md)
|
|
269
|
-
- [ObjectArgsToArgsInfo](functions/ObjectArgsToArgsInfo.md)
|
|
270
|
-
- [paramsSizeToScaleStr](functions/paramsSizeToScaleStr.md)
|
|
271
|
-
- [parseCommand](functions/parseCommand.md)
|
|
272
|
-
- [parseFString](functions/parseFString.md)
|
|
273
|
-
- [parseJsJson](functions/parseJsJson.md)
|
|
274
|
-
- [parseJsJsonSimpleSync](functions/parseJsJsonSimpleSync.md)
|
|
275
|
-
- [parseObjectArgInfo](functions/parseObjectArgInfo.md)
|
|
276
|
-
- [parseObjectArgumentInfos](functions/parseObjectArgumentInfos.md)
|
|
277
|
-
- [parseObjectArguments](functions/parseObjectArguments.md)
|
|
278
|
-
- [parseObjectArgumentsAsArgInfos](functions/parseObjectArgumentsAsArgInfos.md)
|
|
279
|
-
- [parseYaml](functions/parseYaml.md)
|
|
280
|
-
- [quoteStr](functions/quoteStr.md)
|
|
281
|
-
- [RateLimit](functions/RateLimit.md)
|
|
282
|
-
- [readableFromAsyncIterable](functions/readableFromAsyncIterable.md)
|
|
283
|
-
- [readFilenamesRecursiveSync](functions/readFilenamesRecursiveSync.md)
|
|
284
|
-
- [readTextFileChunks](functions/readTextFileChunks.md)
|
|
285
|
-
- [readTextFileChunksEx](functions/readTextFileChunksEx.md)
|
|
286
|
-
- [reControlCharsRegex](functions/reControlCharsRegex.md)
|
|
287
|
-
- [registerCoreTools](functions/registerCoreTools.md)
|
|
288
|
-
- [registerYamlTag](functions/registerYamlTag.md)
|
|
289
|
-
- [removeMarkdownBold](functions/removeMarkdownBold.md)
|
|
290
|
-
- [removeMarkdownBoldAndItalic](functions/removeMarkdownBoldAndItalic.md)
|
|
291
|
-
- [removeMarkdownItalic](functions/removeMarkdownItalic.md)
|
|
292
|
-
- [replaceWithPlaceholder](functions/replaceWithPlaceholder.md)
|
|
293
|
-
- [restoreFromPlacehoders](functions/restoreFromPlacehoders.md)
|
|
294
|
-
- [sanitizeFilename](functions/sanitizeFilename.md)
|
|
295
|
-
- [sanitizeFilepath](functions/sanitizeFilepath.md)
|
|
296
|
-
- [saveConfigFile](functions/saveConfigFile.md)
|
|
297
|
-
- [scaleStrToParamsSize](functions/scaleStrToParamsSize.md)
|
|
298
|
-
- [shutdown](functions/shutdown.md)
|
|
299
|
-
- [simplifyObjectArguments](functions/simplifyObjectArguments.md)
|
|
300
|
-
- [sortedValues](functions/sortedValues.md)
|
|
301
|
-
- [splitChunks](functions/splitChunks.md)
|
|
302
|
-
- [splitParagraph](functions/splitParagraph.md)
|
|
303
|
-
- [splitSentence](functions/splitSentence.md)
|
|
304
|
-
- [stringifyYaml](functions/stringifyYaml.md)
|
|
305
|
-
- [stripConsoleColor](functions/stripConsoleColor.md)
|
|
306
|
-
- [TemplateArgProcessor](functions/TemplateArgProcessor.md)
|
|
307
|
-
- [textToDate](functions/textToDate.md)
|
|
308
|
-
- [throwError](functions/throwError.md)
|
|
309
|
-
- [toDateTime](functions/toDateTime.md)
|
|
310
|
-
- [toRegExp](functions/toRegExp.md)
|
|
311
|
-
- [trimStartOfStreamHelper](functions/trimStartOfStreamHelper.md)
|
|
312
|
-
- [truncateByToken](functions/truncateByToken.md)
|
|
313
|
-
- [truncateToTokenLimit](functions/truncateToTokenLimit.md)
|
|
314
|
-
- [truncateToTokenLimitEx](functions/truncateToTokenLimitEx.md)
|
|
315
|
-
- [truncTo](functions/truncTo.md)
|
|
316
|
-
- [uuid](functions/uuid.md)
|
|
317
|
-
- [uuidParse](functions/uuidParse.md)
|
|
318
|
-
- [uuidStringify](functions/uuidStringify.md)
|
|
319
|
-
- [uuidv1](functions/uuidv1.md)
|
|
320
|
-
- [uuidv4](functions/uuidv4.md)
|
|
321
|
-
- [uuidv5](functions/uuidv5.md)
|
|
322
|
-
- [uuidValidate](functions/uuidValidate.md)
|
|
323
|
-
- [uuidVersion](functions/uuidVersion.md)
|
|
324
|
-
- [wait](functions/wait.md)
|
|
325
|
-
- [wrapEventEmitter](functions/wrapEventEmitter.md)
|
|
326
|
-
- [xxhash](functions/xxhash.md)
|
|
327
|
-
- [xxhash32](functions/xxhash32.md)
|
|
328
|
-
- [xxhash64](functions/xxhash64.md)
|
|
329
|
-
- [xxhashAsStr](functions/xxhashAsStr.md)
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
[**@isdk/ai-tool**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@isdk/ai-tool](../globals.md) / AIChatAssistantMessageParam
|
|
6
|
-
|
|
7
|
-
# Interface: AIChatAssistantMessageParam
|
|
8
|
-
|
|
9
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:98](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L98)
|
|
10
|
-
|
|
11
|
-
## Extends
|
|
12
|
-
|
|
13
|
-
- [`AIChatMessageParamBase`](AIChatMessageParamBase.md)
|
|
14
|
-
|
|
15
|
-
## Indexable
|
|
16
|
-
|
|
17
|
-
\[`name`: `string`\]: `any`
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
### content?
|
|
22
|
-
|
|
23
|
-
> `optional` **content**: `null` \| `string`
|
|
24
|
-
|
|
25
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:100](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L100)
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
|
-
### createdAt?
|
|
30
|
-
|
|
31
|
-
> `optional` **createdAt**: `string` \| `Date`
|
|
32
|
-
|
|
33
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:103](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L103)
|
|
34
|
-
|
|
35
|
-
***
|
|
36
|
-
|
|
37
|
-
### private?
|
|
38
|
-
|
|
39
|
-
> `optional` **private**: `boolean`
|
|
40
|
-
|
|
41
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:57](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L57)
|
|
42
|
-
|
|
43
|
-
#### Inherited from
|
|
44
|
-
|
|
45
|
-
[`AIChatMessageParamBase`](AIChatMessageParamBase.md).[`private`](AIChatMessageParamBase.md#private)
|
|
46
|
-
|
|
47
|
-
***
|
|
48
|
-
|
|
49
|
-
### replies?
|
|
50
|
-
|
|
51
|
-
> `optional` **replies**: `Record`\<`string`, `Partial`\<[`AIChatMessageParam`](../type-aliases/AIChatMessageParam.md)\>\>
|
|
52
|
-
|
|
53
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:56](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L56)
|
|
54
|
-
|
|
55
|
-
#### Inherited from
|
|
56
|
-
|
|
57
|
-
[`AIChatMessageParamBase`](AIChatMessageParamBase.md).[`replies`](AIChatMessageParamBase.md#replies)
|
|
58
|
-
|
|
59
|
-
***
|
|
60
|
-
|
|
61
|
-
### role
|
|
62
|
-
|
|
63
|
-
> **role**: `"assistant"`
|
|
64
|
-
|
|
65
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:99](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L99)
|
|
66
|
-
|
|
67
|
-
#### Overrides
|
|
68
|
-
|
|
69
|
-
[`AIChatMessageParamBase`](AIChatMessageParamBase.md).[`role`](AIChatMessageParamBase.md#role)
|
|
70
|
-
|
|
71
|
-
***
|
|
72
|
-
|
|
73
|
-
### templateFormat?
|
|
74
|
-
|
|
75
|
-
> `optional` **templateFormat**: `string`
|
|
76
|
-
|
|
77
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:105](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L105)
|
|
78
|
-
|
|
79
|
-
***
|
|
80
|
-
|
|
81
|
-
### thinking?
|
|
82
|
-
|
|
83
|
-
> `optional` **thinking**: `string`
|
|
84
|
-
|
|
85
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:59](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L59)
|
|
86
|
-
|
|
87
|
-
#### Inherited from
|
|
88
|
-
|
|
89
|
-
[`AIChatMessageParamBase`](AIChatMessageParamBase.md).[`thinking`](AIChatMessageParamBase.md#thinking)
|
|
90
|
-
|
|
91
|
-
***
|
|
92
|
-
|
|
93
|
-
### tool\_calls?
|
|
94
|
-
|
|
95
|
-
> `optional` **tool\_calls**: [`AIChatMessageToolCall`](AIChatMessageToolCall.md)[]
|
|
96
|
-
|
|
97
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:101](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L101)
|
|
98
|
-
|
|
99
|
-
***
|
|
100
|
-
|
|
101
|
-
### tools?
|
|
102
|
-
|
|
103
|
-
> `optional` **tools**: `Record`\<`string`, `string`\>
|
|
104
|
-
|
|
105
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:58](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L58)
|
|
106
|
-
|
|
107
|
-
#### Inherited from
|
|
108
|
-
|
|
109
|
-
[`AIChatMessageParamBase`](AIChatMessageParamBase.md).[`tools`](AIChatMessageParamBase.md#tools)
|
|
110
|
-
|
|
111
|
-
***
|
|
112
|
-
|
|
113
|
-
### toRole?
|
|
114
|
-
|
|
115
|
-
> `optional` **toRole**: `string` \| `string`[] \| `Record`\<`string`, `Partial`\<[`AIChatMessageParam`](../type-aliases/AIChatMessageParam.md)\>\>
|
|
116
|
-
|
|
117
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:55](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L55)
|
|
118
|
-
|
|
119
|
-
#### Inherited from
|
|
120
|
-
|
|
121
|
-
[`AIChatMessageParamBase`](AIChatMessageParamBase.md).[`toRole`](AIChatMessageParamBase.md#torole)
|
|
122
|
-
|
|
123
|
-
***
|
|
124
|
-
|
|
125
|
-
### updatedAt?
|
|
126
|
-
|
|
127
|
-
> `optional` **updatedAt**: `string` \| `Date`
|
|
128
|
-
|
|
129
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:104](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L104)
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
[**@isdk/ai-tool**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@isdk/ai-tool](../globals.md) / AIChatContentPartImage
|
|
6
|
-
|
|
7
|
-
# Interface: AIChatContentPartImage
|
|
8
|
-
|
|
9
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:86](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L86)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### image\_url
|
|
14
|
-
|
|
15
|
-
> **image\_url**: `object`
|
|
16
|
-
|
|
17
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:88](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L88)
|
|
18
|
-
|
|
19
|
-
#### url
|
|
20
|
-
|
|
21
|
-
> **url**: `string`
|
|
22
|
-
|
|
23
|
-
***
|
|
24
|
-
|
|
25
|
-
### type
|
|
26
|
-
|
|
27
|
-
> **type**: `"image_url"`
|
|
28
|
-
|
|
29
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:87](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L87)
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
[**@isdk/ai-tool**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@isdk/ai-tool](../globals.md) / AIChatContentPartText
|
|
6
|
-
|
|
7
|
-
# Interface: AIChatContentPartText
|
|
8
|
-
|
|
9
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:93](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L93)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### text
|
|
14
|
-
|
|
15
|
-
> **text**: `string`
|
|
16
|
-
|
|
17
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:95](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L95)
|
|
18
|
-
|
|
19
|
-
***
|
|
20
|
-
|
|
21
|
-
### type
|
|
22
|
-
|
|
23
|
-
> **type**: `"text"`
|
|
24
|
-
|
|
25
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:94](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L94)
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
[**@isdk/ai-tool**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@isdk/ai-tool](../globals.md) / AIChatMessageParamBase
|
|
6
|
-
|
|
7
|
-
# Interface: AIChatMessageParamBase
|
|
8
|
-
|
|
9
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:53](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L53)
|
|
10
|
-
|
|
11
|
-
## Extended by
|
|
12
|
-
|
|
13
|
-
- [`AIChatSystemMessageParam`](AIChatSystemMessageParam.md)
|
|
14
|
-
- [`AIChatUserMessageParam`](AIChatUserMessageParam.md)
|
|
15
|
-
- [`AIChatAssistantMessageParam`](AIChatAssistantMessageParam.md)
|
|
16
|
-
- [`AIChatToolMessageParam`](AIChatToolMessageParam.md)
|
|
17
|
-
|
|
18
|
-
## Indexable
|
|
19
|
-
|
|
20
|
-
\[`name`: `string`\]: `any`
|
|
21
|
-
|
|
22
|
-
## Properties
|
|
23
|
-
|
|
24
|
-
### private?
|
|
25
|
-
|
|
26
|
-
> `optional` **private**: `boolean`
|
|
27
|
-
|
|
28
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:57](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L57)
|
|
29
|
-
|
|
30
|
-
***
|
|
31
|
-
|
|
32
|
-
### replies?
|
|
33
|
-
|
|
34
|
-
> `optional` **replies**: `Record`\<`string`, `Partial`\<[`AIChatMessageParam`](../type-aliases/AIChatMessageParam.md)\>\>
|
|
35
|
-
|
|
36
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:56](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L56)
|
|
37
|
-
|
|
38
|
-
***
|
|
39
|
-
|
|
40
|
-
### role
|
|
41
|
-
|
|
42
|
-
> **role**: `string`
|
|
43
|
-
|
|
44
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:54](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L54)
|
|
45
|
-
|
|
46
|
-
***
|
|
47
|
-
|
|
48
|
-
### thinking?
|
|
49
|
-
|
|
50
|
-
> `optional` **thinking**: `string`
|
|
51
|
-
|
|
52
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:59](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L59)
|
|
53
|
-
|
|
54
|
-
***
|
|
55
|
-
|
|
56
|
-
### tools?
|
|
57
|
-
|
|
58
|
-
> `optional` **tools**: `Record`\<`string`, `string`\>
|
|
59
|
-
|
|
60
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:58](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L58)
|
|
61
|
-
|
|
62
|
-
***
|
|
63
|
-
|
|
64
|
-
### toRole?
|
|
65
|
-
|
|
66
|
-
> `optional` **toRole**: `string` \| `string`[] \| `Record`\<`string`, `Partial`\<[`AIChatMessageParam`](../type-aliases/AIChatMessageParam.md)\>\>
|
|
67
|
-
|
|
68
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:55](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L55)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
[**@isdk/ai-tool**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
[@isdk/ai-tool](../globals.md) / AIChatMessageToolCall
|
|
6
|
-
|
|
7
|
-
# Interface: AIChatMessageToolCall
|
|
8
|
-
|
|
9
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:108](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L108)
|
|
10
|
-
|
|
11
|
-
## Properties
|
|
12
|
-
|
|
13
|
-
### function
|
|
14
|
-
|
|
15
|
-
> **function**: `object`
|
|
16
|
-
|
|
17
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:111](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L111)
|
|
18
|
-
|
|
19
|
-
#### arguments
|
|
20
|
-
|
|
21
|
-
> **arguments**: `string`
|
|
22
|
-
|
|
23
|
-
#### name
|
|
24
|
-
|
|
25
|
-
> **name**: `string`
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
|
-
### id
|
|
30
|
-
|
|
31
|
-
> **id**: `string`
|
|
32
|
-
|
|
33
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:110](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L110)
|
|
34
|
-
|
|
35
|
-
***
|
|
36
|
-
|
|
37
|
-
### type
|
|
38
|
-
|
|
39
|
-
> **type**: `"function"`
|
|
40
|
-
|
|
41
|
-
Defined in: [packages/ai-tool/src/utils/chat.ts:109](https://github.com/isdk/ai-tool.js/blob/6a89194ac34437a1bc58f7ec590cd22976939ca6/src/utils/chat.ts#L109)
|