@promptbook/types 0.52.0-18 → 0.52.0-19
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
CHANGED
|
@@ -559,8 +559,6 @@ _Note: LLMs work with tokens, not characters, but in Promptbooks we want to use
|
|
|
559
559
|
```markdown
|
|
560
560
|
# ✨ Sample: Expectations
|
|
561
561
|
|
|
562
|
-
- PROMPTBOOK URL https://promptbook.example.com/samples/postprocessing-2.ptbk.md@v1
|
|
563
|
-
- PROMPTBOOK VERSION 1.0.0
|
|
564
562
|
- INPUT PARAMETER {yourName} Name of the hero
|
|
565
563
|
|
|
566
564
|
## 💬 Question
|
|
@@ -31,11 +31,12 @@ type CreatePromptbookLibraryFromDirectoryOptions = {
|
|
|
31
31
|
export declare function createPromptbookLibraryFromDirectory(path: string_folder_path, options?: CreatePromptbookLibraryFromDirectoryOptions): PromptbookLibrary;
|
|
32
32
|
export {};
|
|
33
33
|
/***
|
|
34
|
-
*
|
|
34
|
+
* TODO: [🧠] Maybe do not do hacks like [1] and just create package @promptbook/node
|
|
35
|
+
* [🍓][🚯] maybe make `@promptbook/library` package
|
|
36
|
+
* TODO: Fix the dynamic import issue in Webpack (! Not working !)
|
|
35
37
|
* > ./node_modules/@promptbook/core/esm/index.es.js
|
|
36
38
|
* > Critical dependency: the request of a dependency is an expression
|
|
37
39
|
*
|
|
38
|
-
* Note: [
|
|
40
|
+
* Note: [1] Using require(just('fs/promises')) to allow
|
|
39
41
|
* the `@promptbook/core` work for both Node.js and browser environments
|
|
40
|
-
* TODO: [🍓][🚯] !!! Add to README and samples + maybe make `@promptbook/library` package
|
|
41
42
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/types",
|
|
3
|
-
"version": "0.52.0-
|
|
3
|
+
"version": "0.52.0-19",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
],
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@promptbook/core": "0.52.0-
|
|
48
|
+
"@promptbook/core": "0.52.0-19"
|
|
49
49
|
},
|
|
50
50
|
"main": "./umd/index.umd.js",
|
|
51
51
|
"module": "./esm/index.es.js",
|
|
@@ -31,11 +31,12 @@ type CreatePromptbookLibraryFromDirectoryOptions = {
|
|
|
31
31
|
export declare function createPromptbookLibraryFromDirectory(path: string_folder_path, options?: CreatePromptbookLibraryFromDirectoryOptions): PromptbookLibrary;
|
|
32
32
|
export {};
|
|
33
33
|
/***
|
|
34
|
-
*
|
|
34
|
+
* TODO: [🧠] Maybe do not do hacks like [1] and just create package @promptbook/node
|
|
35
|
+
* [🍓][🚯] maybe make `@promptbook/library` package
|
|
36
|
+
* TODO: Fix the dynamic import issue in Webpack (! Not working !)
|
|
35
37
|
* > ./node_modules/@promptbook/core/esm/index.es.js
|
|
36
38
|
* > Critical dependency: the request of a dependency is an expression
|
|
37
39
|
*
|
|
38
|
-
* Note: [
|
|
40
|
+
* Note: [1] Using require(just('fs/promises')) to allow
|
|
39
41
|
* the `@promptbook/core` work for both Node.js and browser environments
|
|
40
|
-
* TODO: [🍓][🚯] !!! Add to README and samples + maybe make `@promptbook/library` package
|
|
41
42
|
*/
|