@promptbook/ollama 0.112.0 → 0.113.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 +45 -29
- package/esm/index.es.js +1 -1
- package/esm/index.es.js.map +1 -1
- package/esm/src/_packages/core.index.d.ts +22 -0
- package/esm/src/_packages/types.index.d.ts +2 -0
- package/esm/src/book-2.0/agent-source/AgentBasicInformation.d.ts +2 -0
- package/esm/src/book-2.0/agent-source/agentSourceVisibility.d.ts +97 -0
- package/esm/src/book-2.0/agent-source/agentSourceVisibility.test.d.ts +1 -0
- package/esm/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
- package/esm/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +6 -0
- package/esm/src/collection/agent-collection/CreateAgentInput.d.ts +2 -1
- package/esm/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +21 -1
- package/esm/src/commitments/META_VISIBILITY/META_VISIBILITY.d.ts +27 -0
- package/esm/src/commitments/index.d.ts +2 -1
- package/esm/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/index.umd.js.map +1 -1
- package/umd/src/_packages/core.index.d.ts +22 -0
- package/umd/src/_packages/types.index.d.ts +2 -0
- package/umd/src/book-2.0/agent-source/AgentBasicInformation.d.ts +2 -0
- package/umd/src/book-2.0/agent-source/agentSourceVisibility.d.ts +97 -0
- package/umd/src/book-2.0/agent-source/agentSourceVisibility.test.d.ts +1 -0
- package/umd/src/book-components/BookEditor/BookEditorMonacoTokenization.d.ts +1 -0
- package/umd/src/cli/cli-commands/agents-server/buildAgentsServer.d.ts +6 -0
- package/umd/src/collection/agent-collection/CreateAgentInput.d.ts +2 -1
- package/umd/src/collection/agent-collection/constructors/agent-collection-in-supabase/prepareAgentSourceForPersistence.d.ts +21 -1
- package/umd/src/commitments/META_VISIBILITY/META_VISIBILITY.d.ts +27 -0
- package/umd/src/commitments/index.d.ts +2 -1
- package/umd/src/version.d.ts +1 -1
package/README.md
CHANGED
|
@@ -41,14 +41,17 @@ Non-interactive mode takes defaults from command-line options. When `--openai-ap
|
|
|
41
41
|
sudo curl -fsSL https://raw.githubusercontent.com/webgptorg/promptbook/refs/heads/main/other/vps/install.sh | bash -s -- \
|
|
42
42
|
--non-interactive \
|
|
43
43
|
--yes-i-understand-that-script-should-be-run-on-fresh-server \
|
|
44
|
-
--domain
|
|
45
|
-
--openai-api-key sk-proj-
|
|
46
|
-
--sentry-dsn https://abc@def.ingest.de.sentry.io/123 \
|
|
44
|
+
--domain my-server.com \
|
|
45
|
+
--openai-api-key sk-proj-xxx \
|
|
47
46
|
--admin-password xxx
|
|
48
47
|
```
|
|
49
48
|
|
|
50
49
|
|
|
51
50
|
|
|
51
|
+
<blockquote style="color: #ff8811">
|
|
52
|
+
<b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
|
|
53
|
+
</blockquote>
|
|
54
|
+
|
|
52
55
|
## 📦 Package `@promptbook/ollama`
|
|
53
56
|
|
|
54
57
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -82,7 +85,7 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
82
85
|
|
|
83
86
|
Promptbook lets you create **persistent AI agents** that work on real goals for your company. The [**Agents Server**](https://gallery.ptbk.io/) is the heart of the project - a place where your AI agents live, remember context, collaborate in teams, and get things done.
|
|
84
87
|
|
|
85
|
-
Nowadays, the biggest challenge for most business applications isn't the raw capabilities of AI models. Large language models such as GPT-5.
|
|
88
|
+
Nowadays, the biggest challenge for most business applications isn't the raw capabilities of AI models. Large language models such as Claude Mythos, GPT-5.6 or Kimi K2.7 are incredibly capable.
|
|
86
89
|
|
|
87
90
|
The main challenge lies in **managing the context**, providing rules and knowledge, and narrowing the personality.
|
|
88
91
|
|
|
@@ -90,17 +93,20 @@ In Promptbook, you define your agents **using simple Books** - a human-readable
|
|
|
90
93
|
|
|
91
94
|
<table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
|
|
92
95
|
|
|
93
|
-
**<ins>
|
|
96
|
+
**<ins>Lawyer</ins>**<br/>
|
|
94
97
|
<br/>
|
|
95
|
-
|
|
98
|
+
GOAL You are a company lawyer.<br/>
|
|
96
99
|
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
97
|
-
|
|
100
|
+
Respond to incoming legal inquiries via email and keep the company website updated with the latest legal policies.<br/>
|
|
101
|
+
<br/>
|
|
98
102
|
**RULE** You are knowledgeable, professional, and detail-oriented.<br/>
|
|
99
103
|
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
100
104
|
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
<br/>
|
|
106
|
+
USE EMAIL<br/>
|
|
107
|
+
USE BROWSER<br/>
|
|
108
|
+
<br/>
|
|
109
|
+
TEAM You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
|
|
104
110
|
|
|
105
111
|
</td></tr></table>
|
|
106
112
|
|
|
@@ -133,12 +139,12 @@ Goals define what the agent should actively work toward. Unlike a chatbot that o
|
|
|
133
139
|
|
|
134
140
|
<table style="border: 1px solid #777; border-radius: 10px;"><tr><td>
|
|
135
141
|
|
|
136
|
-
**<ins>
|
|
142
|
+
**<ins>Company Lawyer</ins>**<br/>
|
|
137
143
|
<br/>
|
|
138
|
-
|
|
144
|
+
GOAL<br/>
|
|
139
145
|
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
140
|
-
|
|
141
|
-
|
|
146
|
+
GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
|
|
147
|
+
GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
|
|
142
148
|
|
|
143
149
|
</td></tr></table>
|
|
144
150
|
|
|
@@ -156,8 +162,8 @@ Promptbook Engine will automatically enforce this knowledge during interactions.
|
|
|
156
162
|
<br/>
|
|
157
163
|
**PERSONA** You are a company lawyer.<br/>
|
|
158
164
|
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
159
|
-
|
|
160
|
-
|
|
165
|
+
GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
|
|
166
|
+
GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
|
|
161
167
|
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
162
168
|
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
163
169
|
|
|
@@ -175,8 +181,8 @@ Depending on rule strictness, Promptbook will either propagate it to the prompt
|
|
|
175
181
|
<br/>
|
|
176
182
|
**PERSONA** You are a company lawyer.<br/>
|
|
177
183
|
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
178
|
-
|
|
179
|
-
|
|
184
|
+
GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
|
|
185
|
+
GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
|
|
180
186
|
**RULE** Always ensure compliance with local laws and regulations.<br/>
|
|
181
187
|
**RULE** Never provide legal advice outside your area of expertise.<br/>
|
|
182
188
|
**RULE** Never provide legal advice about criminal law.<br/>
|
|
@@ -197,16 +203,16 @@ These are what turn a chatbot into a persistent agent that actually does work.
|
|
|
197
203
|
<br/>
|
|
198
204
|
**PERSONA** You are a company lawyer.<br/>
|
|
199
205
|
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
200
|
-
|
|
201
|
-
|
|
206
|
+
GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
|
|
207
|
+
GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
|
|
202
208
|
**RULE** Always ensure compliance with local laws and regulations.<br/>
|
|
203
209
|
**RULE** Never provide legal advice outside your area of expertise.<br/>
|
|
204
210
|
**RULE** Never provide legal advice about criminal law.<br/>
|
|
205
211
|
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
206
212
|
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
213
|
+
USE EMAIL<br/>
|
|
214
|
+
USE BROWSER<br/>
|
|
215
|
+
USE SEARCH ENGINE<br/>
|
|
210
216
|
|
|
211
217
|
</td></tr></table>
|
|
212
218
|
|
|
@@ -220,20 +226,22 @@ Team commitment allows you to define the team structure and advisory fellow memb
|
|
|
220
226
|
<br/>
|
|
221
227
|
**PERSONA** You are a company lawyer.<br/>
|
|
222
228
|
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
223
|
-
|
|
224
|
-
|
|
229
|
+
GOAL Respond to incoming legal inquiries via email within 24 hours.<br/>
|
|
230
|
+
GOAL Keep the company website updated with the latest legal policies and compliance information.<br/>
|
|
225
231
|
**RULE** Always ensure compliance with local laws and regulations.<br/>
|
|
226
232
|
**RULE** Never provide legal advice outside your area of expertise.<br/>
|
|
227
233
|
**RULE** Never provide legal advice about criminal law.<br/>
|
|
228
234
|
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
229
235
|
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
236
|
+
USE EMAIL<br/>
|
|
237
|
+
USE BROWSER<br/>
|
|
238
|
+
USE SEARCH ENGINE<br/>
|
|
239
|
+
TEAM You are part of the legal team of Paul Smith & Associés, you discuss with {Emily White}, the head of the compliance department. {George Brown} is expert in corporate law and {Sophia Black} is expert in labor law.<br/>
|
|
234
240
|
|
|
235
241
|
</td></tr></table>
|
|
236
242
|
|
|
243
|
+
|
|
244
|
+
|
|
237
245
|
### Promptbook Ecosystem
|
|
238
246
|
|
|
239
247
|
Promptbook is an ecosystem of tools centered around the **Agents Server** - a production-ready platform for running persistent AI agents.
|
|
@@ -256,6 +264,8 @@ The [Promptbook Engine](https://github.com/webgptorg/promptbook) is the open-sou
|
|
|
256
264
|
|
|
257
265
|
|
|
258
266
|
|
|
267
|
+
|
|
268
|
+
|
|
259
269
|
## 💜 The Promptbook Project
|
|
260
270
|
|
|
261
271
|
Promptbook project is an ecosystem centered around the **Agents Server** - a platform for creating, deploying, and running persistent AI agents. Following is a list of the most important pieces of the project:
|
|
@@ -293,6 +303,8 @@ Promptbook project is an ecosystem centered around the **Agents Server** - a pla
|
|
|
293
303
|
</tbody>
|
|
294
304
|
</table>
|
|
295
305
|
|
|
306
|
+
|
|
307
|
+
|
|
296
308
|
### 🌐 Community & Social Media
|
|
297
309
|
|
|
298
310
|
Join our growing community of developers and users:
|
|
@@ -349,6 +361,8 @@ Join our growing community of developers and users:
|
|
|
349
361
|
|
|
350
362
|
|
|
351
363
|
|
|
364
|
+
|
|
365
|
+
|
|
352
366
|
## 📚 Documentation
|
|
353
367
|
|
|
354
368
|
See detailed guides and API reference in the [docs](https://github.com/webgptorg/promptbook/discussions/categories/concepts) or [online](https://discord.gg/x3QWNaa89N).
|
|
@@ -556,6 +570,8 @@ The following glossary is used to clarify certain concepts:
|
|
|
556
570
|
|
|
557
571
|
_Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
558
572
|
|
|
573
|
+
|
|
574
|
+
|
|
559
575
|
### 💯 Core concepts
|
|
560
576
|
|
|
561
577
|
- [📚 Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
|
package/esm/index.es.js
CHANGED
|
@@ -18,7 +18,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
18
18
|
* @generated
|
|
19
19
|
* @see https://github.com/webgptorg/promptbook
|
|
20
20
|
*/
|
|
21
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.
|
|
21
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.113.0-0';
|
|
22
22
|
/**
|
|
23
23
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
24
24
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|