34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
import { VisionProvider, VisionProviderConfig, VisionResult, BatchContext } from '../../interfaces';
|
|
/**
|
|
* Google Gemini Vision Provider Implementation
|
|
*/
|
|
export declare class GeminiVisionProvider implements VisionProvider {
|
|
private config;
|
|
private genAI;
|
|
private model;
|
|
constructor(config: VisionProviderConfig);
|
|
/**
|
|
* Describe a single image
|
|
* @param imagePath - Path to the image file
|
|
* @param prompt - Prompt for the AI
|
|
* @returns Description and usage stats
|
|
*/
|
|
describeImage(imagePath: string, prompt: string): Promise<VisionResult>;
|
|
/**
|
|
* Compare two images and describe the differences
|
|
* @param image1Path - Path to the first image
|
|
* @param image2Path - Path to the second image
|
|
* @param prompt - Prompt for the AI
|
|
* @returns Description and usage stats
|
|
*/
|
|
compareImages(image1Path: string, image2Path: string, prompt: string): Promise<VisionResult>;
|
|
/**
|
|
* Describe a batch of images
|
|
* @param imagePaths - Array of paths to the images
|
|
* @param lastBatchContext - Context from the previous batch
|
|
* @param prompt - Prompt for the AI
|
|
* @returns Description and usage stats
|
|
*/
|
|
describeBatch(imagePaths: string[], lastBatchContext: BatchContext, prompt: string): Promise<VisionResult>;
|
|
}
|