ptbk 0.60.1 → 0.61.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 +4 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -296,6 +296,7 @@ Or you can install them separately:
|
|
|
296
296
|
- **[@promptbook/core](https://www.npmjs.com/package/@promptbook/core)** - Core of the library, it contains the main logic for promptbooks
|
|
297
297
|
- **[@promptbook/node](https://www.npmjs.com/package/@promptbook/node)** - Core of the library for Node.js
|
|
298
298
|
- ⭐ **[@promptbook/utils](https://www.npmjs.com/package/@promptbook/utils)** - Utility functions used in the library but also useful for individual use in preprocessing and postprocessing LLM inputs and outputs
|
|
299
|
+
- **[@promptbook/markdown-utils](https://www.npmjs.com/package/@promptbook/markdown-utils)** - Utility functions used for processing markdown
|
|
299
300
|
- _(Not finished)_ **[@promptbook/wizzard](https://www.npmjs.com/package/@promptbook/wizzard)** - Wizard for creating+running promptbooks in single line
|
|
300
301
|
- **[@promptbook/execute-javascript](https://www.npmjs.com/package/@promptbook/execute-javascript)** - Execution tools for javascript inside promptbooks
|
|
301
302
|
- **[@promptbook/openai](https://www.npmjs.com/package/@promptbook/openai)** - Execution tools for OpenAI API, wrapper around OpenAI SDK
|
|
@@ -369,7 +370,7 @@ For example:
|
|
|
369
370
|
}
|
|
370
371
|
```
|
|
371
372
|
|
|
372
|
-
###
|
|
373
|
+
### Block type
|
|
373
374
|
|
|
374
375
|
Each block of promptbook can have a different execution type.
|
|
375
376
|
It is specified in list of requirements for the block.
|
|
@@ -458,9 +459,8 @@ Internally it calls OpenAI, Azure, GPU, proxy, cache, logging,...
|
|
|
458
459
|
- _(Not implemented yet)_ `BardExecutionTools`
|
|
459
460
|
- _(Not implemented yet)_ `LamaExecutionTools`
|
|
460
461
|
- _(Not implemented yet)_ `GpuExecutionTools`
|
|
461
|
-
-
|
|
462
|
-
- Another special case
|
|
463
|
-
- The another special case is `MockedEchoLlmExecutionTools` that is used for testing and mocking.
|
|
462
|
+
- Special case are `RemoteLlmExecutionTools` that connect to a remote server and run one of the above execution tools on that server.
|
|
463
|
+
- Another special case is `MockedEchoLlmExecutionTools` that is used for testing and mocking.
|
|
464
464
|
- The another special case is `LogLlmExecutionToolsWrapper` that is technically also an execution tools but it is more proxy wrapper around other execution tools that logs all calls to execution tools.
|
|
465
465
|
|
|
466
466
|
#### Script Execution Tools
|
|
@@ -548,8 +548,6 @@ There are two types of expectations which are not strictly symmetrical:
|
|
|
548
548
|
|
|
549
549
|
Look at [expectations.ptbk.md](samples/templates/45-expectations.ptbk.md) and [expect-json.ptbk.md](samples/templates/45-expect-json.ptbk.md) samples for more.
|
|
550
550
|
|
|
551
|
-
|
|
552
|
-
|
|
553
551
|
### Execution report
|
|
554
552
|
|
|
555
553
|
Execution report is a simple object or markdown that contains information about the execution of the pipeline.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ptbk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.61.0-0",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"promptbook": "0.
|
|
47
|
+
"promptbook": "0.61.0-0"
|
|
48
48
|
}
|
|
49
49
|
}
|