@promptbook/remote-server 0.72.0-33 → 0.72.0-34
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/esm/typings/src/executables/apps/locateLibreoffice.d.ts +1 -1
- package/esm/typings/src/executables/apps/locatePandoc.d.ts +1 -1
- package/esm/typings/src/executables/locateApp.d.ts +1 -1
- package/esm/typings/src/executables/platforms/locateAppOnLinux.d.ts +2 -2
- package/esm/typings/src/executables/platforms/locateAppOnMacOs.d.ts +1 -1
- package/esm/typings/src/executables/platforms/locateAppOnWindows.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
package/README.md
CHANGED
|
@@ -52,15 +52,15 @@ Rest of the documentation is common for **entire promptbook ecosystem**:
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
If you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama
|
|
55
|
+
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.
|
|
56
56
|
|
|
57
|
-
But often you will struggle with the limitations of LLMs
|
|
57
|
+
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:
|
|
58
58
|
|
|
59
59
|
1. **Fine-tune** the model to your specifications or even train your own.
|
|
60
60
|
2. **Prompt-engineer** the prompt to the best shape you can achieve.
|
|
61
61
|
3. Orchestrate **multiple prompts** in a [pipeline](https://github.com/webgptorg/promptbook/discussions/64) to get the best result.
|
|
62
62
|
|
|
63
|
-
In all of these situations, but especially in 3., the Promptbook
|
|
63
|
+
In all of these situations, but especially in 3., the **✨ Promptbook can make your life waaaaaaaaaay easier**.
|
|
64
64
|
|
|
65
65
|
- [**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.
|
|
66
66
|
- 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
|
@@ -7,7 +7,7 @@ import spaceTrim$1, { spaceTrim } from 'spacetrim';
|
|
|
7
7
|
/**
|
|
8
8
|
* The version of the Promptbook library
|
|
9
9
|
*/
|
|
10
|
-
var PROMPTBOOK_VERSION = '0.72.0-
|
|
10
|
+
var PROMPTBOOK_VERSION = '0.72.0-33';
|
|
11
11
|
// TODO: [main] !!!! List here all the versions and annotate + put into script
|
|
12
12
|
|
|
13
13
|
/*! *****************************************************************************
|
|
@@ -4,7 +4,7 @@ import type { string_executable_path } from '../../types/typeAliases';
|
|
|
4
4
|
*
|
|
5
5
|
* @private within the repository
|
|
6
6
|
*/
|
|
7
|
-
export declare function locateLibreoffice(): Promise<string_executable_path>;
|
|
7
|
+
export declare function locateLibreoffice(): Promise<string_executable_path | null>;
|
|
8
8
|
/**
|
|
9
9
|
* TODO: [🧠][♿] Maybe export through `@promptbook/node` OR `@promptbook/legacy-documents`
|
|
10
10
|
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
@@ -4,7 +4,7 @@ import type { string_executable_path } from '../../types/typeAliases';
|
|
|
4
4
|
*
|
|
5
5
|
* @private within the repository
|
|
6
6
|
*/
|
|
7
|
-
export declare function locatePandoc(): Promise<string_executable_path>;
|
|
7
|
+
export declare function locatePandoc(): Promise<string_executable_path | null>;
|
|
8
8
|
/**
|
|
9
9
|
* TODO: [🧠][♿] Maybe export through `@promptbook/node` OR `@promptbook/documents`
|
|
10
10
|
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
@@ -26,7 +26,7 @@ export interface LocateAppOptions {
|
|
|
26
26
|
*
|
|
27
27
|
* @private within the repository
|
|
28
28
|
*/
|
|
29
|
-
export declare function locateApp(options: RequireAtLeastOne<LocateAppOptions, 'linuxWhich' | 'windowsSuffix' | 'macOsName'>): Promise<string_executable_path>;
|
|
29
|
+
export declare function locateApp(options: RequireAtLeastOne<LocateAppOptions, 'linuxWhich' | 'windowsSuffix' | 'macOsName'>): Promise<string_executable_path | null>;
|
|
30
30
|
/**
|
|
31
31
|
* TODO: [🧠][♿] Maybe export through `@promptbook/node`
|
|
32
32
|
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { LocateAppOptions } from '../locateApp';
|
|
2
1
|
import type { string_executable_path } from '../../types/typeAliases';
|
|
2
|
+
import type { LocateAppOptions } from '../locateApp';
|
|
3
3
|
/**
|
|
4
4
|
* @@@
|
|
5
5
|
*
|
|
6
6
|
* @private within the repository
|
|
7
7
|
*/
|
|
8
|
-
export declare function locateAppOnLinux({ appName, linuxWhich, }: Pick<Required<LocateAppOptions>, 'appName' | 'linuxWhich'>): Promise<string_executable_path>;
|
|
8
|
+
export declare function locateAppOnLinux({ appName, linuxWhich, }: Pick<Required<LocateAppOptions>, 'appName' | 'linuxWhich'>): Promise<string_executable_path | null>;
|
|
9
9
|
/**
|
|
10
10
|
* TODO: [🧠][♿] Maybe export through `@promptbook/node`
|
|
11
11
|
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
@@ -5,7 +5,7 @@ import type { LocateAppOptions } from '../locateApp';
|
|
|
5
5
|
*
|
|
6
6
|
* @private within the repository
|
|
7
7
|
*/
|
|
8
|
-
export declare function locateAppOnMacOs({ appName, macOsName, }: Pick<Required<LocateAppOptions>, 'appName' | 'macOsName'>): Promise<string_executable_path>;
|
|
8
|
+
export declare function locateAppOnMacOs({ appName, macOsName, }: Pick<Required<LocateAppOptions>, 'appName' | 'macOsName'>): Promise<string_executable_path | null>;
|
|
9
9
|
/**
|
|
10
10
|
* TODO: [🧠][♿] Maybe export through `@promptbook/node`
|
|
11
11
|
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
|
@@ -5,7 +5,7 @@ import type { LocateAppOptions } from '../locateApp';
|
|
|
5
5
|
*
|
|
6
6
|
* @private within the repository
|
|
7
7
|
*/
|
|
8
|
-
export declare function locateAppOnWindows({ appName, windowsSuffix, }: Pick<Required<LocateAppOptions>, 'appName' | 'windowsSuffix'>): Promise<string_executable_path>;
|
|
8
|
+
export declare function locateAppOnWindows({ appName, windowsSuffix, }: Pick<Required<LocateAppOptions>, 'appName' | 'windowsSuffix'>): Promise<string_executable_path | null>;
|
|
9
9
|
/**
|
|
10
10
|
* TODO: [🧠][♿] Maybe export through `@promptbook/node`
|
|
11
11
|
* Note: [🟢] Code in this file should never be never released in packages that could be imported into browser environment
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/remote-server",
|
|
3
|
-
"version": "0.72.0-
|
|
3
|
+
"version": "0.72.0-34",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"module": "./esm/index.es.js",
|
|
53
53
|
"typings": "./esm/typings/src/_packages/remote-server.index.d.ts",
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@promptbook/core": "0.72.0-
|
|
55
|
+
"@promptbook/core": "0.72.0-34"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"colors": "1.4.0",
|
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.72.0-
|
|
17
|
+
var PROMPTBOOK_VERSION = '0.72.0-33';
|
|
18
18
|
// TODO: [main] !!!! List here all the versions and annotate + put into script
|
|
19
19
|
|
|
20
20
|
/*! *****************************************************************************
|