UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

34 lines (33 loc) 1.25 kB
import { type LanguageModel } from "ai"; import type { AIProviderName } from "../constants/enums.js"; import { BaseProvider } from "../core/baseProvider.js"; import type { NeurolinkCredentials, StreamOptions, StreamResult, ValidationSchema } from "../types/index.js"; /** * Mistral AI Provider v2 - BaseProvider Implementation * Supports official AI-SDK integration with all Mistral models */ export declare class MistralProvider extends BaseProvider { private model; constructor(modelName?: string, sdk?: unknown, _region?: string, credentials?: NeurolinkCredentials["mistral"]); protected executeStream(options: StreamOptions, _analysisSchema?: ValidationSchema): Promise<StreamResult>; getProviderName(): AIProviderName; getDefaultModel(): string; /** * Returns the Vercel AI SDK model instance for Mistral */ getAISDKModel(): LanguageModel; formatProviderError(error: unknown): Error; /** * Validate provider configuration */ validateConfiguration(): Promise<boolean>; /** * Get provider-specific configuration */ getConfiguration(): { provider: AIProviderName; model: string; defaultModel: string; }; } export default MistralProvider;