promptbook 0.103.0-9 → 0.104.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 +59 -35
- package/package.json +32 -32
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@ Turn your company's scattered knowledge into AI ready Books
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
[ Promptbook](https://badge.fury.io/js/promptbook.svg)](https://www.npmjs.com/package/promptbook)
|
|
13
|
+
[ Promptbook](https://packagequality.com/shield/promptbook.svg)](https://packagequality.com/#?package=promptbook)
|
|
14
14
|
[](https://snyk.io/test/github/webgptorg/promptbook)
|
|
15
15
|
[](https://github.com/webgptorg/promptbook/actions/workflows/test-books.yml)
|
|
16
16
|
[](https://github.com/webgptorg/promptbook/actions/workflows/test-build.yml)
|
|
@@ -23,11 +23,7 @@ Turn your company's scattered knowledge into AI ready Books
|
|
|
23
23
|
|
|
24
24
|
## 🌟 New Features
|
|
25
25
|
|
|
26
|
-
-
|
|
27
|
-
- 💡 VS Code support for `.book` files with syntax highlighting and IntelliSense
|
|
28
|
-
- 🐳 Official Docker image (`hejny/promptbook`) for seamless containerized usage
|
|
29
|
-
- 🔥 Native support for OpenAI `o3-mini`, GPT-4 and other leading LLMs
|
|
30
|
-
- 🔍 DeepSeek integration for advanced knowledge search
|
|
26
|
+
- **Gemini 3 Support**
|
|
31
27
|
|
|
32
28
|
|
|
33
29
|
|
|
@@ -44,11 +40,15 @@ The main challenge is to narrow it down, constrain it, set the proper **context,
|
|
|
44
40
|
|
|
45
41
|
Promptbook takes the best from both worlds. You are defining your AI behavior by simple **books**, which are very explicit. They are automatically enforced, but they are very easy to understand, very easy to write, and very reliable and portable.
|
|
46
42
|
|
|
43
|
+
<table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
|
|
47
44
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/>
|
|
45
|
+
**<ins>Paul Smith & Associés</ins>**<br/>
|
|
46
|
+
<br/>
|
|
47
|
+
**PERSONA** You are a company lawyer.<br/>
|
|
48
|
+
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
49
|
+
You are knowledgeable, professional, and detail-oriented.<br/>
|
|
50
|
+
|
|
51
|
+
</td></tr></table>
|
|
52
52
|
|
|
53
53
|
<div style="page-break-after: always;"></div>
|
|
54
54
|
|
|
@@ -62,11 +62,15 @@ You can look at it as prompting (or writing a system message), but decorated by
|
|
|
62
62
|
|
|
63
63
|
Personas define the character of your AI persona, its role, and how it should interact with users. It sets the tone and style of communication.
|
|
64
64
|
|
|
65
|
+
<table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
|
|
66
|
+
|
|
67
|
+
**<ins>Paul Smith & Associés</ins>**<br/>
|
|
68
|
+
<br/>
|
|
69
|
+
**PERSONA** You are a company lawyer.<br/>
|
|
70
|
+
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
71
|
+
You are knowledgeable, professional, and detail-oriented.<br/>
|
|
65
72
|
|
|
66
|
-
|
|
67
|
-
alt="Paul Smith & Associés Book"
|
|
68
|
-
src="https://promptbook.studio/embed/book-preview.png?book=Paul%20Smith%20%26%20Associ%C3%A9s%0A%20%20%20%20%20%20%7C%20PERSONA%20You%20are%20a%20company%20lawyer.%0A%20%20%20%20%20%20%7C%20Your%20job%20is%20to%20provide%20legal%20advice%20and%20support%20to%20the%20company%20and%20its%20employees.%0A%20%20%20%20%20%20%7C%20You%20are%20knowledgeable%2C%20professional%2C%20and%20detail-oriented.&width=800&height=450&nonce=0"
|
|
69
|
-
/>
|
|
73
|
+
</td></tr></table>
|
|
70
74
|
|
|
71
75
|
#### `Knowledge` commitment
|
|
72
76
|
|
|
@@ -76,11 +80,18 @@ This can include domain-specific knowledge, company policies, or any other relev
|
|
|
76
80
|
|
|
77
81
|
Promptbook Engine will automatically enforce this knowledge during interactions. When the knowledge is short enough, it will be included in the prompt. When it is too long, it will be stored in vector databases and RAG retrieved when needed. But you don't need to care about it.
|
|
78
82
|
|
|
83
|
+
<table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
|
|
79
84
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
/>
|
|
85
|
+
**<ins>Paul Smith & Associés</ins>**<br/>
|
|
86
|
+
<br/>
|
|
87
|
+
**PERSONA** You are a company lawyer.<br/>
|
|
88
|
+
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
89
|
+
You are knowledgeable, professional, and detail-oriented.<br/>
|
|
90
|
+
<br/>
|
|
91
|
+
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
92
|
+
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
93
|
+
|
|
94
|
+
</td></tr></table>
|
|
84
95
|
|
|
85
96
|
#### `Rule` commitment
|
|
86
97
|
|
|
@@ -88,21 +99,42 @@ Rules will enforce specific behaviors or constraints on the AI's responses. This
|
|
|
88
99
|
|
|
89
100
|
Depending on rule strictness, Promptbook will either propagate it to the prompt or use other techniques, like adversary agent, to enforce it.
|
|
90
101
|
|
|
102
|
+
<table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
|
|
103
|
+
|
|
104
|
+
**<ins>Paul Smith & Associés</ins>**<br/>
|
|
105
|
+
<br/>
|
|
106
|
+
**PERSONA** You are a company lawyer.<br/>
|
|
107
|
+
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
108
|
+
You are knowledgeable, professional, and detail-oriented.<br/>
|
|
109
|
+
<br/>
|
|
110
|
+
**RULE** Always ensure compliance with laws and regulations.<br/>
|
|
111
|
+
**RULE** Never provide legal advice outside your area of expertise.<br/>
|
|
112
|
+
**RULE** Never provide legal advice about criminal law.<br/>
|
|
113
|
+
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
114
|
+
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
91
115
|
|
|
92
|
-
|
|
93
|
-
alt="Paul Smith & Associés Book"
|
|
94
|
-
src="https://promptbook.studio/embed/book-preview.png?book=Paul%20Smith%20%26%20Associ%C3%A9s%0A%20%20%20%20%20%20%7C%20PERSONA%20You%20are%20a%20company%20lawyer.%0A%20%20%20%20%20%20%7C%20Your%20job%20is%20to%20provide%20legal%20advice%20and%20support%20to%20the%20company%20and%20its%20employees.%0A%20%20%20%20%20%20%7C%20You%20are%20knowledgeable%2C%20professional%2C%20and%20detail-oriented.%0A%20%20%20%20%20%20%7C%20RULE%20Always%20ensure%20compliance%20with%20laws%20and%20regulations.%0A%20%20%20%20%20%20%7C%20RULE%20Never%20provide%20legal%20advice%20outside%20your%20area%20of%20expertise.%0A%20%20%20%20%20%20%7C%20RULE%20Never%20provide%20legal%20advice%20about%20criminal%20law.%0A%20%20%20%20%20%20%7C%20KNOWLEDGE%20%20https%3A%2F%2Fcompany.com%2Fcompany-policies.pdf%0A%20%20%20%20%20%20%7C%20KNOWLEDGE%20https%3A%2F%2Fcompany.com%2Finternal-documents%2Femployee-handbook.docx&width=800&height=450&nonce=0"
|
|
95
|
-
/>
|
|
116
|
+
</td></tr></table>
|
|
96
117
|
|
|
97
118
|
#### `Action` commitment
|
|
98
119
|
|
|
99
120
|
Action Commitment allows you to define specific actions that the AI can take during interactions. This can include things like posting on a social media platform, sending emails, creating calendar events, or interacting with your internal systems.
|
|
100
121
|
|
|
122
|
+
<table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
|
|
101
123
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
/>
|
|
124
|
+
**<ins>Paul Smith & Associés</ins>**<br/>
|
|
125
|
+
<br/>
|
|
126
|
+
**PERSONA** You are a company lawyer.<br/>
|
|
127
|
+
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
128
|
+
You are knowledgeable, professional, and detail-oriented.<br/>
|
|
129
|
+
<br/>
|
|
130
|
+
**RULE** Always ensure compliance with laws and regulations.<br/>
|
|
131
|
+
**RULE** Never provide legal advice outside your area of expertise.<br/>
|
|
132
|
+
**RULE** Never provide legal advice about criminal law.<br/>
|
|
133
|
+
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
134
|
+
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
135
|
+
**ACTION** When a user asks about an issue that could be treated as a crime, notify legal@company.com.<br/>
|
|
136
|
+
|
|
137
|
+
</td></tr></table>
|
|
106
138
|
|
|
107
139
|
[Read more about the language](./BLUEPRINT.md)
|
|
108
140
|
|
|
@@ -149,14 +181,10 @@ Now you want to use it. There are several ways how to write your first book:
|
|
|
149
181
|
|
|
150
182
|
We have written ai asistant in book who can help you with writing your first book.
|
|
151
183
|
|
|
152
|
-
|
|
153
|
-
|
|
154
184
|
#### Your AI twin
|
|
155
185
|
|
|
156
186
|
Copy your own behavior, personality, and knowledge into book and create your AI twin. It can help you with your work, personal life, or any other task.
|
|
157
187
|
|
|
158
|
-
|
|
159
|
-
|
|
160
188
|
#### AI persona workpool
|
|
161
189
|
|
|
162
190
|
Or you can pick from our library of pre-written books for various roles and tasks. You can find books for customer support, coding, marketing, sales, HR, legal, and many other roles.
|
|
@@ -276,8 +304,6 @@ Join our growing community of developers and users:
|
|
|
276
304
|
|
|
277
305
|
|
|
278
306
|
|
|
279
|
-
|
|
280
|
-
|
|
281
307
|
## 📚 Documentation
|
|
282
308
|
|
|
283
309
|
See detailed guides and API reference in the [docs](https://github.com/webgptorg/promptbook/discussions/categories/concepts) or [online](https://discord.gg/x3QWNaa89N).
|
|
@@ -354,8 +380,6 @@ The following glossary is used to clarify certain concepts:
|
|
|
354
380
|
|
|
355
381
|
_Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
356
382
|
|
|
357
|
-
|
|
358
|
-
|
|
359
383
|
### 💯 Core concepts
|
|
360
384
|
|
|
361
385
|
- [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "promptbook",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.104.0-0",
|
|
4
4
|
"description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/webgptorg/promptbook"
|
|
9
|
+
"url": "git+https://github.com/webgptorg/promptbook.git"
|
|
10
10
|
},
|
|
11
11
|
"author": "Pavol Hejný <pavol@ptbk.io> (https://www.pavolhejny.com/)",
|
|
12
12
|
"contributors": [
|
|
@@ -84,40 +84,40 @@
|
|
|
84
84
|
},
|
|
85
85
|
"homepage": "https://ptbk.io/",
|
|
86
86
|
"engines": {
|
|
87
|
-
"node": ">=
|
|
87
|
+
"node": ">=18.18.0",
|
|
88
88
|
"npm": ">=8.0.0"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"@promptbook/core": "0.
|
|
91
|
+
"@promptbook/core": "0.104.0-0"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@promptbook/anthropic-claude": "0.
|
|
95
|
-
"@promptbook/azure-openai": "0.
|
|
96
|
-
"@promptbook/browser": "0.
|
|
97
|
-
"@promptbook/cli": "0.
|
|
98
|
-
"@promptbook/color": "0.
|
|
99
|
-
"@promptbook/components": "0.
|
|
100
|
-
"@promptbook/core": "0.
|
|
101
|
-
"@promptbook/deepseek": "0.
|
|
102
|
-
"@promptbook/documents": "0.
|
|
103
|
-
"@promptbook/editable": "0.
|
|
104
|
-
"@promptbook/fake-llm": "0.
|
|
105
|
-
"@promptbook/google": "0.
|
|
106
|
-
"@promptbook/javascript": "0.
|
|
107
|
-
"@promptbook/legacy-documents": "0.
|
|
108
|
-
"@promptbook/markdown-utils": "0.
|
|
109
|
-
"@promptbook/markitdown": "0.
|
|
110
|
-
"@promptbook/node": "0.
|
|
111
|
-
"@promptbook/ollama": "0.
|
|
112
|
-
"@promptbook/openai": "0.
|
|
113
|
-
"@promptbook/pdf": "0.
|
|
114
|
-
"@promptbook/remote-client": "0.
|
|
115
|
-
"@promptbook/remote-server": "0.
|
|
116
|
-
"@promptbook/templates": "0.
|
|
117
|
-
"@promptbook/types": "0.
|
|
118
|
-
"@promptbook/utils": "0.
|
|
119
|
-
"@promptbook/vercel": "0.
|
|
120
|
-
"@promptbook/website-crawler": "0.
|
|
121
|
-
"@promptbook/wizard": "0.
|
|
94
|
+
"@promptbook/anthropic-claude": "0.104.0-0",
|
|
95
|
+
"@promptbook/azure-openai": "0.104.0-0",
|
|
96
|
+
"@promptbook/browser": "0.104.0-0",
|
|
97
|
+
"@promptbook/cli": "0.104.0-0",
|
|
98
|
+
"@promptbook/color": "0.104.0-0",
|
|
99
|
+
"@promptbook/components": "0.104.0-0",
|
|
100
|
+
"@promptbook/core": "0.104.0-0",
|
|
101
|
+
"@promptbook/deepseek": "0.104.0-0",
|
|
102
|
+
"@promptbook/documents": "0.104.0-0",
|
|
103
|
+
"@promptbook/editable": "0.104.0-0",
|
|
104
|
+
"@promptbook/fake-llm": "0.104.0-0",
|
|
105
|
+
"@promptbook/google": "0.104.0-0",
|
|
106
|
+
"@promptbook/javascript": "0.104.0-0",
|
|
107
|
+
"@promptbook/legacy-documents": "0.104.0-0",
|
|
108
|
+
"@promptbook/markdown-utils": "0.104.0-0",
|
|
109
|
+
"@promptbook/markitdown": "0.104.0-0",
|
|
110
|
+
"@promptbook/node": "0.104.0-0",
|
|
111
|
+
"@promptbook/ollama": "0.104.0-0",
|
|
112
|
+
"@promptbook/openai": "0.104.0-0",
|
|
113
|
+
"@promptbook/pdf": "0.104.0-0",
|
|
114
|
+
"@promptbook/remote-client": "0.104.0-0",
|
|
115
|
+
"@promptbook/remote-server": "0.104.0-0",
|
|
116
|
+
"@promptbook/templates": "0.104.0-0",
|
|
117
|
+
"@promptbook/types": "0.104.0-0",
|
|
118
|
+
"@promptbook/utils": "0.104.0-0",
|
|
119
|
+
"@promptbook/vercel": "0.104.0-0",
|
|
120
|
+
"@promptbook/website-crawler": "0.104.0-0",
|
|
121
|
+
"@promptbook/wizard": "0.104.0-0"
|
|
122
122
|
}
|
|
123
123
|
}
|