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.34 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"; /** * Groq Provider * * Sub-100ms inference of Llama / Mistral / Gemma at api.groq.com/openai/v1 * (OpenAI-compatible). Best for low-latency tier; trade-off vs other open * model hosts is throughput latency, not quality. * * @see https://console.groq.com/docs/quickstart */ export declare class GroqProvider extends BaseProvider { private model; private apiKey; private baseURL; constructor(modelName?: string, sdk?: unknown, _region?: string, credentials?: NeurolinkCredentials["groq"]); protected executeStream(options: StreamOptions, _analysisSchema?: ValidationSchema): Promise<StreamResult>; private executeStreamInner; protected getProviderName(): AIProviderName; protected getDefaultModel(): string; protected getAISDKModel(): LanguageModel; protected formatProviderError(error: unknown): Error; validateConfiguration(): Promise<boolean>; getConfiguration(): { provider: AIProviderName; model: string; defaultModel: string; baseURL: string; }; } export default GroqProvider;