UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

27 lines (26 loc) • 858 B
/** * Video Analysis Handler * * Provides video analysis using Google's Gemini 2.5 Flash model. * Supports both Vertex AI and Gemini API providers. * * @module adapters/video/geminiVideoAnalyzer */ import { AIProviderName } from "../../constants/enums.js"; import type { ModelMessage } from "../../types/index.js"; export declare function analyzeVideoWithVertexAI(messages: ModelMessage[], options?: { project?: string; location?: string; model?: string; }): Promise<string>; export declare function analyzeVideoWithGeminiAPI(messages: ModelMessage[], options?: { apiKey?: string; model?: string; }): Promise<string>; export declare function analyzeVideo(messages: ModelMessage[], options?: { provider?: AIProviderName; project?: string; location?: string; apiKey?: string; model?: string; }): Promise<string>;