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.

26 lines 883 B
{ "url": "https://api.cloudflare.com/client/v4/accounts", "model": { "default": "@cf/meta/llama-3-8b-instruct", "large": "@hf/thebloke/llama-2-13b-chat-awq", "small": "@cf/tinyllama/tinyllama-1.1b-chat-v1.0", "agent": "@cf/meta/llama-3-8b-instruct" }, "embeddingUrl": "https://api.cloudflare.com/client/v4/accounts", "embeddings": { "expects": { "text": "{embedding}" }, "results": "response.data.result.data", "default": "@cf/baai/bge-base-en-v1.5", "large": "@cf/baai/bge-large-en-v1.5", "small": "@cf/baai/bge-small-en-v1.5" }, "createMessageObject": "getSimpleMessageObject", "stream": false, "jsonMode": false, "maxTokens": true, "hasEmbeddings": true, "modelsEndpoint": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/models/search", "modelsFile": "./data/models/cloudflareworkersai.json" }