JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q42708F
  • License MIT

Modselect nodejs package

Package Exports

  • modselect
  • modselect/dist/index.js
  • modselect/dist/index.module.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (modselect) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Modselect

Modselect is an npm package that simplifies the usage of various AI models, including ChatGPT, Gemini and models available on Hugging Face. It provides a convenient way to interact with models for tasks like image-to-text conversion, text-to-text generation, text-to-audio, and text-to-image.

Usage

Installation

npm install modselect

Import

import Modselect from 'modselect';

Hugging Face

<Modselect.HuggingFace 
    type="image-to-text"
    API_KEY="hf_apiKey" 
    model="Salesforce/blip-image-captioning-large" />