@promptbook/anthropic-claude
Advanced tools
Comparing version 0.74.0-5 to 0.74.0-6
{ | ||
"name": "@promptbook/anthropic-claude", | ||
"version": "0.74.0-5", | ||
"version": "0.74.0-6", | ||
"description": "Supercharge your use of large language models", | ||
@@ -56,3 +56,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.74.0-5" | ||
"@promptbook/core": "0.74.0-6" | ||
}, | ||
@@ -59,0 +59,0 @@ "dependencies": { |
@@ -220,4 +220,2 @@ <!-- โ ๏ธ WARNING: This code has been generated so that any manual changes will be overwritten --> | ||
If you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama 3, or whatever, it doesn't matter how you integrate it. Whether it's calling a REST API directly, using the SDK, hardcoding the prompt into the source code, or importing a text file, the process remains the same. | ||
@@ -291,20 +289,14 @@ | ||
Promptbook [pipelines](https://github.com/webgptorg/promptbook/discussions/64) are written in markdown-like language called [Book](https://github.com/webgptorg/book). It is designed to be understandable by non-programmers and non-technical people. | ||
```markdown | ||
# ๐ My first Book | ||
## ๐ The blueprint of book language | ||
- INPUT PARAMETER {subject} | ||
- OUTPUT PARAMETER {article} | ||
Following is the documentation and blueprint of the Book language. | ||
## Sample subject | ||
### Example | ||
> Promptbook | ||
```markdown | ||
# ๐ My first Book | ||
-> {subject} | ||
## Write an article | ||
- PERSONA Jane, marketing specialist with prior experience in writing articles about technology and artificial intelligence | ||
@@ -317,3 +309,3 @@ - KNOWLEDGE https://ptbk.io | ||
> Write an article about the future of artificial intelligence in the next 10 years and how metalanguages will change the way AI is used in the world. | ||
> Look specifically at the impact of {subject} on the AI industry. | ||
> Look specifically at the impact of Promptbook on the AI industry. | ||
@@ -323,2 +315,56 @@ -> {article} | ||
### Goals and principles of book language | ||
File is designed to be easy to read and write. It is strict subset of markdown. It is designed to be understandable by both humans and machines and without specific knowledge of the language. | ||
It has file with `.ptbk.md` or `.book` extension with `UTF-8` non BOM encoding. | ||
As it is source code, it can leverage all the features of version control systems like git and does not suffer from the problems of binary formats, proprietary formats, or no-code solutions. | ||
But unlike programming languages, it is designed to be understandable by non-programmers and non-technical people. | ||
### Structure | ||
Book is divided into sections. Each section starts with heading. The language itself is not sensitive to the type of heading _(`h1`, `h2`, `h3`, ...)_ but it is recommended to use `h1` for header section and `h2` for other sections. | ||
### Header | ||
Header is the first section of the book. It contains metadata about the pipeline. It is recommended to use `h1` heading for header section but it is not required. | ||
### Parameter | ||
Foo bar | ||
#### Parameter names | ||
Reserved words: | ||
- _each command_ like `PERSONA`, `EXPECT`, `KNOWLEDGE`, etc. | ||
- `content` | ||
- `context` | ||
- `knowledge` | ||
- `examples` | ||
- `modelName` | ||
- `currentDate` | ||
#### Parameter notation | ||
### Template | ||
Todo todo | ||
### Command | ||
Todo todo | ||
### Block | ||
Todo todo | ||
### Return parameter | ||
### Examples | ||
## ๐ฆ Packages _(for developers)_ | ||
@@ -325,0 +371,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
757054
571