@promptbook/types 0.102.0 → 0.103.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.
package/README.md CHANGED
@@ -29,6 +29,10 @@ Write AI applications using plain human language across multiple models and plat
29
29
 
30
30
 
31
31
 
32
+ <blockquote style="color: #ff8811">
33
+ <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>.
34
+ </blockquote>
35
+
32
36
  ## 📦 Package `@promptbook/types`
33
37
 
34
38
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
@@ -40,7 +40,7 @@ export declare class AnthropicClaudeExecutionTools implements LlmExecutionTools
40
40
  /**
41
41
  * Calls Anthropic Claude API to use a chat model.
42
42
  */
43
- callChatModel(prompt: Pick<Prompt, 'content' | 'parameters' | 'modelRequirements'>): Promise<ChatPromptResult>;
43
+ callChatModel(prompt: Prompt): Promise<ChatPromptResult>;
44
44
  /**
45
45
  * Get the model that should be used as default
46
46
  */
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.102.0-18`).
18
+ * It follows semantic versioning (e.g., `0.102.0`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/types",
3
- "version": "0.102.0",
3
+ "version": "0.103.0-0",
4
4
  "description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -92,6 +92,6 @@
92
92
  },
93
93
  "typings": "./esm/typings/src/_packages/types.index.d.ts",
94
94
  "peerDependencies": {
95
- "@promptbook/core": "0.102.0"
95
+ "@promptbook/core": "0.103.0-0"
96
96
  }
97
97
  }