@isdk/ai-tool 0.1.0 → 0.1.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/dist/chunk-COXUI4Q3.mjs +1 -0
- package/dist/funcs.js +1 -1
- package/dist/funcs.mjs +1 -1
- package/dist/index.d.mts +112 -5
- package/dist/index.d.ts +112 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/test/util.mjs +1 -1
- package/docs/classes/AbortError.md +8 -8
- package/docs/classes/AlreadyExistsError.md +8 -8
- package/docs/classes/BaseError.md +8 -8
- package/docs/classes/CancelableAbility.md +20 -20
- package/docs/classes/ClientTools.md +74 -74
- package/docs/classes/CommonError.md +8 -8
- package/docs/classes/ConfigFile.md +19 -19
- package/docs/classes/EventClient.md +96 -96
- package/docs/classes/EventServer.md +97 -97
- package/docs/classes/EventToolFunc.md +65 -65
- package/docs/classes/FStringPromptTemplate.md +47 -47
- package/docs/classes/FewShotPromptTemplate.md +51 -51
- package/docs/classes/GolangPromptTemplate.md +47 -47
- package/docs/classes/HFEnvironment.md +9 -9
- package/docs/classes/HFInterpreter.md +19 -19
- package/docs/classes/HFTemplate.md +4 -4
- package/docs/classes/HfPromptTemplate.md +47 -47
- package/docs/classes/IntSet.md +12 -12
- package/docs/classes/NotFoundError.md +8 -8
- package/docs/classes/NotImplementationError.md +8 -8
- package/docs/classes/PromptExampleSelector.md +8 -8
- package/docs/classes/PromptTemplate.md +46 -46
- package/docs/classes/ReadableStreamError.md +8 -8
- package/docs/classes/ResClientTools.md +80 -80
- package/docs/classes/ResServerTools.md +81 -81
- package/docs/classes/SSEChannel.md +15 -15
- package/docs/classes/Semaphore.md +14 -14
- package/docs/classes/ServerTools.md +70 -70
- package/docs/classes/TaskAbortController.md +7 -7
- package/docs/classes/ToolFunc.md +62 -62
- package/docs/enums/AsyncFeatureBits.md +3 -3
- package/docs/enums/AsyncFeatures.md +3 -3
- package/docs/enums/ErrorCode.md +21 -21
- package/docs/enums/XXHashAlgorithm.md +2 -2
- package/docs/interfaces/AIChatAssistantMessageParam.md +6 -6
- package/docs/interfaces/AIChatContentPartImage.md +2 -2
- package/docs/interfaces/AIChatContentPartText.md +2 -2
- package/docs/interfaces/AIChatMessageParamBase.md +1 -1
- package/docs/interfaces/AIChatMessageToolCall.md +3 -3
- package/docs/interfaces/AIChatSystemMessageParam.md +3 -3
- package/docs/interfaces/AIChatToolMessageParam.md +4 -4
- package/docs/interfaces/AIChatUserMessageParam.md +7 -7
- package/docs/interfaces/AIChoiceConfig.md +85 -0
- package/docs/interfaces/AIResult.md +5 -5
- package/docs/interfaces/AIStreamParser.md +1 -1
- package/docs/interfaces/AIStreamParserOptions.md +1 -1
- package/docs/interfaces/BaseFunc.md +9 -9
- package/docs/interfaces/BaseFuncItem.md +8 -8
- package/docs/interfaces/CancelableAbilityOptions.md +8 -8
- package/docs/interfaces/ClientFuncItem.md +11 -11
- package/docs/interfaces/DotenvExpandOptions.md +3 -3
- package/docs/interfaces/DotenvExpandOutput.md +2 -2
- package/docs/interfaces/EventClientFuncParams.md +4 -4
- package/docs/interfaces/EventServerFuncParams.md +5 -5
- package/docs/interfaces/FewShotPromptTemplateOptions.md +11 -11
- package/docs/interfaces/FuncItem.md +9 -9
- package/docs/interfaces/FuncParam.md +6 -6
- package/docs/interfaces/ParseObjectArgumentOptions.md +63 -0
- package/docs/interfaces/PromptExampleSelectorOptions.md +2 -2
- package/docs/interfaces/PromptTemplateOptions.md +6 -6
- package/docs/interfaces/RemoteFuncItem.md +11 -11
- package/docs/interfaces/ResClientFuncParams.md +2 -2
- package/docs/interfaces/ResServerFuncParams.md +5 -5
- package/docs/interfaces/SanitizeFilenameOptions.md +2 -2
- package/docs/interfaces/ServerFuncItem.md +12 -12
- package/docs/interfaces/ServerFuncParams.md +2 -2
- package/docs/interfaces/StreamCallbacksAndOptions.md +4 -4
- package/docs/interfaces/TaskPromise.md +1 -1
- package/docs/interfaces/ToolFuncPackage.md +3 -3
- package/docs/modules.md +468 -151
- package/package.json +14 -10
- package/dist/chunk-U5DDQYSF.mjs +0 -1
- package/dist/chunk-W4ZFS46G.mjs +0 -1
- package/docs/interfaces/IOptions.md +0 -30
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
|
|
107
107
|
#### Defined in
|
|
108
108
|
|
|
109
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:50](https://github.com/isdk/ai-tool.js/blob/
|
|
109
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:50](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L50)
|
|
110
110
|
|
|
111
111
|
## Properties
|
|
112
112
|
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
|
|
121
121
|
#### Defined in
|
|
122
122
|
|
|
123
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:21](https://github.com/isdk/ai-tool.js/blob/
|
|
123
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:21](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L21)
|
|
124
124
|
|
|
125
125
|
___
|
|
126
126
|
|
|
@@ -134,7 +134,7 @@ ___
|
|
|
134
134
|
|
|
135
135
|
#### Defined in
|
|
136
136
|
|
|
137
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:24](https://github.com/isdk/ai-tool.js/blob/
|
|
137
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:24](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L24)
|
|
138
138
|
|
|
139
139
|
___
|
|
140
140
|
|
|
@@ -144,7 +144,7 @@ ___
|
|
|
144
144
|
|
|
145
145
|
#### Defined in
|
|
146
146
|
|
|
147
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:41](https://github.com/isdk/ai-tool.js/blob/
|
|
147
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:41](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L41)
|
|
148
148
|
|
|
149
149
|
___
|
|
150
150
|
|
|
@@ -154,7 +154,7 @@ ___
|
|
|
154
154
|
|
|
155
155
|
#### Defined in
|
|
156
156
|
|
|
157
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:43](https://github.com/isdk/ai-tool.js/blob/
|
|
157
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:43](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L43)
|
|
158
158
|
|
|
159
159
|
___
|
|
160
160
|
|
|
@@ -164,7 +164,7 @@ ___
|
|
|
164
164
|
|
|
165
165
|
#### Defined in
|
|
166
166
|
|
|
167
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:40](https://github.com/isdk/ai-tool.js/blob/
|
|
167
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:40](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L40)
|
|
168
168
|
|
|
169
169
|
___
|
|
170
170
|
|
|
@@ -178,7 +178,7 @@ ___
|
|
|
178
178
|
|
|
179
179
|
#### Defined in
|
|
180
180
|
|
|
181
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:25](https://github.com/isdk/ai-tool.js/blob/
|
|
181
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:25](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L25)
|
|
182
182
|
|
|
183
183
|
___
|
|
184
184
|
|
|
@@ -188,7 +188,7 @@ ___
|
|
|
188
188
|
|
|
189
189
|
#### Defined in
|
|
190
190
|
|
|
191
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:44](https://github.com/isdk/ai-tool.js/blob/
|
|
191
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:44](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L44)
|
|
192
192
|
|
|
193
193
|
___
|
|
194
194
|
|
|
@@ -198,7 +198,7 @@ ___
|
|
|
198
198
|
|
|
199
199
|
#### Defined in
|
|
200
200
|
|
|
201
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:42](https://github.com/isdk/ai-tool.js/blob/
|
|
201
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:42](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L42)
|
|
202
202
|
|
|
203
203
|
___
|
|
204
204
|
|
|
@@ -212,7 +212,7 @@ ___
|
|
|
212
212
|
|
|
213
213
|
#### Defined in
|
|
214
214
|
|
|
215
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:22](https://github.com/isdk/ai-tool.js/blob/
|
|
215
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:22](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L22)
|
|
216
216
|
|
|
217
217
|
___
|
|
218
218
|
|
|
@@ -226,7 +226,7 @@ ___
|
|
|
226
226
|
|
|
227
227
|
#### Defined in
|
|
228
228
|
|
|
229
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:23](https://github.com/isdk/ai-tool.js/blob/
|
|
229
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:23](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L23)
|
|
230
230
|
|
|
231
231
|
___
|
|
232
232
|
|
|
@@ -248,7 +248,7 @@ _Factory
|
|
|
248
248
|
|
|
249
249
|
#### Defined in
|
|
250
250
|
|
|
251
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
251
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:41
|
|
252
252
|
|
|
253
253
|
___
|
|
254
254
|
|
|
@@ -267,7 +267,7 @@ the key is alias name, the value is the registered name
|
|
|
267
267
|
|
|
268
268
|
#### Defined in
|
|
269
269
|
|
|
270
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
270
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:59
|
|
271
271
|
|
|
272
272
|
___
|
|
273
273
|
|
|
@@ -308,7 +308,7 @@ _baseNameOnly
|
|
|
308
308
|
|
|
309
309
|
#### Defined in
|
|
310
310
|
|
|
311
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
311
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:82
|
|
312
312
|
|
|
313
313
|
___
|
|
314
314
|
|
|
@@ -334,7 +334,7 @@ _children
|
|
|
334
334
|
|
|
335
335
|
#### Defined in
|
|
336
336
|
|
|
337
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
337
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:49
|
|
338
338
|
|
|
339
339
|
## Accessors
|
|
340
340
|
|
|
@@ -354,7 +354,7 @@ PromptTemplate.Factory
|
|
|
354
354
|
|
|
355
355
|
#### Defined in
|
|
356
356
|
|
|
357
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
357
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:63
|
|
358
358
|
|
|
359
359
|
___
|
|
360
360
|
|
|
@@ -374,7 +374,7 @@ PromptTemplate.aliases
|
|
|
374
374
|
|
|
375
375
|
#### Defined in
|
|
376
376
|
|
|
377
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
377
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:200
|
|
378
378
|
|
|
379
379
|
• `set` **aliases**(`value`): `void`
|
|
380
380
|
|
|
@@ -394,7 +394,7 @@ PromptTemplate.aliases
|
|
|
394
394
|
|
|
395
395
|
#### Defined in
|
|
396
396
|
|
|
397
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
397
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:196
|
|
398
398
|
|
|
399
399
|
## Methods
|
|
400
400
|
|
|
@@ -418,7 +418,7 @@ node_modules/.pnpm/custom-factory@2.3.0-alpha.6/node_modules/custom-factory/lib/
|
|
|
418
418
|
|
|
419
419
|
#### Defined in
|
|
420
420
|
|
|
421
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:69](https://github.com/isdk/ai-tool.js/blob/
|
|
421
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:69](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L69)
|
|
422
422
|
|
|
423
423
|
___
|
|
424
424
|
|
|
@@ -442,7 +442,7 @@ ___
|
|
|
442
442
|
|
|
443
443
|
#### Defined in
|
|
444
444
|
|
|
445
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:54](https://github.com/isdk/ai-tool.js/blob/
|
|
445
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:54](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L54)
|
|
446
446
|
|
|
447
447
|
___
|
|
448
448
|
|
|
@@ -468,7 +468,7 @@ Validate/filter the data in inputVariables
|
|
|
468
468
|
|
|
469
469
|
#### Defined in
|
|
470
470
|
|
|
471
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:62](https://github.com/isdk/ai-tool.js/blob/
|
|
471
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:62](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L62)
|
|
472
472
|
|
|
473
473
|
___
|
|
474
474
|
|
|
@@ -492,7 +492,7 @@ ___
|
|
|
492
492
|
|
|
493
493
|
#### Defined in
|
|
494
494
|
|
|
495
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:109](https://github.com/isdk/ai-tool.js/blob/
|
|
495
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:109](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L109)
|
|
496
496
|
|
|
497
497
|
___
|
|
498
498
|
|
|
@@ -516,7 +516,7 @@ ___
|
|
|
516
516
|
|
|
517
517
|
#### Defined in
|
|
518
518
|
|
|
519
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:96](https://github.com/isdk/ai-tool.js/blob/
|
|
519
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:96](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L96)
|
|
520
520
|
|
|
521
521
|
___
|
|
522
522
|
|
|
@@ -544,7 +544,7 @@ the new partial PromptTemplate instance
|
|
|
544
544
|
|
|
545
545
|
#### Defined in
|
|
546
546
|
|
|
547
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:139](https://github.com/isdk/ai-tool.js/blob/
|
|
547
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:139](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L139)
|
|
548
548
|
|
|
549
549
|
___
|
|
550
550
|
|
|
@@ -568,7 +568,7 @@ ___
|
|
|
568
568
|
|
|
569
569
|
#### Defined in
|
|
570
570
|
|
|
571
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:94](https://github.com/isdk/ai-tool.js/blob/
|
|
571
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:94](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L94)
|
|
572
572
|
|
|
573
573
|
___
|
|
574
574
|
|
|
@@ -594,7 +594,7 @@ find the real root factory
|
|
|
594
594
|
|
|
595
595
|
#### Defined in
|
|
596
596
|
|
|
597
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
597
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:99
|
|
598
598
|
|
|
599
599
|
___
|
|
600
600
|
|
|
@@ -618,7 +618,7 @@ ___
|
|
|
618
618
|
|
|
619
619
|
#### Defined in
|
|
620
620
|
|
|
621
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
621
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:234
|
|
622
622
|
|
|
623
623
|
___
|
|
624
624
|
|
|
@@ -647,7 +647,7 @@ return true if successful.
|
|
|
647
647
|
|
|
648
648
|
#### Defined in
|
|
649
649
|
|
|
650
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
650
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:145
|
|
651
651
|
|
|
652
652
|
___
|
|
653
653
|
|
|
@@ -673,7 +673,7 @@ remove all aliases of the registered item or itself
|
|
|
673
673
|
|
|
674
674
|
#### Defined in
|
|
675
675
|
|
|
676
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
676
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:162
|
|
677
677
|
|
|
678
678
|
___
|
|
679
679
|
|
|
@@ -700,7 +700,7 @@ Create a new object instance of Factory
|
|
|
700
700
|
|
|
701
701
|
#### Defined in
|
|
702
702
|
|
|
703
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
703
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:241
|
|
704
704
|
|
|
705
705
|
___
|
|
706
706
|
|
|
@@ -727,7 +727,7 @@ the root factory class
|
|
|
727
727
|
|
|
728
728
|
#### Defined in
|
|
729
729
|
|
|
730
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
730
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:92
|
|
731
731
|
|
|
732
732
|
___
|
|
733
733
|
|
|
@@ -753,7 +753,7 @@ executes a provided callback function once for each registered element.
|
|
|
753
753
|
|
|
754
754
|
#### Defined in
|
|
755
755
|
|
|
756
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
756
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:227
|
|
757
757
|
|
|
758
758
|
___
|
|
759
759
|
|
|
@@ -777,7 +777,7 @@ ___
|
|
|
777
777
|
|
|
778
778
|
#### Defined in
|
|
779
779
|
|
|
780
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:31](https://github.com/isdk/ai-tool.js/blob/
|
|
780
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:31](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L31)
|
|
781
781
|
|
|
782
782
|
___
|
|
783
783
|
|
|
@@ -805,7 +805,7 @@ A Promise that resolves to the formatted result if options is a template; otherw
|
|
|
805
805
|
|
|
806
806
|
#### Defined in
|
|
807
807
|
|
|
808
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:41](https://github.com/isdk/ai-tool.js/blob/
|
|
808
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:41](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L41)
|
|
809
809
|
|
|
810
810
|
___
|
|
811
811
|
|
|
@@ -835,7 +835,7 @@ defaults to returning the name unchanged. By overloading this method, case-insen
|
|
|
835
835
|
|
|
836
836
|
#### Defined in
|
|
837
837
|
|
|
838
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
838
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:116
|
|
839
839
|
|
|
840
840
|
___
|
|
841
841
|
|
|
@@ -864,7 +864,7 @@ the name to register
|
|
|
864
864
|
|
|
865
865
|
#### Defined in
|
|
866
866
|
|
|
867
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
867
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:130
|
|
868
868
|
|
|
869
869
|
___
|
|
870
870
|
|
|
@@ -894,7 +894,7 @@ ___
|
|
|
894
894
|
|
|
895
895
|
#### Defined in
|
|
896
896
|
|
|
897
|
-
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:46](https://github.com/isdk/ai-tool.js/blob/
|
|
897
|
+
[packages/ai-tool/src/utils/prompt/few-shot-prompt-template.ts:46](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/few-shot-prompt-template.ts#L46)
|
|
898
898
|
|
|
899
899
|
___
|
|
900
900
|
|
|
@@ -922,7 +922,7 @@ return the registered class if found the name
|
|
|
922
922
|
|
|
923
923
|
#### Defined in
|
|
924
924
|
|
|
925
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
925
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:233
|
|
926
926
|
|
|
927
927
|
___
|
|
928
928
|
|
|
@@ -950,7 +950,7 @@ aliases
|
|
|
950
950
|
|
|
951
951
|
#### Defined in
|
|
952
952
|
|
|
953
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
953
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:195
|
|
954
954
|
|
|
955
955
|
___
|
|
956
956
|
|
|
@@ -976,7 +976,7 @@ Get the display name from aClass
|
|
|
976
976
|
|
|
977
977
|
#### Defined in
|
|
978
978
|
|
|
979
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
979
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:206
|
|
980
980
|
|
|
981
981
|
___
|
|
982
982
|
|
|
@@ -1004,7 +1004,7 @@ the unique name in the factory
|
|
|
1004
1004
|
|
|
1005
1005
|
#### Defined in
|
|
1006
1006
|
|
|
1007
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1007
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:122
|
|
1008
1008
|
|
|
1009
1009
|
___
|
|
1010
1010
|
|
|
@@ -1028,7 +1028,7 @@ ___
|
|
|
1028
1028
|
|
|
1029
1029
|
#### Defined in
|
|
1030
1030
|
|
|
1031
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1031
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:100
|
|
1032
1032
|
|
|
1033
1033
|
___
|
|
1034
1034
|
|
|
@@ -1056,7 +1056,7 @@ the unique name in the factory
|
|
|
1056
1056
|
|
|
1057
1057
|
#### Defined in
|
|
1058
1058
|
|
|
1059
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1059
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:106
|
|
1060
1060
|
|
|
1061
1061
|
___
|
|
1062
1062
|
|
|
@@ -1080,7 +1080,7 @@ ___
|
|
|
1080
1080
|
|
|
1081
1081
|
#### Defined in
|
|
1082
1082
|
|
|
1083
|
-
[packages/ai-tool/src/utils/prompt/prompt-template.ts:48](https://github.com/isdk/ai-tool.js/blob/
|
|
1083
|
+
[packages/ai-tool/src/utils/prompt/prompt-template.ts:48](https://github.com/isdk/ai-tool.js/blob/645c3145aafa05351c48068783eb3c2f206ce4c5/src/utils/prompt/prompt-template.ts#L48)
|
|
1084
1084
|
|
|
1085
1085
|
___
|
|
1086
1086
|
|
|
@@ -1108,7 +1108,7 @@ return true if successful.
|
|
|
1108
1108
|
|
|
1109
1109
|
#### Defined in
|
|
1110
1110
|
|
|
1111
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1111
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:137
|
|
1112
1112
|
|
|
1113
1113
|
___
|
|
1114
1114
|
|
|
@@ -1136,7 +1136,7 @@ the registered class if registered, otherwise returns false
|
|
|
1136
1136
|
|
|
1137
1137
|
#### Defined in
|
|
1138
1138
|
|
|
1139
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1139
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:151
|
|
1140
1140
|
|
|
1141
1141
|
___
|
|
1142
1142
|
|
|
@@ -1162,7 +1162,7 @@ remove specified aliases
|
|
|
1162
1162
|
|
|
1163
1163
|
#### Defined in
|
|
1164
1164
|
|
|
1165
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1165
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:167
|
|
1166
1166
|
|
|
1167
1167
|
___
|
|
1168
1168
|
|
|
@@ -1189,7 +1189,7 @@ set alias to a class
|
|
|
1189
1189
|
|
|
1190
1190
|
#### Defined in
|
|
1191
1191
|
|
|
1192
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1192
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:189
|
|
1193
1193
|
|
|
1194
1194
|
___
|
|
1195
1195
|
|
|
@@ -1228,7 +1228,7 @@ import { BaseFactory } from 'custom-factory'
|
|
|
1228
1228
|
|
|
1229
1229
|
#### Defined in
|
|
1230
1230
|
|
|
1231
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1231
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:183
|
|
1232
1232
|
|
|
1233
1233
|
___
|
|
1234
1234
|
|
|
@@ -1255,7 +1255,7 @@ Set the display name to the aClass
|
|
|
1255
1255
|
|
|
1256
1256
|
#### Defined in
|
|
1257
1257
|
|
|
1258
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1258
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:212
|
|
1259
1259
|
|
|
1260
1260
|
___
|
|
1261
1261
|
|
|
@@ -1283,4 +1283,4 @@ true means successful
|
|
|
1283
1283
|
|
|
1284
1284
|
#### Defined in
|
|
1285
1285
|
|
|
1286
|
-
node_modules/.pnpm/custom-factory@2.3.0
|
|
1286
|
+
node_modules/.pnpm/custom-factory@2.3.0/node_modules/custom-factory/lib/base-factory.d.ts:157
|