Skip to content

Release v2.0.5

Choose a tag to compare

@github-actions github-actions released this 18 Oct 06:03
· 0 commits to 11caed2ab9d31758a6c7a6e1eb46f97608f500b6 since this release

πŸš€ Release v2.0.5

Published: @simonorzel26/ai-models@v2.0.5

πŸ“Š 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}\`);

πŸ”— Links