Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

promptbook

Package Overview
Dependencies
Maintainers
1
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promptbook - npm Package Compare versions

Comparing version 0.46.0-0 to 0.46.0-1

24

package.json
{
"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"
}
}

@@ -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/).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc