@nebulalabs/model-providers
v1.0.1
Published
TypeScript enums for model provider mappings across LLM, TTS, and STT services
Maintainers
Readme
@nebulalabs/model-providers
TypeScript enums for AI service provider identifiers across LLM, TTS, and STT platforms with consistent naming conventions.
Installation
npm install @nebulalabs/model-providersUsage
import { LLMProviders, TTSProviders, STTProviders } from '@nebulalabs/model-providers';
// Service provider identifiers
const llmProvider = LLMProviders.OPENAI; // "openai"
const ttsProvider = TTSProviders.CARTESIA; // "cartesia"
const sttProvider = STTProviders.DEEPGRAM; // "deepgram"
// Perfect for configuration and routing
const config = {
llm: {
provider: LLMProviders.ANTHROPIC,
model: "claude-3-5-sonnet-20240620"
},
tts: {
provider: TTSProviders.ELEVENLABS,
model: "eleven_turbo_v2_5"
},
stt: {
provider: STTProviders.ASSEMBLYAI,
model: "best"
}
};Available Providers
- LLM Providers - 16 language model services
- TTS Providers - 21 text-to-speech services
- STT Providers - 16 speech-to-text services
Features
- 🏷️ Consistent Naming - Standardized provider identifiers
- 🔧 Configuration Ready - Perfect for service routing
- 📱 Lightweight - Minimal bundle impact
- 🎯 Type Safe - Full TypeScript support
