apexify.js 3.3.11 → 4.0.0
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 +183 -0
- package/dist/ai/ApexAI.d.ts +88 -8
- package/dist/ai/ApexAI.d.ts.map +1 -1
- package/dist/ai/ApexAI.js +61 -161
- package/dist/ai/ApexAI.js.map +1 -1
- package/dist/ai/direct-use.d.ts +9 -0
- package/dist/ai/direct-use.d.ts.map +1 -0
- package/dist/ai/direct-use.js +572 -0
- package/dist/ai/direct-use.js.map +1 -0
- package/dist/ai/functions/Gemini.d.ts +6 -0
- package/dist/ai/functions/Gemini.d.ts.map +1 -0
- package/dist/ai/functions/Gemini.js +103 -0
- package/dist/ai/functions/Gemini.js.map +1 -0
- package/dist/ai/functions/draw.d.ts +2 -1
- package/dist/ai/functions/draw.d.ts.map +1 -1
- package/dist/ai/functions/draw.js +476 -102
- package/dist/ai/functions/draw.js.map +1 -1
- package/dist/ai/functions/generateVoiceResponse.d.ts +3 -1
- package/dist/ai/functions/generateVoiceResponse.d.ts.map +1 -1
- package/dist/ai/functions/generateVoiceResponse.js +29 -18
- package/dist/ai/functions/generateVoiceResponse.js.map +1 -1
- package/dist/ai/functions/typeWriter.d.ts +1 -1
- package/dist/ai/functions/typeWriter.d.ts.map +1 -1
- package/dist/ai/functions/typeWriter.js +3 -2
- package/dist/ai/functions/typeWriter.js.map +1 -1
- package/dist/ai/functions/validOptions.d.ts +10 -0
- package/dist/ai/functions/validOptions.d.ts.map +1 -0
- package/dist/ai/functions/validOptions.js +130 -0
- package/dist/ai/functions/validOptions.js.map +1 -0
- package/dist/ai/modals-chat/Gemini-flash.d.ts +6 -0
- package/dist/ai/modals-chat/Gemini-flash.d.ts.map +1 -0
- package/dist/ai/modals-chat/Gemini-flash.js +111 -0
- package/dist/ai/modals-chat/Gemini-flash.js.map +1 -0
- package/dist/ai/modals-chat/Gemini-pro.d.ts +6 -0
- package/dist/ai/modals-chat/Gemini-pro.d.ts.map +1 -0
- package/dist/ai/modals-chat/Gemini-pro.js +96 -0
- package/dist/ai/modals-chat/Gemini-pro.js.map +1 -0
- package/dist/ai/modals-chat/apexChat.d.ts +2 -0
- package/dist/ai/modals-chat/apexChat.d.ts.map +1 -0
- package/dist/ai/modals-chat/apexChat.js +33 -0
- package/dist/ai/modals-chat/apexChat.js.map +1 -0
- package/dist/ai/modals-chat/config.d.ts +5 -0
- package/dist/ai/modals-chat/config.d.ts.map +1 -0
- package/dist/ai/modals-chat/config.js +13 -0
- package/dist/ai/modals-chat/config.js.map +1 -0
- package/dist/ai/modals-chat/facebook-ai.d.ts +2 -0
- package/dist/ai/modals-chat/facebook-ai.d.ts.map +1 -0
- package/dist/ai/modals-chat/facebook-ai.js +21 -0
- package/dist/ai/modals-chat/facebook-ai.js.map +1 -0
- package/dist/ai/modals-chat/gemma.d.ts +3 -0
- package/dist/ai/modals-chat/gemma.d.ts.map +1 -0
- package/dist/ai/modals-chat/gemma.js +54 -0
- package/dist/ai/modals-chat/gemma.js.map +1 -0
- package/dist/ai/modals-chat/modals.d.ts +8 -0
- package/dist/ai/modals-chat/modals.d.ts.map +1 -0
- package/dist/ai/modals-chat/modals.js +16 -0
- package/dist/ai/modals-chat/modals.js.map +1 -0
- package/dist/ai/modals-chat/starChat.d.ts +2 -0
- package/dist/ai/modals-chat/starChat.d.ts.map +1 -0
- package/dist/ai/modals-chat/starChat.js +32 -0
- package/dist/ai/modals-chat/starChat.js.map +1 -0
- package/dist/ai/modals-chat/yi-ai.d.ts +2 -0
- package/dist/ai/modals-chat/yi-ai.d.ts.map +1 -0
- package/dist/ai/modals-chat/yi-ai.js +41 -0
- package/dist/ai/modals-chat/yi-ai.js.map +1 -0
- package/dist/ai/utils.d.ts +3 -2
- package/dist/ai/utils.d.ts.map +1 -1
- package/dist/ai/utils.js +6 -4
- package/dist/ai/utils.js.map +1 -1
- package/dist/canvas/utils/general functions.js +1 -1
- package/dist/canvas/utils/general functions.js.map +1 -1
- package/lib/ai/ApexAI.ts +215 -193
- package/lib/ai/{models.ts → direct-use.ts} +9 -12
- package/lib/ai/functions/draw.ts +479 -83
- package/lib/ai/functions/generateVoiceResponse.ts +16 -8
- package/lib/ai/functions/typeWriter.ts +4 -2
- package/lib/ai/functions/validOptions.ts +210 -0
- package/lib/ai/modals-chat/Gemini-flash.ts +108 -0
- package/lib/ai/modals-chat/Gemini-pro.ts +93 -0
- package/lib/ai/modals-chat/apexChat.ts +31 -0
- package/lib/ai/modals-chat/config.ts +11 -0
- package/lib/ai/modals-chat/facebook-ai.ts +14 -0
- package/lib/ai/modals-chat/modals.ts +8 -0
- package/lib/ai/modals-chat/starChat.ts +31 -0
- package/lib/ai/modals-chat/yi-ai.ts +40 -0
- package/lib/ai/utils.ts +3 -1
- package/lib/canvas/utils/general functions.ts +1 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -17,6 +17,8 @@ Sure, here's a more polished version:
|
|
|
17
17
|
- **Image Generator:** Generate images using cutting-edge AI algorithms.
|
|
18
18
|
- **Image Analysis:** Analyze images with AI for insights and understanding.
|
|
19
19
|
- **PDF & Text Reader:** Effortlessly extract text from PDF files or other documents.
|
|
20
|
+
- **AI Personality:** Personalize your interactions with the AI chatbot by defining its personality traits and characteristics.
|
|
21
|
+
- **Chat Memory:** Enable the AI chatbot to remember past interactions and maintain context across conversations, providing a more personalized and coherent experience.
|
|
20
22
|
|
|
21
23
|
### 📸 Canvas Image Manipulation Toolkit 🎨
|
|
22
24
|
|
|
@@ -53,3 +55,184 @@ Sure, here's a more polished version:
|
|
|
53
55
|
1.**Voice Messages:** Currently in beta, occasional disruptions may occur.
|
|
54
56
|
|
|
55
57
|
Keep experimenting, and feel free to contact me for assistance! Suggestions and adjustments are welcome. 🌟
|
|
58
|
+
|
|
59
|
+
### Valid Modals
|
|
60
|
+
|
|
61
|
+
- **Chat-Modals**
|
|
62
|
+
|
|
63
|
+
<details>
|
|
64
|
+
|
|
65
|
+
- v3
|
|
66
|
+
- v3-32k
|
|
67
|
+
- turbo
|
|
68
|
+
- turbo-16k
|
|
69
|
+
- gemini
|
|
70
|
+
- gemini-pro
|
|
71
|
+
- gemini-flash
|
|
72
|
+
- starChat
|
|
73
|
+
- apexChat
|
|
74
|
+
- yi-ai
|
|
75
|
+
- facebook-ai
|
|
76
|
+
|
|
77
|
+
</details>
|
|
78
|
+
|
|
79
|
+
- **Image-Modals**
|
|
80
|
+
|
|
81
|
+
<details>
|
|
82
|
+
|
|
83
|
+
- v1
|
|
84
|
+
- v2
|
|
85
|
+
- v2-beta
|
|
86
|
+
- v3
|
|
87
|
+
- lexica
|
|
88
|
+
- prodia
|
|
89
|
+
- animefy
|
|
90
|
+
- raava
|
|
91
|
+
- shonin
|
|
92
|
+
- animagineXLV3_v30.safetensors [75f2f05b]
|
|
93
|
+
- dreamshaperXL10_alpha2.safetensors [c8afe2ef]
|
|
94
|
+
- dynavisionXL_0411.safetensors [c39cc051]
|
|
95
|
+
- juggernautXL_v45.safetensors [e75f5471]
|
|
96
|
+
- realismEngineSDXL_v10.safetensors [af771c3f]
|
|
97
|
+
- realvisxlV40.safetensors [f7fdcb51]
|
|
98
|
+
- sd_xl_base_1.0.safetensors [be9edd61]
|
|
99
|
+
- sd_xl_base_1.0_inpainting_0.1.safetensors [5679a81a]
|
|
100
|
+
- turbovisionXL_v431.safetensors [78890989]
|
|
101
|
+
- 3Guofeng3_v34.safetensors [50f420de]
|
|
102
|
+
- absolutereality_V16.safetensors [37db0fc3]
|
|
103
|
+
- absolutereality_v181.safetensors [3d9d4d2b]
|
|
104
|
+
- amIReal_V41.safetensors [0a8a2e61]
|
|
105
|
+
- analog-diffusion-1.0.ckpt [9ca13f02]
|
|
106
|
+
- anythingv3_0-pruned.ckpt [2700c435]
|
|
107
|
+
- anything-v4.5-pruned.ckpt [65745d25]
|
|
108
|
+
- anythingV5_PrtRE.safetensors [893e49b9]
|
|
109
|
+
- AOM3A3_orangemixs.safetensors [9600da17]
|
|
110
|
+
- blazing_drive_v10g.safetensors [ca1c1eab]
|
|
111
|
+
- cetusMix_Version35.safetensors [de2f2560]
|
|
112
|
+
- childrensStories_v13D.safetensors [9dfaabcb]
|
|
113
|
+
- childrensStories_v1SemiReal.safetensors [a1c56dbb]
|
|
114
|
+
- childrensStories_v1ToonAnime.safetensors [2ec7b88b]
|
|
115
|
+
- Counterfeit_v30.safetensors [9e2a8f19]
|
|
116
|
+
- cuteyukimixAdorable_midchapter3.safetensors [04bdffe6]
|
|
117
|
+
- cyberrealistic_v33.safetensors [82b0d085]
|
|
118
|
+
- dalcefo_v4.safetensors [425952fe]
|
|
119
|
+
- deliberate_v2.safetensors [10ec4b29]
|
|
120
|
+
- deliberate_v3.safetensors [afd9d2d4]
|
|
121
|
+
- dreamlike-anime-1.0.safetensors [4520e090]
|
|
122
|
+
- dreamlike-diffusion-1.0.safetensors [5c9fd6e0]
|
|
123
|
+
- dreamlike-photoreal-2.0.safetensors [fdcf65e7]
|
|
124
|
+
- dreamshaper_6BakedVae.safetensors [114c8abb]
|
|
125
|
+
- dreamshaper_7.safetensors [5cf5ae06]
|
|
126
|
+
- dreamshaper_8.safetensors [9d40847d]
|
|
127
|
+
- edgeOfRealism_eorV20.safetensors [3ed5de15]
|
|
128
|
+
- EimisAnimeDiffusion_V1.ckpt [4f828a15]
|
|
129
|
+
- elldreths-vivid-mix.safetensors [342d9d26]
|
|
130
|
+
- epicrealism_naturalSinRC1VAE.safetensors [90a4c676]
|
|
131
|
+
- ICantBelieveItsNotPhotography_seco.safetensors [4e7a3dfd]
|
|
132
|
+
- juggernaut_aftermath.safetensors [5e20c455]
|
|
133
|
+
- lofi_v4.safetensors [ccc204d6]
|
|
134
|
+
- lyriel_v16.safetensors [68fceea2]
|
|
135
|
+
- majicmixRealistic_v4.safetensors [29d0de58]
|
|
136
|
+
- mechamix_v10.safetensors [ee685731]
|
|
137
|
+
- meinamix_meinaV9.safetensors [2ec66ab0]
|
|
138
|
+
- meinamix_meinaV11.safetensors [b56ce717]
|
|
139
|
+
- neverendingDream_v122.safetensors [f964ceeb]
|
|
140
|
+
- openjourney_V4.ckpt [ca2f377f]
|
|
141
|
+
- pastelMixStylizedAnime_pruned_fp16.safetensors [793a26e8]
|
|
142
|
+
- portraitplus_V1.0.safetensors [1400e684]
|
|
143
|
+
- protogenx34.safetensors [5896f8d5]
|
|
144
|
+
- Realistic_Vision_V1.4-pruned-fp16.safetensors [8d21810b]
|
|
145
|
+
- Realistic_Vision_V2.0.safetensors [79587710]
|
|
146
|
+
- Realistic_Vision_V4.0.safetensors [29a7afaa]
|
|
147
|
+
- Realistic_Vision_V5.0.safetensors [614d1063]
|
|
148
|
+
- redshift_diffusion-V10.safetensors [1400e684]
|
|
149
|
+
- revAnimated_v122.safetensors [3f4fefd9]
|
|
150
|
+
- rundiffusionFX25D_v10.safetensors [cd12b0ee]
|
|
151
|
+
- rundiffusionFX_v10.safetensors [cd4e694d]
|
|
152
|
+
- sdv1_4.ckpt [7460a6fa]
|
|
153
|
+
- v1-5-pruned-emaonly.safetensors [d7049739]
|
|
154
|
+
- v1-5-inpainting.safetensors [21c7ab71]
|
|
155
|
+
- shoninsBeautiful_v10.safetensors [25d8c546]
|
|
156
|
+
- theallys-mix-ii-churned.safetensors [5d9225a4]
|
|
157
|
+
- timeless-1.0.ckpt [7c4971d4]
|
|
158
|
+
- toonyou_beta6.safetensors [980f6b15]
|
|
159
|
+
|
|
160
|
+
</details>
|
|
161
|
+
|
|
162
|
+
- **Enhancer-Modals**
|
|
163
|
+
|
|
164
|
+
<details>
|
|
165
|
+
|
|
166
|
+
- ESRGAN_4x
|
|
167
|
+
- lanczos
|
|
168
|
+
- Nearest
|
|
169
|
+
- LDSR
|
|
170
|
+
- R-ESRGAN 4x+
|
|
171
|
+
- R-ESRGAN 4x+ Anime6B
|
|
172
|
+
- ScuNET GAN
|
|
173
|
+
- ScuNET PSNR
|
|
174
|
+
- SwinIR 4x
|
|
175
|
+
|
|
176
|
+
</details>
|
|
177
|
+
|
|
178
|
+
- **Image-Style**
|
|
179
|
+
|
|
180
|
+
<details>
|
|
181
|
+
|
|
182
|
+
- 3d-model
|
|
183
|
+
- analog-film
|
|
184
|
+
- anime
|
|
185
|
+
- cinematic
|
|
186
|
+
- comic-book
|
|
187
|
+
- digital-art
|
|
188
|
+
- enhance
|
|
189
|
+
- isometric
|
|
190
|
+
- fantasy-art
|
|
191
|
+
- isometric
|
|
192
|
+
- line-art
|
|
193
|
+
- low-poly
|
|
194
|
+
- neon-punk
|
|
195
|
+
- origami
|
|
196
|
+
- photographic
|
|
197
|
+
- pixel-art
|
|
198
|
+
- texture
|
|
199
|
+
- craft-clay
|
|
200
|
+
|
|
201
|
+
</details>
|
|
202
|
+
|
|
203
|
+
- **Samplers**
|
|
204
|
+
|
|
205
|
+
<details>
|
|
206
|
+
|
|
207
|
+
- DPM++ 2M Karras
|
|
208
|
+
- DPM++ SDE Karras
|
|
209
|
+
- DPM++ 2M SDE Exponential
|
|
210
|
+
- DPM++ 2M SDE Karras
|
|
211
|
+
- Euler a
|
|
212
|
+
- Euler
|
|
213
|
+
- LMS
|
|
214
|
+
- Heun
|
|
215
|
+
- DPM2
|
|
216
|
+
- DPM2 a
|
|
217
|
+
- DPM++ 2S a
|
|
218
|
+
- DPM++ 2M
|
|
219
|
+
- DPM++ SDE
|
|
220
|
+
- DPM++ 2M SDE
|
|
221
|
+
- DPM++ 2M SDE Heun
|
|
222
|
+
- DPM++ 2M SDE Heun Karras
|
|
223
|
+
- DPM++ 2M SDE Heun Exponential
|
|
224
|
+
- DPM++ 3M SDE
|
|
225
|
+
- DPM++ 3M SDE Karras
|
|
226
|
+
- DPM++ 3M SDE Exponential
|
|
227
|
+
- DPM fast
|
|
228
|
+
- DPM adaptive
|
|
229
|
+
- LMS Karras
|
|
230
|
+
- DPM2 Karras
|
|
231
|
+
- DPM2 a Karras
|
|
232
|
+
- DPM++ 2S a Karras
|
|
233
|
+
- Restart
|
|
234
|
+
- DDIM
|
|
235
|
+
- PLMS
|
|
236
|
+
- UniPC
|
|
237
|
+
|
|
238
|
+
</details>
|
package/dist/ai/ApexAI.d.ts
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
|
+
import { ImageModals } from './functions/validOptions';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration options for the Gemini Flash functionality.
|
|
4
|
+
*/
|
|
1
5
|
export interface Options {
|
|
6
|
+
/**
|
|
7
|
+
* Configuration options related to voice functionality.
|
|
8
|
+
* @param voice.textVoice Configuration options for text-to-voice functionality.
|
|
9
|
+
* @param voice.textVoice.enable Whether text-to-voice functionality is enabled.
|
|
10
|
+
* @param voice.textVoice.voiceModal The voice modal to be used.
|
|
11
|
+
* @param voice.textVoice.voice_code The voice code only for (apexAI and zenithAI modal).
|
|
12
|
+
* @param voice.textVoice.apiKey The API key for accessing the voice service only for (apexAI and zenithAI modal).
|
|
13
|
+
* @param voice.textVoice.type The type of voice only for (apexAI and zenithAI modal).
|
|
14
|
+
*/
|
|
2
15
|
voice?: {
|
|
3
16
|
textVoice?: {
|
|
4
17
|
enable?: boolean;
|
|
@@ -8,32 +21,104 @@ export interface Options {
|
|
|
8
21
|
type?: string;
|
|
9
22
|
};
|
|
10
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* Configuration options related to image generation.
|
|
26
|
+
* @param imagine.enable Whether image generation is enabled.
|
|
27
|
+
* @param imagine.drawTrigger The trigger phrases for initiating image generation.
|
|
28
|
+
* @param imagine.imageModal The modal for the image generation.
|
|
29
|
+
* @param imagine.numOfImages The number of images to generate.
|
|
30
|
+
* @param imagine.nsfw Configuration options for NSFW filtering.
|
|
31
|
+
* @param imagine.nsfw.enable Whether NSFW filtering is enabled.
|
|
32
|
+
* @param imagine.nsfw.keywords Keywords for NSFW filtering.
|
|
33
|
+
* @param imagine.enhancer Configuration options for image enhancement.
|
|
34
|
+
* @param imagine.enhancer.enable Whether image enhancement is enabled (rewrites your prompt in more descriptive way).
|
|
35
|
+
* @param imagine.enhancer.enhancerModal The modal for image enhancement only for (Prodia modals).
|
|
36
|
+
* @param imagine.enhancer.cfg_scale The scale for image enhancement only for (Prodia modals).
|
|
37
|
+
* @param imagine.enhancer.steps The number of enhancement steps only for (Prodia modals).
|
|
38
|
+
* @param imagine.enhancer.seed The seed for image enhancement only for (Prodia modals).
|
|
39
|
+
* @param imagine.enhancer.imgStyle The style of the image only for (Prodia modals).
|
|
40
|
+
* @param imagine.enhancer.negative_prompt The negative prompt for image enhancement only for (Prodia modals).
|
|
41
|
+
* @param imagine.enhancer.sampler The sampler for image enhancement only for (Prodia modals).
|
|
42
|
+
*/
|
|
11
43
|
imagine?: {
|
|
12
44
|
enable?: boolean;
|
|
13
45
|
drawTrigger?: string[];
|
|
14
|
-
imageModal?:
|
|
46
|
+
imageModal?: ImageModals;
|
|
15
47
|
numOfImages?: number;
|
|
16
48
|
nsfw?: {
|
|
17
49
|
enable?: boolean;
|
|
18
50
|
keywords?: string[];
|
|
51
|
+
deepCheck?: boolean;
|
|
52
|
+
};
|
|
53
|
+
enhancer?: {
|
|
54
|
+
enable: boolean;
|
|
55
|
+
enhancerModal?: string | "ESRGAN_4x" | "Lanczos" | "Nearest" | "LDSR" | "R-ESRGAN 4x+" | "R-ESRGAN 4x+ Anime6B" | "ScuNET GAN" | "ScuNET PSNR" | "SwinIR 4x" | undefined;
|
|
56
|
+
cfg_scale?: number;
|
|
57
|
+
steps?: number;
|
|
58
|
+
seed?: number;
|
|
59
|
+
imgStyle?: string | "3d-model" | "analog-film" | "anime" | "cinematic" | "comic-book" | "digital-art" | "enhance" | "isometric" | "fantasy-art" | "isometric" | "line-art" | "low-poly" | "neon-punk" | "origami" | "photographic" | "pixel-art" | "texture" | "craft-clay";
|
|
60
|
+
negative_prompt?: string;
|
|
61
|
+
sampler?: string | "DPM++ 2M Karras" | "DPM++ SDE Karras" | "DPM++ 2M SDE Exponential" | "DPM++ 2M SDE Karras" | "Euler a" | "Euler" | "LMS" | "Heun" | "DPM2" | "DPM2 a" | "DPM++ 2S a" | "DPM++ 2M" | "DPM++ SDE" | "DPM++ 2M SDE" | "DPM++ 2M SDE Heun" | "DPM++ 2M SDE Heun Karras" | "DPM++ 2M SDE Heun Exponential" | "DPM++ 3M SDE" | "DPM++ 3M SDE Karras" | "DPM++ 3M SDE Exponential" | "DPM fast" | "DPM adaptive" | "LMS Karras" | "DPM2 Karras" | "DPM2 a Karras" | "DPM++ 2S a Karras" | "Restart" | "DDIM" | "PLMS" | "UniPC";
|
|
19
62
|
};
|
|
20
|
-
enhancer?: boolean;
|
|
21
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* Configuration options related to chat functionality.
|
|
66
|
+
* @param chat.chatModal The chat modal to be used.
|
|
67
|
+
* @param chat.readFiles Whether to read files.
|
|
68
|
+
* @param chat.readImages Whether to read images.
|
|
69
|
+
* @param chat.personality The personality for the chat.
|
|
70
|
+
* @param chat.API_KEY The API key for accessing the chat service.
|
|
71
|
+
* @param chat.memory Configuration options for memory.
|
|
72
|
+
* @param chat.memory.memoryOn Whether memory is enabled.
|
|
73
|
+
* @param chat.memory.id The ID for memory.
|
|
74
|
+
* @param chat.typeWriting Configuration options for typing effect.
|
|
75
|
+
* @param chat.typeWriting.enable Whether the typing effect is enabled.
|
|
76
|
+
* @param chat.typeWriting.speed The speed of typing.
|
|
77
|
+
* @param chat.typeWriting.delay The delay for typing.
|
|
78
|
+
*/
|
|
22
79
|
chat?: {
|
|
23
80
|
chatModal?: string;
|
|
24
81
|
readFiles?: boolean;
|
|
25
82
|
readImages?: boolean;
|
|
83
|
+
personality?: string | any;
|
|
84
|
+
API_KEY?: string;
|
|
85
|
+
memory?: {
|
|
86
|
+
memoryOn: boolean;
|
|
87
|
+
id: string;
|
|
88
|
+
};
|
|
26
89
|
typeWriting?: {
|
|
27
90
|
enable?: boolean;
|
|
28
91
|
speed?: number;
|
|
29
92
|
delay?: number;
|
|
30
93
|
};
|
|
31
94
|
};
|
|
95
|
+
/**
|
|
96
|
+
* Additional configuration options.
|
|
97
|
+
* @param others.messageType Configuration options for message types.
|
|
98
|
+
* @param others.messageType.type The type of message.
|
|
99
|
+
* @param others.messageType.intialContent The initial content of the message.
|
|
100
|
+
* @param others.buttons Buttons configuration.
|
|
101
|
+
* @param others.keywords Keywords for response.
|
|
102
|
+
* @param others.keywordResponses Responses for keywords.
|
|
103
|
+
* @param others.loader Configuration options for loader.
|
|
104
|
+
* @param others.loader.enable Whether the loader is enabled.
|
|
105
|
+
* @param others.loader.loadingMessage The loading message.
|
|
106
|
+
* @param others.loader.loadingTimer The loading timer.
|
|
107
|
+
* @param others.channel Configuration options for channels.
|
|
108
|
+
* @param others.channel.enable Whether channels are enabled.
|
|
109
|
+
* @param others.channel.id The ID of the channels.
|
|
110
|
+
* @param others.permissions Configuration options for permissions.
|
|
111
|
+
* @param others.permissions.enable Whether permissions are enabled.
|
|
112
|
+
* @param others.permissions.role The role for permissions.
|
|
113
|
+
* @param others.permissions.permission The permission.
|
|
114
|
+
* @param others.permissions.blockedUsers Blocked users.
|
|
115
|
+
*/
|
|
32
116
|
others?: {
|
|
33
|
-
messageType
|
|
117
|
+
messageType?: {
|
|
34
118
|
type: string;
|
|
35
119
|
intialContent: string;
|
|
36
120
|
};
|
|
121
|
+
buttons?: any[];
|
|
37
122
|
keywords?: string[];
|
|
38
123
|
keywordResponses?: Record<string, string>;
|
|
39
124
|
loader?: {
|
|
@@ -54,9 +139,4 @@ export interface Options {
|
|
|
54
139
|
};
|
|
55
140
|
}
|
|
56
141
|
export declare function ApexAI(message: any, aiOptions: Options): Promise<any>;
|
|
57
|
-
export declare function gemmaAi_4(prompt: string): Promise<any>;
|
|
58
|
-
export declare function gemmaAi_3(prompt: string): Promise<any>;
|
|
59
|
-
export declare function apexai(prompt: string): Promise<any>;
|
|
60
|
-
export declare function starChat(prompt: string): Promise<any>;
|
|
61
|
-
export declare function zephyr_beta(prompt: string): Promise<any>;
|
|
62
142
|
//# sourceMappingURL=ApexAI.d.ts.map
|
package/dist/ai/ApexAI.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApexAI.d.ts","sourceRoot":"","sources":["../../lib/ai/ApexAI.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApexAI.d.ts","sourceRoot":"","sources":["../../lib/ai/ApexAI.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE;QACJ,SAAS,CAAC,EAAE;YACR,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,IAAI,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;KACL,CAAC;IACF;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,EAAE;QACN,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,UAAU,CAAC,EAAE,WAAW,CAAC;QACzB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,IAAI,CAAC,EAAE;YACH,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;YACpB,SAAS,CAAC,EAAE,OAAO,CAAC;SACvB,CAAC;QACF,QAAQ,CAAC,EAAE;YACP,MAAM,EAAE,OAAO,CAAC;YAChB,aAAa,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,cAAc,GAAG,sBAAsB,GAAG,YAAY,GAAG,aAAa,GAAG,WAAW,GAAG,SAAS,CAAC;YACzK,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,QAAQ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