Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677/** Perceptual image difference comparison using multimodal embeddings from Voyage AI and Google Gemini. By default, all available providers are called concurrently with their latest models. Use the `provider` config field to select a specific backend. @example ```ts import { compareAll } from '@monochromatic-dev/module-image-diff'; // Compare using all providers (Voyage + Gemini) const results = await compareAll({ imageA: { path: './before.png' }, imageB: { path: './after.png' }, }); for (const { provider, result } of results) { console.log(`${provider}: similarity=${result.similarity}`); } ``` @example ```ts import { compare } from '@monochromatic-dev/module-image-diff'; // Compare using a specific provider const result = await compare({ imageA: { path: './before.png' }, imageB: { path: './after.png' }, config: { provider: 'gemini' }, }); ``` @packageDocumentation */
export { compareAll, } from './client.multi.compare.ts';export { embedAll, embedBatchAll,} from './client.multi.ts';export type { MultiProviderBatchEmbedEntry, MultiProviderComparisonEntry, MultiProviderEmbedEntry,} from './client.multi.types.ts';export { compare, embed, embedBatch,} from './client.ts';export { ABSENT, } from './describe.absent.ts';export { describeImageDifference, } from './describe.ts';export { geminiProvider, } from './gemini.ts';export { cosineSimilarity, dotProduct,} from './similarity.ts';export type { BatchEmbeddingResult, ComparisonResult, EmbeddingModel, EmbeddingProvider, EmbeddingResult, GeminiModel, ImageBase64, ImageBuffer, ImageDiffConfig, ImageFormat, ImageInput, ImagePath, ImageUrl, Provider, VoyageModel,} from './types.ts';export { voyageProvider, } from './voyage.ts';