@promptbook/anthropic-claude 0.77.0-6 → 0.77.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.
package/README.md
CHANGED
|
@@ -23,10 +23,6 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
<blockquote style="color: #ff8811">
|
|
27
|
-
<b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
|
|
28
|
-
</blockquote>
|
|
29
|
-
|
|
30
26
|
## 📦 Package `@promptbook/anthropic-claude`
|
|
31
27
|
|
|
32
28
|
- Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
|
|
@@ -142,6 +138,7 @@ import { $provideExecutionToolsForNode } from '@promptbook/node';
|
|
|
142
138
|
import { $provideFilesystemForNode } from '@promptbook/node';
|
|
143
139
|
import { JavascriptExecutionTools } from '@promptbook/execute-javascript';
|
|
144
140
|
import { OpenAiExecutionTools } from '@promptbook/openai';
|
|
141
|
+
import { AnthropicClaudeExecutionTools } from '@promptbook/anthropic-claude';
|
|
145
142
|
|
|
146
143
|
// ▶ Prepare multiple tools
|
|
147
144
|
const fs = $provideFilesystemForNode();
|
|
@@ -202,9 +199,14 @@ console.info(outputParameters);
|
|
|
202
199
|
|
|
203
200
|
## 💙 Integration with other models
|
|
204
201
|
|
|
205
|
-
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
See the other model integrations:
|
|
206
205
|
|
|
207
206
|
- [OpenAI](https://www.npmjs.com/package/@promptbook/openai)
|
|
207
|
+
- [Anthropic Claude](https://www.npmjs.com/package/@promptbook/anthropic-claude)
|
|
208
|
+
- [Google Gemini](https://www.npmjs.com/package/@promptbook/google)
|
|
209
|
+
- [Vercel](https://www.npmjs.com/package/@promptbook/vercel)
|
|
208
210
|
- [Azure OpenAI](https://www.npmjs.com/package/@promptbook/azure-openai)
|
|
209
211
|
|
|
210
212
|
|
package/esm/index.es.js
CHANGED
|
@@ -15,7 +15,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
15
15
|
*
|
|
16
16
|
* @see https://github.com/webgptorg/promptbook
|
|
17
17
|
*/
|
|
18
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.77.0-
|
|
18
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.77.0-6';
|
|
19
19
|
/**
|
|
20
20
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
21
21
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -10,9 +10,5 @@ export declare const createGoogleExecutionTools: ((options: GoogleExecutionTools
|
|
|
10
10
|
className: string;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
|
-
* TODO: [🧠][main] !!!! Make anonymous this with all LLM providers
|
|
14
|
-
* TODO: [🧠][🧱][main] !!!! Maybe change all `new GoogleExecutionTools` -> `createGoogleExecutionTools` in manual
|
|
15
|
-
* TODO: [🧠] Maybe auto-detect usage in browser and determine default value of `isProxied`
|
|
16
|
-
* TODO: [🦺] Is there some way how to put `packageName` and `className` on top and function definition on bottom?
|
|
17
13
|
* TODO: [🎶] Naming "constructor" vs "creator" vs "factory"
|
|
18
14
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/anthropic-claude",
|
|
3
|
-
"version": "0.77.0
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
|
|
5
5
|
"--note-0": " <- [🐊]",
|
|
6
6
|
"private": false,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"module": "./esm/index.es.js",
|
|
55
55
|
"typings": "./esm/typings/src/_packages/anthropic-claude.index.d.ts",
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@promptbook/core": "0.77.0
|
|
57
|
+
"@promptbook/core": "0.77.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@anthropic-ai/sdk": "0.26.1",
|
package/umd/index.umd.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*
|
|
23
23
|
* @see https://github.com/webgptorg/promptbook
|
|
24
24
|
*/
|
|
25
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.77.0-
|
|
25
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.77.0-6';
|
|
26
26
|
/**
|
|
27
27
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
28
28
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|