@promptbook/anthropic-claude
Advanced tools
Comparing version 0.72.0-4 to 0.72.0-5
@@ -29,2 +29,3 @@ import { PROMPTBOOK_VERSION } from '../version'; | ||
import { validatePipeline } from '../conversion/validation/validatePipeline'; | ||
import { AbstractFormatError } from '../errors/AbstractFormatError'; | ||
import { CollectionError } from '../errors/CollectionError'; | ||
@@ -52,2 +53,3 @@ import { EnvironmentMismatchError } from '../errors/EnvironmentMismatchError'; | ||
import { CsvFormatDefinition } from '../formats/csv/CsvFormatDefinition'; | ||
import { CsvFormatError } from '../formats/csv/CsvFormatError'; | ||
import { MANDATORY_CSV_SETTINGS } from '../formats/csv/CsvSettings'; | ||
@@ -110,2 +112,3 @@ import { TextFormatDefinition } from '../formats/text/TextFormatDefinition'; | ||
export { validatePipeline }; | ||
export { AbstractFormatError }; | ||
export { CollectionError }; | ||
@@ -133,2 +136,3 @@ export { EnvironmentMismatchError }; | ||
export { CsvFormatDefinition }; | ||
export { CsvFormatError }; | ||
export { MANDATORY_CSV_SETTINGS }; | ||
@@ -135,0 +139,0 @@ export { TextFormatDefinition }; |
@@ -28,3 +28,3 @@ import type { string_url } from '../../types/typeAliases'; | ||
/** | ||
* TODO:[main] !!!! [π§ ] Library precompilation and do not mix markdown and json promptbooks | ||
* TODO: [main] !!!! [π§ ] Library precompilation and do not mix markdown and json promptbooks | ||
*/ |
@@ -22,3 +22,7 @@ import type { string_parameter_name } from '../../types/typeAliases'; | ||
*/ | ||
readonly subparameterNames: Array<string_parameter_name>; | ||
readonly inputSubparameterNames: Array<string_parameter_name>; | ||
/** | ||
* @@@ | ||
*/ | ||
readonly outputSubparameterName: string_parameter_name; | ||
}; |
@@ -21,3 +21,3 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson'; | ||
/** | ||
* TODO:[main] !!!! Warn if used only sync version | ||
* TODO: [main] !!!! Warn if used only sync version | ||
* TODO: [π] Report here line/column of error | ||
@@ -24,0 +24,0 @@ * TODO: Use spaceTrim more effectively |
@@ -11,1 +11,4 @@ import type { PipelineExecutor } from '../PipelineExecutor'; | ||
export declare function createPipelineExecutor(options: CreatePipelineExecutorOptions): PipelineExecutor; | ||
/** | ||
* TODO: [π] Change onProgress to object that represents the running execution, can be subscribed via RxJS to and also awaited | ||
*/ |
@@ -56,1 +56,4 @@ import type { Promisable, ReadonlyDeep } from 'type-fest'; | ||
export {}; | ||
/** | ||
* TODO: [π] Change onProgress to object that represents the running execution, can be subscribed via RxJS to and also awaited | ||
*/ |
@@ -63,1 +63,4 @@ import { Promisable, ReadonlyDeep } from 'type-fest'; | ||
*/ | ||
/** | ||
* TODO: [π] Change onProgress to object that represents the running execution, can be subscribed via RxJS to and also awaited | ||
*/ |
@@ -7,2 +7,2 @@ import type { EmbeddingVector } from './EmbeddingVector'; | ||
*/ | ||
export declare function embeddingVectorToString(embeddingVector: EmbeddingVector): string; | ||
export declare function embeddingVectorToString(embeddingVector: Readonly<EmbeddingVector>): string; |
@@ -17,3 +17,4 @@ import type { Promisable } from 'type-fest'; | ||
/** | ||
* TODO: [π] Change onProgress to object that represents the running execution, can be subscribed via RxJS to and also awaited | ||
* TODO: [π§ ] Should this file be in /execution or /types folder? | ||
*/ |
import type { Promisable } from 'type-fest'; | ||
import type { Parameters } from '../../types/typeAliases'; | ||
import type { string_parameter_name } from '../../types/typeAliases'; | ||
import type { string_name } from '../../types/typeAliases'; | ||
@@ -26,3 +27,3 @@ import type { string_SCREAMING_CASE } from '../../utils/normalization/normalizeTo_SCREAMING_CASE'; | ||
*/ | ||
mapValues(value: TValue, settings: TSettings, mapCallback: (subvalues: Parameters, index: number) => Promisable<string>): Promise<string>; | ||
mapValues(value: TValue, outputParameterName: string_parameter_name, settings: TSettings, mapCallback: (subvalues: Parameters, index: number) => Promisable<string>): Promise<string>; | ||
}; | ||
@@ -29,0 +30,0 @@ /** |
#!/usr/bin/env ts-node | ||
export {}; | ||
/** | ||
* TODO:[main] !!! Playground with WebGPT / Promptbook.studio anonymous server | ||
* TODO:[main] !!! Test here that `systemMessage`, `temperature` and `seed` are working correctly | ||
* TODO: [main] !!! Playground with WebGPT / Promptbook.studio anonymous server | ||
* TODO: [main] !!! Test here that `systemMessage`, `temperature` and `seed` are working correctly | ||
*/ |
@@ -17,3 +17,3 @@ import type { LlmExecutionTools } from '../../execution/LlmExecutionTools'; | ||
export declare class OpenAiAssistantExecutionTools extends OpenAiExecutionTools implements LlmExecutionTools { | ||
private readonly assistantId?; | ||
private readonly assistantId; | ||
/** | ||
@@ -20,0 +20,0 @@ * Creates OpenAI Execution Tools. |
#!/usr/bin/env ts-node | ||
export {}; | ||
/** | ||
* TODO:[main] !!! Test here that `systemMessage`, `temperature` and `seed` are working correctly | ||
* TODO: [main] !!! Test here that `systemMessage`, `temperature` and `seed` are working correctly | ||
*/ |
@@ -42,4 +42,1 @@ import type { string_markdown_text } from '../typeAliases'; | ||
}; | ||
/** | ||
* TODO: !!!!!! FOREACH in report | ||
*/ |
@@ -0,1 +1,2 @@ | ||
import type { ReadonlyDeep } from 'type-fest'; | ||
import type { ExecutionReportJson } from './ExecutionReportJson'; | ||
@@ -9,3 +10,3 @@ import type { ExecutionReportString } from './ExecutionReportString'; | ||
*/ | ||
export declare function executionReportJsonToString(executionReportJson: ExecutionReportJson, options?: Partial<ExecutionReportStringOptions>): ExecutionReportString; | ||
export declare function executionReportJsonToString(executionReportJson: ReadonlyDeep<ExecutionReportJson>, options?: Partial<ExecutionReportStringOptions>): ExecutionReportString; | ||
/** | ||
@@ -12,0 +13,0 @@ * TODO: Add mermaid chart for every report |
@@ -36,5 +36,5 @@ import type { string_markdown_text } from '../typeAliases'; | ||
/** | ||
* TODO: [π§ ] !!!!!! Should be here registered subparameter from foreach or not? | ||
* TODO: [π§ ] Should be here registered subparameters from foreach or not? | ||
* TODO: [β] Probbably move expectations from templates to parameters | ||
* TODO: [π] Make some standard order of json properties | ||
*/ |
@@ -595,5 +595,5 @@ import type { TupleToUnion } from 'type-fest'; | ||
/**. | ||
* TODO:[main] !!! Change "For example" to @example | ||
* TODO: [main] !!! Change "For example" to @example | ||
* TODO: !! Change to branded types | ||
* TODO: Delete type aliases that are not exported or used internally | ||
*/ |
{ | ||
"name": "@promptbook/anthropic-claude", | ||
"version": "0.72.0-4", | ||
"version": "0.72.0-5", | ||
"description": "Supercharge your use of large language models", | ||
@@ -54,3 +54,3 @@ "private": false, | ||
"peerDependencies": { | ||
"@promptbook/core": "0.72.0-4" | ||
"@promptbook/core": "0.72.0-5" | ||
}, | ||
@@ -57,0 +57,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
667870
510
12583