@promptbook/remote-server 0.10.0 → 0.12.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/esm/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionTools.d.ts +4 -4
- package/esm/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionToolsOptions.d.ts +5 -0
- package/package.json +2 -2
- package/umd/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionTools.d.ts +4 -4
- package/umd/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionToolsOptions.d.ts +5 -0
package/esm/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionTools.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Prompt } from '../../../../types/Prompt';
|
|
2
|
-
import { NaturalExecutionTools } from '../../../NaturalExecutionTools';
|
|
3
|
-
import { PromptChatResult, PromptCompletionResult } from '../../../PromptResult';
|
|
4
|
-
import { OpenAiExecutionToolsOptions } from './OpenAiExecutionToolsOptions';
|
|
1
|
+
import type { Prompt } from '../../../../types/Prompt';
|
|
2
|
+
import type { NaturalExecutionTools } from '../../../NaturalExecutionTools';
|
|
3
|
+
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult';
|
|
4
|
+
import type { OpenAiExecutionToolsOptions } from './OpenAiExecutionToolsOptions';
|
|
5
5
|
/**
|
|
6
6
|
* Execution Tools for calling OpenAI API.
|
|
7
7
|
*/
|
|
@@ -8,4 +8,9 @@ export interface OpenAiExecutionToolsOptions extends CommonExecutionToolsOptions
|
|
|
8
8
|
* OpenAI API key
|
|
9
9
|
*/
|
|
10
10
|
openAiApiKey: string_token;
|
|
11
|
+
/**
|
|
12
|
+
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
13
|
+
* and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
14
|
+
*/
|
|
15
|
+
user?: string_token;
|
|
11
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/remote-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Library to supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"spacetrim": "0.9.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@promptbook/core": "0.
|
|
41
|
+
"@promptbook/core": "0.12.0"
|
|
42
42
|
},
|
|
43
43
|
"main": "./umd/index.umd.js",
|
|
44
44
|
"module": "./esm/index.es.js",
|
package/umd/typings/execution/plugins/natural-execution-tools/openai/OpenAiExecutionTools.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Prompt } from '../../../../types/Prompt';
|
|
2
|
-
import { NaturalExecutionTools } from '../../../NaturalExecutionTools';
|
|
3
|
-
import { PromptChatResult, PromptCompletionResult } from '../../../PromptResult';
|
|
4
|
-
import { OpenAiExecutionToolsOptions } from './OpenAiExecutionToolsOptions';
|
|
1
|
+
import type { Prompt } from '../../../../types/Prompt';
|
|
2
|
+
import type { NaturalExecutionTools } from '../../../NaturalExecutionTools';
|
|
3
|
+
import type { PromptChatResult, PromptCompletionResult } from '../../../PromptResult';
|
|
4
|
+
import type { OpenAiExecutionToolsOptions } from './OpenAiExecutionToolsOptions';
|
|
5
5
|
/**
|
|
6
6
|
* Execution Tools for calling OpenAI API.
|
|
7
7
|
*/
|
|
@@ -8,4 +8,9 @@ export interface OpenAiExecutionToolsOptions extends CommonExecutionToolsOptions
|
|
|
8
8
|
* OpenAI API key
|
|
9
9
|
*/
|
|
10
10
|
openAiApiKey: string_token;
|
|
11
|
+
/**
|
|
12
|
+
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
13
|
+
* and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).
|
|
14
|
+
*/
|
|
15
|
+
user?: string_token;
|
|
11
16
|
}
|