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 660 B
{ "url": "https://api.ai21.com/studio/v1/chat/completions", "model": { "default": "jamba-instruct", "large": "jamba-instruct", "small": "jamba-instruct", "agent": "jamba-instruct" }, "embeddingUrl": "https://api.ai21.com/studio/v1/embed", "embeddings": { "expects": { "texts": "{embedding}", "type": "query" }, "results": "response.data.results[0].embedding" }, "createMessageObject": "getSimpleMessageObject", "stream": true, "jsonMode": false, "maxTokens": true, "hasEmbeddings": true, "modelsEndpoint": "https://api.ai21.com/studio/v1/models", "modelsFile": "./data/models/ai21studio.json" }