Release v2.0.4
·
0 commits
to 1a5ca34f568343c9cc00c63eb336d03a10e6b06b
since this release
π Release v2.0.4
Published: @simonorzel26/ai-models@v2.0.4
π Stats
- Total Models: $(node -p "require('./dist/index.cjs').ALL_MODELS.length")
- Providers: $(node -p "require('./dist/index.cjs').getProviders().length") supported providers
- Categories: $(node -p "require('./dist/index.cjs').getCategories().length") categories
π Changes
What's New:
- Updated model types from latest Vercel AI SDK providers
- Improved TypeScript type definitions and utility functions
- Updated documentation with current statistics
Versioning:
- π‘ Minor: New @ai-sdk versions with models and features
- π’ Patch: Model type updates or maintenance releases
π¦ Installation
npm install @simonorzel26/ai-models
# or
bun add @simonorzel26/ai-models
# or
yarn add @simonorzel26/ai-modelsπ οΈ Usage
import { getModelsByProvider, ALL_MODELS } from '@simonorzel26/ai-models';
// Get all OpenAI models
const openaiModels = getModelsByProvider('openai');
// Get all chat models
const chatModels = getModelsByCategory('chat');
// Access all models
console.log(\`Total models: \${ALL_MODELS.length}\`);