@promptbook/types 0.64.0-0 → 0.65.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.
@@ -30,7 +30,7 @@ import type { UncertainNumber } from '../execution/UncertainNumber';
30
30
  import type { UserInterfaceTools } from '../execution/UserInterfaceTools';
31
31
  import type { UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
32
32
  import type { CallbackInterfaceToolsOptions } from '../knowledge/dialogs/callback/CallbackInterfaceToolsOptions';
33
- import type { LlmToolsConfiguration } from '../llm-providers/_common/LlmConfiguration';
33
+ import type { LlmToolsConfiguration } from '../llm-providers/_common/LlmToolsConfiguration';
34
34
  import type { CacheItem } from '../llm-providers/_common/utils/cache/CacheItem';
35
35
  import type { CacheLlmToolsOptions } from '../llm-providers/_common/utils/cache/CacheLlmToolsOptions';
36
36
  import type { LlmExecutionToolsWithTotalUsage } from '../llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage';
@@ -239,7 +239,6 @@ export type { UserInterfaceTools };
239
239
  export type { UserInterfaceToolsPromptDialogOptions };
240
240
  export type { CallbackInterfaceToolsOptions };
241
241
  export type { LlmToolsConfiguration };
242
- export type { LlmToolsConfiguration };
243
242
  export type { CacheItem };
244
243
  export type { CacheLlmToolsOptions };
245
244
  export type { LlmExecutionToolsWithTotalUsage };
@@ -1,9 +1,14 @@
1
+ import type { string_title } from '../../types/typeAliases';
1
2
  import type { TODO_object } from '../../utils/organization/TODO_object';
2
3
  import type { TODO_string } from '../../utils/organization/TODO_string';
3
4
  /**
4
5
  * @@@
5
6
  */
6
7
  export type LlmToolsConfiguration = Array<{
8
+ /**
9
+ * @@@
10
+ */
11
+ title: string_title;
7
12
  /**
8
13
  * @@@
9
14
  */
@@ -18,5 +23,6 @@ export type LlmToolsConfiguration = Array<{
18
23
  options: TODO_object;
19
24
  }>;
20
25
  /**
26
+ * TODO: [🧠][🌰] `title` is redundant BUT maybe allow each provider pass it's own title for tracking purposes
21
27
  * TODO: [🧠] Maybe add option for `constructorName` instead of `className`
22
28
  */
@@ -1,6 +1,6 @@
1
1
  import type { TODO_any } from '../../utils/organization/TODO_any';
2
2
  import type { LlmExecutionTools } from '../../execution/LlmExecutionTools';
3
- import type { LlmToolsConfiguration } from './LlmConfiguration';
3
+ import type { LlmToolsConfiguration } from './LlmToolsConfiguration';
4
4
  /**
5
5
  * @public exported from `@promptbook/node`
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import { MultipleLlmExecutionTools } from '../multiple/MultipleLlmExecutionTools';
2
- import type { LlmToolsConfiguration } from './LlmConfiguration';
2
+ import type { LlmToolsConfiguration } from './LlmToolsConfiguration';
3
3
  /**
4
4
  * Options for `createLlmToolsFromEnv`
5
5
  *
@@ -1,4 +1,4 @@
1
- import type { LlmToolsConfiguration } from './LlmConfiguration';
1
+ import type { LlmToolsConfiguration } from './LlmToolsConfiguration';
2
2
  /**
3
3
  * @@@
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/types",
3
- "version": "0.64.0-0",
3
+ "version": "0.65.0-0",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -45,6 +45,6 @@
45
45
  ],
46
46
  "typings": "./esm/typings/src/_packages/types.index.d.ts",
47
47
  "peerDependencies": {
48
- "@promptbook/core": "0.64.0-0"
48
+ "@promptbook/core": "0.65.0-0"
49
49
  }
50
50
  }
@@ -1,28 +0,0 @@
1
- import type { string_title } from '../../types/typeAliases';
2
- import type { TODO_object } from '../../utils/organization/TODO_object';
3
- import type { TODO_string } from '../../utils/organization/TODO_string';
4
- /**
5
- * @@@
6
- */
7
- export type LlmToolsConfiguration = Array<{
8
- /**
9
- * @@@
10
- */
11
- title: string_title;
12
- /**
13
- * @@@
14
- */
15
- packageName: TODO_string;
16
- /**
17
- * @@@
18
- */
19
- className: TODO_string;
20
- /**
21
- * @@@
22
- */
23
- options: TODO_object;
24
- }>;
25
- /**
26
- * TODO: [🧠][🌰] `title` is redundant BUT maybe allow each provider pass it's own title for tracking purposes
27
- * TODO: [🧠] Maybe add option for `constructorName` instead of `className`
28
- */