@promptbook/markitdown 0.103.0-43 โ 0.103.0-45
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 +6 -18
- package/esm/index.es.js +8 -2
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/types.index.d.ts +8 -0
- package/esm/typings/src/book-components/AvatarProfile/AvatarProfile/AvatarProfile.d.ts +5 -0
- package/esm/typings/src/collection/agent-collection/AgentCollection.d.ts +2 -28
- package/esm/typings/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +61 -9
- package/esm/typings/src/errors/DatabaseError.d.ts +3 -0
- package/esm/typings/src/llm-providers/_multiple/getSingleLlmExecutionTools.d.ts +1 -0
- package/esm/typings/src/llm-providers/_multiple/joinLlmExecutionTools.d.ts +1 -0
- package/esm/typings/src/llm-providers/agent/CreateAgentLlmExecutionToolsOptions.d.ts +2 -1
- package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/google/google-models.d.ts +1 -1
- package/esm/typings/src/llm-providers/openai/openai-models.d.ts +1 -1
- package/esm/typings/src/remote-server/startAgentServer.d.ts +3 -0
- package/esm/typings/src/remote-server/startRemoteServer.d.ts +1 -0
- package/esm/typings/src/types/typeAliases.d.ts +19 -1
- package/esm/typings/src/utils/color/$randomColor.d.ts +1 -0
- package/esm/typings/src/utils/random/$generateBookBoilerplate.d.ts +5 -2
- package/esm/typings/src/utils/random/$randomAgentPersona.d.ts +9 -0
- package/esm/typings/src/utils/random/$randomFullnameWithColor.d.ts +13 -0
- package/esm/typings/src/utils/random/$randomItem.d.ts +9 -0
- package/esm/typings/src/utils/random/$randomSeed.d.ts +3 -0
- package/esm/typings/src/utils/random/$randomToken.d.ts +1 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +8 -2
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/commands/_common/parseCommand.test.d.ts +0 -1
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
|
|
|
@@ -116,7 +112,7 @@ Promptbook Engine will automatically enforce this knowledge during interactions.
|
|
|
116
112
|
Your job is to provide legal advice and support to the company and its employees.<br/>
|
|
117
113
|
You are knowledgeable, professional, and detail-oriented.<br/>
|
|
118
114
|
<br/>
|
|
119
|
-
**KNOWLEDGE**
|
|
115
|
+
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
120
116
|
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
121
117
|
|
|
122
118
|
</td></tr></table>
|
|
@@ -138,7 +134,7 @@ You are knowledgeable, professional, and detail-oriented.<br/>
|
|
|
138
134
|
**RULE** Always ensure compliance with laws and regulations.<br/>
|
|
139
135
|
**RULE** Never provide legal advice outside your area of expertise.<br/>
|
|
140
136
|
**RULE** Never provide legal advice about criminal law.<br/>
|
|
141
|
-
**KNOWLEDGE**
|
|
137
|
+
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
142
138
|
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
143
139
|
|
|
144
140
|
</td></tr></table>
|
|
@@ -158,7 +154,7 @@ You are knowledgeable, professional, and detail-oriented.<br/>
|
|
|
158
154
|
**RULE** Always ensure compliance with laws and regulations.<br/>
|
|
159
155
|
**RULE** Never provide legal advice outside your area of expertise.<br/>
|
|
160
156
|
**RULE** Never provide legal advice about criminal law.<br/>
|
|
161
|
-
**KNOWLEDGE**
|
|
157
|
+
**KNOWLEDGE** https://company.com/company-policies.pdf<br/>
|
|
162
158
|
**KNOWLEDGE** https://company.com/internal-documents/employee-handbook.docx<br/>
|
|
163
159
|
**ACTION** When a user asks about an issue that could be treated as a crime, notify legal@company.com.<br/>
|
|
164
160
|
|
|
@@ -209,14 +205,10 @@ Now you want to use it. There are several ways how to write your first book:
|
|
|
209
205
|
|
|
210
206
|
We have written ai asistant in book who can help you with writing your first book.
|
|
211
207
|
|
|
212
|
-
|
|
213
|
-
|
|
214
208
|
#### Your AI twin
|
|
215
209
|
|
|
216
210
|
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.
|
|
217
211
|
|
|
218
|
-
|
|
219
|
-
|
|
220
212
|
#### AI persona workpool
|
|
221
213
|
|
|
222
214
|
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.
|
|
@@ -336,8 +328,6 @@ Join our growing community of developers and users:
|
|
|
336
328
|
|
|
337
329
|
|
|
338
330
|
|
|
339
|
-
|
|
340
|
-
|
|
341
331
|
## ๐ Documentation
|
|
342
332
|
|
|
343
333
|
See detailed guides and API reference in the [docs](https://github.com/webgptorg/promptbook/discussions/categories/concepts) or [online](https://discord.gg/x3QWNaa89N).
|
|
@@ -414,8 +404,6 @@ The following glossary is used to clarify certain concepts:
|
|
|
414
404
|
|
|
415
405
|
_Note: This section is not a complete dictionary, more list of general AI / LLM terms that has connection with Promptbook_
|
|
416
406
|
|
|
417
|
-
|
|
418
|
-
|
|
419
407
|
### ๐ฏ Core concepts
|
|
420
408
|
|
|
421
409
|
- [๐ Collection of pipelines](https://github.com/webgptorg/promptbook/discussions/65)
|
package/esm/index.es.js
CHANGED
|
@@ -17,14 +17,14 @@ import { parse, unparse } from 'papaparse';
|
|
|
17
17
|
* @generated
|
|
18
18
|
* @see https://github.com/webgptorg/book
|
|
19
19
|
*/
|
|
20
|
-
const BOOK_LANGUAGE_VERSION = '
|
|
20
|
+
const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
21
21
|
/**
|
|
22
22
|
* The version of the Promptbook engine
|
|
23
23
|
*
|
|
24
24
|
* @generated
|
|
25
25
|
* @see https://github.com/webgptorg/promptbook
|
|
26
26
|
*/
|
|
27
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-
|
|
27
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-45';
|
|
28
28
|
/**
|
|
29
29
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
30
30
|
* Note: [๐] Ignore a discrepancy between file name and entity name
|
|
@@ -2957,6 +2957,7 @@ function $randomToken(randomness) {
|
|
|
2957
2957
|
return randomBytes(randomness).toString('hex');
|
|
2958
2958
|
}
|
|
2959
2959
|
/**
|
|
2960
|
+
* TODO: [๐คถ] Maybe export through `@promptbook/utils` or `@promptbook/random` package
|
|
2960
2961
|
* TODO: Maybe use nanoid instead https://github.com/ai/nanoid
|
|
2961
2962
|
*/
|
|
2962
2963
|
|
|
@@ -3087,6 +3088,9 @@ class DatabaseError extends Error {
|
|
|
3087
3088
|
Object.setPrototypeOf(this, DatabaseError.prototype);
|
|
3088
3089
|
}
|
|
3089
3090
|
}
|
|
3091
|
+
/**
|
|
3092
|
+
* TODO: !!!! Explain that NotFoundError (!!! and other specific errors) has priority over DatabaseError in some contexts
|
|
3093
|
+
*/
|
|
3090
3094
|
|
|
3091
3095
|
/**
|
|
3092
3096
|
* This error occurs when some expectation is not met in the execution of the pipeline
|
|
@@ -4028,6 +4032,7 @@ function joinLlmExecutionTools(title, ...llmExecutionTools) {
|
|
|
4028
4032
|
return new MultipleLlmExecutionTools(title || 'Multiple LLM Providers joined by `joinLlmExecutionTools`', ...llmExecutionTools);
|
|
4029
4033
|
}
|
|
4030
4034
|
/**
|
|
4035
|
+
* TODO: [๐] `getSingleLlmExecutionTools` vs `joinLlmExecutionTools` - explain difference or pick one
|
|
4031
4036
|
* TODO: [๐ทโโ๏ธ] @@@ Manual about construction of llmTools
|
|
4032
4037
|
*/
|
|
4033
4038
|
|
|
@@ -4044,6 +4049,7 @@ function getSingleLlmExecutionTools(oneOrMoreLlmExecutionTools) {
|
|
|
4044
4049
|
return llmTools;
|
|
4045
4050
|
}
|
|
4046
4051
|
/**
|
|
4052
|
+
* TODO: [๐] `getSingleLlmExecutionTools` vs `joinLlmExecutionTools` - explain difference or pick one
|
|
4047
4053
|
* TODO: [๐ทโโ๏ธ] @@@ Manual about construction of llmTools
|
|
4048
4054
|
*/
|
|
4049
4055
|
|