@kudoai/ai-personas 1.1.0 → 1.3.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 +86 -10
- package/dist/ai-personas.json +4790 -4669
- package/dist/ai-personas.min.json +1 -0
- package/dist/index.js +1 -1
- package/docs/README.md +86 -10
- package/docs/licenses/LICENSE-CODE.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# > ai-personas
|
|
4
4
|
|
|
5
|
-
<a href="https://
|
|
6
|
-
<img height=31 src="https://img.shields.io/
|
|
5
|
+
<a href="https://npm-compare.com/@kudoai/ai-personas/#timeRange=ALL">
|
|
6
|
+
<img height=31 src="https://img.shields.io/npm/dm/@kudoai/ai-personas?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
7
|
+
<a href="https://github.com/KudoAI/ai-personas/releases/tag/node.js-v1.3.0">
|
|
8
|
+
<img height=31 src="https://img.shields.io/badge/Latest_Build-1.3.0-32fcee.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
7
9
|
<a href="#%EF%B8%8F-license">
|
|
8
10
|
<img height=31 src="https://img.shields.io/badge/License-CC0--1.0/MIT-f99b27.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
9
11
|
<a href="https://www.codefactor.io/repository/github/KudoAI/ai-personas">
|
|
@@ -11,9 +13,11 @@
|
|
|
11
13
|
<a href="https://sonarcloud.io/component_measures?metric=vulnerabilities&selected=KudoAI_ai-personas%3Anode.js&id=KudoAI_ai-personas">
|
|
12
14
|
<img height=31 src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3DKudoAI_ai-personas%3Anode.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonar&logoColor=white&labelColor=464646&label=Vulnerabilities&color=gold"></a>
|
|
13
15
|
|
|
14
|
-
> ### _1,
|
|
16
|
+
> ### _1,200+ AI personas for LLMs and agents._
|
|
15
17
|
|
|
16
|
-
It's just a [JSON file](https://cdn.jsdelivr.net/
|
|
18
|
+
It's just a [JSON file](https://cdn.jsdelivr.net/npm/@kudoai/ai-personas@1.2.0/dist/ai-personas.json), so you can use it in any environment.
|
|
19
|
+
|
|
20
|
+
<a href="#"><img style="height:10px ; width:100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@6b0d399/assets/images/separators/aqua-gradient.png"></a>
|
|
17
21
|
|
|
18
22
|
## ⚡ Installation
|
|
19
23
|
|
|
@@ -23,9 +27,11 @@ From your project root:
|
|
|
23
27
|
npm install @kudoai/ai-personas
|
|
24
28
|
```
|
|
25
29
|
|
|
30
|
+
<hr>
|
|
31
|
+
|
|
26
32
|
## 🔌 Usage
|
|
27
33
|
|
|
28
|
-
#### ES Modules (ESM):
|
|
34
|
+
#### <a href="#-es-modules-esm"><img height=13 width="auto" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@dbdea4b/assets/images/icons/module-systems/esm/icon32.png"></a> ES Modules (ESM):
|
|
29
35
|
|
|
30
36
|
```js
|
|
31
37
|
import personas from '@kudoai/ai-personas'
|
|
@@ -34,7 +40,7 @@ console.log(personas['Linux Terminal'].prompt)
|
|
|
34
40
|
// => I want you to act as a linux terminal. I will type commands and you will...
|
|
35
41
|
```
|
|
36
42
|
|
|
37
|
-
#### CommonJS (CJS):
|
|
43
|
+
#### <a href="#-commonjs-cjs"><img height=13 width="auto" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@dbdea4b/assets/images/icons/module-systems/cjs/icon32.png"></a> CommonJS (CJS):
|
|
38
44
|
|
|
39
45
|
```js
|
|
40
46
|
const personas = require('@kudoai/ai-personas')
|
|
@@ -43,6 +49,8 @@ console.log(personas['Linux Terminal'].prompt)
|
|
|
43
49
|
// => I want you to act as a linux terminal. I will type commands and you will...
|
|
44
50
|
```
|
|
45
51
|
|
|
52
|
+
<hr>
|
|
53
|
+
|
|
46
54
|
## 💻 Examples
|
|
47
55
|
|
|
48
56
|
#### Find personas by keyword:
|
|
@@ -58,6 +66,8 @@ console.log(findPersonas('coach'))
|
|
|
58
66
|
// => ['Interview Preparation Coach', 'Life Coach', ...]
|
|
59
67
|
```
|
|
60
68
|
|
|
69
|
+
#
|
|
70
|
+
|
|
61
71
|
#### Get prompt for a persona:
|
|
62
72
|
|
|
63
73
|
```js
|
|
@@ -67,6 +77,8 @@ console.log(getPrompt('Food Critic'))
|
|
|
67
77
|
// => I want you to act as a food critic. I will tell you about a restaurant...
|
|
68
78
|
```
|
|
69
79
|
|
|
80
|
+
#
|
|
81
|
+
|
|
70
82
|
#### Get random personas:
|
|
71
83
|
|
|
72
84
|
```js
|
|
@@ -83,6 +95,8 @@ console.log(randomPersona(10))
|
|
|
83
95
|
// => e.g. ['Internet Trend & Slang Intelligence', 'Tic-Tac-Toe Game', ...]
|
|
84
96
|
```
|
|
85
97
|
|
|
98
|
+
#
|
|
99
|
+
|
|
86
100
|
#### Get random prompt:
|
|
87
101
|
|
|
88
102
|
```js
|
|
@@ -106,6 +120,8 @@ Your task is to:
|
|
|
106
120
|
**/
|
|
107
121
|
```
|
|
108
122
|
|
|
123
|
+
#
|
|
124
|
+
|
|
109
125
|
#### Fill variables in template prompts:
|
|
110
126
|
|
|
111
127
|
```js
|
|
@@ -122,6 +138,8 @@ Your task is to:
|
|
|
122
138
|
**/
|
|
123
139
|
```
|
|
124
140
|
|
|
141
|
+
#
|
|
142
|
+
|
|
125
143
|
#### Combine prompts:
|
|
126
144
|
|
|
127
145
|
```js
|
|
@@ -145,6 +163,8 @@ Prompt B: I want you to act as a DAX terminal...
|
|
|
145
163
|
**/
|
|
146
164
|
```
|
|
147
165
|
|
|
166
|
+
#
|
|
167
|
+
|
|
148
168
|
#### Build system prompt:
|
|
149
169
|
|
|
150
170
|
```js
|
|
@@ -156,6 +176,8 @@ const messages = [
|
|
|
156
176
|
]
|
|
157
177
|
```
|
|
158
178
|
|
|
179
|
+
<hr>
|
|
180
|
+
|
|
159
181
|
## 🏛️ License
|
|
160
182
|
|
|
161
183
|
<table>
|
|
@@ -171,13 +193,67 @@ const messages = [
|
|
|
171
193
|
</tr>
|
|
172
194
|
</table>
|
|
173
195
|
|
|
174
|
-
|
|
196
|
+
<hr>
|
|
175
197
|
|
|
176
|
-
|
|
198
|
+
## 🧠 Contributors
|
|
177
199
|
|
|
178
|
-
|
|
200
|
+
<a href="https://github.com/KudoAI/ai-personas/graphs/contributors">
|
|
201
|
+
<img height=45 width="auto" src="https://contrib.rocks/image?repo=KudoAI/ai-personas&anon=1" /></a>
|
|
202
|
+
<br><br>
|
|
203
|
+
|
|
204
|
+
All contributions are very welcome!
|
|
205
|
+
|
|
206
|
+
<hr>
|
|
207
|
+
|
|
208
|
+
## 📜 Related
|
|
209
|
+
|
|
210
|
+
<!-- GOOGLEGPT -->
|
|
211
|
+
|
|
212
|
+
<details>
|
|
213
|
+
<summary><strong><a href="#"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/KudoAI/googlegpt@94d5b04/assets/images/icons/app/white/icon32.png"><img width=15 src="https://cdn.jsdelivr.net/gh/KudoAI/googlegpt@94d5b04/assets/images/icons/app/black/icon32.png"></picture></a> GoogleGPT</strong> <a href="https://github.com/awesome-scripts/awesome-userscripts#chatgpt"><img width=105 height="auto" src="https://cdn.jsdelivr.net/gh/KudoAI/googlegpt@94d5b04/assets/images/badges/awesome/badge.svg"></a></summary>
|
|
214
|
+
<br>
|
|
215
|
+
|
|
216
|
+
<a href="https://github.com/KudoAI/googlegpt/#readme">
|
|
217
|
+
<img width="555" height="auto" src="https://cdn.jsdelivr.net/gh/KudoAI/googlegpt@94d5b04/assets/images/screenshots/desktop/javascript-arrays-query/darkmode.png"></a>
|
|
218
|
+
|
|
219
|
+
</details>
|
|
220
|
+
|
|
221
|
+
> [<img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/tampermonkey/icon28.png" title="Tampermonkey">][googlegpt-install][<img height="15" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/violentmonkey/icon25.png" title="Violentmonkey">][googlegpt-install][<img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/scriptcat/icon32.png" title="ScriptCat">][googlegpt-install][<img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/orangemonkey/icon16.png" title="OrangeMonkey">][googlegpt-install][<img height="14" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/stay/icon32.png" title="Stay">][googlegpt-install][<img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/userscripts/icon32.png" title="Userscripts">][googlegpt-install]
|
|
222
|
+
> [Install][googlegpt-install] /
|
|
223
|
+
> [<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/userscripts@13443c3/assets/images/icons/paper-sheet/white.svg"><img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@13443c3/assets/images/icons/paper-sheet/black.svg"></picture>][googlegpt-readme] [Readme][googlegpt-readme] /
|
|
224
|
+
> [<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/userscripts@13443c3/assets/images/icons/speech-bubble-square/white.svg"><img height="12.5" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@13443c3/assets/images/icons/speech-bubble-square/black.svg"></picture>][googlegpt-discuss] [Discuss][googlegpt-discuss]
|
|
225
|
+
|
|
226
|
+
[googlegpt-install]: https://github.com/KudoAI/googlegpt/#-installation
|
|
227
|
+
[googlegpt-readme]: https://github.com/KudoAI/googlegpt/#readme
|
|
228
|
+
[googlegpt-discuss]: https://github.com/KudoAI/googlegpt/discussions
|
|
229
|
+
|
|
230
|
+
<!-- DUCKDUCKGPT -->
|
|
231
|
+
|
|
232
|
+
<details>
|
|
233
|
+
<summary><strong><a href="#"><img height=16 width="auto" src="https://cdn.jsdelivr.net/gh/KudoAI/duckduckgpt@2a48d2e/assets/images/icons/app/icon48.png"></a> DuckDuckGPT</strong> <a href="https://www.producthunt.com/posts/duckduckgpt?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-duckduckgpt"><img width=105 height="auto" src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=379261&theme=light"></a></summary>
|
|
234
|
+
<br>
|
|
235
|
+
|
|
236
|
+
<a href="https://github.com/KudoAI/duckduckgpt/#readme">
|
|
237
|
+
<img width="555" height="auto" src="https://cdn.jsdelivr.net/gh/KudoAI/duckduckgpt@2a48d2e/assets/images/screenshots/desktop/how-to-becum-rich-query/lightmode.png"></a>
|
|
238
|
+
|
|
239
|
+
</details>
|
|
240
|
+
|
|
241
|
+
> [<img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/tampermonkey/icon28.png" title="Tampermonkey">][googlegpt-install][<img height="15" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/violentmonkey/icon25.png" title="Violentmonkey">][ddgpt-install][<img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/scriptcat/icon32.png" title="ScriptCat">][ddgpt-install][<img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/orangemonkey/icon16.png" title="OrangeMonkey">][ddgpt-install][<img height="14" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/stay/icon32.png" title="Stay">][ddgpt-install][<img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@2793398/assets/images/icons/userscript-managers/userscripts/icon32.png" title="Userscripts">][ddgpt-install]
|
|
242
|
+
> [Install][ddgpt-install] /
|
|
243
|
+
> [<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/userscripts@13443c3/assets/images/icons/paper-sheet/white.svg"><img height="13" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@13443c3/assets/images/icons/paper-sheet/black.svg"></picture>][ddgpt-readme] [Readme][ddgpt-readme] /
|
|
244
|
+
> [<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/userscripts@13443c3/assets/images/icons/speech-bubble-square/white.svg"><img height="12.5" src="https://cdn.jsdelivr.net/gh/adamlui/userscripts@13443c3/assets/images/icons/speech-bubble-square/black.svg"></picture>][ddgpt-discuss] [Discuss][ddgpt-discuss]
|
|
245
|
+
|
|
246
|
+
[ddgpt-install]: https://github.com/KudoAI/duckduckgpt/#-installation
|
|
247
|
+
[ddgpt-readme]: https://github.com/KudoAI/duckduckgpt/#readme
|
|
248
|
+
[ddgpt-discuss]: https://github.com/KudoAI/duckduckgpt/discussions
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
<!-- FOOTER -->
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
<a href="#"><img style="height:10px ; width:100%" src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@6b0d399/assets/images/separators/aqua-gradient.png"></a>
|
|
179
255
|
|
|
180
|
-
<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@
|
|
256
|
+
<picture><source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/adamlui/js-utils@6b0d399/assets/images/icons/home/white/icon32x27.png"><img height=13 src="https://cdn.jsdelivr.net/gh/adamlui/js-utils@6b0d399/assets/images/icons/home/dark-gray/icon32x27.png"></picture> <a href=https://github.com/adamlui/js-utils/#readme>**More JavaScript utilities**</a> /
|
|
181
257
|
<a href="https://github.com/KudoAI/ai-personas/discussions">Discuss</a> /
|
|
182
258
|
<a href="https://github.com/KudoAI/ai-personas/issues">Report bug</a> /
|
|
183
259
|
<a href="mailto:security@tidelift.com">Report vulnerability</a> /
|