magnitude-core
Version:
Magnitude e2e testing agent
8 lines (7 loc) • 367 B
TypeScript
/**
* Convert observations to form that can be passed as BAML context, rendered as a custom XML-like structure.
*/
import { Image as BamlImage } from '@boundaryml/baml';
import { ObservableData } from './observation';
export type BamlRenderable = BamlImage | string;
export declare function observableDataToContext(data: ObservableData): Promise<BamlRenderable[]>;