@promptbook/azure-openai
Advanced tools
Comparing version 0.69.0-19 to 0.69.0-20
@@ -9,3 +9,3 @@ import { OpenAIClient, AzureKeyCredential } from '@azure/openai'; | ||
*/ | ||
var PROMPTBOOK_VERSION = '0.69.0-18'; | ||
var PROMPTBOOK_VERSION = '0.69.0-19'; | ||
// TODO:[main] !!!! List here all the versions and annotate + put into script | ||
@@ -12,0 +12,0 @@ |
@@ -13,10 +13,34 @@ import { ExpectError } from '../../errors/ExpectError'; | ||
export type $OngoingTemplateResult = { | ||
/** | ||
* @@@ | ||
*/ | ||
$prompt?: Prompt; | ||
/** | ||
* @@@ | ||
*/ | ||
$chatResult?: ChatPromptResult; | ||
/** | ||
* @@@ | ||
*/ | ||
$completionResult?: CompletionPromptResult; | ||
/** | ||
* @@@ | ||
*/ | ||
$embeddingResult?: EmbeddingPromptResult; | ||
/** | ||
* @@@ | ||
*/ | ||
$result: PromptResult | null; | ||
/** | ||
* @@@ | ||
*/ | ||
$resultString: string | null; | ||
/** | ||
* @@@ | ||
*/ | ||
$expectError: ExpectError | null; | ||
/** | ||
* @@@ | ||
*/ | ||
$scriptPipelineExecutionErrors: Array<Error>; | ||
}; |
@@ -36,3 +36,3 @@ import type { ReadonlyDeep } from 'type-fest'; | ||
*/ | ||
readonly parameters: ReadonlyDeep<Parameters>; | ||
readonly parameters: Readonly<Parameters>; | ||
/** | ||
@@ -39,0 +39,0 @@ * @@@ |
@@ -18,3 +18,3 @@ import { ReadonlyDeep } from 'type-fest'; | ||
*/ | ||
readonly outputParameters: Parameters; | ||
readonly outputParameters: Readonly<Parameters>; | ||
/** | ||
@@ -27,15 +27,15 @@ * Whether the execution was successful, details are aviable in `executionReport` | ||
*/ | ||
readonly usage: PromptResultUsage; | ||
readonly usage: ReadonlyDeep<PromptResultUsage>; | ||
/** | ||
* Errors that occured during the execution, details are aviable in `executionReport` | ||
*/ | ||
readonly errors: Array<ErrorJson>; | ||
readonly errors: ReadonlyDeep<Array<ErrorJson>>; | ||
/** | ||
* Warnings that occured during the execution, details are aviable in `executionReport` | ||
*/ | ||
readonly warnings: Array<ErrorJson>; | ||
readonly warnings: ReadonlyDeep<Array<ErrorJson>>; | ||
/** | ||
* The report of the execution with all details | ||
*/ | ||
readonly executionReport: ExecutionReportJson; | ||
readonly executionReport: ReadonlyDeep<ExecutionReportJson>; | ||
/** | ||
@@ -50,5 +50,4 @@ * The prepared pipeline that was used for the execution | ||
/** | ||
* TODO: !!!!!! Maybe add ReadonlyDeep< to all | ||
* TODO: [🧠] Should this file be in /execution or /types folder? | ||
* TODO: [🧠] Maybe constrain `ErrorJson` -> `ErrorJson & { name: 'PipelineExecutionError' | 'Error' }` | ||
*/ |
{ | ||
"name": "@promptbook/azure-openai", | ||
"version": "0.69.0-19", | ||
"version": "0.69.0-20", | ||
"description": "Supercharge your use of large language models", | ||
@@ -54,3 +54,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.69.0-19" | ||
"@promptbook/core": "0.69.0-20" | ||
}, | ||
@@ -57,0 +57,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
644085
12265