magnitude-core
Version:
Magnitude e2e testing agent
8 lines (7 loc) • 385 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 { RenderableContent } from '@/memory/observation';
export type MultiMediaContentPart = BamlImage | string;
export declare function renderXmlParts(data: RenderableContent): Promise<MultiMediaContentPart[]>;