UNPKG

large-models-interface

Version:

A comprehensive, unified interface for all types of AI models - natural language, vision, audio, and video. Supports 51 providers with dynamic model discovery and multi-modal capabilities.

24 lines (18 loc) 675 B
/** * @file src/interfaces/hyperbeeai.js * @class HyperbeeAI * @description Wrapper class for the HyperbeeAI API. * @param {string} apiKey - The API key for the HyperbeeAI API. */ const BaseInterface = require('./baseInterface.js'); const { hyperbeeaiApiKey } = require('../utils/loadApiKeysFromEnv.js'); const { getConfig, loadProviderConfig } = require('../utils/configManager.js'); const interfaceName = 'hyperbeeai'; loadProviderConfig(interfaceName); const config = getConfig(); class HyperbeeAI extends BaseInterface { constructor(apiKey) { super(interfaceName, apiKey || hyperbeeaiApiKey, config[interfaceName].url); } } module.exports = HyperbeeAI;