@promptbook/gemini
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
46 lines (45 loc) • 978 B
TypeScript
import { ExpectError } from '../../errors/ExpectError';
import type { Prompt } from '../../types/Prompt';
import type { ChatPromptResult } from '../PromptResult';
import type { CompletionPromptResult } from '../PromptResult';
import type { EmbeddingPromptResult } from '../PromptResult';
import type { PromptResult } from '../PromptResult';
/**
* @@@
*
* @private internal utility of `createPipelineExecutor`
*/
export type $OngoingTaskResult = {
/**
* @@@
*/
$prompt?: Prompt;
/**
* @@@
*/
$chatResult?: ChatPromptResult;
/**
* @@@
*/
$completionResult?: CompletionPromptResult;
/**
* @@@
*/
$embeddingResult?: EmbeddingPromptResult;
/**
* @@@
*/
$result: PromptResult | null;
/**
* @@@
*/
$resultString: string | null;
/**
* @@@
*/
$expectError: ExpectError | null;
/**
* @@@
*/
$scriptPipelineExecutionErrors: Array<Error>;
};