promptbook
Advanced tools
Comparing version 0.46.0-0 to 0.46.0-1
{ | ||
"name": "promptbook", | ||
"version": "0.46.0-0", | ||
"version": "0.46.0-1", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -37,16 +37,16 @@ "private": false, | ||
"dependencies": { | ||
"@promptbook/core": "0.46.0-0", | ||
"@promptbook/execute-javascript": "0.46.0-0", | ||
"@promptbook/langtail": "0.46.0-0", | ||
"@promptbook/mock": "0.46.0-0", | ||
"@promptbook/openai": "0.46.0-0", | ||
"@promptbook/remote-client": "0.46.0-0", | ||
"@promptbook/remote-server": "0.46.0-0", | ||
"@promptbook/utils": "0.46.0-0", | ||
"@promptbook/wizzard": "0.46.0-0" | ||
"@promptbook/core": "0.46.0-1", | ||
"@promptbook/execute-javascript": "0.46.0-1", | ||
"@promptbook/langtail": "0.46.0-1", | ||
"@promptbook/mock": "0.46.0-1", | ||
"@promptbook/openai": "0.46.0-1", | ||
"@promptbook/remote-client": "0.46.0-1", | ||
"@promptbook/remote-server": "0.46.0-1", | ||
"@promptbook/utils": "0.46.0-1", | ||
"@promptbook/wizzard": "0.46.0-1" | ||
}, | ||
"devDependencies": { | ||
"@promptbook/cli": "0.46.0-0", | ||
"@promptbook/types": "0.46.0-0" | ||
"@promptbook/cli": "0.46.0-1", | ||
"@promptbook/types": "0.46.0-1" | ||
} | ||
} |
119
README.md
@@ -5,5 +5,5 @@ # ![Promptbook logo - cube with letters P and B](./other/design/logo-h1.png) Promptbook | ||
<!--Badges--> | ||
<!--โ ๏ธWARNING: This section was generated by https://github.com/hejny/batch-project-editor/blob/main/src/workflows/800-badges/badges.ts so every manual change will be overwritten.--> | ||
[![License of ๐ Prompt book](https://img.shields.io/github/license/webgptorg/promptbook.svg?style=flat)](https://github.com/webgptorg/promptbook/blob/main/LICENSE) | ||
@@ -14,26 +14,8 @@ [![Known Vulnerabilities](https://snyk.io/test/github/webgptorg/promptbook/badge.svg)](https://snyk.io/test/github/webgptorg/promptbook) | ||
<!--/Badges--> | ||
## ๐ฆ Package `promptbook` | ||
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook). | ||
- This package `promptbook` is one part of the promptbook ecosystem. | ||
To install this package, run: | ||
```bash | ||
npm i promptbook | ||
``` | ||
<!-- TODO: --> | ||
--- | ||
Rest of the documentation is common for **entire promptbook ecosystem**: | ||
<!-- | ||
TODO: Probbably remove this section only in packages | ||
> โ Warning: This library is still in early development. | ||
--> | ||
## ๐ค Whitepaper | ||
@@ -80,4 +62,4 @@ | ||
<!-- TODO: [๐ง ] Make some more clear escaping --> | ||
### Sample: | ||
@@ -87,4 +69,4 @@ | ||
<!------------------------[ Sample: ]------------------------> | ||
> # ๐ Create website content | ||
@@ -259,4 +241,4 @@ > | ||
<!------------------------[ /Sample ]------------------------> | ||
Following is the scheme how the promptbook above is executed: | ||
@@ -322,6 +304,7 @@ | ||
<!--[๐ ]--> | ||
<!-- Add all new --> | ||
- โญ **[ptbk](https://www.npmjs.com/package/@promptbook/core)** - Bundle of all packages, when you want to install everything and you don't care about the size | ||
- **[promptbook](https://www.npmjs.com/package/@promptbook/core)** - Just alias for `ptbk` | ||
- **[@promptbook/core](https://www.npmjs.com/package/@promptbook/core)** - Core of the library, it contains the main logic for promptbooks | ||
@@ -505,3 +488,3 @@ - โญ **[@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 | ||
- `SimplePromptInterfaceTools` is a wrapper around `window.prompt` synchronous function that interacts with the user via browser prompt. It is used for testing and mocking **NOT intended to use in the production** due to its synchronous nature. | ||
- `CallbackInterfaceTools` delagates the user interaction to a async callback function. You need to provide your own implementation of this callback function and its bind to UI. <!-- <- TODO: Provide here a way how to do it with some our plugin --> | ||
- `CallbackInterfaceTools` delagates the user interaction to a async callback function. You need to provide your own implementation of this callback function and its bind to UI. | ||
@@ -576,7 +559,4 @@ ### Executor | ||
<!-- | ||
### New | ||
[๐ฅป] Insert here when making new command | ||
--> | ||
### Execution report | ||
@@ -588,4 +568,4 @@ | ||
<!-- TODO: Write more --> | ||
### Remote server | ||
@@ -600,20 +580,4 @@ | ||
<!-- | ||
TODO: [๐งโโ๏ธ] | ||
### ๐งโโ๏ธ Using wizzard | ||
First you need to install this library: | ||
```bash | ||
npm install --save @promptbook/wizzard | ||
``` | ||
> TODO: !! Write the Wizzard sample | ||
[Usage samples](./samples/usage/) | ||
--> | ||
### ๐ Usage in Typescript / Javascript | ||
@@ -642,8 +606,8 @@ | ||
<!-- TODO: --> | ||
## ๐งผ Intentionally not implemented features | ||
<!-- TODO: --> | ||
## โ FAQ | ||
@@ -663,12 +627,3 @@ | ||
<!-- | ||
========== | ||
Include: | ||
- Langchain is the python library and JavaScript is on second place | ||
- Langchain primarily focused on making templates, not on combining templates into larger structures | ||
- at the language level it distinguishes between chat and completion, I need to mix the two into one template pipeline | ||
- for a non-programmer it's quite hard to work with such a thing and write templates - I would much prefer a system that allows non-technical people to write templates (of which there are many more on the market than free pythonists) | ||
- The focus of promptbooks is primarily on building user applications, not the data processing, training or autogpt. | ||
--> | ||
@@ -679,24 +634,8 @@ ### Promptbooks vs. OpenAI`s GPTs | ||
<!-- | ||
TODO: | ||
### Promptbooks vs. Semantic Kernel | ||
--> | ||
<!-- | ||
TODO: ! | ||
### Promptbooks vs. Langtail | ||
--> | ||
<!-- | ||
TODO: | ||
### Promptbooks vs. Evidentally AI | ||
Logging and monitoring | ||
--> | ||
### Where should I store my promptbooks? | ||
@@ -722,30 +661,6 @@ | ||
<!-- | ||
TODO: (Maybe) | ||
### Why you need to explicitly specify input and output parameters? | ||
--> | ||
<!-- | ||
! | ||
unit testing | ||
escaping | ||
how i get block into prompt | ||
## ๐ท Limitations | ||
function calling | ||
system message | ||
iterations | ||
--> | ||
## โ Changelog | ||
@@ -759,5 +674,5 @@ | ||
<!--Contributing--> | ||
<!--โ ๏ธWARNING: This section was generated by https://github.com/hejny/batch-project-editor/blob/main/src/workflows/810-contributing/contributing.ts so every manual change will be overwritten.--> | ||
## ๐๏ธ Contributing | ||
@@ -767,4 +682,2 @@ | ||
You can also โญ star the promptbook package, [follow me on GitHub](https://github.com/hejny) or [various other social networks](https://www.pavolhejny.com/contact/). | ||
<!--/Contributing--> | ||
You can also โญ star the promptbook package, [follow me on GitHub](https://github.com/hejny) or [various other social networks](https://www.pavolhejny.com/contact/). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27867
667
+ Added@promptbook/core@0.46.0-1(transitive)
+ Added@promptbook/execute-javascript@0.46.0-1(transitive)
+ Added@promptbook/langtail@0.46.0-1(transitive)
+ Added@promptbook/mock@0.46.0-1(transitive)
+ Added@promptbook/openai@0.46.0-1(transitive)
+ Added@promptbook/remote-client@0.46.0-1(transitive)
+ Added@promptbook/remote-server@0.46.0-1(transitive)
+ Added@promptbook/utils@0.46.0-1(transitive)
+ Added@promptbook/wizzard@0.46.0-1(transitive)
- Removed@promptbook/core@0.46.0-0(transitive)
- Removed@promptbook/execute-javascript@0.46.0-0(transitive)
- Removed@promptbook/langtail@0.46.0-0(transitive)
- Removed@promptbook/mock@0.46.0-0(transitive)
- Removed@promptbook/openai@0.46.0-0(transitive)
- Removed@promptbook/remote-client@0.46.0-0(transitive)
- Removed@promptbook/remote-server@0.46.0-0(transitive)
- Removed@promptbook/utils@0.46.0-0(transitive)
- Removed@promptbook/wizzard@0.46.0-0(transitive)
Updated@promptbook/core@0.46.0-1
Updated@promptbook/mock@0.46.0-1
Updated@promptbook/openai@0.46.0-1
Updated@promptbook/utils@0.46.0-1
Updated@promptbook/wizzard@0.46.0-1