@promptbook/openai 0.69.3 → 0.69.6
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 +3 -3
- package/esm/index.es.js +1 -1
- package/package.json +4 -3
- package/umd/index.umd.js +1 -1
package/README.md
CHANGED
|
@@ -210,15 +210,15 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
210
210
|
|
|
211
211
|
|
|
212
212
|
|
|
213
|
-
If you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama
|
|
213
|
+
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.
|
|
214
214
|
|
|
215
|
-
But often you will struggle with the limitations of LLMs
|
|
215
|
+
But often you will struggle with the **limitations of LLMs**, such as **hallucinations, off-topic responses, poor quality output, language and prompt drift, word repetition repetition repetition repetition or misuse, lack of context, or just plain w𝒆𝐢rd responses**. When this happens, you generally have three options:
|
|
216
216
|
|
|
217
217
|
1. **Fine-tune** the model to your specifications or even train your own.
|
|
218
218
|
2. **Prompt-engineer** the prompt to the best shape you can achieve.
|
|
219
219
|
3. Orchestrate **multiple prompts** in a [pipeline](https://github.com/webgptorg/promptbook/discussions/64) to get the best result.
|
|
220
220
|
|
|
221
|
-
In all of these situations, but especially in 3., the Promptbook
|
|
221
|
+
In all of these situations, but especially in 3., the **✨ Promptbook can make your life waaaaaaaaaay easier**.
|
|
222
222
|
|
|
223
223
|
- [**Separates concerns**](https://github.com/webgptorg/promptbook/discussions/32) between prompt-engineer and programmer, between code files and prompt files, and between prompts and their execution logic.
|
|
224
224
|
- Establishes a [**common format `.ptbk.md`**](https://github.com/webgptorg/promptbook/discussions/85) that can be used to describe your prompt business logic without having to write code or deal with the technicalities of LLMs.
|
package/esm/index.es.js
CHANGED
|
@@ -6,7 +6,7 @@ import spaceTrim$1, { spaceTrim } from 'spacetrim';
|
|
|
6
6
|
/**
|
|
7
7
|
* The version of the Promptbook library
|
|
8
8
|
*/
|
|
9
|
-
var PROMPTBOOK_VERSION = '0.69.
|
|
9
|
+
var PROMPTBOOK_VERSION = '0.69.5';
|
|
10
10
|
// TODO: [main] !!!! List here all the versions and annotate + put into script
|
|
11
11
|
|
|
12
12
|
/*! *****************************************************************************
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/openai",
|
|
3
|
-
"version": "0.69.
|
|
3
|
+
"version": "0.69.6",
|
|
4
4
|
"description": "Build responsible, controlled and transparent applications on top of LLM models!",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"contributors": [
|
|
12
12
|
"Pavol Hejný <me@pavolhejny.com> (https://www.pavolhejny.com/)"
|
|
13
13
|
],
|
|
14
|
+
"todo-0": "TODO: [❇️] Make better list of keywords",
|
|
14
15
|
"keywords": [
|
|
15
16
|
"ai",
|
|
16
17
|
"llm",
|
|
@@ -51,11 +52,11 @@
|
|
|
51
52
|
"module": "./esm/index.es.js",
|
|
52
53
|
"typings": "./esm/typings/src/_packages/openai.index.d.ts",
|
|
53
54
|
"peerDependencies": {
|
|
54
|
-
"@promptbook/core": "0.69.
|
|
55
|
+
"@promptbook/core": "0.69.6"
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
57
58
|
"colors": "1.4.0",
|
|
58
59
|
"openai": "4.55.9",
|
|
59
|
-
"spacetrim": "0.11.
|
|
60
|
+
"spacetrim": "0.11.59"
|
|
60
61
|
}
|
|
61
62
|
}
|
package/umd/index.umd.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/**
|
|
15
15
|
* The version of the Promptbook library
|
|
16
16
|
*/
|
|
17
|
-
var PROMPTBOOK_VERSION = '0.69.
|
|
17
|
+
var PROMPTBOOK_VERSION = '0.69.5';
|
|
18
18
|
// TODO: [main] !!!! List here all the versions and annotate + put into script
|
|
19
19
|
|
|
20
20
|
/*! *****************************************************************************
|