ptbk 0.46.0-4 → 0.47.0-0

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.
Files changed (2) hide show
  1. package/README.md +14 -8
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -16,7 +16,7 @@ Library to supercharge your use of large language models
16
16
 
17
17
 
18
18
 
19
- ## 🤍 Whitepaper
19
+ ## 🤍 The Promptbook Whitepaper
20
20
 
21
21
  When you have a simple, single prompt for ChatGPT, GPT-4, Anthropic Claude, Google Gemini, Llama 2, or whatever, it doesn't matter how it is integrated. Whether it's the direct calling of a REST API, using the SDK, hardcoding the prompt in the source code, or importing a text file, the process remains the same.
22
22
 
@@ -436,22 +436,24 @@ For example:
436
436
 
437
437
  ### Execution Tools
438
438
 
439
+
440
+
439
441
  `ExecutionTools` is an interface which contains all the tools needed to execute prompts.
440
442
  It contais 3 subtools:
441
443
 
442
- - `NaturalExecutionTools`
444
+ - `LlmExecutionTools`
443
445
  - `ScriptExecutionTools`
444
446
  - `UserInterfaceTools`
445
447
 
446
448
  Which are described below:
447
449
 
448
- #### Natural Execution Tools
450
+ #### LLM Execution Tools
449
451
 
450
- `NaturalExecutionTools` is a container for all the tools needed to execute prompts to large language models like GPT-4.
452
+ `LlmExecutionTools` is a container for all the tools needed to execute prompts to large language models like GPT-4.
451
453
  On its interface it exposes common methods for prompt execution.
452
454
  Internally it calls OpenAI, Azure, GPU, proxy, cache, logging,...
453
455
 
454
- `NaturalExecutionTools` an abstract interface that is implemented by concrete execution tools:
456
+ `LlmExecutionTools` an abstract interface that is implemented by concrete execution tools:
455
457
 
456
458
  - `OpenAiExecutionTools`
457
459
  - _(Not implemented yet)_ `AnthropicClaudeExecutionTools`
@@ -459,9 +461,9 @@ Internally it calls OpenAI, Azure, GPU, proxy, cache, logging,...
459
461
  - _(Not implemented yet)_ `BardExecutionTools`
460
462
  - _(Not implemented yet)_ `LamaExecutionTools`
461
463
  - _(Not implemented yet)_ `GpuExecutionTools`
462
- - And a special case are `RemoteNaturalExecutionTools` that connect to a remote server and run one of the above execution tools on that server.
463
- - The second special case is `MockedEchoNaturalExecutionTools` that is used for testing and mocking.
464
- - The third special case is `LogNaturalExecutionToolsWrapper` that is technically also an execution tools but it is more proxy wrapper around other execution tools that logs all calls to execution tools.
464
+ - And a special case are `RemoteLlmExecutionTools` that connect to a remote server and run one of the above execution tools on that server.
465
+ - The second special case is `MockedEchoLlmExecutionTools` that is used for testing and mocking.
466
+ - The third special case is `LogLlmExecutionToolsWrapper` that is technically also an execution tools but it is more proxy wrapper around other execution tools that logs all calls to execution tools.
465
467
 
466
468
  #### Script Execution Tools
467
469
 
@@ -658,6 +660,10 @@ See [CHANGELOG.md](./CHANGELOG.md)
658
660
 
659
661
  <p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://github.com/webgptorg/promptbook">Promptbook</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://github.com/hejny/">Pavol Hejný</a> is licensed under <a href="https://creativecommons.org/licenses/by/4.0/?ref=chooser-v1" target="_blank" rel="license noopener noreferrer" style="display:inline-block;">CC BY 4.0</a></p>
660
662
 
663
+ ## 🎯 Todos
664
+
665
+ See [TODO.md](./TODO.md)
666
+
661
667
 
662
668
 
663
669
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ptbk",
3
- "version": "0.46.0-4",
3
+ "version": "0.47.0-0",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -34,6 +34,6 @@
34
34
  },
35
35
  "homepage": "https://www.npmjs.com/package/@promptbook/core",
36
36
  "dependencies": {
37
- "promptbook": "0.46.0-4"
37
+ "promptbook": "0.47.0-0"
38
38
  }
39
39
  }