UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

13 lines (12 loc) 763 B
import type { Expectations } from '../../pipeline/PipelineJson/Expectations'; import type { string_postprocessing_function_name } from '../../types/string_person_fullname'; /** * Gets the expectations and creates a fake text that meets the expectations * * Note: `$` is used to indicate that this function is not a pure function - it is not deterministic * Note: You can provide postprocessing functions to modify the text before checking the expectations * The result will be the text BEFORE the postprocessing * * @private internal utility for MockedFackedLlmExecutionTools */ export declare function $fakeTextToExpectations(expectations: Expectations, postprocessingFunctionNames?: ReadonlyArray<string_postprocessing_function_name>): Promise<string>;