Skip to content

Commit 96daca5

Browse files
committed
Converted example descs to headings to support anchor linking ↞ [auto-sync from https://github.com/KudoAI/ai-personas/tree/main/python]
1 parent 4681c74 commit 96daca5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

ai-personas/docs/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ _Note: Most type checkers will falsely warn_ `ai_personas` _is not subscriptable
3434

3535
## Examples
3636

37-
Search by keyword:
37+
##### Search by keyword:
3838

3939
```py
4040
keyword = 'coach'
@@ -53,7 +53,7 @@ for persona, data in ai_personas.items():
5353
# ...
5454
```
5555

56-
Get 6 random personas:
56+
##### Get 6 random personas:
5757

5858
```py
5959
import random
@@ -70,7 +70,7 @@ for persona in random.sample(list(ai_personas), 6):
7070
# China Business Law Assistant
7171
```
7272

73-
Get random prompt:
73+
##### Get random prompt:
7474

7575
```py
7676
import random
@@ -103,7 +103,7 @@ print(rand_persona['prompt'])
103103
# scraping).
104104
```
105105

106-
Fill variables in template prompts :
106+
##### Fill variables in template prompts:
107107

108108
```py
109109
prompt = ai_personas['Node.js Automation Script Developer']['prompt']
@@ -118,7 +118,7 @@ print(filled_prompt)
118118
# ...
119119
```
120120

121-
Combine prompts:
121+
##### Combine prompts:
122122

123123
```py
124124
import ai_personas
@@ -142,7 +142,7 @@ print(mega_prompt)
142142
# Prompt B: I want you to act as a DAX terminal...
143143
```
144144

145-
Build system prompt:
145+
##### Build system prompt:
146146

147147
```py
148148
system_prompt = ai_personas['Study Planner']['prompt']

0 commit comments

Comments
 (0)