mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
* refactor: extract media understanding common package * test: move media understanding format test
11 lines
502 B
TypeScript
11 lines
502 B
TypeScript
import { MediaUnderstandingOutput } from "./types.mjs";
|
|
|
|
//#region packages/media-understanding-common/src/format.d.ts
|
|
declare function extractMediaUserText(body?: string): string | undefined;
|
|
declare function formatMediaUnderstandingBody(params: {
|
|
body?: string;
|
|
outputs: MediaUnderstandingOutput[];
|
|
}): string;
|
|
declare function formatAudioTranscripts(outputs: MediaUnderstandingOutput[]): string;
|
|
//#endregion
|
|
export { extractMediaUserText, formatAudioTranscripts, formatMediaUnderstandingBody }; |