@promptbook/azure-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
|
@@ -170,15 +170,15 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
If you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama
|
|
173
|
+
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.
|
|
174
174
|
|
|
175
|
-
But often you will struggle with the limitations of LLMs
|
|
175
|
+
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:
|
|
176
176
|
|
|
177
177
|
1. **Fine-tune** the model to your specifications or even train your own.
|
|
178
178
|
2. **Prompt-engineer** the prompt to the best shape you can achieve.
|
|
179
179
|
3. Orchestrate **multiple prompts** in a [pipeline](https://github.com/webgptorg/promptbook/discussions/64) to get the best result.
|
|
180
180
|
|
|
181
|
-
In all of these situations, but especially in 3., the Promptbook
|
|
181
|
+
In all of these situations, but especially in 3., the **✨ Promptbook can make your life waaaaaaaaaay easier**.
|
|
182
182
|
|
|
183
183
|
- [**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.
|
|
184
184
|
- 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/azure-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/azure-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
|
"@azure/openai": "1.0.0-beta.12",
|
|
58
59
|
"colors": "1.4.0",
|
|
59
|
-
"spacetrim": "0.11.
|
|
60
|
+
"spacetrim": "0.11.59"
|
|
60
61
|
}
|
|
61
62
|
}
|
package/umd/index.umd.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
/**
|
|
14
14
|
* The version of the Promptbook library
|
|
15
15
|
*/
|
|
16
|
-
var PROMPTBOOK_VERSION = '0.69.
|
|
16
|
+
var PROMPTBOOK_VERSION = '0.69.5';
|
|
17
17
|
// TODO: [main] !!!! List here all the versions and annotate + put into script
|
|
18
18
|
|
|
19
19
|
/*! *****************************************************************************
|