@promptbook/openai 0.50.0-12 → 0.50.0-14

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.
@@ -10,7 +10,8 @@ import type { ExecutionType } from '../types/ExecutionTypes';
10
10
  import type { ModelRequirements, ModelVariant } from '../types/ModelRequirements';
11
11
  import type { Parameters } from '../types/Parameters';
12
12
  import type { Prompt } from '../types/Prompt';
13
- import type { EXPECTATION_UNITS, ExpectationAmount, Expectations, ExpectationUnit, LlmTemplateJson, PromptDialogJson, PromptTemplateJson, ScriptJson, SimpleTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
13
+ import type { ExpectationAmount, Expectations, ExpectationUnit, LlmTemplateJson, PromptDialogJson, PromptTemplateJson, ScriptJson, SimpleTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
14
+ import { EXPECTATION_UNITS } from '../types/PromptbookJson/PromptTemplateJson';
14
15
  import type { PromptTemplateParameterJson } from '../types/PromptbookJson/PromptTemplateParameterJson';
15
16
  import type { PromptbookJson } from '../types/PromptbookJson/PromptbookJson';
16
17
  import type { PromptbookString } from '../types/PromptbookString';
@@ -32,7 +32,7 @@ export type Expectations = Partial<Record<Lowercase<ExpectationUnit>, {
32
32
  /**
33
33
  * Units of text measurement
34
34
  */
35
- export declare const EXPECTATION_UNITS: readonly ["CHARACTERS", "WORDS", "SENTENCES", "PARAGRAPHS", "LINES", "PAGES"];
35
+ export declare const EXPECTATION_UNITS: readonly ["CHARACTERS", "WORDS", "SENTENCES", "LINES", "PARAGRAPHS", "PAGES"];
36
36
  /**
37
37
  * Unit of text measurement
38
38
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/openai",
3
- "version": "0.50.0-12",
3
+ "version": "0.50.0-14",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -48,7 +48,7 @@
48
48
  }
49
49
  ],
50
50
  "peerDependencies": {
51
- "@promptbook/core": "0.50.0-12"
51
+ "@promptbook/core": "0.50.0-14"
52
52
  },
53
53
  "main": "./umd/index.umd.js",
54
54
  "module": "./esm/index.es.js",
@@ -10,7 +10,8 @@ import type { ExecutionType } from '../types/ExecutionTypes';
10
10
  import type { ModelRequirements, ModelVariant } from '../types/ModelRequirements';
11
11
  import type { Parameters } from '../types/Parameters';
12
12
  import type { Prompt } from '../types/Prompt';
13
- import type { EXPECTATION_UNITS, ExpectationAmount, Expectations, ExpectationUnit, LlmTemplateJson, PromptDialogJson, PromptTemplateJson, ScriptJson, SimpleTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
13
+ import type { ExpectationAmount, Expectations, ExpectationUnit, LlmTemplateJson, PromptDialogJson, PromptTemplateJson, ScriptJson, SimpleTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
14
+ import { EXPECTATION_UNITS } from '../types/PromptbookJson/PromptTemplateJson';
14
15
  import type { PromptTemplateParameterJson } from '../types/PromptbookJson/PromptTemplateParameterJson';
15
16
  import type { PromptbookJson } from '../types/PromptbookJson/PromptbookJson';
16
17
  import type { PromptbookString } from '../types/PromptbookString';
@@ -32,7 +32,7 @@ export type Expectations = Partial<Record<Lowercase<ExpectationUnit>, {
32
32
  /**
33
33
  * Units of text measurement
34
34
  */
35
- export declare const EXPECTATION_UNITS: readonly ["CHARACTERS", "WORDS", "SENTENCES", "PARAGRAPHS", "LINES", "PAGES"];
35
+ export declare const EXPECTATION_UNITS: readonly ["CHARACTERS", "WORDS", "SENTENCES", "LINES", "PARAGRAPHS", "PAGES"];
36
36
  /**
37
37
  * Unit of text measurement
38
38
  */